Documentation ¶
Index ¶
- Variables
- type KnownTypes
- func (this *KnownTypes) Compare(that interface{}) int
- func (*KnownTypes) Descriptor() ([]byte, []int)
- func (this *KnownTypes) Equal(that interface{}) bool
- func (m *KnownTypes) GetBool() *types.BoolValue
- func (m *KnownTypes) GetBytes() *types.BytesValue
- func (m *KnownTypes) GetDbl() *types.DoubleValue
- func (m *KnownTypes) GetDur() *types.Duration
- func (m *KnownTypes) GetFlt() *types.FloatValue
- func (m *KnownTypes) GetI32() *types.Int32Value
- func (m *KnownTypes) GetI64() *types.Int64Value
- func (m *KnownTypes) GetStr() *types.StringValue
- func (m *KnownTypes) GetTs() *types.Timestamp
- func (m *KnownTypes) GetU32() *types.UInt32Value
- func (m *KnownTypes) GetU64() *types.UInt64Value
- func (*KnownTypes) ProtoMessage()
- func (m *KnownTypes) Reset()
- func (m *KnownTypes) Size() (n int)
- func (m *KnownTypes) String() string
- func (m *KnownTypes) Unmarshal(dAtA []byte) error
- func (this *KnownTypes) VerboseEqual(that interface{}) error
- func (m *KnownTypes) XXX_DiscardUnknown()
- func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *KnownTypes) XXX_Merge(src proto.Message)
- func (m *KnownTypes) XXX_Size() int
- func (m *KnownTypes) XXX_Unmarshal(b []byte) error
- type MapProtoTypes
- func (*MapProtoTypes) Descriptor() ([]byte, []int)
- func (this *MapProtoTypes) Equal(that interface{}) bool
- func (m *MapProtoTypes) GetDuration() map[int32]types.Duration
- func (m *MapProtoTypes) GetNullableDuration() map[int32]*types.Duration
- func (m *MapProtoTypes) GetNullableTimestamp() map[int32]*types.Timestamp
- func (m *MapProtoTypes) GetTimestamp() map[int32]types.Timestamp
- func (*MapProtoTypes) ProtoMessage()
- func (m *MapProtoTypes) Reset()
- func (m *MapProtoTypes) Size() (n int)
- func (m *MapProtoTypes) String() string
- func (m *MapProtoTypes) Unmarshal(dAtA []byte) error
- func (this *MapProtoTypes) VerboseEqual(that interface{}) error
- func (m *MapProtoTypes) XXX_DiscardUnknown()
- func (m *MapProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MapProtoTypes) XXX_Merge(src proto.Message)
- func (m *MapProtoTypes) XXX_Size() int
- func (m *MapProtoTypes) XXX_Unmarshal(b []byte) error
- type 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 (*MapStdTypes) ProtoMessage()
- func (m *MapStdTypes) Reset()
- func (m *MapStdTypes) Size() (n int)
- func (m *MapStdTypes) String() string
- func (m *MapStdTypes) Unmarshal(dAtA []byte) error
- func (this *MapStdTypes) VerboseEqual(that interface{}) error
- func (m *MapStdTypes) XXX_DiscardUnknown()
- func (m *MapStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MapStdTypes) XXX_Merge(src proto.Message)
- func (m *MapStdTypes) XXX_Size() int
- func (m *MapStdTypes) XXX_Unmarshal(b []byte) error
- type OneofProtoTypes
- func (*OneofProtoTypes) Descriptor() ([]byte, []int)
- func (this *OneofProtoTypes) Equal(that interface{}) bool
- func (m *OneofProtoTypes) GetDuration() *types.Duration
- func (m *OneofProtoTypes) GetOneOfProtoTimes() isOneofProtoTypes_OneOfProtoTimes
- func (m *OneofProtoTypes) GetTimestamp() *types.Timestamp
- func (*OneofProtoTypes) ProtoMessage()
- func (m *OneofProtoTypes) Reset()
- func (m *OneofProtoTypes) Size() (n int)
- func (m *OneofProtoTypes) String() string
- func (m *OneofProtoTypes) Unmarshal(dAtA []byte) error
- func (this *OneofProtoTypes) VerboseEqual(that interface{}) error
- func (m *OneofProtoTypes) XXX_DiscardUnknown()
- func (m *OneofProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OneofProtoTypes) XXX_Merge(src proto.Message)
- func (*OneofProtoTypes) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *OneofProtoTypes) XXX_Size() int
- func (m *OneofProtoTypes) XXX_Unmarshal(b []byte) error
- type OneofProtoTypes_Duration
- type OneofProtoTypes_Timestamp
- type 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 (*OneofStdTypes) ProtoMessage()
- func (m *OneofStdTypes) Reset()
- func (m *OneofStdTypes) Size() (n int)
- func (m *OneofStdTypes) String() string
- func (m *OneofStdTypes) Unmarshal(dAtA []byte) error
- func (this *OneofStdTypes) VerboseEqual(that interface{}) error
- func (m *OneofStdTypes) XXX_DiscardUnknown()
- func (m *OneofStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OneofStdTypes) XXX_Merge(src proto.Message)
- func (*OneofStdTypes) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *OneofStdTypes) XXX_Size() int
- func (m *OneofStdTypes) XXX_Unmarshal(b []byte) error
- type OneofStdTypes_Duration
- type OneofStdTypes_Timestamp
- type ProtoTypes
- func (this *ProtoTypes) Compare(that interface{}) int
- func (*ProtoTypes) Descriptor() ([]byte, []int)
- func (this *ProtoTypes) Equal(that interface{}) bool
- func (m *ProtoTypes) GetDuration() types.Duration
- func (m *ProtoTypes) GetNullableDuration() *types.Duration
- func (m *ProtoTypes) GetNullableTimestamp() *types.Timestamp
- func (m *ProtoTypes) GetTimestamp() types.Timestamp
- func (*ProtoTypes) ProtoMessage()
- func (m *ProtoTypes) Reset()
- func (m *ProtoTypes) Size() (n int)
- func (m *ProtoTypes) String() string
- func (m *ProtoTypes) Unmarshal(dAtA []byte) error
- func (this *ProtoTypes) VerboseEqual(that interface{}) error
- func (m *ProtoTypes) XXX_DiscardUnknown()
- func (m *ProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProtoTypes) XXX_Merge(src proto.Message)
- func (m *ProtoTypes) XXX_Size() int
- func (m *ProtoTypes) XXX_Unmarshal(b []byte) error
- type RepProtoTypes
- func (this *RepProtoTypes) Compare(that interface{}) int
- func (*RepProtoTypes) Descriptor() ([]byte, []int)
- func (this *RepProtoTypes) Equal(that interface{}) bool
- func (m *RepProtoTypes) GetDurations() []types.Duration
- func (m *RepProtoTypes) GetNullableDurations() []*types.Duration
- func (m *RepProtoTypes) GetNullableTimestamps() []*types.Timestamp
- func (m *RepProtoTypes) GetTimestamps() []types.Timestamp
- func (*RepProtoTypes) ProtoMessage()
- func (m *RepProtoTypes) Reset()
- func (m *RepProtoTypes) Size() (n int)
- func (m *RepProtoTypes) String() string
- func (m *RepProtoTypes) Unmarshal(dAtA []byte) error
- func (this *RepProtoTypes) VerboseEqual(that interface{}) error
- func (m *RepProtoTypes) XXX_DiscardUnknown()
- func (m *RepProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RepProtoTypes) XXX_Merge(src proto.Message)
- func (m *RepProtoTypes) XXX_Size() int
- func (m *RepProtoTypes) XXX_Unmarshal(b []byte) error
- type 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 (*RepStdTypes) ProtoMessage()
- func (m *RepStdTypes) Reset()
- func (m *RepStdTypes) Size() (n int)
- func (m *RepStdTypes) String() string
- func (m *RepStdTypes) Unmarshal(dAtA []byte) error
- func (this *RepStdTypes) VerboseEqual(that interface{}) error
- func (m *RepStdTypes) XXX_DiscardUnknown()
- func (m *RepStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RepStdTypes) XXX_Merge(src proto.Message)
- func (m *RepStdTypes) XXX_Size() int
- func (m *RepStdTypes) XXX_Unmarshal(b []byte) error
- type 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 (*StdTypes) ProtoMessage()
- func (m *StdTypes) Reset()
- func (m *StdTypes) Size() (n int)
- func (m *StdTypes) String() string
- func (m *StdTypes) Unmarshal(dAtA []byte) error
- func (this *StdTypes) VerboseEqual(that interface{}) error
- func (m *StdTypes) XXX_DiscardUnknown()
- func (m *StdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StdTypes) XXX_Merge(src proto.Message)
- func (m *StdTypes) XXX_Size() int
- func (m *StdTypes) XXX_Unmarshal(b []byte) error
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 (*StdTypes) Descriptor ¶
func (*StdTypes) GetDuration ¶
func (*StdTypes) GetNullableDuration ¶
func (*StdTypes) GetNullableTimestamp ¶
func (*StdTypes) GetTimestamp ¶
func (*StdTypes) ProtoMessage ¶
func (*StdTypes) ProtoMessage()
func (*StdTypes) VerboseEqual ¶
func (*StdTypes) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *StdTypes) XXX_DiscardUnknown()
func (*StdTypes) XXX_Marshal ¶ added in v1.1.1
func (*StdTypes) XXX_Unmarshal ¶ added in v1.1.1
Click to show internal directories.
Click to hide internal directories.