package stdtypes

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

Index

Types

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"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

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

func (*MapStdTypes) XXX_DiscardUnknown

func (m *MapStdTypes) XXX_DiscardUnknown()

func (*MapStdTypes) XXX_Marshal

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

func (*MapStdTypes) XXX_Merge

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

func (*MapStdTypes) XXX_Size

func (m *MapStdTypes) XXX_Size() int

func (*MapStdTypes) XXX_Unmarshal

func (m *MapStdTypes) XXX_Unmarshal(b []byte) 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 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_DiscardUnknown

func (m *OneofStdTypes) XXX_DiscardUnknown()

func (*OneofStdTypes) XXX_Marshal

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

func (*OneofStdTypes) XXX_Merge

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

func (m *OneofStdTypes) XXX_Size() int

func (*OneofStdTypes) XXX_Unmarshal

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 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"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

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

func (*RepStdTypes) XXX_DiscardUnknown

func (m *RepStdTypes) XXX_DiscardUnknown()

func (*RepStdTypes) XXX_Marshal

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

func (*RepStdTypes) XXX_Merge

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

func (*RepStdTypes) XXX_Size

func (m *RepStdTypes) XXX_Size() int

func (*RepStdTypes) XXX_Unmarshal

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

func (*StdTypes) XXX_DiscardUnknown

func (m *StdTypes) XXX_DiscardUnknown()

func (*StdTypes) XXX_Marshal

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

func (*StdTypes) XXX_Merge

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

func (*StdTypes) XXX_Size

func (m *StdTypes) XXX_Size() int

func (*StdTypes) XXX_Unmarshal

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

Source Files

stdtypes.pb.go

Version
v1.1.1
Published
Jul 17, 2018
Platform
js/wasm
Imports
10 packages
Last checked
2 days ago

Tools for package owners.