forked from mystiq/dex
201 lines
7.5 KiB
Go
201 lines
7.5 KiB
Go
|
// Code generated by protoc-gen-go.
|
||
|
// source: more_test_objects.proto
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
/*
|
||
|
Package jsonpb is a generated protocol buffer package.
|
||
|
|
||
|
It is generated from these files:
|
||
|
more_test_objects.proto
|
||
|
test_objects.proto
|
||
|
|
||
|
It has these top-level messages:
|
||
|
Simple3
|
||
|
Mappy
|
||
|
Simple
|
||
|
Repeats
|
||
|
Widget
|
||
|
Maps
|
||
|
MsgWithOneof
|
||
|
Real
|
||
|
Complex
|
||
|
KnownTypes
|
||
|
*/
|
||
|
package jsonpb
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto.Marshal
|
||
|
var _ = fmt.Errorf
|
||
|
var _ = math.Inf
|
||
|
|
||
|
// This is a compile-time assertion to ensure that this generated file
|
||
|
// is compatible with the proto package it is being compiled against.
|
||
|
// A compilation error at this line likely means your copy of the
|
||
|
// proto package needs to be updated.
|
||
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||
|
|
||
|
type Numeral int32
|
||
|
|
||
|
const (
|
||
|
Numeral_UNKNOWN Numeral = 0
|
||
|
Numeral_ARABIC Numeral = 1
|
||
|
Numeral_ROMAN Numeral = 2
|
||
|
)
|
||
|
|
||
|
var Numeral_name = map[int32]string{
|
||
|
0: "UNKNOWN",
|
||
|
1: "ARABIC",
|
||
|
2: "ROMAN",
|
||
|
}
|
||
|
var Numeral_value = map[string]int32{
|
||
|
"UNKNOWN": 0,
|
||
|
"ARABIC": 1,
|
||
|
"ROMAN": 2,
|
||
|
}
|
||
|
|
||
|
func (x Numeral) String() string {
|
||
|
return proto.EnumName(Numeral_name, int32(x))
|
||
|
}
|
||
|
func (Numeral) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||
|
|
||
|
type Simple3 struct {
|
||
|
Dub float64 `protobuf:"fixed64,1,opt,name=dub" json:"dub,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *Simple3) Reset() { *m = Simple3{} }
|
||
|
func (m *Simple3) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Simple3) ProtoMessage() {}
|
||
|
func (*Simple3) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||
|
|
||
|
type Mappy struct {
|
||
|
Nummy map[int64]int32 `protobuf:"bytes,1,rep,name=nummy" json:"nummy,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
||
|
Strry map[string]string `protobuf:"bytes,2,rep,name=strry" json:"strry,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
|
Objjy map[int32]*Simple3 `protobuf:"bytes,3,rep,name=objjy" json:"objjy,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
|
Buggy map[int64]string `protobuf:"bytes,4,rep,name=buggy" json:"buggy,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
|
Booly map[bool]bool `protobuf:"bytes,5,rep,name=booly" json:"booly,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
||
|
Enumy map[string]Numeral `protobuf:"bytes,6,rep,name=enumy" json:"enumy,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=jsonpb.Numeral"`
|
||
|
S32Booly map[int32]bool `protobuf:"bytes,7,rep,name=s32booly" json:"s32booly,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
||
|
S64Booly map[int64]bool `protobuf:"bytes,8,rep,name=s64booly" json:"s64booly,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
||
|
U32Booly map[uint32]bool `protobuf:"bytes,9,rep,name=u32booly" json:"u32booly,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
||
|
U64Booly map[uint64]bool `protobuf:"bytes,10,rep,name=u64booly" json:"u64booly,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
||
|
}
|
||
|
|
||
|
func (m *Mappy) Reset() { *m = Mappy{} }
|
||
|
func (m *Mappy) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Mappy) ProtoMessage() {}
|
||
|
func (*Mappy) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||
|
|
||
|
func (m *Mappy) GetNummy() map[int64]int32 {
|
||
|
if m != nil {
|
||
|
return m.Nummy
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Mappy) GetStrry() map[string]string {
|
||
|
if m != nil {
|
||
|
return m.Strry
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Mappy) GetObjjy() map[int32]*Simple3 {
|
||
|
if m != nil {
|
||
|
return m.Objjy
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Mappy) GetBuggy() map[int64]string {
|
||
|
if m != nil {
|
||
|
return m.Buggy
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Mappy) GetBooly() map[bool]bool {
|
||
|
if m != nil {
|
||
|
return m.Booly
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Mappy) GetEnumy() map[string]Numeral {
|
||
|
if m != nil {
|
||
|
return m.Enumy
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Mappy) GetS32Booly() map[int32]bool {
|
||
|
if m != nil {
|
||
|
return m.S32Booly
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Mappy) GetS64Booly() map[int64]bool {
|
||
|
if m != nil {
|
||
|
return m.S64Booly
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Mappy) GetU32Booly() map[uint32]bool {
|
||
|
if m != nil {
|
||
|
return m.U32Booly
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Mappy) GetU64Booly() map[uint64]bool {
|
||
|
if m != nil {
|
||
|
return m.U64Booly
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*Simple3)(nil), "jsonpb.Simple3")
|
||
|
proto.RegisterType((*Mappy)(nil), "jsonpb.Mappy")
|
||
|
proto.RegisterEnum("jsonpb.Numeral", Numeral_name, Numeral_value)
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("more_test_objects.proto", fileDescriptor0) }
|
||
|
|
||
|
var fileDescriptor0 = []byte{
|
||
|
// 442 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x94, 0xcf, 0xab, 0xd3, 0x40,
|
||
|
0x10, 0xc7, 0x4d, 0xf3, 0xf2, 0x6b, 0xca, 0xd3, 0xb0, 0x08, 0x06, 0xdf, 0x45, 0x1e, 0x08, 0x45,
|
||
|
0x30, 0x87, 0x56, 0xf4, 0xa1, 0xa7, 0x56, 0x7a, 0x28, 0xd2, 0x14, 0x52, 0x8a, 0xc7, 0xd2, 0xe8,
|
||
|
0x52, 0xac, 0x49, 0x13, 0xf2, 0x43, 0xd8, 0x3f, 0x5e, 0x30, 0xb3, 0xd9, 0x34, 0x9b, 0xb0, 0xa5,
|
||
|
0xde, 0x36, 0x7c, 0x3f, 0x9f, 0xce, 0xec, 0xce, 0x50, 0x78, 0x95, 0xa4, 0x39, 0xdd, 0x97, 0xb4,
|
||
|
0x28, 0xf7, 0x69, 0x74, 0xa2, 0x3f, 0xca, 0xc2, 0xcf, 0xf2, 0xb4, 0x4c, 0x89, 0x79, 0x2a, 0xd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