blob: 9319307772918dcad3dd9fc67f87104a91bdcee6 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/client/flagpb/unmarshal_test.proto
package flagpb
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
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.ProtoPackageIsVersion3 // please upgrade the proto package
type E int32
const (
E_V0 E = 0
E_V1 E = 1
)
var E_name = map[int32]string{
0: "V0",
1: "V1",
}
var E_value = map[string]int32{
"V0": 0,
"V1": 1,
}
func (x E) String() string {
return proto.EnumName(E_name, int32(x))
}
func (E) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_7e62106924695bf0, []int{0}
}
type M1 struct {
S string `protobuf:"bytes,1,opt,name=s,proto3" json:"s,omitempty"`
I int32 `protobuf:"varint,2,opt,name=i,proto3" json:"i,omitempty"`
Ri []int32 `protobuf:"varint,3,rep,packed,name=ri,proto3" json:"ri,omitempty"`
B bool `protobuf:"varint,4,opt,name=b,proto3" json:"b,omitempty"`
Rb []bool `protobuf:"varint,6,rep,packed,name=rb,proto3" json:"rb,omitempty"`
Bb []byte `protobuf:"bytes,5,opt,name=bb,proto3" json:"bb,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *M1) Reset() { *m = M1{} }
func (m *M1) String() string { return proto.CompactTextString(m) }
func (*M1) ProtoMessage() {}
func (*M1) Descriptor() ([]byte, []int) {
return fileDescriptor_7e62106924695bf0, []int{0}
}
func (m *M1) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_M1.Unmarshal(m, b)
}
func (m *M1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_M1.Marshal(b, m, deterministic)
}
func (m *M1) XXX_Merge(src proto.Message) {
xxx_messageInfo_M1.Merge(m, src)
}
func (m *M1) XXX_Size() int {
return xxx_messageInfo_M1.Size(m)
}
func (m *M1) XXX_DiscardUnknown() {
xxx_messageInfo_M1.DiscardUnknown(m)
}
var xxx_messageInfo_M1 proto.InternalMessageInfo
func (m *M1) GetS() string {
if m != nil {
return m.S
}
return ""
}
func (m *M1) GetI() int32 {
if m != nil {
return m.I
}
return 0
}
func (m *M1) GetRi() []int32 {
if m != nil {
return m.Ri
}
return nil
}
func (m *M1) GetB() bool {
if m != nil {
return m.B
}
return false
}
func (m *M1) GetRb() []bool {
if m != nil {
return m.Rb
}
return nil
}
func (m *M1) GetBb() []byte {
if m != nil {
return m.Bb
}
return nil
}
type M2 struct {
M1 *M1 `protobuf:"bytes,1,opt,name=m1,proto3" json:"m1,omitempty"`
E E `protobuf:"varint,2,opt,name=e,proto3,enum=flagpb.E" json:"e,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *M2) Reset() { *m = M2{} }
func (m *M2) String() string { return proto.CompactTextString(m) }
func (*M2) ProtoMessage() {}
func (*M2) Descriptor() ([]byte, []int) {
return fileDescriptor_7e62106924695bf0, []int{1}
}
func (m *M2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_M2.Unmarshal(m, b)
}
func (m *M2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_M2.Marshal(b, m, deterministic)
}
func (m *M2) XXX_Merge(src proto.Message) {
xxx_messageInfo_M2.Merge(m, src)
}
func (m *M2) XXX_Size() int {
return xxx_messageInfo_M2.Size(m)
}
func (m *M2) XXX_DiscardUnknown() {
xxx_messageInfo_M2.DiscardUnknown(m)
}
var xxx_messageInfo_M2 proto.InternalMessageInfo
func (m *M2) GetM1() *M1 {
if m != nil {
return m.M1
}
return nil
}
func (m *M2) GetE() E {
if m != nil {
return m.E
}
return E_V0
}
type M3 struct {
M1 []*M1 `protobuf:"bytes,1,rep,name=m1,proto3" json:"m1,omitempty"`
M2 *M2 `protobuf:"bytes,2,opt,name=m2,proto3" json:"m2,omitempty"`
B bool `protobuf:"varint,3,opt,name=b,proto3" json:"b,omitempty"`
S string `protobuf:"bytes,4,opt,name=s,proto3" json:"s,omitempty"`
Bt []byte `protobuf:"bytes,5,opt,name=bt,proto3" json:"bt,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *M3) Reset() { *m = M3{} }
func (m *M3) String() string { return proto.CompactTextString(m) }
func (*M3) ProtoMessage() {}
func (*M3) Descriptor() ([]byte, []int) {
return fileDescriptor_7e62106924695bf0, []int{2}
}
func (m *M3) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_M3.Unmarshal(m, b)
}
func (m *M3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_M3.Marshal(b, m, deterministic)
}
func (m *M3) XXX_Merge(src proto.Message) {
xxx_messageInfo_M3.Merge(m, src)
}
func (m *M3) XXX_Size() int {
return xxx_messageInfo_M3.Size(m)
}
func (m *M3) XXX_DiscardUnknown() {
xxx_messageInfo_M3.DiscardUnknown(m)
}
var xxx_messageInfo_M3 proto.InternalMessageInfo
func (m *M3) GetM1() []*M1 {
if m != nil {
return m.M1
}
return nil
}
func (m *M3) GetM2() *M2 {
if m != nil {
return m.M2
}
return nil
}
func (m *M3) GetB() bool {
if m != nil {
return m.B
}
return false
}
func (m *M3) GetS() string {
if m != nil {
return m.S
}
return ""
}
func (m *M3) GetBt() []byte {
if m != nil {
return m.Bt
}
return nil
}
type MapContainer struct {
Ss map[string]string `protobuf:"bytes,1,rep,name=ss,proto3" json:"ss,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Ii map[int32]int32 `protobuf:"bytes,2,rep,name=ii,proto3" json:"ii,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
Sm1 map[string]*M1 `protobuf:"bytes,3,rep,name=sm1,proto3" json:"sm1,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MapContainer) Reset() { *m = MapContainer{} }
func (m *MapContainer) String() string { return proto.CompactTextString(m) }
func (*MapContainer) ProtoMessage() {}
func (*MapContainer) Descriptor() ([]byte, []int) {
return fileDescriptor_7e62106924695bf0, []int{3}
}
func (m *MapContainer) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MapContainer.Unmarshal(m, b)
}
func (m *MapContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MapContainer.Marshal(b, m, deterministic)
}
func (m *MapContainer) XXX_Merge(src proto.Message) {
xxx_messageInfo_MapContainer.Merge(m, src)
}
func (m *MapContainer) XXX_Size() int {
return xxx_messageInfo_MapContainer.Size(m)
}
func (m *MapContainer) XXX_DiscardUnknown() {
xxx_messageInfo_MapContainer.DiscardUnknown(m)
}
var xxx_messageInfo_MapContainer proto.InternalMessageInfo
func (m *MapContainer) GetSs() map[string]string {
if m != nil {
return m.Ss
}
return nil
}
func (m *MapContainer) GetIi() map[int32]int32 {
if m != nil {
return m.Ii
}
return nil
}
func (m *MapContainer) GetSm1() map[string]*M1 {
if m != nil {
return m.Sm1
}
return nil
}
func init() {
proto.RegisterEnum("flagpb.E", E_name, E_value)
proto.RegisterType((*M1)(nil), "flagpb.M1")
proto.RegisterType((*M2)(nil), "flagpb.M2")
proto.RegisterType((*M3)(nil), "flagpb.M3")
proto.RegisterType((*MapContainer)(nil), "flagpb.MapContainer")
proto.RegisterMapType((map[int32]int32)(nil), "flagpb.MapContainer.IiEntry")
proto.RegisterMapType((map[string]*M1)(nil), "flagpb.MapContainer.Sm1Entry")
proto.RegisterMapType((map[string]string)(nil), "flagpb.MapContainer.SsEntry")
}
func init() {
proto.RegisterFile("go.chromium.org/luci/client/flagpb/unmarshal_test.proto", fileDescriptor_7e62106924695bf0)
}
var fileDescriptor_7e62106924695bf0 = []byte{
// 385 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x5f, 0xcb, 0xd3, 0x30,
0x14, 0xc6, 0xcd, 0xe9, 0xdb, 0xba, 0x9d, 0x77, 0xbc, 0x8c, 0x28, 0x58, 0x86, 0x42, 0xe9, 0x55,
0x11, 0x69, 0x6d, 0x87, 0xf8, 0xe7, 0x52, 0xd9, 0x85, 0x17, 0xbd, 0x89, 0xe0, 0xa5, 0xd2, 0x8c,
0xba, 0x05, 0x9b, 0x76, 0x24, 0xa9, 0xb0, 0x0f, 0xe9, 0x77, 0x92, 0xa4, 0xed, 0xac, 0x50, 0xaf,
0xda, 0xc3, 0xf3, 0x3c, 0xe7, 0x77, 0x72, 0x12, 0x7c, 0x7b, 0xea, 0xd2, 0xe3, 0x59, 0x75, 0x52,
0xf4, 0x32, 0xed, 0xd4, 0x29, 0x6b, 0xfa, 0xa3, 0xc8, 0x8e, 0x8d, 0xa8, 0x5b, 0x93, 0xfd, 0x68,
0xaa, 0xd3, 0x85, 0x67, 0x7d, 0x2b, 0x2b, 0xa5, 0xcf, 0x55, 0xf3, 0xdd, 0xd4, 0xda, 0xa4, 0x17,
0xd5, 0x99, 0x8e, 0x06, 0x83, 0x18, 0x7f, 0x43, 0x28, 0x73, 0xba, 0x41, 0xa2, 0x43, 0x12, 0x91,
0x64, 0xcd, 0x88, 0xb6, 0x95, 0x08, 0x21, 0x22, 0x89, 0xcf, 0x88, 0xa0, 0x0f, 0x08, 0x4a, 0x84,
0x5e, 0xe4, 0x25, 0x3e, 0x03, 0x25, 0xac, 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