types

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2018 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type KnownTypes

type KnownTypes struct {
	Dur                  *types.Duration    `protobuf:"bytes,1,opt,name=dur" json:"dur,omitempty"`
	Ts                   *types.Timestamp   `protobuf:"bytes,2,opt,name=ts" json:"ts,omitempty"`
	Dbl                  *types.DoubleValue `protobuf:"bytes,3,opt,name=dbl" json:"dbl,omitempty"`
	Flt                  *types.FloatValue  `protobuf:"bytes,4,opt,name=flt" json:"flt,omitempty"`
	I64                  *types.Int64Value  `protobuf:"bytes,5,opt,name=i64" json:"i64,omitempty"`
	U64                  *types.UInt64Value `protobuf:"bytes,6,opt,name=u64" json:"u64,omitempty"`
	I32                  *types.Int32Value  `protobuf:"bytes,7,opt,name=i32" json:"i32,omitempty"`
	U32                  *types.UInt32Value `protobuf:"bytes,8,opt,name=u32" json:"u32,omitempty"`
	Bool                 *types.BoolValue   `protobuf:"bytes,9,opt,name=bool" json:"bool,omitempty"`
	Str                  *types.StringValue `protobuf:"bytes,10,opt,name=str" json:"str,omitempty"`
	Bytes                *types.BytesValue  `protobuf:"bytes,11,opt,name=bytes" json:"bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func NewPopulatedKnownTypes

func NewPopulatedKnownTypes(r randyTypes, easy bool) *KnownTypes

func (*KnownTypes) Compare

func (this *KnownTypes) Compare(that interface{}) int

func (*KnownTypes) Descriptor

func (*KnownTypes) Descriptor() ([]byte, []int)

func (*KnownTypes) Equal

func (this *KnownTypes) Equal(that interface{}) bool

func (*KnownTypes) GetBool

func (m *KnownTypes) GetBool() *types.BoolValue

func (*KnownTypes) GetBytes

func (m *KnownTypes) GetBytes() *types.BytesValue

func (*KnownTypes) GetDbl

func (m *KnownTypes) GetDbl() *types.DoubleValue

func (*KnownTypes) GetDur

func (m *KnownTypes) GetDur() *types.Duration

func (*KnownTypes) GetFlt

func (m *KnownTypes) GetFlt() *types.FloatValue

func (*KnownTypes) GetI32

func (m *KnownTypes) GetI32() *types.Int32Value

func (*KnownTypes) GetI64

func (m *KnownTypes) GetI64() *types.Int64Value

func (*KnownTypes) GetStr

func (m *KnownTypes) GetStr() *types.StringValue

func (*KnownTypes) GetTs

func (m *KnownTypes) GetTs() *types.Timestamp

func (*KnownTypes) GetU32

func (m *KnownTypes) GetU32() *types.UInt32Value

func (*KnownTypes) GetU64

func (m *KnownTypes) GetU64() *types.UInt64Value

func (*KnownTypes) ProtoMessage

func (*KnownTypes) ProtoMessage()

func (*KnownTypes) Reset

func (m *KnownTypes) Reset()

func (*KnownTypes) Size

func (m *KnownTypes) Size() (n int)

func (*KnownTypes) String

func (m *KnownTypes) String() string

func (*KnownTypes) Unmarshal

func (m *KnownTypes) Unmarshal(dAtA []byte) error

func (*KnownTypes) VerboseEqual

func (this *KnownTypes) VerboseEqual(that interface{}) error

func (*KnownTypes) XXX_DiscardUnknown added in v1.1.1

func (m *KnownTypes) XXX_DiscardUnknown()

func (*KnownTypes) XXX_Marshal added in v1.1.1

func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KnownTypes) XXX_Merge added in v1.1.1

func (dst *KnownTypes) XXX_Merge(src proto.Message)

func (*KnownTypes) XXX_Size added in v1.1.1

func (m *KnownTypes) XXX_Size() int

func (*KnownTypes) XXX_Unmarshal added in v1.1.1

func (m *KnownTypes) XXX_Unmarshal(b []byte) error

type MapProtoTypes

type MapProtoTypes struct {
	NullableTimestamp    map[int32]*types.Timestamp `` /* 162-byte string literal not displayed */
	Timestamp            map[int32]types.Timestamp  `` /* 136-byte string literal not displayed */
	NullableDuration     map[int32]*types.Duration  `` /* 160-byte string literal not displayed */
	Duration             map[int32]types.Duration   `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func NewPopulatedMapProtoTypes

func NewPopulatedMapProtoTypes(r randyTypes, easy bool) *MapProtoTypes

func (*MapProtoTypes) Descriptor

func (*MapProtoTypes) Descriptor() ([]byte, []int)

func (*MapProtoTypes) Equal

func (this *MapProtoTypes) Equal(that interface{}) bool

func (*MapProtoTypes) GetDuration

func (m *MapProtoTypes) GetDuration() map[int32]types.Duration

func (*MapProtoTypes) GetNullableDuration

func (m *MapProtoTypes) GetNullableDuration() map[int32]*types.Duration

func (*MapProtoTypes) GetNullableTimestamp

func (m *MapProtoTypes) GetNullableTimestamp() map[int32]*types.Timestamp

func (*MapProtoTypes) GetTimestamp

func (m *MapProtoTypes) GetTimestamp() map[int32]types.Timestamp

func (*MapProtoTypes) ProtoMessage

func (*MapProtoTypes) ProtoMessage()

func (*MapProtoTypes) Reset

func (m *MapProtoTypes) Reset()

func (*MapProtoTypes) Size

func (m *MapProtoTypes) Size() (n int)

func (*MapProtoTypes) String

func (m *MapProtoTypes) String() string

func (*MapProtoTypes) Unmarshal

func (m *MapProtoTypes) Unmarshal(dAtA []byte) error

func (*MapProtoTypes) VerboseEqual

func (this *MapProtoTypes) VerboseEqual(that interface{}) error

func (*MapProtoTypes) XXX_DiscardUnknown added in v1.1.1

func (m *MapProtoTypes) XXX_DiscardUnknown()

func (*MapProtoTypes) XXX_Marshal added in v1.1.1

func (m *MapProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MapProtoTypes) XXX_Merge added in v1.1.1

func (dst *MapProtoTypes) XXX_Merge(src proto.Message)

func (*MapProtoTypes) XXX_Size added in v1.1.1

func (m *MapProtoTypes) XXX_Size() int

func (*MapProtoTypes) XXX_Unmarshal added in v1.1.1

func (m *MapProtoTypes) XXX_Unmarshal(b []byte) error

type MapStdTypes

type MapStdTypes struct {
	NullableTimestamp    map[int32]*time.Time     `` /* 170-byte string literal not displayed */
	Timestamp            map[int32]time.Time      `` /* 144-byte string literal not displayed */
	NullableDuration     map[int32]*time.Duration `` /* 172-byte string literal not displayed */
	Duration             map[int32]time.Duration  `` /* 146-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func NewPopulatedMapStdTypes

func NewPopulatedMapStdTypes(r randyTypes, easy bool) *MapStdTypes

func (*MapStdTypes) Descriptor

func (*MapStdTypes) Descriptor() ([]byte, []int)

func (*MapStdTypes) Equal

func (this *MapStdTypes) Equal(that interface{}) bool

func (*MapStdTypes) GetDuration

func (m *MapStdTypes) GetDuration() map[int32]time.Duration

func (*MapStdTypes) GetNullableDuration

func (m *MapStdTypes) GetNullableDuration() map[int32]*time.Duration

func (*MapStdTypes) GetNullableTimestamp

func (m *MapStdTypes) GetNullableTimestamp() map[int32]*time.Time

func (*MapStdTypes) GetTimestamp

func (m *MapStdTypes) GetTimestamp() map[int32]time.Time

func (*MapStdTypes) ProtoMessage

func (*MapStdTypes) ProtoMessage()

func (*MapStdTypes) Reset

func (m *MapStdTypes) Reset()

func (*MapStdTypes) Size

func (m *MapStdTypes) Size() (n int)

func (*MapStdTypes) String

func (m *MapStdTypes) String() string

func (*MapStdTypes) Unmarshal

func (m *MapStdTypes) Unmarshal(dAtA []byte) error

func (*MapStdTypes) VerboseEqual

func (this *MapStdTypes) VerboseEqual(that interface{}) error

func (*MapStdTypes) XXX_DiscardUnknown added in v1.1.1

func (m *MapStdTypes) XXX_DiscardUnknown()

func (*MapStdTypes) XXX_Marshal added in v1.1.1

func (m *MapStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MapStdTypes) XXX_Merge added in v1.1.1

func (dst *MapStdTypes) XXX_Merge(src proto.Message)

func (*MapStdTypes) XXX_Size added in v1.1.1

func (m *MapStdTypes) XXX_Size() int

func (*MapStdTypes) XXX_Unmarshal added in v1.1.1

func (m *MapStdTypes) XXX_Unmarshal(b []byte) error

type OneofProtoTypes

type OneofProtoTypes struct {
	// Types that are valid to be assigned to OneOfProtoTimes:
	//	*OneofProtoTypes_Timestamp
	//	*OneofProtoTypes_Duration
	OneOfProtoTimes      isOneofProtoTypes_OneOfProtoTimes `protobuf_oneof:"OneOfProtoTimes"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

func NewPopulatedOneofProtoTypes

func NewPopulatedOneofProtoTypes(r randyTypes, easy bool) *OneofProtoTypes

func (*OneofProtoTypes) Descriptor

func (*OneofProtoTypes) Descriptor() ([]byte, []int)

func (*OneofProtoTypes) Equal

func (this *OneofProtoTypes) Equal(that interface{}) bool

func (*OneofProtoTypes) GetDuration

func (m *OneofProtoTypes) GetDuration() *types.Duration

func (*OneofProtoTypes) GetOneOfProtoTimes

func (m *OneofProtoTypes) GetOneOfProtoTimes() isOneofProtoTypes_OneOfProtoTimes

func (*OneofProtoTypes) GetTimestamp

func (m *OneofProtoTypes) GetTimestamp() *types.Timestamp

func (*OneofProtoTypes) ProtoMessage

func (*OneofProtoTypes) ProtoMessage()

func (*OneofProtoTypes) Reset

func (m *OneofProtoTypes) Reset()

func (*OneofProtoTypes) Size

func (m *OneofProtoTypes) Size() (n int)

func (*OneofProtoTypes) String

func (m *OneofProtoTypes) String() string

func (*OneofProtoTypes) Unmarshal

func (m *OneofProtoTypes) Unmarshal(dAtA []byte) error

func (*OneofProtoTypes) VerboseEqual

func (this *OneofProtoTypes) VerboseEqual(that interface{}) error

func (*OneofProtoTypes) XXX_DiscardUnknown added in v1.1.1

func (m *OneofProtoTypes) XXX_DiscardUnknown()

func (*OneofProtoTypes) XXX_Marshal added in v1.1.1

func (m *OneofProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OneofProtoTypes) XXX_Merge added in v1.1.1

func (dst *OneofProtoTypes) XXX_Merge(src proto.Message)

func (*OneofProtoTypes) XXX_OneofFuncs

func (*OneofProtoTypes) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*OneofProtoTypes) XXX_Size added in v1.1.1

func (m *OneofProtoTypes) XXX_Size() int

func (*OneofProtoTypes) XXX_Unmarshal added in v1.1.1

func (m *OneofProtoTypes) XXX_Unmarshal(b []byte) error

type OneofProtoTypes_Duration

type OneofProtoTypes_Duration struct {
	Duration *types.Duration `protobuf:"bytes,2,opt,name=duration,oneof"`
}

func NewPopulatedOneofProtoTypes_Duration

func NewPopulatedOneofProtoTypes_Duration(r randyTypes, easy bool) *OneofProtoTypes_Duration

func (*OneofProtoTypes_Duration) Equal

func (this *OneofProtoTypes_Duration) Equal(that interface{}) bool

func (*OneofProtoTypes_Duration) Size

func (m *OneofProtoTypes_Duration) Size() (n int)

func (*OneofProtoTypes_Duration) VerboseEqual

func (this *OneofProtoTypes_Duration) VerboseEqual(that interface{}) error

type OneofProtoTypes_Timestamp

type OneofProtoTypes_Timestamp struct {
	Timestamp *types.Timestamp `protobuf:"bytes,1,opt,name=timestamp,oneof"`
}

func NewPopulatedOneofProtoTypes_Timestamp

func NewPopulatedOneofProtoTypes_Timestamp(r randyTypes, easy bool) *OneofProtoTypes_Timestamp

func (*OneofProtoTypes_Timestamp) Equal

func (this *OneofProtoTypes_Timestamp) Equal(that interface{}) bool

func (*OneofProtoTypes_Timestamp) Size

func (m *OneofProtoTypes_Timestamp) Size() (n int)

func (*OneofProtoTypes_Timestamp) VerboseEqual

func (this *OneofProtoTypes_Timestamp) VerboseEqual(that interface{}) error

type OneofStdTypes

type OneofStdTypes struct {
	// Types that are valid to be assigned to OneOfStdTimes:
	//	*OneofStdTypes_Timestamp
	//	*OneofStdTypes_Duration
	OneOfStdTimes        isOneofStdTypes_OneOfStdTimes `protobuf_oneof:"OneOfStdTimes"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func NewPopulatedOneofStdTypes

func NewPopulatedOneofStdTypes(r randyTypes, easy bool) *OneofStdTypes

func (*OneofStdTypes) Descriptor

func (*OneofStdTypes) Descriptor() ([]byte, []int)

func (*OneofStdTypes) Equal

func (this *OneofStdTypes) Equal(that interface{}) bool

func (*OneofStdTypes) GetDuration

func (m *OneofStdTypes) GetDuration() *time.Duration

func (*OneofStdTypes) GetOneOfStdTimes

func (m *OneofStdTypes) GetOneOfStdTimes() isOneofStdTypes_OneOfStdTimes

func (*OneofStdTypes) GetTimestamp

func (m *OneofStdTypes) GetTimestamp() *time.Time

func (*OneofStdTypes) ProtoMessage

func (*OneofStdTypes) ProtoMessage()

func (*OneofStdTypes) Reset

func (m *OneofStdTypes) Reset()

func (*OneofStdTypes) Size

func (m *OneofStdTypes) Size() (n int)

func (*OneofStdTypes) String

func (m *OneofStdTypes) String() string

func (*OneofStdTypes) Unmarshal

func (m *OneofStdTypes) Unmarshal(dAtA []byte) error

func (*OneofStdTypes) VerboseEqual

func (this *OneofStdTypes) VerboseEqual(that interface{}) error

func (*OneofStdTypes) XXX_DiscardUnknown added in v1.1.1

func (m *OneofStdTypes) XXX_DiscardUnknown()

func (*OneofStdTypes) XXX_Marshal added in v1.1.1

func (m *OneofStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OneofStdTypes) XXX_Merge added in v1.1.1

func (dst *OneofStdTypes) XXX_Merge(src proto.Message)

func (*OneofStdTypes) XXX_OneofFuncs

func (*OneofStdTypes) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*OneofStdTypes) XXX_Size added in v1.1.1

func (m *OneofStdTypes) XXX_Size() int

func (*OneofStdTypes) XXX_Unmarshal added in v1.1.1

func (m *OneofStdTypes) XXX_Unmarshal(b []byte) error

type OneofStdTypes_Duration

type OneofStdTypes_Duration struct {
	Duration *time.Duration `protobuf:"bytes,2,opt,name=duration,oneof,stdduration"`
}

func NewPopulatedOneofStdTypes_Duration

func NewPopulatedOneofStdTypes_Duration(r randyTypes, easy bool) *OneofStdTypes_Duration

func (*OneofStdTypes_Duration) Equal

func (this *OneofStdTypes_Duration) Equal(that interface{}) bool

func (*OneofStdTypes_Duration) Size

func (m *OneofStdTypes_Duration) Size() (n int)

func (*OneofStdTypes_Duration) VerboseEqual

func (this *OneofStdTypes_Duration) VerboseEqual(that interface{}) error

type OneofStdTypes_Timestamp

type OneofStdTypes_Timestamp struct {
	Timestamp *time.Time `protobuf:"bytes,1,opt,name=timestamp,oneof,stdtime"`
}

func NewPopulatedOneofStdTypes_Timestamp

func NewPopulatedOneofStdTypes_Timestamp(r randyTypes, easy bool) *OneofStdTypes_Timestamp

func (*OneofStdTypes_Timestamp) Equal

func (this *OneofStdTypes_Timestamp) Equal(that interface{}) bool

func (*OneofStdTypes_Timestamp) Size

func (m *OneofStdTypes_Timestamp) Size() (n int)

func (*OneofStdTypes_Timestamp) VerboseEqual

func (this *OneofStdTypes_Timestamp) VerboseEqual(that interface{}) error

type ProtoTypes

type ProtoTypes struct {
	NullableTimestamp    *types.Timestamp `protobuf:"bytes,1,opt,name=nullableTimestamp" json:"nullableTimestamp,omitempty"`
	NullableDuration     *types.Duration  `protobuf:"bytes,2,opt,name=nullableDuration" json:"nullableDuration,omitempty"`
	Timestamp            types.Timestamp  `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp"`
	Duration             types.Duration   `protobuf:"bytes,4,opt,name=duration" json:"duration"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func NewPopulatedProtoTypes

func NewPopulatedProtoTypes(r randyTypes, easy bool) *ProtoTypes

func (*ProtoTypes) Compare

func (this *ProtoTypes) Compare(that interface{}) int

func (*ProtoTypes) Descriptor

func (*ProtoTypes) Descriptor() ([]byte, []int)

func (*ProtoTypes) Equal

func (this *ProtoTypes) Equal(that interface{}) bool

func (*ProtoTypes) GetDuration

func (m *ProtoTypes) GetDuration() types.Duration

func (*ProtoTypes) GetNullableDuration

func (m *ProtoTypes) GetNullableDuration() *types.Duration

func (*ProtoTypes) GetNullableTimestamp

func (m *ProtoTypes) GetNullableTimestamp() *types.Timestamp

func (*ProtoTypes) GetTimestamp

func (m *ProtoTypes) GetTimestamp() types.Timestamp

func (*ProtoTypes) ProtoMessage

func (*ProtoTypes) ProtoMessage()

func (*ProtoTypes) Reset

func (m *ProtoTypes) Reset()

func (*ProtoTypes) Size

func (m *ProtoTypes) Size() (n int)

func (*ProtoTypes) String

func (m *ProtoTypes) String() string

func (*ProtoTypes) Unmarshal

func (m *ProtoTypes) Unmarshal(dAtA []byte) error

func (*ProtoTypes) VerboseEqual

func (this *ProtoTypes) VerboseEqual(that interface{}) error

func (*ProtoTypes) XXX_DiscardUnknown added in v1.1.1

func (m *ProtoTypes) XXX_DiscardUnknown()

func (*ProtoTypes) XXX_Marshal added in v1.1.1

func (m *ProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtoTypes) XXX_Merge added in v1.1.1

func (dst *ProtoTypes) XXX_Merge(src proto.Message)

func (*ProtoTypes) XXX_Size added in v1.1.1

func (m *ProtoTypes) XXX_Size() int

func (*ProtoTypes) XXX_Unmarshal added in v1.1.1

func (m *ProtoTypes) XXX_Unmarshal(b []byte) error

type RepProtoTypes

type RepProtoTypes struct {
	NullableTimestamps   []*types.Timestamp `protobuf:"bytes,1,rep,name=nullableTimestamps" json:"nullableTimestamps,omitempty"`
	NullableDurations    []*types.Duration  `protobuf:"bytes,2,rep,name=nullableDurations" json:"nullableDurations,omitempty"`
	Timestamps           []types.Timestamp  `protobuf:"bytes,3,rep,name=timestamps" json:"timestamps"`
	Durations            []types.Duration   `protobuf:"bytes,4,rep,name=durations" json:"durations"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func NewPopulatedRepProtoTypes

func NewPopulatedRepProtoTypes(r randyTypes, easy bool) *RepProtoTypes

func (*RepProtoTypes) Compare

func (this *RepProtoTypes) Compare(that interface{}) int

func (*RepProtoTypes) Descriptor

func (*RepProtoTypes) Descriptor() ([]byte, []int)

func (*RepProtoTypes) Equal

func (this *RepProtoTypes) Equal(that interface{}) bool

func (*RepProtoTypes) GetDurations

func (m *RepProtoTypes) GetDurations() []types.Duration

func (*RepProtoTypes) GetNullableDurations

func (m *RepProtoTypes) GetNullableDurations() []*types.Duration

func (*RepProtoTypes) GetNullableTimestamps

func (m *RepProtoTypes) GetNullableTimestamps() []*types.Timestamp

func (*RepProtoTypes) GetTimestamps

func (m *RepProtoTypes) GetTimestamps() []types.Timestamp

func (*RepProtoTypes) ProtoMessage

func (*RepProtoTypes) ProtoMessage()

func (*RepProtoTypes) Reset

func (m *RepProtoTypes) Reset()

func (*RepProtoTypes) Size

func (m *RepProtoTypes) Size() (n int)

func (*RepProtoTypes) String

func (m *RepProtoTypes) String() string

func (*RepProtoTypes) Unmarshal

func (m *RepProtoTypes) Unmarshal(dAtA []byte) error

func (*RepProtoTypes) VerboseEqual

func (this *RepProtoTypes) VerboseEqual(that interface{}) error

func (*RepProtoTypes) XXX_DiscardUnknown added in v1.1.1

func (m *RepProtoTypes) XXX_DiscardUnknown()

func (*RepProtoTypes) XXX_Marshal added in v1.1.1

func (m *RepProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepProtoTypes) XXX_Merge added in v1.1.1

func (dst *RepProtoTypes) XXX_Merge(src proto.Message)

func (*RepProtoTypes) XXX_Size added in v1.1.1

func (m *RepProtoTypes) XXX_Size() int

func (*RepProtoTypes) XXX_Unmarshal added in v1.1.1

func (m *RepProtoTypes) XXX_Unmarshal(b []byte) error

type RepStdTypes

type RepStdTypes struct {
	NullableTimestamps   []*time.Time     `protobuf:"bytes,1,rep,name=nullableTimestamps,stdtime" json:"nullableTimestamps,omitempty"`
	NullableDurations    []*time.Duration `protobuf:"bytes,2,rep,name=nullableDurations,stdduration" json:"nullableDurations,omitempty"`
	Timestamps           []time.Time      `protobuf:"bytes,3,rep,name=timestamps,stdtime" json:"timestamps"`
	Durations            []time.Duration  `protobuf:"bytes,4,rep,name=durations,stdduration" json:"durations"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func NewPopulatedRepStdTypes

func NewPopulatedRepStdTypes(r randyTypes, easy bool) *RepStdTypes

func (*RepStdTypes) Descriptor

func (*RepStdTypes) Descriptor() ([]byte, []int)

func (*RepStdTypes) Equal

func (this *RepStdTypes) Equal(that interface{}) bool

func (*RepStdTypes) GetDurations

func (m *RepStdTypes) GetDurations() []time.Duration

func (*RepStdTypes) GetNullableDurations

func (m *RepStdTypes) GetNullableDurations() []*time.Duration

func (*RepStdTypes) GetNullableTimestamps

func (m *RepStdTypes) GetNullableTimestamps() []*time.Time

func (*RepStdTypes) GetTimestamps

func (m *RepStdTypes) GetTimestamps() []time.Time

func (*RepStdTypes) ProtoMessage

func (*RepStdTypes) ProtoMessage()

func (*RepStdTypes) Reset

func (m *RepStdTypes) Reset()

func (*RepStdTypes) Size

func (m *RepStdTypes) Size() (n int)

func (*RepStdTypes) String

func (m *RepStdTypes) String() string

func (*RepStdTypes) Unmarshal

func (m *RepStdTypes) Unmarshal(dAtA []byte) error

func (*RepStdTypes) VerboseEqual

func (this *RepStdTypes) VerboseEqual(that interface{}) error

func (*RepStdTypes) XXX_DiscardUnknown added in v1.1.1

func (m *RepStdTypes) XXX_DiscardUnknown()

func (*RepStdTypes) XXX_Marshal added in v1.1.1

func (m *RepStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepStdTypes) XXX_Merge added in v1.1.1

func (dst *RepStdTypes) XXX_Merge(src proto.Message)

func (*RepStdTypes) XXX_Size added in v1.1.1

func (m *RepStdTypes) XXX_Size() int

func (*RepStdTypes) XXX_Unmarshal added in v1.1.1

func (m *RepStdTypes) XXX_Unmarshal(b []byte) error

type StdTypes

type StdTypes struct {
	NullableTimestamp    *time.Time     `protobuf:"bytes,1,opt,name=nullableTimestamp,stdtime" json:"nullableTimestamp,omitempty"`
	NullableDuration     *time.Duration `protobuf:"bytes,2,opt,name=nullableDuration,stdduration" json:"nullableDuration,omitempty"`
	Timestamp            time.Time      `protobuf:"bytes,3,opt,name=timestamp,stdtime" json:"timestamp"`
	Duration             time.Duration  `protobuf:"bytes,4,opt,name=duration,stdduration" json:"duration"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func NewPopulatedStdTypes

func NewPopulatedStdTypes(r randyTypes, easy bool) *StdTypes

func (*StdTypes) Descriptor

func (*StdTypes) Descriptor() ([]byte, []int)

func (*StdTypes) Equal

func (this *StdTypes) Equal(that interface{}) bool

func (*StdTypes) GetDuration

func (m *StdTypes) GetDuration() time.Duration

func (*StdTypes) GetNullableDuration

func (m *StdTypes) GetNullableDuration() *time.Duration

func (*StdTypes) GetNullableTimestamp

func (m *StdTypes) GetNullableTimestamp() *time.Time

func (*StdTypes) GetTimestamp

func (m *StdTypes) GetTimestamp() time.Time

func (*StdTypes) ProtoMessage

func (*StdTypes) ProtoMessage()

func (*StdTypes) Reset

func (m *StdTypes) Reset()

func (*StdTypes) Size

func (m *StdTypes) Size() (n int)

func (*StdTypes) String

func (m *StdTypes) String() string

func (*StdTypes) Unmarshal

func (m *StdTypes) Unmarshal(dAtA []byte) error

func (*StdTypes) VerboseEqual

func (this *StdTypes) VerboseEqual(that interface{}) error

func (*StdTypes) XXX_DiscardUnknown added in v1.1.1

func (m *StdTypes) XXX_DiscardUnknown()

func (*StdTypes) XXX_Marshal added in v1.1.1

func (m *StdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StdTypes) XXX_Merge added in v1.1.1

func (dst *StdTypes) XXX_Merge(src proto.Message)

func (*StdTypes) XXX_Size added in v1.1.1

func (m *StdTypes) XXX_Size() int

func (*StdTypes) XXX_Unmarshal added in v1.1.1

func (m *StdTypes) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL