Versions in this module Expand all Collapse all v1 v1.0.0 Feb 2, 2018 Changes in this version + var ErrIntOverflowAny = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowDuration = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowEmpty = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowFieldMask = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowStruct = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTimestamp = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowWrappers = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthAny = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthDuration = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthEmpty = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthFieldMask = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthStruct = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTimestamp = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthWrappers = fmt.Errorf("proto: negative length found during unmarshaling") + var NullValue_name = map[int32]string + var NullValue_value = map[string]int32 + func AnyMessageName(any *Any) (string, error) + func DurationFromProto(p *Duration) (time.Duration, error) + func EmptyAny(any *Any) (proto.Message, error) + func Is(any *Any, pb proto.Message) bool + func NewPopulatedStdDuration(r interface{ ... }, easy bool) *time.Duration + func NewPopulatedStdTime(r interface{ ... }, easy bool) *time.Time + func SizeOfStdDuration(d time.Duration) int + func SizeOfStdTime(t time.Time) int + func StdDurationMarshal(d time.Duration) ([]byte, error) + func StdDurationMarshalTo(d time.Duration, data []byte) (int, error) + func StdDurationUnmarshal(d *time.Duration, data []byte) error + func StdTimeMarshal(t time.Time) ([]byte, error) + func StdTimeMarshalTo(t time.Time, data []byte) (int, error) + func StdTimeUnmarshal(t *time.Time, data []byte) error + func TimestampFromProto(ts *Timestamp) (time.Time, error) + func TimestampString(ts *Timestamp) string + func UnmarshalAny(any *Any, pb proto.Message) error + type Any struct + TypeUrl string + Value []byte + func MarshalAny(pb proto.Message) (*Any, error) + func NewPopulatedAny(r randyAny, easy bool) *Any + func (*Any) Descriptor() ([]byte, []int) + func (*Any) ProtoMessage() + func (*Any) XXX_WellKnownType() string + func (m *Any) GetTypeUrl() string + func (m *Any) GetValue() []byte + func (m *Any) Marshal() (dAtA []byte, err error) + func (m *Any) MarshalTo(dAtA []byte) (int, error) + func (m *Any) Reset() + func (m *Any) Size() (n int) + func (m *Any) Unmarshal(dAtA []byte) error + func (this *Any) Compare(that interface{}) int + func (this *Any) Equal(that interface{}) bool + func (this *Any) GoString() string + func (this *Any) String() string + type BoolValue struct + Value bool + func NewPopulatedBoolValue(r randyWrappers, easy bool) *BoolValue + func (*BoolValue) Descriptor() ([]byte, []int) + func (*BoolValue) ProtoMessage() + func (*BoolValue) XXX_WellKnownType() string + func (m *BoolValue) GetValue() bool + func (m *BoolValue) Marshal() (dAtA []byte, err error) + func (m *BoolValue) MarshalTo(dAtA []byte) (int, error) + func (m *BoolValue) Reset() + func (m *BoolValue) Size() (n int) + func (m *BoolValue) Unmarshal(dAtA []byte) error + func (this *BoolValue) Compare(that interface{}) int + func (this *BoolValue) Equal(that interface{}) bool + func (this *BoolValue) GoString() string + func (this *BoolValue) String() string + type BytesValue struct + Value []byte + func NewPopulatedBytesValue(r randyWrappers, easy bool) *BytesValue + func (*BytesValue) Descriptor() ([]byte, []int) + func (*BytesValue) ProtoMessage() + func (*BytesValue) XXX_WellKnownType() string + func (m *BytesValue) GetValue() []byte + func (m *BytesValue) Marshal() (dAtA []byte, err error) + func (m *BytesValue) MarshalTo(dAtA []byte) (int, error) + func (m *BytesValue) Reset() + func (m *BytesValue) Size() (n int) + func (m *BytesValue) Unmarshal(dAtA []byte) error + func (this *BytesValue) Compare(that interface{}) int + func (this *BytesValue) Equal(that interface{}) bool + func (this *BytesValue) GoString() string + func (this *BytesValue) String() string + type DoubleValue struct + Value float64 + func NewPopulatedDoubleValue(r randyWrappers, easy bool) *DoubleValue + func (*DoubleValue) Descriptor() ([]byte, []int) + func (*DoubleValue) ProtoMessage() + func (*DoubleValue) XXX_WellKnownType() string + func (m *DoubleValue) GetValue() float64 + func (m *DoubleValue) Marshal() (dAtA []byte, err error) + func (m *DoubleValue) MarshalTo(dAtA []byte) (int, error) + func (m *DoubleValue) Reset() + func (m *DoubleValue) Size() (n int) + func (m *DoubleValue) Unmarshal(dAtA []byte) error + func (this *DoubleValue) Compare(that interface{}) int + func (this *DoubleValue) Equal(that interface{}) bool + func (this *DoubleValue) GoString() string + func (this *DoubleValue) String() string + type Duration struct + Nanos int32 + Seconds int64 + func DurationProto(d time.Duration) *Duration + func NewPopulatedDuration(r interface{ ... }, easy bool) *Duration + func (*Duration) Descriptor() ([]byte, []int) + func (*Duration) ProtoMessage() + func (*Duration) XXX_WellKnownType() string + func (d *Duration) String() string + func (m *Duration) GetNanos() int32 + func (m *Duration) GetSeconds() int64 + func (m *Duration) Marshal() (dAtA []byte, err error) + func (m *Duration) MarshalTo(dAtA []byte) (int, error) + func (m *Duration) Reset() + func (m *Duration) Size() (n int) + func (m *Duration) Unmarshal(dAtA []byte) error + func (this *Duration) Compare(that interface{}) int + func (this *Duration) Equal(that interface{}) bool + func (this *Duration) GoString() string + type DynamicAny struct + type Empty struct + func NewPopulatedEmpty(r randyEmpty, easy bool) *Empty + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (*Empty) XXX_WellKnownType() string + func (m *Empty) Marshal() (dAtA []byte, err error) + func (m *Empty) MarshalTo(dAtA []byte) (int, error) + func (m *Empty) Reset() + func (m *Empty) Size() (n int) + func (m *Empty) Unmarshal(dAtA []byte) error + func (this *Empty) Compare(that interface{}) int + func (this *Empty) Equal(that interface{}) bool + func (this *Empty) GoString() string + func (this *Empty) String() string + type FieldMask struct + Paths []string + func NewPopulatedFieldMask(r randyFieldMask, easy bool) *FieldMask + func (*FieldMask) Descriptor() ([]byte, []int) + func (*FieldMask) ProtoMessage() + func (m *FieldMask) GetPaths() []string + func (m *FieldMask) Marshal() (dAtA []byte, err error) + func (m *FieldMask) MarshalTo(dAtA []byte) (int, error) + func (m *FieldMask) Reset() + func (m *FieldMask) Size() (n int) + func (m *FieldMask) Unmarshal(dAtA []byte) error + func (this *FieldMask) Compare(that interface{}) int + func (this *FieldMask) Equal(that interface{}) bool + func (this *FieldMask) GoString() string + func (this *FieldMask) String() string + type FloatValue struct + Value float32 + func NewPopulatedFloatValue(r randyWrappers, easy bool) *FloatValue + func (*FloatValue) Descriptor() ([]byte, []int) + func (*FloatValue) ProtoMessage() + func (*FloatValue) XXX_WellKnownType() string + func (m *FloatValue) GetValue() float32 + func (m *FloatValue) Marshal() (dAtA []byte, err error) + func (m *FloatValue) MarshalTo(dAtA []byte) (int, error) + func (m *FloatValue) Reset() + func (m *FloatValue) Size() (n int) + func (m *FloatValue) Unmarshal(dAtA []byte) error + func (this *FloatValue) Compare(that interface{}) int + func (this *FloatValue) Equal(that interface{}) bool + func (this *FloatValue) GoString() string + func (this *FloatValue) String() string + type Int32Value struct + Value int32 + func NewPopulatedInt32Value(r randyWrappers, easy bool) *Int32Value + func (*Int32Value) Descriptor() ([]byte, []int) + func (*Int32Value) ProtoMessage() + func (*Int32Value) XXX_WellKnownType() string + func (m *Int32Value) GetValue() int32 + func (m *Int32Value) Marshal() (dAtA []byte, err error) + func (m *Int32Value) MarshalTo(dAtA []byte) (int, error) + func (m *Int32Value) Reset() + func (m *Int32Value) Size() (n int) + func (m *Int32Value) Unmarshal(dAtA []byte) error + func (this *Int32Value) Compare(that interface{}) int + func (this *Int32Value) Equal(that interface{}) bool + func (this *Int32Value) GoString() string + func (this *Int32Value) String() string + type Int64Value struct + Value int64 + func NewPopulatedInt64Value(r randyWrappers, easy bool) *Int64Value + func (*Int64Value) Descriptor() ([]byte, []int) + func (*Int64Value) ProtoMessage() + func (*Int64Value) XXX_WellKnownType() string + func (m *Int64Value) GetValue() int64 + func (m *Int64Value) Marshal() (dAtA []byte, err error) + func (m *Int64Value) MarshalTo(dAtA []byte) (int, error) + func (m *Int64Value) Reset() + func (m *Int64Value) Size() (n int) + func (m *Int64Value) Unmarshal(dAtA []byte) error + func (this *Int64Value) Compare(that interface{}) int + func (this *Int64Value) Equal(that interface{}) bool + func (this *Int64Value) GoString() string + func (this *Int64Value) String() string + type ListValue struct + Values []*Value + func NewPopulatedListValue(r randyStruct, easy bool) *ListValue + func (*ListValue) Descriptor() ([]byte, []int) + func (*ListValue) ProtoMessage() + func (*ListValue) XXX_WellKnownType() string + func (m *ListValue) GetValues() []*Value + func (m *ListValue) Marshal() (dAtA []byte, err error) + func (m *ListValue) MarshalTo(dAtA []byte) (int, error) + func (m *ListValue) Reset() + func (m *ListValue) Size() (n int) + func (m *ListValue) Unmarshal(dAtA []byte) error + func (this *ListValue) Equal(that interface{}) bool + func (this *ListValue) GoString() string + func (this *ListValue) String() string + type NullValue int32 + const NULL_VALUE + func (NullValue) EnumDescriptor() ([]byte, []int) + func (NullValue) XXX_WellKnownType() string + func (x NullValue) String() string + type StringValue struct + Value string + func NewPopulatedStringValue(r randyWrappers, easy bool) *StringValue + func (*StringValue) Descriptor() ([]byte, []int) + func (*StringValue) ProtoMessage() + func (*StringValue) XXX_WellKnownType() string + func (m *StringValue) GetValue() string + func (m *StringValue) Marshal() (dAtA []byte, err error) + func (m *StringValue) MarshalTo(dAtA []byte) (int, error) + func (m *StringValue) Reset() + func (m *StringValue) Size() (n int) + func (m *StringValue) Unmarshal(dAtA []byte) error + func (this *StringValue) Compare(that interface{}) int + func (this *StringValue) Equal(that interface{}) bool + func (this *StringValue) GoString() string + func (this *StringValue) String() string + type Struct struct + Fields map[string]*Value + func NewPopulatedStruct(r randyStruct, easy bool) *Struct + func (*Struct) Descriptor() ([]byte, []int) + func (*Struct) ProtoMessage() + func (*Struct) XXX_WellKnownType() string + func (m *Struct) GetFields() map[string]*Value + func (m *Struct) Marshal() (dAtA []byte, err error) + func (m *Struct) MarshalTo(dAtA []byte) (int, error) + func (m *Struct) Reset() + func (m *Struct) Size() (n int) + func (m *Struct) Unmarshal(dAtA []byte) error + func (this *Struct) Equal(that interface{}) bool + func (this *Struct) GoString() string + func (this *Struct) String() string + type Timestamp struct + Nanos int32 + Seconds int64 + func NewPopulatedTimestamp(r interface{ ... }, easy bool) *Timestamp + func TimestampNow() *Timestamp + func TimestampProto(t time.Time) (*Timestamp, error) + func (*Timestamp) Descriptor() ([]byte, []int) + func (*Timestamp) ProtoMessage() + func (*Timestamp) XXX_WellKnownType() string + func (m *Timestamp) GetNanos() int32 + func (m *Timestamp) GetSeconds() int64 + func (m *Timestamp) Marshal() (dAtA []byte, err error) + func (m *Timestamp) MarshalTo(dAtA []byte) (int, error) + func (m *Timestamp) Reset() + func (m *Timestamp) Size() (n int) + func (m *Timestamp) Unmarshal(dAtA []byte) error + func (this *Timestamp) Compare(that interface{}) int + func (this *Timestamp) Equal(that interface{}) bool + func (this *Timestamp) GoString() string + func (ts *Timestamp) String() string + type UInt32Value struct + Value uint32 + func NewPopulatedUInt32Value(r randyWrappers, easy bool) *UInt32Value + func (*UInt32Value) Descriptor() ([]byte, []int) + func (*UInt32Value) ProtoMessage() + func (*UInt32Value) XXX_WellKnownType() string + func (m *UInt32Value) GetValue() uint32 + func (m *UInt32Value) Marshal() (dAtA []byte, err error) + func (m *UInt32Value) MarshalTo(dAtA []byte) (int, error) + func (m *UInt32Value) Reset() + func (m *UInt32Value) Size() (n int) + func (m *UInt32Value) Unmarshal(dAtA []byte) error + func (this *UInt32Value) Compare(that interface{}) int + func (this *UInt32Value) Equal(that interface{}) bool + func (this *UInt32Value) GoString() string + func (this *UInt32Value) String() string + type UInt64Value struct + Value uint64 + func NewPopulatedUInt64Value(r randyWrappers, easy bool) *UInt64Value + func (*UInt64Value) Descriptor() ([]byte, []int) + func (*UInt64Value) ProtoMessage() + func (*UInt64Value) XXX_WellKnownType() string + func (m *UInt64Value) GetValue() uint64 + func (m *UInt64Value) Marshal() (dAtA []byte, err error) + func (m *UInt64Value) MarshalTo(dAtA []byte) (int, error) + func (m *UInt64Value) Reset() + func (m *UInt64Value) Size() (n int) + func (m *UInt64Value) Unmarshal(dAtA []byte) error + func (this *UInt64Value) Compare(that interface{}) int + func (this *UInt64Value) Equal(that interface{}) bool + func (this *UInt64Value) GoString() string + func (this *UInt64Value) String() string + type Value struct + Kind isValue_Kind + func NewPopulatedValue(r randyStruct, easy bool) *Value + func (*Value) Descriptor() ([]byte, []int) + func (*Value) ProtoMessage() + func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...) + func (*Value) XXX_WellKnownType() string + func (m *Value) GetBoolValue() bool + func (m *Value) GetKind() isValue_Kind + func (m *Value) GetListValue() *ListValue + func (m *Value) GetNullValue() NullValue + func (m *Value) GetNumberValue() float64 + func (m *Value) GetStringValue() string + func (m *Value) GetStructValue() *Struct + func (m *Value) Marshal() (dAtA []byte, err error) + func (m *Value) MarshalTo(dAtA []byte) (int, error) + func (m *Value) Reset() + func (m *Value) Size() (n int) + func (m *Value) Unmarshal(dAtA []byte) error + func (this *Value) Equal(that interface{}) bool + func (this *Value) GoString() string + func (this *Value) String() string + type Value_BoolValue struct + BoolValue bool + func NewPopulatedValue_BoolValue(r randyStruct, easy bool) *Value_BoolValue + func (m *Value_BoolValue) MarshalTo(dAtA []byte) (int, error) + func (m *Value_BoolValue) Size() (n int) + func (this *Value_BoolValue) Equal(that interface{}) bool + func (this *Value_BoolValue) GoString() string + func (this *Value_BoolValue) String() string + type Value_ListValue struct + ListValue *ListValue + func NewPopulatedValue_ListValue(r randyStruct, easy bool) *Value_ListValue + func (m *Value_ListValue) MarshalTo(dAtA []byte) (int, error) + func (m *Value_ListValue) Size() (n int) + func (this *Value_ListValue) Equal(that interface{}) bool + func (this *Value_ListValue) GoString() string + func (this *Value_ListValue) String() string + type Value_NullValue struct + NullValue NullValue + func NewPopulatedValue_NullValue(r randyStruct, easy bool) *Value_NullValue + func (m *Value_NullValue) MarshalTo(dAtA []byte) (int, error) + func (m *Value_NullValue) Size() (n int) + func (this *Value_NullValue) Equal(that interface{}) bool + func (this *Value_NullValue) GoString() string + func (this *Value_NullValue) String() string + type Value_NumberValue struct + NumberValue float64 + func NewPopulatedValue_NumberValue(r randyStruct, easy bool) *Value_NumberValue + func (m *Value_NumberValue) MarshalTo(dAtA []byte) (int, error) + func (m *Value_NumberValue) Size() (n int) + func (this *Value_NumberValue) Equal(that interface{}) bool + func (this *Value_NumberValue) GoString() string + func (this *Value_NumberValue) String() string + type Value_StringValue struct + StringValue string + func NewPopulatedValue_StringValue(r randyStruct, easy bool) *Value_StringValue + func (m *Value_StringValue) MarshalTo(dAtA []byte) (int, error) + func (m *Value_StringValue) Size() (n int) + func (this *Value_StringValue) Equal(that interface{}) bool + func (this *Value_StringValue) GoString() string + func (this *Value_StringValue) String() string + type Value_StructValue struct + StructValue *Struct + func NewPopulatedValue_StructValue(r randyStruct, easy bool) *Value_StructValue + func (m *Value_StructValue) MarshalTo(dAtA []byte) (int, error) + func (m *Value_StructValue) Size() (n int) + func (this *Value_StructValue) Equal(that interface{}) bool + func (this *Value_StructValue) GoString() string + func (this *Value_StructValue) String() string