jsonpb

package
v1.4.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Numeral_name = map[int32]string{
	0: "UNKNOWN",
	1: "ARABIC",
	2: "ROMAN",
}
View Source
var Numeral_value = map[string]int32{
	"UNKNOWN": 0,
	"ARABIC":  1,
	"ROMAN":   2,
}

Functions

This section is empty.

Types

type Mappy

type Mappy struct {
	Nummy                map[int64]int32    `` /* 153-byte string literal not displayed */
	Strry                map[string]string  `` /* 151-byte string literal not displayed */
	Objjy                map[int32]*Simple3 `` /* 152-byte string literal not displayed */
	Buggy                map[int64]string   `` /* 152-byte string literal not displayed */
	Booly                map[bool]bool      `` /* 153-byte string literal not displayed */
	Enumy                map[string]Numeral `` /* 172-byte string literal not displayed */
	S32Booly             map[int32]bool     `` /* 159-byte string literal not displayed */
	S64Booly             map[int64]bool     `` /* 159-byte string literal not displayed */
	U32Booly             map[uint32]bool    `` /* 159-byte string literal not displayed */
	U64Booly             map[uint64]bool    `` /* 160-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Mappy) Descriptor

func (*Mappy) Descriptor() ([]byte, []int)

func (*Mappy) GetBooly

func (m *Mappy) GetBooly() map[bool]bool

func (*Mappy) GetBuggy

func (m *Mappy) GetBuggy() map[int64]string

func (*Mappy) GetEnumy

func (m *Mappy) GetEnumy() map[string]Numeral

func (*Mappy) GetNummy

func (m *Mappy) GetNummy() map[int64]int32

func (*Mappy) GetObjjy

func (m *Mappy) GetObjjy() map[int32]*Simple3

func (*Mappy) GetS32Booly

func (m *Mappy) GetS32Booly() map[int32]bool

func (*Mappy) GetS64Booly

func (m *Mappy) GetS64Booly() map[int64]bool

func (*Mappy) GetStrry

func (m *Mappy) GetStrry() map[string]string

func (*Mappy) GetU32Booly

func (m *Mappy) GetU32Booly() map[uint32]bool

func (*Mappy) GetU64Booly

func (m *Mappy) GetU64Booly() map[uint64]bool

func (*Mappy) IsNil added in v1.4.9

func (m *Mappy) IsNil() bool

func (*Mappy) ProtoMessage

func (*Mappy) ProtoMessage()

func (*Mappy) Reset

func (m *Mappy) Reset()

func (*Mappy) SetBooly_ added in v1.4.9

func (m *Mappy) SetBooly_(val map[bool]bool)

func (*Mappy) SetBuggy_ added in v1.4.9

func (m *Mappy) SetBuggy_(val map[int64]string)

func (*Mappy) SetEnumy_ added in v1.4.9

func (m *Mappy) SetEnumy_(val map[string]Numeral)

func (*Mappy) SetNummy_ added in v1.4.9

func (m *Mappy) SetNummy_(val map[int64]int32)

func (*Mappy) SetObjjy_ added in v1.4.9

func (m *Mappy) SetObjjy_(val map[int32]*Simple3)

func (*Mappy) SetS32Booly_ added in v1.4.9

func (m *Mappy) SetS32Booly_(val map[int32]bool)

func (*Mappy) SetS64Booly_ added in v1.4.9

func (m *Mappy) SetS64Booly_(val map[int64]bool)

func (*Mappy) SetStrry_ added in v1.4.9

func (m *Mappy) SetStrry_(val map[string]string)

func (*Mappy) SetU32Booly_ added in v1.4.9

func (m *Mappy) SetU32Booly_(val map[uint32]bool)

func (*Mappy) SetU64Booly_ added in v1.4.9

func (m *Mappy) SetU64Booly_(val map[uint64]bool)

func (*Mappy) String

func (m *Mappy) String() string

func (*Mappy) XXX_DiscardUnknown added in v1.1.0

func (m *Mappy) XXX_DiscardUnknown()

func (*Mappy) XXX_Marshal added in v1.1.0

func (m *Mappy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Mappy) XXX_Merge added in v1.1.0

func (m *Mappy) XXX_Merge(src proto.Message)

func (*Mappy) XXX_Size added in v1.1.0

func (m *Mappy) XXX_Size() int

func (*Mappy) XXX_Unmarshal added in v1.1.0

func (m *Mappy) XXX_Unmarshal(b []byte) error

type Numeral

type Numeral int32
const (
	Numeral_UNKNOWN Numeral = 0
	Numeral_ARABIC  Numeral = 1
	Numeral_ROMAN   Numeral = 2
)

func (Numeral) EnumDescriptor

func (Numeral) EnumDescriptor() ([]byte, []int)

func (Numeral) String

func (x Numeral) String() string

type Simple3

type Simple3 struct {
	Dub                  float64  `protobuf:"fixed64,1,opt,name=dub,proto3" json:"dub,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Simple3) Descriptor

func (*Simple3) Descriptor() ([]byte, []int)

func (*Simple3) GetDub

func (m *Simple3) GetDub() float64

func (*Simple3) IsNil added in v1.4.9

func (m *Simple3) IsNil() bool

func (*Simple3) ProtoMessage

func (*Simple3) ProtoMessage()

func (*Simple3) Reset

func (m *Simple3) Reset()

func (*Simple3) SetDub_ added in v1.4.9

func (m *Simple3) SetDub_(val float64)

func (*Simple3) String

func (m *Simple3) String() string

func (*Simple3) XXX_DiscardUnknown added in v1.1.0

func (m *Simple3) XXX_DiscardUnknown()

func (*Simple3) XXX_Marshal added in v1.1.0

func (m *Simple3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Simple3) XXX_Merge added in v1.1.0

func (m *Simple3) XXX_Merge(src proto.Message)

func (*Simple3) XXX_Size added in v1.1.0

func (m *Simple3) XXX_Size() int

func (*Simple3) XXX_Unmarshal added in v1.1.0

func (m *Simple3) XXX_Unmarshal(b []byte) error

type SimpleMap3

type SimpleMap3 struct {
	Stringy              map[string]string `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*SimpleMap3) Descriptor

func (*SimpleMap3) Descriptor() ([]byte, []int)

func (*SimpleMap3) GetStringy

func (m *SimpleMap3) GetStringy() map[string]string

func (*SimpleMap3) IsNil added in v1.4.9

func (m *SimpleMap3) IsNil() bool

func (*SimpleMap3) ProtoMessage

func (*SimpleMap3) ProtoMessage()

func (*SimpleMap3) Reset

func (m *SimpleMap3) Reset()

func (*SimpleMap3) SetStringy_ added in v1.4.9

func (m *SimpleMap3) SetStringy_(val map[string]string)

func (*SimpleMap3) String

func (m *SimpleMap3) String() string

func (*SimpleMap3) XXX_DiscardUnknown added in v1.1.0

func (m *SimpleMap3) XXX_DiscardUnknown()

func (*SimpleMap3) XXX_Marshal added in v1.1.0

func (m *SimpleMap3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SimpleMap3) XXX_Merge added in v1.1.0

func (m *SimpleMap3) XXX_Merge(src proto.Message)

func (*SimpleMap3) XXX_Size added in v1.1.0

func (m *SimpleMap3) XXX_Size() int

func (*SimpleMap3) XXX_Unmarshal added in v1.1.0

func (m *SimpleMap3) XXX_Unmarshal(b []byte) error

type SimpleNull3

type SimpleNull3 struct {
	Simple               *Simple3 `protobuf:"bytes,1,opt,name=simple,proto3" json:"simple,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SimpleNull3) Descriptor

func (*SimpleNull3) Descriptor() ([]byte, []int)

func (*SimpleNull3) GetSimple

func (m *SimpleNull3) GetSimple() *Simple3

func (*SimpleNull3) IsNil added in v1.4.9

func (m *SimpleNull3) IsNil() bool

func (*SimpleNull3) ProtoMessage

func (*SimpleNull3) ProtoMessage()

func (*SimpleNull3) Reset

func (m *SimpleNull3) Reset()

func (*SimpleNull3) SetSimple_ added in v1.4.9

func (m *SimpleNull3) SetSimple_(val *Simple3)

func (*SimpleNull3) String

func (m *SimpleNull3) String() string

func (*SimpleNull3) XXX_DiscardUnknown added in v1.1.0

func (m *SimpleNull3) XXX_DiscardUnknown()

func (*SimpleNull3) XXX_Marshal added in v1.1.0

func (m *SimpleNull3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SimpleNull3) XXX_Merge added in v1.1.0

func (m *SimpleNull3) XXX_Merge(src proto.Message)

func (*SimpleNull3) XXX_Size added in v1.1.0

func (m *SimpleNull3) XXX_Size() int

func (*SimpleNull3) XXX_Unmarshal added in v1.1.0

func (m *SimpleNull3) XXX_Unmarshal(b []byte) error

type SimpleSlice3

type SimpleSlice3 struct {
	Slices               []string `protobuf:"bytes,1,rep,name=slices,proto3" json:"slices,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SimpleSlice3) Descriptor

func (*SimpleSlice3) Descriptor() ([]byte, []int)

func (*SimpleSlice3) GetSlices

func (m *SimpleSlice3) GetSlices() []string

func (*SimpleSlice3) IsNil added in v1.4.9

func (m *SimpleSlice3) IsNil() bool

func (*SimpleSlice3) ProtoMessage

func (*SimpleSlice3) ProtoMessage()

func (*SimpleSlice3) Reset

func (m *SimpleSlice3) Reset()

func (*SimpleSlice3) SetSlices_ added in v1.4.9

func (m *SimpleSlice3) SetSlices_(val []string)

func (*SimpleSlice3) String

func (m *SimpleSlice3) String() string

func (*SimpleSlice3) XXX_DiscardUnknown added in v1.1.0

func (m *SimpleSlice3) XXX_DiscardUnknown()

func (*SimpleSlice3) XXX_Marshal added in v1.1.0

func (m *SimpleSlice3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SimpleSlice3) XXX_Merge added in v1.1.0

func (m *SimpleSlice3) XXX_Merge(src proto.Message)

func (*SimpleSlice3) XXX_Size added in v1.1.0

func (m *SimpleSlice3) XXX_Size() int

func (*SimpleSlice3) XXX_Unmarshal added in v1.1.0

func (m *SimpleSlice3) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL