Documentation ¶
Index ¶
- Variables
- type Bool
- func (b *Bool) BoolOr(or bool) bool
- func (*Bool) Descriptor() ([]byte, []int)
- func (m *Bool) GetBool() bool
- func (m *Bool) GetValid() bool
- func (b *Bool) MarshalJSON() ([]byte, error)
- func (*Bool) ProtoMessage()
- func (m *Bool) Reset()
- func (b *Bool) Scan(value interface{}) (err error)
- func (m *Bool) String() string
- func (b *Bool) UnmarshalJSON(data []byte) error
- func (b Bool) Value() (driver.Value, error)
- func (m *Bool) XXX_DiscardUnknown()
- func (m *Bool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Bool) XXX_Merge(src proto.Message)
- func (m *Bool) XXX_Size() int
- func (m *Bool) XXX_Unmarshal(b []byte) error
- type BoolArray
- func (ba *BoolArray) BoolArrayOr(or []bool) []bool
- func (*BoolArray) Descriptor() ([]byte, []int)
- func (m *BoolArray) GetBoolArray() []bool
- func (m *BoolArray) GetValid() bool
- func (ba *BoolArray) MarshalJSON() ([]byte, error)
- func (*BoolArray) ProtoMessage()
- func (m *BoolArray) Reset()
- func (ba *BoolArray) Scan(value interface{}) (err error)
- func (m *BoolArray) String() string
- func (ba *BoolArray) UnmarshalJSON(data []byte) error
- func (ba BoolArray) Value() (driver.Value, error)
- func (m *BoolArray) XXX_DiscardUnknown()
- func (m *BoolArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BoolArray) XXX_Merge(src proto.Message)
- func (m *BoolArray) XXX_Size() int
- func (m *BoolArray) XXX_Unmarshal(b []byte) error
- type Bytes
- func (*Bytes) Descriptor() ([]byte, []int)
- func (m *Bytes) GetBytes() []byte
- func (m *Bytes) GetValid() bool
- func (*Bytes) ProtoMessage()
- func (m *Bytes) Reset()
- func (m *Bytes) String() string
- func (m *Bytes) XXX_DiscardUnknown()
- func (m *Bytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Bytes) XXX_Merge(src proto.Message)
- func (m *Bytes) XXX_Size() int
- func (m *Bytes) XXX_Unmarshal(b []byte) error
- type BytesArray
- func (ba *BytesArray) BytesArrayOr(or [][]byte) [][]byte
- func (*BytesArray) Descriptor() ([]byte, []int)
- func (m *BytesArray) GetBytesArray() [][]byte
- func (m *BytesArray) GetValid() bool
- func (ba *BytesArray) MarshalJSON() ([]byte, error)
- func (*BytesArray) ProtoMessage()
- func (m *BytesArray) Reset()
- func (ba *BytesArray) Scan(value interface{}) (err error)
- func (m *BytesArray) String() string
- func (ba *BytesArray) UnmarshalJSON(data []byte) error
- func (ba BytesArray) Value() (driver.Value, error)
- func (m *BytesArray) XXX_DiscardUnknown()
- func (m *BytesArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BytesArray) XXX_Merge(src proto.Message)
- func (m *BytesArray) XXX_Size() int
- func (m *BytesArray) XXX_Unmarshal(b []byte) error
- type Float32
- func (*Float32) Descriptor() ([]byte, []int)
- func (f *Float32) Float32Or(or float32) float32
- func (m *Float32) GetFloat32() float32
- func (m *Float32) GetValid() bool
- func (f *Float32) MarshalJSON() ([]byte, error)
- func (*Float32) ProtoMessage()
- func (m *Float32) Reset()
- func (f *Float32) Scan(value interface{}) (err error)
- func (m *Float32) String() string
- func (f *Float32) UnmarshalJSON(data []byte) error
- func (f Float32) Value() (driver.Value, error)
- func (m *Float32) XXX_DiscardUnknown()
- func (m *Float32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Float32) XXX_Merge(src proto.Message)
- func (m *Float32) XXX_Size() int
- func (m *Float32) XXX_Unmarshal(b []byte) error
- type Float32Array
- func (*Float32Array) Descriptor() ([]byte, []int)
- func (fa *Float32Array) Float32ArrayOr(or []float32) []float32
- func (m *Float32Array) GetFloat32Array() []float32
- func (m *Float32Array) GetValid() bool
- func (fa *Float32Array) MarshalJSON() ([]byte, error)
- func (*Float32Array) ProtoMessage()
- func (m *Float32Array) Reset()
- func (m *Float32Array) String() string
- func (fa *Float32Array) UnmarshalJSON(data []byte) error
- func (m *Float32Array) XXX_DiscardUnknown()
- func (m *Float32Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Float32Array) XXX_Merge(src proto.Message)
- func (m *Float32Array) XXX_Size() int
- func (m *Float32Array) XXX_Unmarshal(b []byte) error
- type Float64
- func (*Float64) Descriptor() ([]byte, []int)
- func (f *Float64) Float64Or(or float64) float64
- func (m *Float64) GetFloat64() float64
- func (m *Float64) GetValid() bool
- func (f *Float64) MarshalJSON() ([]byte, error)
- func (*Float64) ProtoMessage()
- func (m *Float64) Reset()
- func (f *Float64) Scan(value interface{}) (err error)
- func (m *Float64) String() string
- func (f *Float64) UnmarshalJSON(data []byte) error
- func (f Float64) Value() (driver.Value, error)
- func (m *Float64) XXX_DiscardUnknown()
- func (m *Float64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Float64) XXX_Merge(src proto.Message)
- func (m *Float64) XXX_Size() int
- func (m *Float64) XXX_Unmarshal(b []byte) error
- type Float64Array
- func (*Float64Array) Descriptor() ([]byte, []int)
- func (fa *Float64Array) Float64ArrayOr(or []float64) []float64
- func (m *Float64Array) GetFloat64Array() []float64
- func (m *Float64Array) GetValid() bool
- func (fa *Float64Array) MarshalJSON() ([]byte, error)
- func (*Float64Array) ProtoMessage()
- func (m *Float64Array) Reset()
- func (fa *Float64Array) Scan(value interface{}) (err error)
- func (m *Float64Array) String() string
- func (fa *Float64Array) UnmarshalJSON(data []byte) error
- func (fa Float64Array) Value() (driver.Value, error)
- func (m *Float64Array) XXX_DiscardUnknown()
- func (m *Float64Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Float64Array) XXX_Merge(src proto.Message)
- func (m *Float64Array) XXX_Size() int
- func (m *Float64Array) XXX_Unmarshal(b []byte) error
- type Int32
- func (*Int32) Descriptor() ([]byte, []int)
- func (m *Int32) GetInt32() int32
- func (m *Int32) GetValid() bool
- func (i *Int32) Int32Or(or int32) int32
- func (i *Int32) MarshalJSON() ([]byte, error)
- func (*Int32) ProtoMessage()
- func (m *Int32) Reset()
- func (i *Int32) Scan(value interface{}) (err error)
- func (m *Int32) String() string
- func (i *Int32) UnmarshalJSON(data []byte) error
- func (i Int32) Value() (driver.Value, error)
- func (m *Int32) XXX_DiscardUnknown()
- func (m *Int32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Int32) XXX_Merge(src proto.Message)
- func (m *Int32) XXX_Size() int
- func (m *Int32) XXX_Unmarshal(b []byte) error
- type Int32Array
- func (*Int32Array) Descriptor() ([]byte, []int)
- func (m *Int32Array) GetInt32Array() []int32
- func (m *Int32Array) GetValid() bool
- func (ia *Int32Array) Int32ArrayOr(or []int32) []int32
- func (ia *Int32Array) MarshalJSON() ([]byte, error)
- func (*Int32Array) ProtoMessage()
- func (m *Int32Array) Reset()
- func (m *Int32Array) String() string
- func (ia *Int32Array) UnmarshalJSON(data []byte) error
- func (m *Int32Array) XXX_DiscardUnknown()
- func (m *Int32Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Int32Array) XXX_Merge(src proto.Message)
- func (m *Int32Array) XXX_Size() int
- func (m *Int32Array) XXX_Unmarshal(b []byte) error
- type Int64
- func (*Int64) Descriptor() ([]byte, []int)
- func (m *Int64) GetInt64() int64
- func (m *Int64) GetValid() bool
- func (i *Int64) Int64Or(or int64) int64
- func (i *Int64) MarshalJSON() ([]byte, error)
- func (*Int64) ProtoMessage()
- func (m *Int64) Reset()
- func (i *Int64) Scan(value interface{}) (err error)
- func (m *Int64) String() string
- func (i *Int64) UnmarshalJSON(data []byte) error
- func (i Int64) Value() (driver.Value, error)
- func (m *Int64) XXX_DiscardUnknown()
- func (m *Int64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Int64) XXX_Merge(src proto.Message)
- func (m *Int64) XXX_Size() int
- func (m *Int64) XXX_Unmarshal(b []byte) error
- type Int64Array
- func (*Int64Array) Descriptor() ([]byte, []int)
- func (m *Int64Array) GetInt64Array() []int64
- func (m *Int64Array) GetValid() bool
- func (ia *Int64Array) Int64ArrayOr(or []int64) []int64
- func (ia *Int64Array) MarshalJSON() ([]byte, error)
- func (*Int64Array) ProtoMessage()
- func (m *Int64Array) Reset()
- func (ia *Int64Array) Scan(value interface{}) (err error)
- func (m *Int64Array) String() string
- func (ia *Int64Array) UnmarshalJSON(data []byte) error
- func (ia Int64Array) Value() (driver.Value, error)
- func (m *Int64Array) XXX_DiscardUnknown()
- func (m *Int64Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Int64Array) XXX_Merge(src proto.Message)
- func (m *Int64Array) XXX_Size() int
- func (m *Int64Array) XXX_Unmarshal(b []byte) error
- type String
- func (*String) Descriptor() ([]byte, []int)
- func (m *String) GetChars() string
- func (m *String) GetValid() bool
- func (s *String) MarshalJSON() ([]byte, error)
- func (*String) ProtoMessage()
- func (m *String) Reset()
- func (s *String) Scan(value interface{}) error
- func (m *String) String() string
- func (s *String) StringOr(or string) string
- func (s *String) UnmarshalJSON(data []byte) error
- func (s String) Value() (driver.Value, error)
- func (m *String) XXX_DiscardUnknown()
- func (m *String) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *String) XXX_Merge(src proto.Message)
- func (m *String) XXX_Size() int
- func (m *String) XXX_Unmarshal(b []byte) error
- type StringArray
- func (*StringArray) Descriptor() ([]byte, []int)
- func (m *StringArray) GetStringArray() []string
- func (m *StringArray) GetValid() bool
- func (sa *StringArray) MarshalJSON() ([]byte, error)
- func (*StringArray) ProtoMessage()
- func (m *StringArray) Reset()
- func (sa *StringArray) Scan(value interface{}) (err error)
- func (m *StringArray) String() string
- func (sa *StringArray) StringArrayOr(or []string) []string
- func (sa *StringArray) UnmarshalJSON(data []byte) error
- func (sa StringArray) Value() (driver.Value, error)
- func (m *StringArray) XXX_DiscardUnknown()
- func (m *StringArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StringArray) XXX_Merge(src proto.Message)
- func (m *StringArray) XXX_Size() int
- func (m *StringArray) XXX_Unmarshal(b []byte) error
- type Uint32
- func (*Uint32) Descriptor() ([]byte, []int)
- func (m *Uint32) GetUint32() uint32
- func (m *Uint32) GetValid() bool
- func (u *Uint32) MarshalJSON() ([]byte, error)
- func (*Uint32) ProtoMessage()
- func (m *Uint32) Reset()
- func (u *Uint32) Scan(value interface{}) (err error)
- func (m *Uint32) String() string
- func (u *Uint32) Uint32Or(or uint32) uint32
- func (u *Uint32) UnmarshalJSON(data []byte) error
- func (u Uint32) Value() (driver.Value, error)
- func (m *Uint32) XXX_DiscardUnknown()
- func (m *Uint32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Uint32) XXX_Merge(src proto.Message)
- func (m *Uint32) XXX_Size() int
- func (m *Uint32) XXX_Unmarshal(b []byte) error
- type Uint32Array
- func (*Uint32Array) Descriptor() ([]byte, []int)
- func (m *Uint32Array) GetUint32Array() []uint32
- func (m *Uint32Array) GetValid() bool
- func (ua *Uint32Array) MarshalJSON() ([]byte, error)
- func (*Uint32Array) ProtoMessage()
- func (m *Uint32Array) Reset()
- func (m *Uint32Array) String() string
- func (ua *Uint32Array) Uint32ArrayOr(or []uint32) []uint32
- func (ua *Uint32Array) UnmarshalJSON(data []byte) error
- func (m *Uint32Array) XXX_DiscardUnknown()
- func (m *Uint32Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Uint32Array) XXX_Merge(src proto.Message)
- func (m *Uint32Array) XXX_Size() int
- func (m *Uint32Array) XXX_Unmarshal(b []byte) error
- type Uint64
- func (*Uint64) Descriptor() ([]byte, []int)
- func (m *Uint64) GetUint64() uint64
- func (m *Uint64) GetValid() bool
- func (u *Uint64) MarshalJSON() ([]byte, error)
- func (*Uint64) ProtoMessage()
- func (m *Uint64) Reset()
- func (m *Uint64) String() string
- func (u *Uint64) Uint64Or(or uint64) uint64
- func (u *Uint64) UnmarshalJSON(data []byte) error
- func (m *Uint64) XXX_DiscardUnknown()
- func (m *Uint64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Uint64) XXX_Merge(src proto.Message)
- func (m *Uint64) XXX_Size() int
- func (m *Uint64) XXX_Unmarshal(b []byte) error
- type Uint64Array
- func (*Uint64Array) Descriptor() ([]byte, []int)
- func (m *Uint64Array) GetUint64Array() []uint64
- func (m *Uint64Array) GetValid() bool
- func (ua *Uint64Array) MarshalJSON() ([]byte, error)
- func (*Uint64Array) ProtoMessage()
- func (m *Uint64Array) Reset()
- func (m *Uint64Array) String() string
- func (ua *Uint64Array) Uint64ArrayOr(or []uint64) []uint64
- func (ua *Uint64Array) UnmarshalJSON(data []byte) error
- func (m *Uint64Array) XXX_DiscardUnknown()
- func (m *Uint64Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Uint64Array) XXX_Merge(src proto.Message)
- func (m *Uint64Array) XXX_Size() int
- func (m *Uint64Array) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( // StringArrayScan is used by StringArray Scan method. StringArrayScan = func(interface{}) ([]string, error) { return nil, errors.New("ntypes: StringArrayScan not set") } // StringArrayValue is used by StringArray Value method. StringArrayValue = func([]string) (driver.Value, error) { return nil, errors.New("ntypes: StringArrayValue not set") } // Float64ArrayScan is used by Float64Array Scan method. Float64ArrayScan = func(interface{}) ([]float64, error) { return nil, errors.New("ntypes: Float64ArrayScan not set") } // Float64ArrayValue is used by Float64Array Value method. Float64ArrayValue = func([]float64) (driver.Value, error) { return nil, errors.New("ntypes: Float64ArrayValue not set") } // Int64ArrayScan is used by Int64Array Scan method. Int64ArrayScan = func(interface{}) ([]int64, error) { return nil, errors.New("ntypes: Float64ArrayValue not set") } // Int64ArrayValue is used by Int64Array Value method. Int64ArrayValue = func([]int64) (driver.Value, error) { return nil, errors.New("ntypes: Int64ArrayValue not set") } // BoolArrayScan is used by BoolArray Scan method. BoolArrayScan = func(interface{}) ([]bool, error) { return nil, errors.New("ntypes: BoolArrayScan not set") } // BoolArrayValue is used by BoolArray Value method. BoolArrayValue = func([]bool) (driver.Value, error) { return nil, errors.New("ntypes: BoolArrayValue not set") } // BytesArrayScan is used by BytesArray Scan method. BytesArrayScan = func(interface{}) ([][]byte, error) { return nil, errors.New("ntypes: BytesArrayScan not set") } // ByteArrayValue is used by BytesArray Value method. BytesArrayValue = func([][]byte) (driver.Value, error) { return nil, errors.New("ntypes: BytesArrayValue not set") } )
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct { Bool bool `protobuf:"varint,1,opt,name=bool,proto3" json:"bool,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Bool represents a bool that may be nil.
func (*Bool) Descriptor ¶
func (*Bool) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface.
func (*Bool) ProtoMessage ¶
func (*Bool) ProtoMessage()
func (*Bool) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface.
func (*Bool) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Bool) XXX_DiscardUnknown()
func (*Bool) XXX_Marshal ¶ added in v1.0.2
func (*Bool) XXX_Unmarshal ¶ added in v1.0.2
type BoolArray ¶
type BoolArray struct { BoolArray []bool `protobuf:"varint,1,rep,packed,name=bool_array,json=boolArray,proto3" json:"bool_array,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BoolArray represents an array of booleans that may be nil.
func (*BoolArray) BoolArrayOr ¶
BoolArrayOr returns given slice if receiver is nil or invalid.
func (*BoolArray) Descriptor ¶
func (*BoolArray) GetBoolArray ¶
func (*BoolArray) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface.
func (*BoolArray) ProtoMessage ¶
func (*BoolArray) ProtoMessage()
func (*BoolArray) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface.
func (*BoolArray) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *BoolArray) XXX_DiscardUnknown()
func (*BoolArray) XXX_Marshal ¶ added in v1.0.2
func (*BoolArray) XXX_Unmarshal ¶ added in v1.0.2
type Bytes ¶
type Bytes struct { Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Bytes represents a byte slice that may be nil.
func (*Bytes) Descriptor ¶
func (*Bytes) ProtoMessage ¶
func (*Bytes) ProtoMessage()
func (*Bytes) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Bytes) XXX_DiscardUnknown()
func (*Bytes) XXX_Marshal ¶ added in v1.0.2
func (*Bytes) XXX_Unmarshal ¶ added in v1.0.2
type BytesArray ¶
type BytesArray struct { BytesArray [][]byte `protobuf:"bytes,1,rep,name=bytes_array,json=bytesArray,proto3" json:"bytes_array,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BytesArray represents an array of byte slices that may be nil.
func (*BytesArray) BytesArrayOr ¶
func (ba *BytesArray) BytesArrayOr(or [][]byte) [][]byte
BytesArrayOr returns given slice if receiver is nil or invalid.
func (*BytesArray) Descriptor ¶
func (*BytesArray) Descriptor() ([]byte, []int)
func (*BytesArray) GetBytesArray ¶
func (m *BytesArray) GetBytesArray() [][]byte
func (*BytesArray) GetValid ¶
func (m *BytesArray) GetValid() bool
func (*BytesArray) MarshalJSON ¶
func (ba *BytesArray) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler interface.
func (*BytesArray) ProtoMessage ¶
func (*BytesArray) ProtoMessage()
func (*BytesArray) Reset ¶
func (m *BytesArray) Reset()
func (*BytesArray) Scan ¶
func (ba *BytesArray) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
func (*BytesArray) String ¶
func (m *BytesArray) String() string
func (*BytesArray) UnmarshalJSON ¶
func (ba *BytesArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler interface.
func (BytesArray) Value ¶
func (ba BytesArray) Value() (driver.Value, error)
Value implements the driver Valuer interface.
func (*BytesArray) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *BytesArray) XXX_DiscardUnknown()
func (*BytesArray) XXX_Marshal ¶ added in v1.0.2
func (m *BytesArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BytesArray) XXX_Merge ¶ added in v1.0.2
func (dst *BytesArray) XXX_Merge(src proto.Message)
func (*BytesArray) XXX_Size ¶ added in v1.0.2
func (m *BytesArray) XXX_Size() int
func (*BytesArray) XXX_Unmarshal ¶ added in v1.0.2
func (m *BytesArray) XXX_Unmarshal(b []byte) error
type Float32 ¶
type Float32 struct { Float32 float32 `protobuf:"fixed32,1,opt,name=float32,proto3" json:"float32,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Float32 represents a Float32 that may be nil.
func (*Float32) Descriptor ¶
func (*Float32) GetFloat32 ¶
func (*Float32) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface.
func (*Float32) ProtoMessage ¶
func (*Float32) ProtoMessage()
func (*Float32) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface.
func (*Float32) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Float32) XXX_DiscardUnknown()
func (*Float32) XXX_Marshal ¶ added in v1.0.2
func (*Float32) XXX_Unmarshal ¶ added in v1.0.2
type Float32Array ¶
type Float32Array struct { Float32Array []float32 `protobuf:"fixed32,1,rep,packed,name=float32_array,json=float32Array,proto3" json:"float32_array,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Float32Array represents an array of float32s that may be nil.
func (*Float32Array) Descriptor ¶
func (*Float32Array) Descriptor() ([]byte, []int)
func (*Float32Array) Float32ArrayOr ¶
func (fa *Float32Array) Float32ArrayOr(or []float32) []float32
Float32ArrayOr returns given slice if receiver is nil or invalid.
func (*Float32Array) GetFloat32Array ¶
func (m *Float32Array) GetFloat32Array() []float32
func (*Float32Array) GetValid ¶
func (m *Float32Array) GetValid() bool
func (*Float32Array) MarshalJSON ¶
func (fa *Float32Array) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler interface.
func (*Float32Array) ProtoMessage ¶
func (*Float32Array) ProtoMessage()
func (*Float32Array) Reset ¶
func (m *Float32Array) Reset()
func (*Float32Array) String ¶
func (m *Float32Array) String() string
func (*Float32Array) UnmarshalJSON ¶
func (fa *Float32Array) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler interface.
func (*Float32Array) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Float32Array) XXX_DiscardUnknown()
func (*Float32Array) XXX_Marshal ¶ added in v1.0.2
func (m *Float32Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Float32Array) XXX_Merge ¶ added in v1.0.2
func (dst *Float32Array) XXX_Merge(src proto.Message)
func (*Float32Array) XXX_Size ¶ added in v1.0.2
func (m *Float32Array) XXX_Size() int
func (*Float32Array) XXX_Unmarshal ¶ added in v1.0.2
func (m *Float32Array) XXX_Unmarshal(b []byte) error
type Float64 ¶
type Float64 struct { Float64 float64 `protobuf:"fixed64,1,opt,name=float64,proto3" json:"float64,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Float64 represents a Float64 that may be nil.
func (*Float64) Descriptor ¶
func (*Float64) GetFloat64 ¶
func (*Float64) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface.
func (*Float64) ProtoMessage ¶
func (*Float64) ProtoMessage()
func (*Float64) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface.
func (*Float64) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Float64) XXX_DiscardUnknown()
func (*Float64) XXX_Marshal ¶ added in v1.0.2
func (*Float64) XXX_Unmarshal ¶ added in v1.0.2
type Float64Array ¶
type Float64Array struct { Float64Array []float64 `protobuf:"fixed64,1,rep,packed,name=float64_array,json=float64Array,proto3" json:"float64_array,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Float64Array represents an array of float64s that may be nil.
func (*Float64Array) Descriptor ¶
func (*Float64Array) Descriptor() ([]byte, []int)
func (*Float64Array) Float64ArrayOr ¶
func (fa *Float64Array) Float64ArrayOr(or []float64) []float64
Float64ArrayOr returns given slice if receiver is nil or invalid.
func (*Float64Array) GetFloat64Array ¶
func (m *Float64Array) GetFloat64Array() []float64
func (*Float64Array) GetValid ¶
func (m *Float64Array) GetValid() bool
func (*Float64Array) MarshalJSON ¶
func (fa *Float64Array) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler interface.
func (*Float64Array) ProtoMessage ¶
func (*Float64Array) ProtoMessage()
func (*Float64Array) Reset ¶
func (m *Float64Array) Reset()
func (*Float64Array) Scan ¶
func (fa *Float64Array) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
func (*Float64Array) String ¶
func (m *Float64Array) String() string
func (*Float64Array) UnmarshalJSON ¶
func (fa *Float64Array) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler interface.
func (Float64Array) Value ¶
func (fa Float64Array) Value() (driver.Value, error)
Value implements the driver Valuer interface.
func (*Float64Array) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Float64Array) XXX_DiscardUnknown()
func (*Float64Array) XXX_Marshal ¶ added in v1.0.2
func (m *Float64Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Float64Array) XXX_Merge ¶ added in v1.0.2
func (dst *Float64Array) XXX_Merge(src proto.Message)
func (*Float64Array) XXX_Size ¶ added in v1.0.2
func (m *Float64Array) XXX_Size() int
func (*Float64Array) XXX_Unmarshal ¶ added in v1.0.2
func (m *Float64Array) XXX_Unmarshal(b []byte) error
type Int32 ¶
type Int32 struct { Int32 int32 `protobuf:"varint,1,opt,name=int32,proto3" json:"int32,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Int32 represents a int32 that may be nil.
func (*Int32) Descriptor ¶
func (*Int32) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface.
func (*Int32) ProtoMessage ¶
func (*Int32) ProtoMessage()
func (*Int32) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface.
func (*Int32) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Int32) XXX_DiscardUnknown()
func (*Int32) XXX_Marshal ¶ added in v1.0.2
func (*Int32) XXX_Unmarshal ¶ added in v1.0.2
type Int32Array ¶
type Int32Array struct { Int32Array []int32 `protobuf:"varint,1,rep,packed,name=int32_array,json=int32Array,proto3" json:"int32_array,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Int32Array represents an array of int32s that may be nil.
func (*Int32Array) Descriptor ¶
func (*Int32Array) Descriptor() ([]byte, []int)
func (*Int32Array) GetInt32Array ¶
func (m *Int32Array) GetInt32Array() []int32
func (*Int32Array) GetValid ¶
func (m *Int32Array) GetValid() bool
func (*Int32Array) Int32ArrayOr ¶
func (ia *Int32Array) Int32ArrayOr(or []int32) []int32
Int32ArrayOr returns given slice if receiver is nil or invalid.
func (*Int32Array) MarshalJSON ¶
func (ia *Int32Array) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler interface.
func (*Int32Array) ProtoMessage ¶
func (*Int32Array) ProtoMessage()
func (*Int32Array) Reset ¶
func (m *Int32Array) Reset()
func (*Int32Array) String ¶
func (m *Int32Array) String() string
func (*Int32Array) UnmarshalJSON ¶
func (ia *Int32Array) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler interface.
func (*Int32Array) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Int32Array) XXX_DiscardUnknown()
func (*Int32Array) XXX_Marshal ¶ added in v1.0.2
func (m *Int32Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Int32Array) XXX_Merge ¶ added in v1.0.2
func (dst *Int32Array) XXX_Merge(src proto.Message)
func (*Int32Array) XXX_Size ¶ added in v1.0.2
func (m *Int32Array) XXX_Size() int
func (*Int32Array) XXX_Unmarshal ¶ added in v1.0.2
func (m *Int32Array) XXX_Unmarshal(b []byte) error
type Int64 ¶
type Int64 struct { Int64 int64 `protobuf:"varint,1,opt,name=int64,proto3" json:"int64,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Int64 represents a int64 that may be nil.
func (*Int64) Descriptor ¶
func (*Int64) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface.
func (*Int64) ProtoMessage ¶
func (*Int64) ProtoMessage()
func (*Int64) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface.
func (*Int64) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Int64) XXX_DiscardUnknown()
func (*Int64) XXX_Marshal ¶ added in v1.0.2
func (*Int64) XXX_Unmarshal ¶ added in v1.0.2
type Int64Array ¶
type Int64Array struct { Int64Array []int64 `protobuf:"varint,1,rep,packed,name=int64_array,json=int64Array,proto3" json:"int64_array,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Int64Array represents an array of int64s that may be nil.
func (*Int64Array) Descriptor ¶
func (*Int64Array) Descriptor() ([]byte, []int)
func (*Int64Array) GetInt64Array ¶
func (m *Int64Array) GetInt64Array() []int64
func (*Int64Array) GetValid ¶
func (m *Int64Array) GetValid() bool
func (*Int64Array) Int64ArrayOr ¶
func (ia *Int64Array) Int64ArrayOr(or []int64) []int64
Int64ArrayOr returns given slice if receiver is nil or invalid.
func (*Int64Array) MarshalJSON ¶
func (ia *Int64Array) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler interface.
func (*Int64Array) ProtoMessage ¶
func (*Int64Array) ProtoMessage()
func (*Int64Array) Reset ¶
func (m *Int64Array) Reset()
func (*Int64Array) Scan ¶
func (ia *Int64Array) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
func (*Int64Array) String ¶
func (m *Int64Array) String() string
func (*Int64Array) UnmarshalJSON ¶
func (ia *Int64Array) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler interface.
func (Int64Array) Value ¶
func (ia Int64Array) Value() (driver.Value, error)
Value implements the driver Valuer interface.
func (*Int64Array) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Int64Array) XXX_DiscardUnknown()
func (*Int64Array) XXX_Marshal ¶ added in v1.0.2
func (m *Int64Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Int64Array) XXX_Merge ¶ added in v1.0.2
func (dst *Int64Array) XXX_Merge(src proto.Message)
func (*Int64Array) XXX_Size ¶ added in v1.0.2
func (m *Int64Array) XXX_Size() int
func (*Int64Array) XXX_Unmarshal ¶ added in v1.0.2
func (m *Int64Array) XXX_Unmarshal(b []byte) error
type String ¶
type String struct { Chars string `protobuf:"bytes,1,opt,name=chars,proto3" json:"chars,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
String represents a string that may be nil.
func (*String) Descriptor ¶
func (*String) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface.
func (*String) ProtoMessage ¶
func (*String) ProtoMessage()
func (*String) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface.
func (*String) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *String) XXX_DiscardUnknown()
func (*String) XXX_Marshal ¶ added in v1.0.2
func (*String) XXX_Unmarshal ¶ added in v1.0.2
type StringArray ¶
type StringArray struct { StringArray []string `protobuf:"bytes,1,rep,name=string_array,json=stringArray,proto3" json:"string_array,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
StringArray represents an array of strings that may be nil.
func (*StringArray) Descriptor ¶
func (*StringArray) Descriptor() ([]byte, []int)
func (*StringArray) GetStringArray ¶
func (m *StringArray) GetStringArray() []string
func (*StringArray) GetValid ¶
func (m *StringArray) GetValid() bool
func (*StringArray) MarshalJSON ¶
func (sa *StringArray) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler interface.
func (*StringArray) ProtoMessage ¶
func (*StringArray) ProtoMessage()
func (*StringArray) Reset ¶
func (m *StringArray) Reset()
func (*StringArray) Scan ¶
func (sa *StringArray) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
func (*StringArray) String ¶
func (m *StringArray) String() string
func (*StringArray) StringArrayOr ¶
func (sa *StringArray) StringArrayOr(or []string) []string
StringArrayOr returns given slice if receiver is nil or invalid.
func (*StringArray) UnmarshalJSON ¶
func (sa *StringArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler interface.
func (StringArray) Value ¶
func (sa StringArray) Value() (driver.Value, error)
Value implements the driver Valuer interface.
func (*StringArray) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *StringArray) XXX_DiscardUnknown()
func (*StringArray) XXX_Marshal ¶ added in v1.0.2
func (m *StringArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringArray) XXX_Merge ¶ added in v1.0.2
func (dst *StringArray) XXX_Merge(src proto.Message)
func (*StringArray) XXX_Size ¶ added in v1.0.2
func (m *StringArray) XXX_Size() int
func (*StringArray) XXX_Unmarshal ¶ added in v1.0.2
func (m *StringArray) XXX_Unmarshal(b []byte) error
type Uint32 ¶
type Uint32 struct { Uint32 uint32 `protobuf:"varint,1,opt,name=uint32,proto3" json:"uint32,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Uint32 represents a Uint32 that may be nil.
func (*Uint32) Descriptor ¶
func (*Uint32) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface.
func (*Uint32) ProtoMessage ¶
func (*Uint32) ProtoMessage()
func (*Uint32) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface.
func (*Uint32) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Uint32) XXX_DiscardUnknown()
func (*Uint32) XXX_Marshal ¶ added in v1.0.2
func (*Uint32) XXX_Unmarshal ¶ added in v1.0.2
type Uint32Array ¶
type Uint32Array struct { Uint32Array []uint32 `protobuf:"varint,1,rep,packed,name=uint32_array,json=uint32Array,proto3" json:"uint32_array,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Uint32Array represents an array of uint32s that may be nil.
func (*Uint32Array) Descriptor ¶
func (*Uint32Array) Descriptor() ([]byte, []int)
func (*Uint32Array) GetUint32Array ¶
func (m *Uint32Array) GetUint32Array() []uint32
func (*Uint32Array) GetValid ¶
func (m *Uint32Array) GetValid() bool
func (*Uint32Array) MarshalJSON ¶
func (ua *Uint32Array) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler interface.
func (*Uint32Array) ProtoMessage ¶
func (*Uint32Array) ProtoMessage()
func (*Uint32Array) Reset ¶
func (m *Uint32Array) Reset()
func (*Uint32Array) String ¶
func (m *Uint32Array) String() string
func (*Uint32Array) Uint32ArrayOr ¶
func (ua *Uint32Array) Uint32ArrayOr(or []uint32) []uint32
Uint32ArrayOr returns given slice if receiver is nil or invalid.
func (*Uint32Array) UnmarshalJSON ¶
func (ua *Uint32Array) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler interface.
func (*Uint32Array) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Uint32Array) XXX_DiscardUnknown()
func (*Uint32Array) XXX_Marshal ¶ added in v1.0.2
func (m *Uint32Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Uint32Array) XXX_Merge ¶ added in v1.0.2
func (dst *Uint32Array) XXX_Merge(src proto.Message)
func (*Uint32Array) XXX_Size ¶ added in v1.0.2
func (m *Uint32Array) XXX_Size() int
func (*Uint32Array) XXX_Unmarshal ¶ added in v1.0.2
func (m *Uint32Array) XXX_Unmarshal(b []byte) error
type Uint64 ¶
type Uint64 struct { Uint64 uint64 `protobuf:"varint,1,opt,name=uint64,proto3" json:"uint64,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Uint64 represents a Uint64 that may be nil.
func (*Uint64) Descriptor ¶
func (*Uint64) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface.
func (*Uint64) ProtoMessage ¶
func (*Uint64) ProtoMessage()
func (*Uint64) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface.
func (*Uint64) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Uint64) XXX_DiscardUnknown()
func (*Uint64) XXX_Marshal ¶ added in v1.0.2
func (*Uint64) XXX_Unmarshal ¶ added in v1.0.2
type Uint64Array ¶
type Uint64Array struct { Uint64Array []uint64 `protobuf:"varint,1,rep,packed,name=uint64_array,json=uint64Array,proto3" json:"uint64_array,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Uint64Array represents an array of uint64s that may be nil.
func (*Uint64Array) Descriptor ¶
func (*Uint64Array) Descriptor() ([]byte, []int)
func (*Uint64Array) GetUint64Array ¶
func (m *Uint64Array) GetUint64Array() []uint64
func (*Uint64Array) GetValid ¶
func (m *Uint64Array) GetValid() bool
func (*Uint64Array) MarshalJSON ¶
func (ua *Uint64Array) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler interface.
func (*Uint64Array) ProtoMessage ¶
func (*Uint64Array) ProtoMessage()
func (*Uint64Array) Reset ¶
func (m *Uint64Array) Reset()
func (*Uint64Array) String ¶
func (m *Uint64Array) String() string
func (*Uint64Array) Uint64ArrayOr ¶
func (ua *Uint64Array) Uint64ArrayOr(or []uint64) []uint64
Uint64ArrayOr returns given slice if receiver is nil or invalid.
func (*Uint64Array) UnmarshalJSON ¶
func (ua *Uint64Array) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler interface.
func (*Uint64Array) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *Uint64Array) XXX_DiscardUnknown()
func (*Uint64Array) XXX_Marshal ¶ added in v1.0.2
func (m *Uint64Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Uint64Array) XXX_Merge ¶ added in v1.0.2
func (dst *Uint64Array) XXX_Merge(src proto.Message)
func (*Uint64Array) XXX_Size ¶ added in v1.0.2
func (m *Uint64Array) XXX_Size() int
func (*Uint64Array) XXX_Unmarshal ¶ added in v1.0.2
func (m *Uint64Array) XXX_Unmarshal(b []byte) error