types

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: 6 Imported by: 0

Documentation

Overview

Package types is a generated protocol buffer package.

It is generated from these files:

combos/neither/types.proto

It has these top-level messages:

KnownTypes
ProtoTypes
StdTypes
RepProtoTypes
RepStdTypes
MapProtoTypes
MapStdTypes
OneofProtoTypes
OneofStdTypes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KnownTypes

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

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() *google_protobuf3.BoolValue

func (*KnownTypes) GetBytes

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

func (*KnownTypes) GetDbl

func (*KnownTypes) GetDur

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

func (*KnownTypes) GetFlt

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

func (*KnownTypes) GetI32

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

func (*KnownTypes) GetI64

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

func (*KnownTypes) GetStr

func (*KnownTypes) GetTs

func (*KnownTypes) GetU32

func (*KnownTypes) GetU64

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

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

type MapProtoTypes

type MapProtoTypes struct {
	NullableTimestamp map[int32]*google_protobuf2.Timestamp `` /* 162-byte string literal not displayed */
	Timestamp         map[int32]google_protobuf2.Timestamp  `` /* 136-byte string literal not displayed */
	NullableDuration  map[int32]*google_protobuf1.Duration  `` /* 160-byte string literal not displayed */
	Duration          map[int32]google_protobuf1.Duration   `` /* 134-byte string literal not displayed */
}

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]google_protobuf1.Duration

func (*MapProtoTypes) GetNullableDuration

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

func (*MapProtoTypes) GetNullableTimestamp

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

func (*MapProtoTypes) GetTimestamp

func (m *MapProtoTypes) GetTimestamp() map[int32]google_protobuf2.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) VerboseEqual

func (this *MapProtoTypes) VerboseEqual(that interface{}) 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 */
}

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

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

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() *google_protobuf1.Duration

func (*OneofProtoTypes) GetOneOfProtoTimes

func (m *OneofProtoTypes) GetOneOfProtoTimes() isOneofProtoTypes_OneOfProtoTimes

func (*OneofProtoTypes) GetTimestamp

func (m *OneofProtoTypes) GetTimestamp() *google_protobuf2.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) VerboseEqual

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

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.

type OneofProtoTypes_Duration

type OneofProtoTypes_Duration struct {
	Duration *google_protobuf1.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 *google_protobuf2.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"`
}

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) 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 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 *google_protobuf2.Timestamp `protobuf:"bytes,1,opt,name=nullableTimestamp" json:"nullableTimestamp,omitempty"`
	NullableDuration  *google_protobuf1.Duration  `protobuf:"bytes,2,opt,name=nullableDuration" json:"nullableDuration,omitempty"`
	Timestamp         google_protobuf2.Timestamp  `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp"`
	Duration          google_protobuf1.Duration   `protobuf:"bytes,4,opt,name=duration" json:"duration"`
}

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() google_protobuf1.Duration

func (*ProtoTypes) GetNullableDuration

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

func (*ProtoTypes) GetNullableTimestamp

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

func (*ProtoTypes) GetTimestamp

func (m *ProtoTypes) GetTimestamp() google_protobuf2.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) VerboseEqual

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

type RepProtoTypes

type RepProtoTypes struct {
	NullableTimestamps []*google_protobuf2.Timestamp `protobuf:"bytes,1,rep,name=nullableTimestamps" json:"nullableTimestamps,omitempty"`
	NullableDurations  []*google_protobuf1.Duration  `protobuf:"bytes,2,rep,name=nullableDurations" json:"nullableDurations,omitempty"`
	Timestamps         []google_protobuf2.Timestamp  `protobuf:"bytes,3,rep,name=timestamps" json:"timestamps"`
	Durations          []google_protobuf1.Duration   `protobuf:"bytes,4,rep,name=durations" json:"durations"`
}

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() []google_protobuf1.Duration

func (*RepProtoTypes) GetNullableDurations

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

func (*RepProtoTypes) GetNullableTimestamps

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

func (*RepProtoTypes) GetTimestamps

func (m *RepProtoTypes) GetTimestamps() []google_protobuf2.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) VerboseEqual

func (this *RepProtoTypes) 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 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) 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 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) 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