type google.golang.org/protobuf/types/known/structpb.Value
39 uses
google.golang.org/protobuf/types/known/structpb (current package)
struct.pb.go#L197: Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
struct.pb.go#L204: x := &Struct{Fields: make(map[string]*Value, len(v))}
struct.pb.go#L268: func (x *Struct) GetFields() map[string]*Value {
struct.pb.go#L281: type Value struct {
struct.pb.go#L316: func NewValue(v interface{}) (*Value, error) {
struct.pb.go#L364: func NewNullValue() *Value {
struct.pb.go#L365: return &Value{Kind: &Value_NullValue{NullValue: NullValue_NULL_VALUE}}
struct.pb.go#L369: func NewBoolValue(v bool) *Value {
struct.pb.go#L370: return &Value{Kind: &Value_BoolValue{BoolValue: v}}
struct.pb.go#L374: func NewNumberValue(v float64) *Value {
struct.pb.go#L375: return &Value{Kind: &Value_NumberValue{NumberValue: v}}
struct.pb.go#L379: func NewStringValue(v string) *Value {
struct.pb.go#L380: return &Value{Kind: &Value_StringValue{StringValue: v}}
struct.pb.go#L384: func NewStructValue(v *Struct) *Value {
struct.pb.go#L385: return &Value{Kind: &Value_StructValue{StructValue: v}}
struct.pb.go#L389: func NewListValue(v *ListValue) *Value {
struct.pb.go#L390: return &Value{Kind: &Value_ListValue{ListValue: v}}
struct.pb.go#L400: func (x *Value) AsInterface() interface{} {
struct.pb.go#L435: func (x *Value) MarshalJSON() ([]byte, error) {
struct.pb.go#L439: func (x *Value) UnmarshalJSON(b []byte) error {
struct.pb.go#L443: func (x *Value) Reset() {
struct.pb.go#L444: *x = Value{}
struct.pb.go#L452: func (x *Value) String() string {
struct.pb.go#L456: func (*Value) ProtoMessage() {}
struct.pb.go#L458: func (x *Value) ProtoReflect() protoreflect.Message {
struct.pb.go#L471: func (*Value) Descriptor() ([]byte, []int) {
struct.pb.go#L475: func (m *Value) GetKind() isValue_Kind {
struct.pb.go#L482: func (x *Value) GetNullValue() NullValue {
struct.pb.go#L489: func (x *Value) GetNumberValue() float64 {
struct.pb.go#L496: func (x *Value) GetStringValue() string {
struct.pb.go#L503: func (x *Value) GetBoolValue() bool {
struct.pb.go#L510: func (x *Value) GetStructValue() *Struct {
struct.pb.go#L517: func (x *Value) GetListValue() *ListValue {
struct.pb.go#L579: Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
struct.pb.go#L585: x := &ListValue{Values: make([]*Value, len(v))}
struct.pb.go#L646: func (x *ListValue) GetValues() []*Value {
struct.pb.go#L722: (*Value)(nil), // 2: google.protobuf.Value
struct.pb.go#L759: switch v := v.(*Value); i {
github.com/golang/protobuf/ptypes/struct
struct.pb.go#L23: type Value = structpb.Value
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |