Help us shape the future of Go! Take the 2026 Go Developer Survey

stdtypes

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2018 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 */
}

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

Jump to

Keyboard shortcuts

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