Versions in this module Expand all Collapse all v1 v1.0.0 Jun 1, 2021 Changes in this version + var File_google_protobuf_struct_proto protoreflect.FileDescriptor + var NullValue_name = map[int32]string + var NullValue_value = map[string]int32 + type ListValue struct + Values []*Value + func NewList(v []interface{}) (*ListValue, error) + func (*ListValue) Descriptor() ([]byte, []int) + func (*ListValue) ProtoMessage() + func (x *ListValue) AsSlice() []interface{} + func (x *ListValue) GetValues() []*Value + func (x *ListValue) MarshalJSON() ([]byte, error) + func (x *ListValue) ProtoReflect() protoreflect.Message + func (x *ListValue) Reset() + func (x *ListValue) String() string + func (x *ListValue) UnmarshalJSON(b []byte) error + type NullValue int32 + const NullValue_NULL_VALUE + func (NullValue) Descriptor() protoreflect.EnumDescriptor + func (NullValue) EnumDescriptor() ([]byte, []int) + func (NullValue) Type() protoreflect.EnumType + func (x NullValue) Enum() *NullValue + func (x NullValue) Number() protoreflect.EnumNumber + func (x NullValue) String() string + type Struct struct + Fields map[string]*Value + func NewStruct(v map[string]interface{}) (*Struct, error) + func (*Struct) Descriptor() ([]byte, []int) + func (*Struct) ProtoMessage() + func (x *Struct) AsMap() map[string]interface{} + func (x *Struct) GetFields() map[string]*Value + func (x *Struct) MarshalJSON() ([]byte, error) + func (x *Struct) ProtoReflect() protoreflect.Message + func (x *Struct) Reset() + func (x *Struct) String() string + func (x *Struct) UnmarshalJSON(b []byte) error + type Value struct + Kind isValue_Kind + func NewBoolValue(v bool) *Value + func NewListValue(v *ListValue) *Value + func NewNullValue() *Value + func NewNumberValue(v float64) *Value + func NewStringValue(v string) *Value + func NewStructValue(v *Struct) *Value + func NewValue(v interface{}) (*Value, error) + func (*Value) Descriptor() ([]byte, []int) + func (*Value) ProtoMessage() + func (m *Value) GetKind() isValue_Kind + func (x *Value) AsInterface() interface{} + func (x *Value) GetBoolValue() bool + func (x *Value) GetListValue() *ListValue + func (x *Value) GetNullValue() NullValue + func (x *Value) GetNumberValue() float64 + func (x *Value) GetStringValue() string + func (x *Value) GetStructValue() *Struct + func (x *Value) MarshalJSON() ([]byte, error) + func (x *Value) ProtoReflect() protoreflect.Message + func (x *Value) Reset() + func (x *Value) String() string + func (x *Value) UnmarshalJSON(b []byte) error + type Value_BoolValue struct + BoolValue bool + type Value_ListValue struct + ListValue *ListValue + type Value_NullValue struct + NullValue NullValue + type Value_NumberValue struct + NumberValue float64 + type Value_StringValue struct + StringValue string + type Value_StructValue struct + StructValue *Struct