stdtypes - ActiveState ActiveGo 1.8
...

Package stdtypes

import "github.com/gogo/protobuf/test/stdtypes"
Overview
Index

Overview ▾

Package stdtypes is a generated protocol buffer package.

It is generated from these files:

stdtypes.proto

It has these top-level messages:

StdTypes
RepStdTypes
MapStdTypes
OneofStdTypes

Index ▾

type MapStdTypes
    func NewPopulatedMapStdTypes(r randyStdtypes, easy bool) *MapStdTypes
    func (*MapStdTypes) Descriptor() ([]byte, []int)
    func (this *MapStdTypes) Equal(that interface{}) bool
    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 (this *MapStdTypes) GoString() string
    func (*MapStdTypes) ProtoMessage()
    func (m *MapStdTypes) Reset()
    func (m *MapStdTypes) Size() (n int)
    func (m *MapStdTypes) String() string
    func (this *MapStdTypes) VerboseEqual(that interface{}) error
type OneofStdTypes
    func NewPopulatedOneofStdTypes(r randyStdtypes, easy bool) *OneofStdTypes
    func (*OneofStdTypes) Descriptor() ([]byte, []int)
    func (this *OneofStdTypes) Equal(that interface{}) bool
    func (m *OneofStdTypes) GetDuration() *time.Duration
    func (m *OneofStdTypes) GetOneOfStdTimes() isOneofStdTypes_OneOfStdTimes
    func (m *OneofStdTypes) GetTimestamp() *time.Time
    func (this *OneofStdTypes) GoString() string
    func (*OneofStdTypes) ProtoMessage()
    func (m *OneofStdTypes) Reset()
    func (m *OneofStdTypes) Size() (n int)
    func (m *OneofStdTypes) String() string
    func (this *OneofStdTypes) VerboseEqual(that interface{}) error
    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{})
type OneofStdTypes_Duration
    func NewPopulatedOneofStdTypes_Duration(r randyStdtypes, easy bool) *OneofStdTypes_Duration
    func (this *OneofStdTypes_Duration) Equal(that interface{}) bool
    func (this *OneofStdTypes_Duration) GoString() string
    func (m *OneofStdTypes_Duration) Size() (n int)
    func (this *OneofStdTypes_Duration) VerboseEqual(that interface{}) error
type OneofStdTypes_Timestamp
    func NewPopulatedOneofStdTypes_Timestamp(r randyStdtypes, easy bool) *OneofStdTypes_Timestamp
    func (this *OneofStdTypes_Timestamp) Equal(that interface{}) bool
    func (this *OneofStdTypes_Timestamp) GoString() string
    func (m *OneofStdTypes_Timestamp) Size() (n int)
    func (this *OneofStdTypes_Timestamp) VerboseEqual(that interface{}) error
type RepStdTypes
    func NewPopulatedRepStdTypes(r randyStdtypes, easy bool) *RepStdTypes
    func (*RepStdTypes) Descriptor() ([]byte, []int)
    func (this *RepStdTypes) Equal(that interface{}) bool
    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 (this *RepStdTypes) GoString() string
    func (*RepStdTypes) ProtoMessage()
    func (m *RepStdTypes) Reset()
    func (m *RepStdTypes) Size() (n int)
    func (m *RepStdTypes) String() string
    func (this *RepStdTypes) VerboseEqual(that interface{}) error
type StdTypes
    func NewPopulatedStdTypes(r randyStdtypes, easy bool) *StdTypes
    func (*StdTypes) Descriptor() ([]byte, []int)
    func (this *StdTypes) Equal(that interface{}) bool
    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 (this *StdTypes) GoString() string
    func (*StdTypes) ProtoMessage()
    func (m *StdTypes) Reset()
    func (m *StdTypes) Size() (n int)
    func (m *StdTypes) String() string
    func (this *StdTypes) VerboseEqual(that interface{}) error

Package files

stdtypes.pb.go

type MapStdTypes

type MapStdTypes struct {
    NullableTimestamp map[int32]*time.Time     `protobuf:"bytes,1,rep,name=nullableTimestamp,stdtime" json:"nullableTimestamp,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
    Timestamp         map[int32]time.Time      `protobuf:"bytes,2,rep,name=timestamp,stdtime" json:"timestamp" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
    NullableDuration  map[int32]*time.Duration `protobuf:"bytes,3,rep,name=nullableDuration,stdduration" json:"nullableDuration,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
    Duration          map[int32]time.Duration  `protobuf:"bytes,4,rep,name=duration,stdduration" json:"duration" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
}

func NewPopulatedMapStdTypes

func NewPopulatedMapStdTypes(r randyStdtypes, 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) GoString

func (this *MapStdTypes) GoString() string

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) VerboseEqual

func (this *MapStdTypes) 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"`
}

func NewPopulatedOneofStdTypes

func NewPopulatedOneofStdTypes(r randyStdtypes, 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) GoString

func (this *OneofStdTypes) GoString() string

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) VerboseEqual

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

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.

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 randyStdtypes, easy bool) *OneofStdTypes_Duration

func (*OneofStdTypes_Duration) Equal

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

func (*OneofStdTypes_Duration) GoString

func (this *OneofStdTypes_Duration) GoString() string

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 randyStdtypes, easy bool) *OneofStdTypes_Timestamp

func (*OneofStdTypes_Timestamp) Equal

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

func (*OneofStdTypes_Timestamp) GoString

func (this *OneofStdTypes_Timestamp) GoString() string

func (*OneofStdTypes_Timestamp) Size

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

func (*OneofStdTypes_Timestamp) VerboseEqual

func (this *OneofStdTypes_Timestamp) VerboseEqual(that interface{}) 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"`
}

func NewPopulatedRepStdTypes

func NewPopulatedRepStdTypes(r randyStdtypes, 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) GoString

func (this *RepStdTypes) GoString() string

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) VerboseEqual

func (this *RepStdTypes) VerboseEqual(that interface{}) 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"`
}

func NewPopulatedStdTypes

func NewPopulatedStdTypes(r randyStdtypes, 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) GoString

func (this *StdTypes) GoString() string

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) VerboseEqual

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