github.com/glycerine/zebrapack@v4.1.1-0.20181107023619-e955d028f9bf+incompatible/zebra/zebra_zebra.go (about)

     1  // Code generated by ZEBRAPACK (github.com/glycerine/zebrapack). DO NOT EDIT.
     2  
     3  package zebra
     4  
     5  import (
     6  	"github.com/glycerine/zebrapack/msgp"
     7  )
     8  
     9  // ZebraDecodeMsg implements msgp.Decodable
    10  // We treat empty fields as if we read a Nil from the wire.
    11  func (z *Field) ZebraDecodeMsg(dc *msgp.Reader) (err error) {
    12  	var sawTopNil bool
    13  	if dc.IsNil() {
    14  		sawTopNil = true
    15  		err = dc.ReadNil()
    16  		if err != nil {
    17  			return
    18  		}
    19  		dc.PushAlwaysNil()
    20  	}
    21  
    22  	var field []byte
    23  	_ = field
    24  	const maxFields0zgensym_a6e93beb7c64bda8_1 = 11
    25  
    26  	// -- templateDecodeMsgZid starts here--
    27  	var totalEncodedFields0zgensym_a6e93beb7c64bda8_1 uint32
    28  	totalEncodedFields0zgensym_a6e93beb7c64bda8_1, err = dc.ReadMapHeader()
    29  	if err != nil {
    30  		return
    31  	}
    32  	encodedFieldsLeft0zgensym_a6e93beb7c64bda8_1 := totalEncodedFields0zgensym_a6e93beb7c64bda8_1
    33  	missingFieldsLeft0zgensym_a6e93beb7c64bda8_1 := maxFields0zgensym_a6e93beb7c64bda8_1 - totalEncodedFields0zgensym_a6e93beb7c64bda8_1
    34  
    35  	var nextMiss0zgensym_a6e93beb7c64bda8_1 int = -1
    36  	var found0zgensym_a6e93beb7c64bda8_1 [maxFields0zgensym_a6e93beb7c64bda8_1]bool
    37  	var curField0zgensym_a6e93beb7c64bda8_1 int
    38  
    39  doneWithStruct0zgensym_a6e93beb7c64bda8_1:
    40  	// First fill all the encoded fields, then
    41  	// treat the remaining, missing fields, as Nil.
    42  	for encodedFieldsLeft0zgensym_a6e93beb7c64bda8_1 > 0 || missingFieldsLeft0zgensym_a6e93beb7c64bda8_1 > 0 {
    43  		//fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft0zgensym_a6e93beb7c64bda8_1, missingFieldsLeft0zgensym_a6e93beb7c64bda8_1, msgp.ShowFound(found0zgensym_a6e93beb7c64bda8_1[:]), decodeMsgFieldOrder0zgensym_a6e93beb7c64bda8_1)
    44  		if encodedFieldsLeft0zgensym_a6e93beb7c64bda8_1 > 0 {
    45  			encodedFieldsLeft0zgensym_a6e93beb7c64bda8_1--
    46  			curField0zgensym_a6e93beb7c64bda8_1, err = dc.ReadInt()
    47  			if err != nil {
    48  				return
    49  			}
    50  		} else {
    51  			//missing fields need handling
    52  			if nextMiss0zgensym_a6e93beb7c64bda8_1 < 0 {
    53  				// tell the reader to only give us Nils
    54  				// until further notice.
    55  				dc.PushAlwaysNil()
    56  				nextMiss0zgensym_a6e93beb7c64bda8_1 = 0
    57  			}
    58  			for nextMiss0zgensym_a6e93beb7c64bda8_1 < maxFields0zgensym_a6e93beb7c64bda8_1 && (found0zgensym_a6e93beb7c64bda8_1[nextMiss0zgensym_a6e93beb7c64bda8_1] || decodeMsgFieldSkip0zgensym_a6e93beb7c64bda8_1[nextMiss0zgensym_a6e93beb7c64bda8_1]) {
    59  				nextMiss0zgensym_a6e93beb7c64bda8_1++
    60  			}
    61  			if nextMiss0zgensym_a6e93beb7c64bda8_1 == maxFields0zgensym_a6e93beb7c64bda8_1 {
    62  				// filled all the empty fields!
    63  				break doneWithStruct0zgensym_a6e93beb7c64bda8_1
    64  			}
    65  			missingFieldsLeft0zgensym_a6e93beb7c64bda8_1--
    66  			curField0zgensym_a6e93beb7c64bda8_1 = nextMiss0zgensym_a6e93beb7c64bda8_1
    67  		}
    68  		//fmt.Printf("switching on curField: '%v'\n", curField0zgensym_a6e93beb7c64bda8_1)
    69  		switch curField0zgensym_a6e93beb7c64bda8_1 {
    70  		// -- templateDecodeMsgZid ends here --
    71  
    72  		case 0:
    73  			// zid 0 for "Zid"
    74  			found0zgensym_a6e93beb7c64bda8_1[0] = true
    75  			z.Zid, err = dc.ReadInt64()
    76  			if err != nil {
    77  				return
    78  			}
    79  		case 1:
    80  			// zid 1 for "FieldGoName"
    81  			found0zgensym_a6e93beb7c64bda8_1[1] = true
    82  			z.FieldGoName, err = dc.ReadString()
    83  			if err != nil {
    84  				return
    85  			}
    86  		case 2:
    87  			// zid 2 for "FieldTagName"
    88  			found0zgensym_a6e93beb7c64bda8_1[2] = true
    89  			z.FieldTagName, err = dc.ReadString()
    90  			if err != nil {
    91  				return
    92  			}
    93  		case 3:
    94  			// zid 3 for "FieldTypeStr"
    95  			found0zgensym_a6e93beb7c64bda8_1[3] = true
    96  			z.FieldTypeStr, err = dc.ReadString()
    97  			if err != nil {
    98  				return
    99  			}
   100  		case 4:
   101  			// zid 4 for "FieldCategory"
   102  			found0zgensym_a6e93beb7c64bda8_1[4] = true
   103  			{
   104  				var zgensym_a6e93beb7c64bda8_2 uint64
   105  				zgensym_a6e93beb7c64bda8_2, err = dc.ReadUint64()
   106  				z.FieldCategory = Zkind(zgensym_a6e93beb7c64bda8_2)
   107  			}
   108  			if err != nil {
   109  				return
   110  			}
   111  		case 5:
   112  			// zid 5 for "FieldPrimitive"
   113  			found0zgensym_a6e93beb7c64bda8_1[5] = true
   114  			{
   115  				var zgensym_a6e93beb7c64bda8_3 uint64
   116  				zgensym_a6e93beb7c64bda8_3, err = dc.ReadUint64()
   117  				z.FieldPrimitive = Zkind(zgensym_a6e93beb7c64bda8_3)
   118  			}
   119  			if err != nil {
   120  				return
   121  			}
   122  		case 6:
   123  			// zid 6 for "FieldFullType"
   124  			found0zgensym_a6e93beb7c64bda8_1[6] = true
   125  			if dc.IsNil() {
   126  				err = dc.ReadNil()
   127  				if err != nil {
   128  					return
   129  				}
   130  
   131  				if z.FieldFullType != nil {
   132  					dc.PushAlwaysNil()
   133  					err = z.FieldFullType.ZebraDecodeMsg(dc)
   134  					if err != nil {
   135  						return
   136  					}
   137  					dc.PopAlwaysNil()
   138  				}
   139  			} else {
   140  				// not Nil, we have something to read
   141  
   142  				if z.FieldFullType == nil {
   143  					z.FieldFullType = new(Ztype)
   144  				}
   145  				err = z.FieldFullType.ZebraDecodeMsg(dc)
   146  				if err != nil {
   147  					return
   148  				}
   149  			}
   150  		case 7:
   151  			// zid 7 for "OmitEmpty"
   152  			found0zgensym_a6e93beb7c64bda8_1[7] = true
   153  			z.OmitEmpty, err = dc.ReadBool()
   154  			if err != nil {
   155  				return
   156  			}
   157  		case 8:
   158  			// zid 8 for "Skip"
   159  			found0zgensym_a6e93beb7c64bda8_1[8] = true
   160  			z.Skip, err = dc.ReadBool()
   161  			if err != nil {
   162  				return
   163  			}
   164  		case 9:
   165  			// zid 9 for "Deprecated"
   166  			found0zgensym_a6e93beb7c64bda8_1[9] = true
   167  			z.Deprecated, err = dc.ReadBool()
   168  			if err != nil {
   169  				return
   170  			}
   171  		case 10:
   172  			// zid 10 for "ShowZero"
   173  			found0zgensym_a6e93beb7c64bda8_1[10] = true
   174  			z.ShowZero, err = dc.ReadBool()
   175  			if err != nil {
   176  				return
   177  			}
   178  		default:
   179  			err = dc.Skip()
   180  			if err != nil {
   181  				return
   182  			}
   183  		}
   184  	}
   185  	if nextMiss0zgensym_a6e93beb7c64bda8_1 != -1 {
   186  		dc.PopAlwaysNil()
   187  	}
   188  
   189  	if sawTopNil {
   190  		dc.PopAlwaysNil()
   191  	}
   192  
   193  	if p, ok := interface{}(z).(msgp.PostLoad); ok {
   194  		p.PostLoadHook()
   195  	}
   196  
   197  	return
   198  }
   199  
   200  // fields of Field
   201  var decodeMsgFieldOrder0zgensym_a6e93beb7c64bda8_1 = []string{"Zid", "FieldGoName", "FieldTagName", "FieldTypeStr", "FieldCategory", "FieldPrimitive", "FieldFullType", "OmitEmpty", "Skip", "Deprecated", "ShowZero"}
   202  
   203  var decodeMsgFieldSkip0zgensym_a6e93beb7c64bda8_1 = []bool{false, false, false, false, false, false, false, false, false, false, false}
   204  
   205  // ZebrafieldsNotEmpty supports omitempty tags
   206  func (z *Field) ZebrafieldsNotEmpty(isempty []bool) uint32 {
   207  	if len(isempty) == 0 {
   208  		return 11
   209  	}
   210  	var fieldsInUse uint32 = 11
   211  	isempty[0] = (z.Zid == 0) // number, omitempty
   212  	if isempty[0] {
   213  		fieldsInUse--
   214  	}
   215  	isempty[1] = (len(z.FieldGoName) == 0) // string, omitempty
   216  	if isempty[1] {
   217  		fieldsInUse--
   218  	}
   219  	isempty[2] = (len(z.FieldTagName) == 0) // string, omitempty
   220  	if isempty[2] {
   221  		fieldsInUse--
   222  	}
   223  	isempty[3] = (len(z.FieldTypeStr) == 0) // string, omitempty
   224  	if isempty[3] {
   225  		fieldsInUse--
   226  	}
   227  	isempty[4] = (z.FieldCategory == 0) // number, omitempty
   228  	if isempty[4] {
   229  		fieldsInUse--
   230  	}
   231  	isempty[5] = (z.FieldPrimitive == 0) // number, omitempty
   232  	if isempty[5] {
   233  		fieldsInUse--
   234  	}
   235  	isempty[6] = (z.FieldFullType == nil) // pointer, omitempty
   236  	if isempty[6] {
   237  		fieldsInUse--
   238  	}
   239  	isempty[7] = (!z.OmitEmpty) // bool, omitempty
   240  	if isempty[7] {
   241  		fieldsInUse--
   242  	}
   243  	isempty[8] = (!z.Skip) // bool, omitempty
   244  	if isempty[8] {
   245  		fieldsInUse--
   246  	}
   247  	isempty[9] = (!z.Deprecated) // bool, omitempty
   248  	if isempty[9] {
   249  		fieldsInUse--
   250  	}
   251  	isempty[10] = (!z.ShowZero) // bool, omitempty
   252  	if isempty[10] {
   253  		fieldsInUse--
   254  	}
   255  
   256  	return fieldsInUse
   257  }
   258  
   259  // ZebraEncodeMsg implements msgp.Encodable
   260  func (z *Field) ZebraEncodeMsg(en *msgp.Writer) (err error) {
   261  	if p, ok := interface{}(z).(msgp.PreSave); ok {
   262  		p.PreSaveHook()
   263  	}
   264  
   265  	// honor the omitempty tags
   266  	var empty_zgensym_a6e93beb7c64bda8_4 [11]bool
   267  	fieldsInUse_zgensym_a6e93beb7c64bda8_5 := z.fieldsNotEmpty(empty_zgensym_a6e93beb7c64bda8_4[:])
   268  
   269  	// map header
   270  	err = en.WriteMapHeader(fieldsInUse_zgensym_a6e93beb7c64bda8_5 + 1)
   271  	if err != nil {
   272  		return err
   273  	}
   274  
   275  	// runtime struct type identification for 'Field'
   276  	err = en.Append(0xff)
   277  	if err != nil {
   278  		return err
   279  	}
   280  	err = en.WriteStringFromBytes([]byte{0x46, 0x69, 0x65, 0x6c, 0x64})
   281  	if err != nil {
   282  		return err
   283  	}
   284  
   285  	if !empty_zgensym_a6e93beb7c64bda8_4[0] {
   286  		// zid 0 for "Zid"
   287  		err = en.Append(0x0)
   288  		if err != nil {
   289  			return err
   290  		}
   291  		err = en.WriteInt64(z.Zid)
   292  		if err != nil {
   293  			return
   294  		}
   295  	}
   296  
   297  	if !empty_zgensym_a6e93beb7c64bda8_4[1] {
   298  		// zid 1 for "FieldGoName"
   299  		err = en.Append(0x1)
   300  		if err != nil {
   301  			return err
   302  		}
   303  		err = en.WriteString(z.FieldGoName)
   304  		if err != nil {
   305  			return
   306  		}
   307  	}
   308  
   309  	if !empty_zgensym_a6e93beb7c64bda8_4[2] {
   310  		// zid 2 for "FieldTagName"
   311  		err = en.Append(0x2)
   312  		if err != nil {
   313  			return err
   314  		}
   315  		err = en.WriteString(z.FieldTagName)
   316  		if err != nil {
   317  			return
   318  		}
   319  	}
   320  
   321  	if !empty_zgensym_a6e93beb7c64bda8_4[3] {
   322  		// zid 3 for "FieldTypeStr"
   323  		err = en.Append(0x3)
   324  		if err != nil {
   325  			return err
   326  		}
   327  		err = en.WriteString(z.FieldTypeStr)
   328  		if err != nil {
   329  			return
   330  		}
   331  	}
   332  
   333  	if !empty_zgensym_a6e93beb7c64bda8_4[4] {
   334  		// zid 4 for "FieldCategory"
   335  		err = en.Append(0x4)
   336  		if err != nil {
   337  			return err
   338  		}
   339  		err = en.WriteUint64(uint64(z.FieldCategory))
   340  		if err != nil {
   341  			return
   342  		}
   343  	}
   344  
   345  	if !empty_zgensym_a6e93beb7c64bda8_4[5] {
   346  		// zid 5 for "FieldPrimitive"
   347  		err = en.Append(0x5)
   348  		if err != nil {
   349  			return err
   350  		}
   351  		err = en.WriteUint64(uint64(z.FieldPrimitive))
   352  		if err != nil {
   353  			return
   354  		}
   355  	}
   356  
   357  	if !empty_zgensym_a6e93beb7c64bda8_4[6] {
   358  		// zid 6 for "FieldFullType"
   359  		err = en.Append(0x6)
   360  		if err != nil {
   361  			return err
   362  		}
   363  		if z.FieldFullType == nil {
   364  			err = en.WriteNil()
   365  			if err != nil {
   366  				return
   367  			}
   368  		} else {
   369  			err = z.FieldFullType.ZebraEncodeMsg(en)
   370  			if err != nil {
   371  				return
   372  			}
   373  		}
   374  	}
   375  
   376  	if !empty_zgensym_a6e93beb7c64bda8_4[7] {
   377  		// zid 7 for "OmitEmpty"
   378  		err = en.Append(0x7)
   379  		if err != nil {
   380  			return err
   381  		}
   382  		err = en.WriteBool(z.OmitEmpty)
   383  		if err != nil {
   384  			return
   385  		}
   386  	}
   387  
   388  	if !empty_zgensym_a6e93beb7c64bda8_4[8] {
   389  		// zid 8 for "Skip"
   390  		err = en.Append(0x8)
   391  		if err != nil {
   392  			return err
   393  		}
   394  		err = en.WriteBool(z.Skip)
   395  		if err != nil {
   396  			return
   397  		}
   398  	}
   399  
   400  	if !empty_zgensym_a6e93beb7c64bda8_4[9] {
   401  		// zid 9 for "Deprecated"
   402  		err = en.Append(0x9)
   403  		if err != nil {
   404  			return err
   405  		}
   406  		err = en.WriteBool(z.Deprecated)
   407  		if err != nil {
   408  			return
   409  		}
   410  	}
   411  
   412  	if !empty_zgensym_a6e93beb7c64bda8_4[10] {
   413  		// zid 10 for "ShowZero"
   414  		err = en.Append(0xa)
   415  		if err != nil {
   416  			return err
   417  		}
   418  		err = en.WriteBool(z.ShowZero)
   419  		if err != nil {
   420  			return
   421  		}
   422  	}
   423  
   424  	return
   425  }
   426  
   427  // ZebraMarshalMsg implements msgp.Marshaler
   428  func (z *Field) ZebraMarshalMsg(b []byte) (o []byte, err error) {
   429  	if p, ok := interface{}(z).(msgp.PreSave); ok {
   430  		p.PreSaveHook()
   431  	}
   432  
   433  	o = msgp.Require(b, z.ZebraMsgsize())
   434  
   435  	// honor the omitempty tags
   436  	var empty [11]bool
   437  	fieldsInUse := z.fieldsNotEmpty(empty[:])
   438  	o = msgp.AppendMapHeader(o, fieldsInUse+1)
   439  
   440  	// runtime struct type identification for 'Field'
   441  	o = msgp.AppendNegativeOneAndStringAsBytes(o, []byte{0x46, 0x69, 0x65, 0x6c, 0x64})
   442  
   443  	if !empty[0] {
   444  		// zid 0 for "Zid"
   445  		o = append(o, 0x0)
   446  		o = msgp.AppendInt64(o, z.Zid)
   447  	}
   448  
   449  	if !empty[1] {
   450  		// zid 1 for "FieldGoName"
   451  		o = append(o, 0x1)
   452  		o = msgp.AppendString(o, z.FieldGoName)
   453  	}
   454  
   455  	if !empty[2] {
   456  		// zid 2 for "FieldTagName"
   457  		o = append(o, 0x2)
   458  		o = msgp.AppendString(o, z.FieldTagName)
   459  	}
   460  
   461  	if !empty[3] {
   462  		// zid 3 for "FieldTypeStr"
   463  		o = append(o, 0x3)
   464  		o = msgp.AppendString(o, z.FieldTypeStr)
   465  	}
   466  
   467  	if !empty[4] {
   468  		// zid 4 for "FieldCategory"
   469  		o = append(o, 0x4)
   470  		o = msgp.AppendUint64(o, uint64(z.FieldCategory))
   471  	}
   472  
   473  	if !empty[5] {
   474  		// zid 5 for "FieldPrimitive"
   475  		o = append(o, 0x5)
   476  		o = msgp.AppendUint64(o, uint64(z.FieldPrimitive))
   477  	}
   478  
   479  	if !empty[6] {
   480  		// zid 6 for "FieldFullType"
   481  		o = append(o, 0x6)
   482  		if z.FieldFullType == nil {
   483  			o = msgp.AppendNil(o)
   484  		} else {
   485  			o, err = z.FieldFullType.ZebraMarshalMsg(o)
   486  			if err != nil {
   487  				return
   488  			}
   489  		}
   490  	}
   491  
   492  	if !empty[7] {
   493  		// zid 7 for "OmitEmpty"
   494  		o = append(o, 0x7)
   495  		o = msgp.AppendBool(o, z.OmitEmpty)
   496  	}
   497  
   498  	if !empty[8] {
   499  		// zid 8 for "Skip"
   500  		o = append(o, 0x8)
   501  		o = msgp.AppendBool(o, z.Skip)
   502  	}
   503  
   504  	if !empty[9] {
   505  		// zid 9 for "Deprecated"
   506  		o = append(o, 0x9)
   507  		o = msgp.AppendBool(o, z.Deprecated)
   508  	}
   509  
   510  	if !empty[10] {
   511  		// zid 10 for "ShowZero"
   512  		o = append(o, 0xa)
   513  		o = msgp.AppendBool(o, z.ShowZero)
   514  	}
   515  
   516  	return
   517  }
   518  
   519  // ZebraUnmarshalMsg implements msgp.Unmarshaler
   520  func (z *Field) ZebraUnmarshalMsg(bts []byte) (o []byte, err error) {
   521  	return z.ZebraUnmarshalMsgWithCfg(bts, nil)
   522  }
   523  func (z *Field) ZebraUnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error) {
   524  	var nbs msgp.NilBitsStack
   525  	nbs.Init(cfg)
   526  	var sawTopNil bool
   527  	if msgp.IsNil(bts) {
   528  		sawTopNil = true
   529  		bts = nbs.PushAlwaysNil(bts[1:])
   530  	}
   531  
   532  	var field []byte
   533  	_ = field
   534  	const maxFields6zgensym_a6e93beb7c64bda8_7 = 11
   535  
   536  	// -- templateUnmarshalMsgZid starts here--
   537  	var totalEncodedFields6zgensym_a6e93beb7c64bda8_7 uint32
   538  	if !nbs.AlwaysNil {
   539  		totalEncodedFields6zgensym_a6e93beb7c64bda8_7, bts, err = nbs.ReadMapHeaderBytes(bts)
   540  		if err != nil {
   541  			return
   542  		}
   543  	}
   544  	encodedFieldsLeft6zgensym_a6e93beb7c64bda8_7 := totalEncodedFields6zgensym_a6e93beb7c64bda8_7
   545  	missingFieldsLeft6zgensym_a6e93beb7c64bda8_7 := maxFields6zgensym_a6e93beb7c64bda8_7 - totalEncodedFields6zgensym_a6e93beb7c64bda8_7
   546  
   547  	var nextMiss6zgensym_a6e93beb7c64bda8_7 int = -1
   548  	var found6zgensym_a6e93beb7c64bda8_7 [maxFields6zgensym_a6e93beb7c64bda8_7]bool
   549  	var curField6zgensym_a6e93beb7c64bda8_7 int
   550  
   551  doneWithStruct6zgensym_a6e93beb7c64bda8_7:
   552  	// First fill all the encoded fields, then
   553  	// treat the remaining, missing fields, as Nil.
   554  	for encodedFieldsLeft6zgensym_a6e93beb7c64bda8_7 > 0 || missingFieldsLeft6zgensym_a6e93beb7c64bda8_7 > 0 {
   555  		//fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft6zgensym_a6e93beb7c64bda8_7, missingFieldsLeft6zgensym_a6e93beb7c64bda8_7, msgp.ShowFound(found6zgensym_a6e93beb7c64bda8_7[:]), unmarshalMsgFieldOrder6zgensym_a6e93beb7c64bda8_7)
   556  		if encodedFieldsLeft6zgensym_a6e93beb7c64bda8_7 > 0 {
   557  			encodedFieldsLeft6zgensym_a6e93beb7c64bda8_7--
   558  			curField6zgensym_a6e93beb7c64bda8_7, bts, err = nbs.ReadIntBytes(bts)
   559  			if err != nil {
   560  				return
   561  			}
   562  		} else {
   563  			//missing fields need handling
   564  			if nextMiss6zgensym_a6e93beb7c64bda8_7 < 0 {
   565  				// set bts to contain just mnil (0xc0)
   566  				bts = nbs.PushAlwaysNil(bts)
   567  				nextMiss6zgensym_a6e93beb7c64bda8_7 = 0
   568  			}
   569  			for nextMiss6zgensym_a6e93beb7c64bda8_7 < maxFields6zgensym_a6e93beb7c64bda8_7 && (found6zgensym_a6e93beb7c64bda8_7[nextMiss6zgensym_a6e93beb7c64bda8_7] || unmarshalMsgFieldSkip6zgensym_a6e93beb7c64bda8_7[nextMiss6zgensym_a6e93beb7c64bda8_7]) {
   570  				nextMiss6zgensym_a6e93beb7c64bda8_7++
   571  			}
   572  			if nextMiss6zgensym_a6e93beb7c64bda8_7 == maxFields6zgensym_a6e93beb7c64bda8_7 {
   573  				// filled all the empty fields!
   574  				break doneWithStruct6zgensym_a6e93beb7c64bda8_7
   575  			}
   576  			missingFieldsLeft6zgensym_a6e93beb7c64bda8_7--
   577  			curField6zgensym_a6e93beb7c64bda8_7 = nextMiss6zgensym_a6e93beb7c64bda8_7
   578  		}
   579  		//fmt.Printf("switching on curField: '%v'\n", curField6zgensym_a6e93beb7c64bda8_7)
   580  		switch curField6zgensym_a6e93beb7c64bda8_7 {
   581  		// -- templateUnmarshalMsgZid ends here --
   582  
   583  		case 0:
   584  			// zid 0 for "Zid"
   585  			found6zgensym_a6e93beb7c64bda8_7[0] = true
   586  			z.Zid, bts, err = nbs.ReadInt64Bytes(bts)
   587  
   588  			if err != nil {
   589  				return
   590  			}
   591  		case 1:
   592  			// zid 1 for "FieldGoName"
   593  			found6zgensym_a6e93beb7c64bda8_7[1] = true
   594  			z.FieldGoName, bts, err = nbs.ReadStringBytes(bts)
   595  
   596  			if err != nil {
   597  				return
   598  			}
   599  		case 2:
   600  			// zid 2 for "FieldTagName"
   601  			found6zgensym_a6e93beb7c64bda8_7[2] = true
   602  			z.FieldTagName, bts, err = nbs.ReadStringBytes(bts)
   603  
   604  			if err != nil {
   605  				return
   606  			}
   607  		case 3:
   608  			// zid 3 for "FieldTypeStr"
   609  			found6zgensym_a6e93beb7c64bda8_7[3] = true
   610  			z.FieldTypeStr, bts, err = nbs.ReadStringBytes(bts)
   611  
   612  			if err != nil {
   613  				return
   614  			}
   615  		case 4:
   616  			// zid 4 for "FieldCategory"
   617  			found6zgensym_a6e93beb7c64bda8_7[4] = true
   618  			{
   619  				var zgensym_a6e93beb7c64bda8_8 uint64
   620  				zgensym_a6e93beb7c64bda8_8, bts, err = nbs.ReadUint64Bytes(bts)
   621  
   622  				if err != nil {
   623  					return
   624  				}
   625  				z.FieldCategory = Zkind(zgensym_a6e93beb7c64bda8_8)
   626  			}
   627  		case 5:
   628  			// zid 5 for "FieldPrimitive"
   629  			found6zgensym_a6e93beb7c64bda8_7[5] = true
   630  			{
   631  				var zgensym_a6e93beb7c64bda8_9 uint64
   632  				zgensym_a6e93beb7c64bda8_9, bts, err = nbs.ReadUint64Bytes(bts)
   633  
   634  				if err != nil {
   635  					return
   636  				}
   637  				z.FieldPrimitive = Zkind(zgensym_a6e93beb7c64bda8_9)
   638  			}
   639  		case 6:
   640  			// zid 6 for "FieldFullType"
   641  			found6zgensym_a6e93beb7c64bda8_7[6] = true
   642  			if nbs.AlwaysNil {
   643  				if z.FieldFullType != nil {
   644  					z.FieldFullType.ZebraUnmarshalMsg(msgp.OnlyNilSlice)
   645  				}
   646  			} else {
   647  				// not nbs.AlwaysNil
   648  				if msgp.IsNil(bts) {
   649  					bts = bts[1:]
   650  					if nil != z.FieldFullType {
   651  						z.FieldFullType.ZebraUnmarshalMsg(msgp.OnlyNilSlice)
   652  					}
   653  				} else {
   654  					// not nbs.AlwaysNil and not IsNil(bts): have something to read
   655  
   656  					if z.FieldFullType == nil {
   657  						z.FieldFullType = new(Ztype)
   658  					}
   659  					bts, err = z.FieldFullType.ZebraUnmarshalMsg(bts)
   660  					if err != nil {
   661  						return
   662  					}
   663  					if err != nil {
   664  						return
   665  					}
   666  				}
   667  			}
   668  		case 7:
   669  			// zid 7 for "OmitEmpty"
   670  			found6zgensym_a6e93beb7c64bda8_7[7] = true
   671  			z.OmitEmpty, bts, err = nbs.ReadBoolBytes(bts)
   672  
   673  			if err != nil {
   674  				return
   675  			}
   676  		case 8:
   677  			// zid 8 for "Skip"
   678  			found6zgensym_a6e93beb7c64bda8_7[8] = true
   679  			z.Skip, bts, err = nbs.ReadBoolBytes(bts)
   680  
   681  			if err != nil {
   682  				return
   683  			}
   684  		case 9:
   685  			// zid 9 for "Deprecated"
   686  			found6zgensym_a6e93beb7c64bda8_7[9] = true
   687  			z.Deprecated, bts, err = nbs.ReadBoolBytes(bts)
   688  
   689  			if err != nil {
   690  				return
   691  			}
   692  		case 10:
   693  			// zid 10 for "ShowZero"
   694  			found6zgensym_a6e93beb7c64bda8_7[10] = true
   695  			z.ShowZero, bts, err = nbs.ReadBoolBytes(bts)
   696  
   697  			if err != nil {
   698  				return
   699  			}
   700  		default:
   701  			bts, err = msgp.Skip(bts)
   702  			if err != nil {
   703  				return
   704  			}
   705  		}
   706  	}
   707  	if nextMiss6zgensym_a6e93beb7c64bda8_7 != -1 {
   708  		bts = nbs.PopAlwaysNil()
   709  	}
   710  
   711  	if sawTopNil {
   712  		bts = nbs.PopAlwaysNil()
   713  	}
   714  	o = bts
   715  	if p, ok := interface{}(z).(msgp.PostLoad); ok {
   716  		p.PostLoadHook()
   717  	}
   718  
   719  	return
   720  }
   721  
   722  // fields of Field
   723  var unmarshalMsgFieldOrder6zgensym_a6e93beb7c64bda8_7 = []string{"Zid", "FieldGoName", "FieldTagName", "FieldTypeStr", "FieldCategory", "FieldPrimitive", "FieldFullType", "OmitEmpty", "Skip", "Deprecated", "ShowZero"}
   724  
   725  var unmarshalMsgFieldSkip6zgensym_a6e93beb7c64bda8_7 = []bool{false, false, false, false, false, false, false, false, false, false, false}
   726  
   727  // ZebraMsgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
   728  func (z *Field) ZebraMsgsize() (s int) {
   729  	s = 1 + 9 + msgp.Int64Size + 9 + msgp.StringPrefixSize + len(z.FieldGoName) + 9 + msgp.StringPrefixSize + len(z.FieldTagName) + 9 + msgp.StringPrefixSize + len(z.FieldTypeStr) + 9 + msgp.Uint64Size + 9 + msgp.Uint64Size + 9
   730  	if z.FieldFullType == nil {
   731  		s += msgp.NilSize
   732  	} else {
   733  		s += z.FieldFullType.ZebraMsgsize()
   734  	}
   735  	s += 9 + msgp.BoolSize + 9 + msgp.BoolSize + 9 + msgp.BoolSize + 9 + msgp.BoolSize
   736  	return
   737  }
   738  
   739  // ZebraDecodeMsg implements msgp.Decodable
   740  // We treat empty fields as if we read a Nil from the wire.
   741  func (z *Schema) ZebraDecodeMsg(dc *msgp.Reader) (err error) {
   742  	var sawTopNil bool
   743  	if dc.IsNil() {
   744  		sawTopNil = true
   745  		err = dc.ReadNil()
   746  		if err != nil {
   747  			return
   748  		}
   749  		dc.PushAlwaysNil()
   750  	}
   751  
   752  	var field []byte
   753  	_ = field
   754  	const maxFields14zgensym_a6e93beb7c64bda8_15 = 5
   755  
   756  	// -- templateDecodeMsgZid starts here--
   757  	var totalEncodedFields14zgensym_a6e93beb7c64bda8_15 uint32
   758  	totalEncodedFields14zgensym_a6e93beb7c64bda8_15, err = dc.ReadMapHeader()
   759  	if err != nil {
   760  		return
   761  	}
   762  	encodedFieldsLeft14zgensym_a6e93beb7c64bda8_15 := totalEncodedFields14zgensym_a6e93beb7c64bda8_15
   763  	missingFieldsLeft14zgensym_a6e93beb7c64bda8_15 := maxFields14zgensym_a6e93beb7c64bda8_15 - totalEncodedFields14zgensym_a6e93beb7c64bda8_15
   764  
   765  	var nextMiss14zgensym_a6e93beb7c64bda8_15 int = -1
   766  	var found14zgensym_a6e93beb7c64bda8_15 [maxFields14zgensym_a6e93beb7c64bda8_15]bool
   767  	var curField14zgensym_a6e93beb7c64bda8_15 int
   768  
   769  doneWithStruct14zgensym_a6e93beb7c64bda8_15:
   770  	// First fill all the encoded fields, then
   771  	// treat the remaining, missing fields, as Nil.
   772  	for encodedFieldsLeft14zgensym_a6e93beb7c64bda8_15 > 0 || missingFieldsLeft14zgensym_a6e93beb7c64bda8_15 > 0 {
   773  		//fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft14zgensym_a6e93beb7c64bda8_15, missingFieldsLeft14zgensym_a6e93beb7c64bda8_15, msgp.ShowFound(found14zgensym_a6e93beb7c64bda8_15[:]), decodeMsgFieldOrder14zgensym_a6e93beb7c64bda8_15)
   774  		if encodedFieldsLeft14zgensym_a6e93beb7c64bda8_15 > 0 {
   775  			encodedFieldsLeft14zgensym_a6e93beb7c64bda8_15--
   776  			curField14zgensym_a6e93beb7c64bda8_15, err = dc.ReadInt()
   777  			if err != nil {
   778  				return
   779  			}
   780  		} else {
   781  			//missing fields need handling
   782  			if nextMiss14zgensym_a6e93beb7c64bda8_15 < 0 {
   783  				// tell the reader to only give us Nils
   784  				// until further notice.
   785  				dc.PushAlwaysNil()
   786  				nextMiss14zgensym_a6e93beb7c64bda8_15 = 0
   787  			}
   788  			for nextMiss14zgensym_a6e93beb7c64bda8_15 < maxFields14zgensym_a6e93beb7c64bda8_15 && (found14zgensym_a6e93beb7c64bda8_15[nextMiss14zgensym_a6e93beb7c64bda8_15] || decodeMsgFieldSkip14zgensym_a6e93beb7c64bda8_15[nextMiss14zgensym_a6e93beb7c64bda8_15]) {
   789  				nextMiss14zgensym_a6e93beb7c64bda8_15++
   790  			}
   791  			if nextMiss14zgensym_a6e93beb7c64bda8_15 == maxFields14zgensym_a6e93beb7c64bda8_15 {
   792  				// filled all the empty fields!
   793  				break doneWithStruct14zgensym_a6e93beb7c64bda8_15
   794  			}
   795  			missingFieldsLeft14zgensym_a6e93beb7c64bda8_15--
   796  			curField14zgensym_a6e93beb7c64bda8_15 = nextMiss14zgensym_a6e93beb7c64bda8_15
   797  		}
   798  		//fmt.Printf("switching on curField: '%v'\n", curField14zgensym_a6e93beb7c64bda8_15)
   799  		switch curField14zgensym_a6e93beb7c64bda8_15 {
   800  		// -- templateDecodeMsgZid ends here --
   801  
   802  		case 0:
   803  			// zid 0 for "SourcePath"
   804  			found14zgensym_a6e93beb7c64bda8_15[0] = true
   805  			z.SourcePath, err = dc.ReadString()
   806  			if err != nil {
   807  				return
   808  			}
   809  		case 1:
   810  			// zid 1 for "SourcePackage"
   811  			found14zgensym_a6e93beb7c64bda8_15[1] = true
   812  			z.SourcePackage, err = dc.ReadString()
   813  			if err != nil {
   814  				return
   815  			}
   816  		case 2:
   817  			// zid 2 for "ZebraSchemaId"
   818  			found14zgensym_a6e93beb7c64bda8_15[2] = true
   819  			z.ZebraSchemaId, err = dc.ReadInt64()
   820  			if err != nil {
   821  				return
   822  			}
   823  		case 3:
   824  			// zid 3 for "Structs"
   825  			found14zgensym_a6e93beb7c64bda8_15[3] = true
   826  			var zgensym_a6e93beb7c64bda8_16 uint32
   827  			zgensym_a6e93beb7c64bda8_16, err = dc.ReadMapHeader()
   828  			if err != nil {
   829  				return
   830  			}
   831  			if z.Structs == nil && zgensym_a6e93beb7c64bda8_16 > 0 {
   832  				z.Structs = make(map[string]*Struct, zgensym_a6e93beb7c64bda8_16)
   833  			} else if len(z.Structs) > 0 {
   834  				for key, _ := range z.Structs {
   835  					delete(z.Structs, key)
   836  				}
   837  			}
   838  			for zgensym_a6e93beb7c64bda8_16 > 0 {
   839  				zgensym_a6e93beb7c64bda8_16--
   840  				var zgensym_a6e93beb7c64bda8_10 string
   841  				var zgensym_a6e93beb7c64bda8_11 *Struct
   842  				zgensym_a6e93beb7c64bda8_10, err = dc.ReadString()
   843  				if err != nil {
   844  					return
   845  				}
   846  				if dc.IsNil() {
   847  					err = dc.ReadNil()
   848  					if err != nil {
   849  						return
   850  					}
   851  
   852  					zgensym_a6e93beb7c64bda8_11 = nil
   853  				} else {
   854  					if zgensym_a6e93beb7c64bda8_11 == nil {
   855  						zgensym_a6e93beb7c64bda8_11 = new(Struct)
   856  					}
   857  					const maxFields17zgensym_a6e93beb7c64bda8_18 = 2
   858  
   859  					// -- templateDecodeMsgZid starts here--
   860  					var totalEncodedFields17zgensym_a6e93beb7c64bda8_18 uint32
   861  					totalEncodedFields17zgensym_a6e93beb7c64bda8_18, err = dc.ReadMapHeader()
   862  					if err != nil {
   863  						return
   864  					}
   865  					encodedFieldsLeft17zgensym_a6e93beb7c64bda8_18 := totalEncodedFields17zgensym_a6e93beb7c64bda8_18
   866  					missingFieldsLeft17zgensym_a6e93beb7c64bda8_18 := maxFields17zgensym_a6e93beb7c64bda8_18 - totalEncodedFields17zgensym_a6e93beb7c64bda8_18
   867  
   868  					var nextMiss17zgensym_a6e93beb7c64bda8_18 int = -1
   869  					var found17zgensym_a6e93beb7c64bda8_18 [maxFields17zgensym_a6e93beb7c64bda8_18]bool
   870  					var curField17zgensym_a6e93beb7c64bda8_18 int
   871  
   872  				doneWithStruct17zgensym_a6e93beb7c64bda8_18:
   873  					// First fill all the encoded fields, then
   874  					// treat the remaining, missing fields, as Nil.
   875  					for encodedFieldsLeft17zgensym_a6e93beb7c64bda8_18 > 0 || missingFieldsLeft17zgensym_a6e93beb7c64bda8_18 > 0 {
   876  						//fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft17zgensym_a6e93beb7c64bda8_18, missingFieldsLeft17zgensym_a6e93beb7c64bda8_18, msgp.ShowFound(found17zgensym_a6e93beb7c64bda8_18[:]), decodeMsgFieldOrder17zgensym_a6e93beb7c64bda8_18)
   877  						if encodedFieldsLeft17zgensym_a6e93beb7c64bda8_18 > 0 {
   878  							encodedFieldsLeft17zgensym_a6e93beb7c64bda8_18--
   879  							curField17zgensym_a6e93beb7c64bda8_18, err = dc.ReadInt()
   880  							if err != nil {
   881  								return
   882  							}
   883  						} else {
   884  							//missing fields need handling
   885  							if nextMiss17zgensym_a6e93beb7c64bda8_18 < 0 {
   886  								// tell the reader to only give us Nils
   887  								// until further notice.
   888  								dc.PushAlwaysNil()
   889  								nextMiss17zgensym_a6e93beb7c64bda8_18 = 0
   890  							}
   891  							for nextMiss17zgensym_a6e93beb7c64bda8_18 < maxFields17zgensym_a6e93beb7c64bda8_18 && (found17zgensym_a6e93beb7c64bda8_18[nextMiss17zgensym_a6e93beb7c64bda8_18] || decodeMsgFieldSkip17zgensym_a6e93beb7c64bda8_18[nextMiss17zgensym_a6e93beb7c64bda8_18]) {
   892  								nextMiss17zgensym_a6e93beb7c64bda8_18++
   893  							}
   894  							if nextMiss17zgensym_a6e93beb7c64bda8_18 == maxFields17zgensym_a6e93beb7c64bda8_18 {
   895  								// filled all the empty fields!
   896  								break doneWithStruct17zgensym_a6e93beb7c64bda8_18
   897  							}
   898  							missingFieldsLeft17zgensym_a6e93beb7c64bda8_18--
   899  							curField17zgensym_a6e93beb7c64bda8_18 = nextMiss17zgensym_a6e93beb7c64bda8_18
   900  						}
   901  						//fmt.Printf("switching on curField: '%v'\n", curField17zgensym_a6e93beb7c64bda8_18)
   902  						switch curField17zgensym_a6e93beb7c64bda8_18 {
   903  						// -- templateDecodeMsgZid ends here --
   904  
   905  						case 0:
   906  							// zid 0 for "StructName"
   907  							found17zgensym_a6e93beb7c64bda8_18[0] = true
   908  							zgensym_a6e93beb7c64bda8_11.StructName, err = dc.ReadString()
   909  							if err != nil {
   910  								return
   911  							}
   912  						case 1:
   913  							// zid 1 for "Fields"
   914  							found17zgensym_a6e93beb7c64bda8_18[1] = true
   915  							var zgensym_a6e93beb7c64bda8_19 uint32
   916  							zgensym_a6e93beb7c64bda8_19, err = dc.ReadArrayHeader()
   917  							if err != nil {
   918  								return
   919  							}
   920  							if cap(zgensym_a6e93beb7c64bda8_11.Fields) >= int(zgensym_a6e93beb7c64bda8_19) {
   921  								zgensym_a6e93beb7c64bda8_11.Fields = (zgensym_a6e93beb7c64bda8_11.Fields)[:zgensym_a6e93beb7c64bda8_19]
   922  							} else {
   923  								zgensym_a6e93beb7c64bda8_11.Fields = make([]Field, zgensym_a6e93beb7c64bda8_19)
   924  							}
   925  							for zgensym_a6e93beb7c64bda8_12 := range zgensym_a6e93beb7c64bda8_11.Fields {
   926  								err = zgensym_a6e93beb7c64bda8_11.Fields[zgensym_a6e93beb7c64bda8_12].ZebraDecodeMsg(dc)
   927  								if err != nil {
   928  									return
   929  								}
   930  							}
   931  						default:
   932  							err = dc.Skip()
   933  							if err != nil {
   934  								return
   935  							}
   936  						}
   937  					}
   938  					if nextMiss17zgensym_a6e93beb7c64bda8_18 != -1 {
   939  						dc.PopAlwaysNil()
   940  					}
   941  
   942  				}
   943  				z.Structs[zgensym_a6e93beb7c64bda8_10] = zgensym_a6e93beb7c64bda8_11
   944  			}
   945  		case 4:
   946  			// zid 4 for "Imports"
   947  			found14zgensym_a6e93beb7c64bda8_15[4] = true
   948  			var zgensym_a6e93beb7c64bda8_20 uint32
   949  			zgensym_a6e93beb7c64bda8_20, err = dc.ReadArrayHeader()
   950  			if err != nil {
   951  				return
   952  			}
   953  			if cap(z.Imports) >= int(zgensym_a6e93beb7c64bda8_20) {
   954  				z.Imports = (z.Imports)[:zgensym_a6e93beb7c64bda8_20]
   955  			} else {
   956  				z.Imports = make([]string, zgensym_a6e93beb7c64bda8_20)
   957  			}
   958  			for zgensym_a6e93beb7c64bda8_13 := range z.Imports {
   959  				z.Imports[zgensym_a6e93beb7c64bda8_13], err = dc.ReadString()
   960  				if err != nil {
   961  					return
   962  				}
   963  			}
   964  		default:
   965  			err = dc.Skip()
   966  			if err != nil {
   967  				return
   968  			}
   969  		}
   970  	}
   971  	if nextMiss14zgensym_a6e93beb7c64bda8_15 != -1 {
   972  		dc.PopAlwaysNil()
   973  	}
   974  
   975  	if sawTopNil {
   976  		dc.PopAlwaysNil()
   977  	}
   978  
   979  	if p, ok := interface{}(z).(msgp.PostLoad); ok {
   980  		p.PostLoadHook()
   981  	}
   982  
   983  	return
   984  }
   985  
   986  // fields of Schema
   987  var decodeMsgFieldOrder14zgensym_a6e93beb7c64bda8_15 = []string{"SourcePath", "SourcePackage", "ZebraSchemaId", "Structs", "Imports"}
   988  
   989  var decodeMsgFieldSkip14zgensym_a6e93beb7c64bda8_15 = []bool{false, false, false, false, false}
   990  
   991  // fields of Struct
   992  var decodeMsgFieldOrder17zgensym_a6e93beb7c64bda8_18 = []string{"StructName", "Fields"}
   993  
   994  var decodeMsgFieldSkip17zgensym_a6e93beb7c64bda8_18 = []bool{false, false}
   995  
   996  // ZebrafieldsNotEmpty supports omitempty tags
   997  func (z *Schema) ZebrafieldsNotEmpty(isempty []bool) uint32 {
   998  	if len(isempty) == 0 {
   999  		return 5
  1000  	}
  1001  	var fieldsInUse uint32 = 5
  1002  	isempty[0] = (len(z.SourcePath) == 0) // string, omitempty
  1003  	if isempty[0] {
  1004  		fieldsInUse--
  1005  	}
  1006  	isempty[1] = (len(z.SourcePackage) == 0) // string, omitempty
  1007  	if isempty[1] {
  1008  		fieldsInUse--
  1009  	}
  1010  	isempty[2] = (z.ZebraSchemaId == 0) // number, omitempty
  1011  	if isempty[2] {
  1012  		fieldsInUse--
  1013  	}
  1014  	isempty[3] = (len(z.Structs) == 0) // string, omitempty
  1015  	if isempty[3] {
  1016  		fieldsInUse--
  1017  	}
  1018  	isempty[4] = (len(z.Imports) == 0) // string, omitempty
  1019  	if isempty[4] {
  1020  		fieldsInUse--
  1021  	}
  1022  
  1023  	return fieldsInUse
  1024  }
  1025  
  1026  // ZebraEncodeMsg implements msgp.Encodable
  1027  func (z *Schema) ZebraEncodeMsg(en *msgp.Writer) (err error) {
  1028  	if p, ok := interface{}(z).(msgp.PreSave); ok {
  1029  		p.PreSaveHook()
  1030  	}
  1031  
  1032  	// honor the omitempty tags
  1033  	var empty_zgensym_a6e93beb7c64bda8_21 [5]bool
  1034  	fieldsInUse_zgensym_a6e93beb7c64bda8_22 := z.fieldsNotEmpty(empty_zgensym_a6e93beb7c64bda8_21[:])
  1035  
  1036  	// map header
  1037  	err = en.WriteMapHeader(fieldsInUse_zgensym_a6e93beb7c64bda8_22 + 1)
  1038  	if err != nil {
  1039  		return err
  1040  	}
  1041  
  1042  	// runtime struct type identification for 'Schema'
  1043  	err = en.Append(0xff)
  1044  	if err != nil {
  1045  		return err
  1046  	}
  1047  	err = en.WriteStringFromBytes([]byte{0x53, 0x63, 0x68, 0x65, 0x6d, 0x61})
  1048  	if err != nil {
  1049  		return err
  1050  	}
  1051  
  1052  	if !empty_zgensym_a6e93beb7c64bda8_21[0] {
  1053  		// zid 0 for "SourcePath"
  1054  		err = en.Append(0x0)
  1055  		if err != nil {
  1056  			return err
  1057  		}
  1058  		err = en.WriteString(z.SourcePath)
  1059  		if err != nil {
  1060  			return
  1061  		}
  1062  	}
  1063  
  1064  	if !empty_zgensym_a6e93beb7c64bda8_21[1] {
  1065  		// zid 1 for "SourcePackage"
  1066  		err = en.Append(0x1)
  1067  		if err != nil {
  1068  			return err
  1069  		}
  1070  		err = en.WriteString(z.SourcePackage)
  1071  		if err != nil {
  1072  			return
  1073  		}
  1074  	}
  1075  
  1076  	if !empty_zgensym_a6e93beb7c64bda8_21[2] {
  1077  		// zid 2 for "ZebraSchemaId"
  1078  		err = en.Append(0x2)
  1079  		if err != nil {
  1080  			return err
  1081  		}
  1082  		err = en.WriteInt64(z.ZebraSchemaId)
  1083  		if err != nil {
  1084  			return
  1085  		}
  1086  	}
  1087  
  1088  	if !empty_zgensym_a6e93beb7c64bda8_21[3] {
  1089  		// zid 3 for "Structs"
  1090  		err = en.Append(0x3)
  1091  		if err != nil {
  1092  			return err
  1093  		}
  1094  		err = en.WriteMapHeader(uint32(len(z.Structs)))
  1095  		if err != nil {
  1096  			return
  1097  		}
  1098  		for zgensym_a6e93beb7c64bda8_10, zgensym_a6e93beb7c64bda8_11 := range z.Structs {
  1099  			err = en.WriteString(zgensym_a6e93beb7c64bda8_10)
  1100  			if err != nil {
  1101  				return
  1102  			}
  1103  			if zgensym_a6e93beb7c64bda8_11 == nil {
  1104  				err = en.WriteNil()
  1105  				if err != nil {
  1106  					return
  1107  				}
  1108  			} else {
  1109  
  1110  				// honor the omitempty tags
  1111  				var empty_zgensym_a6e93beb7c64bda8_23 [2]bool
  1112  				fieldsInUse_zgensym_a6e93beb7c64bda8_24 := zgensym_a6e93beb7c64bda8_11.fieldsNotEmpty(empty_zgensym_a6e93beb7c64bda8_23[:])
  1113  
  1114  				// map header
  1115  				err = en.WriteMapHeader(fieldsInUse_zgensym_a6e93beb7c64bda8_24 + 1)
  1116  				if err != nil {
  1117  					return err
  1118  				}
  1119  
  1120  				// runtime struct type identification for 'Struct'
  1121  				err = en.Append(0xff)
  1122  				if err != nil {
  1123  					return err
  1124  				}
  1125  				err = en.WriteStringFromBytes([]byte{0x53, 0x74, 0x72, 0x75, 0x63, 0x74})
  1126  				if err != nil {
  1127  					return err
  1128  				}
  1129  
  1130  				if !empty_zgensym_a6e93beb7c64bda8_23[0] {
  1131  					// zid 0 for "StructName"
  1132  					err = en.Append(0x0)
  1133  					if err != nil {
  1134  						return err
  1135  					}
  1136  					err = en.WriteString(zgensym_a6e93beb7c64bda8_11.StructName)
  1137  					if err != nil {
  1138  						return
  1139  					}
  1140  				}
  1141  
  1142  				if !empty_zgensym_a6e93beb7c64bda8_23[1] {
  1143  					// zid 1 for "Fields"
  1144  					err = en.Append(0x1)
  1145  					if err != nil {
  1146  						return err
  1147  					}
  1148  					err = en.WriteArrayHeader(uint32(len(zgensym_a6e93beb7c64bda8_11.Fields)))
  1149  					if err != nil {
  1150  						return
  1151  					}
  1152  					for zgensym_a6e93beb7c64bda8_12 := range zgensym_a6e93beb7c64bda8_11.Fields {
  1153  						err = zgensym_a6e93beb7c64bda8_11.Fields[zgensym_a6e93beb7c64bda8_12].ZebraEncodeMsg(en)
  1154  						if err != nil {
  1155  							return
  1156  						}
  1157  					}
  1158  				}
  1159  
  1160  			}
  1161  		}
  1162  	}
  1163  
  1164  	if !empty_zgensym_a6e93beb7c64bda8_21[4] {
  1165  		// zid 4 for "Imports"
  1166  		err = en.Append(0x4)
  1167  		if err != nil {
  1168  			return err
  1169  		}
  1170  		err = en.WriteArrayHeader(uint32(len(z.Imports)))
  1171  		if err != nil {
  1172  			return
  1173  		}
  1174  		for zgensym_a6e93beb7c64bda8_13 := range z.Imports {
  1175  			err = en.WriteString(z.Imports[zgensym_a6e93beb7c64bda8_13])
  1176  			if err != nil {
  1177  				return
  1178  			}
  1179  		}
  1180  	}
  1181  
  1182  	return
  1183  }
  1184  
  1185  // ZebraMarshalMsg implements msgp.Marshaler
  1186  func (z *Schema) ZebraMarshalMsg(b []byte) (o []byte, err error) {
  1187  	if p, ok := interface{}(z).(msgp.PreSave); ok {
  1188  		p.PreSaveHook()
  1189  	}
  1190  
  1191  	o = msgp.Require(b, z.ZebraMsgsize())
  1192  
  1193  	// honor the omitempty tags
  1194  	var empty [5]bool
  1195  	fieldsInUse := z.fieldsNotEmpty(empty[:])
  1196  	o = msgp.AppendMapHeader(o, fieldsInUse+1)
  1197  
  1198  	// runtime struct type identification for 'Schema'
  1199  	o = msgp.AppendNegativeOneAndStringAsBytes(o, []byte{0x53, 0x63, 0x68, 0x65, 0x6d, 0x61})
  1200  
  1201  	if !empty[0] {
  1202  		// zid 0 for "SourcePath"
  1203  		o = append(o, 0x0)
  1204  		o = msgp.AppendString(o, z.SourcePath)
  1205  	}
  1206  
  1207  	if !empty[1] {
  1208  		// zid 1 for "SourcePackage"
  1209  		o = append(o, 0x1)
  1210  		o = msgp.AppendString(o, z.SourcePackage)
  1211  	}
  1212  
  1213  	if !empty[2] {
  1214  		// zid 2 for "ZebraSchemaId"
  1215  		o = append(o, 0x2)
  1216  		o = msgp.AppendInt64(o, z.ZebraSchemaId)
  1217  	}
  1218  
  1219  	if !empty[3] {
  1220  		// zid 3 for "Structs"
  1221  		o = append(o, 0x3)
  1222  		o = msgp.AppendMapHeader(o, uint32(len(z.Structs)))
  1223  		for zgensym_a6e93beb7c64bda8_10, zgensym_a6e93beb7c64bda8_11 := range z.Structs {
  1224  			o = msgp.AppendString(o, zgensym_a6e93beb7c64bda8_10)
  1225  			if zgensym_a6e93beb7c64bda8_11 == nil {
  1226  				o = msgp.AppendNil(o)
  1227  			} else {
  1228  
  1229  				// honor the omitempty tags
  1230  				var empty [2]bool
  1231  				fieldsInUse := zgensym_a6e93beb7c64bda8_11.fieldsNotEmpty(empty[:])
  1232  				o = msgp.AppendMapHeader(o, fieldsInUse+1)
  1233  
  1234  				// runtime struct type identification for 'Struct'
  1235  				o = msgp.AppendNegativeOneAndStringAsBytes(o, []byte{0x53, 0x74, 0x72, 0x75, 0x63, 0x74})
  1236  
  1237  				if !empty[0] {
  1238  					// zid 0 for "StructName"
  1239  					o = append(o, 0x0)
  1240  					o = msgp.AppendString(o, zgensym_a6e93beb7c64bda8_11.StructName)
  1241  				}
  1242  
  1243  				if !empty[1] {
  1244  					// zid 1 for "Fields"
  1245  					o = append(o, 0x1)
  1246  					o = msgp.AppendArrayHeader(o, uint32(len(zgensym_a6e93beb7c64bda8_11.Fields)))
  1247  					for zgensym_a6e93beb7c64bda8_12 := range zgensym_a6e93beb7c64bda8_11.Fields {
  1248  						o, err = zgensym_a6e93beb7c64bda8_11.Fields[zgensym_a6e93beb7c64bda8_12].ZebraMarshalMsg(o)
  1249  						if err != nil {
  1250  							return
  1251  						}
  1252  					}
  1253  				}
  1254  
  1255  			}
  1256  		}
  1257  	}
  1258  
  1259  	if !empty[4] {
  1260  		// zid 4 for "Imports"
  1261  		o = append(o, 0x4)
  1262  		o = msgp.AppendArrayHeader(o, uint32(len(z.Imports)))
  1263  		for zgensym_a6e93beb7c64bda8_13 := range z.Imports {
  1264  			o = msgp.AppendString(o, z.Imports[zgensym_a6e93beb7c64bda8_13])
  1265  		}
  1266  	}
  1267  
  1268  	return
  1269  }
  1270  
  1271  // ZebraUnmarshalMsg implements msgp.Unmarshaler
  1272  func (z *Schema) ZebraUnmarshalMsg(bts []byte) (o []byte, err error) {
  1273  	return z.ZebraUnmarshalMsgWithCfg(bts, nil)
  1274  }
  1275  func (z *Schema) ZebraUnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error) {
  1276  	var nbs msgp.NilBitsStack
  1277  	nbs.Init(cfg)
  1278  	var sawTopNil bool
  1279  	if msgp.IsNil(bts) {
  1280  		sawTopNil = true
  1281  		bts = nbs.PushAlwaysNil(bts[1:])
  1282  	}
  1283  
  1284  	var field []byte
  1285  	_ = field
  1286  	const maxFields25zgensym_a6e93beb7c64bda8_26 = 5
  1287  
  1288  	// -- templateUnmarshalMsgZid starts here--
  1289  	var totalEncodedFields25zgensym_a6e93beb7c64bda8_26 uint32
  1290  	if !nbs.AlwaysNil {
  1291  		totalEncodedFields25zgensym_a6e93beb7c64bda8_26, bts, err = nbs.ReadMapHeaderBytes(bts)
  1292  		if err != nil {
  1293  			return
  1294  		}
  1295  	}
  1296  	encodedFieldsLeft25zgensym_a6e93beb7c64bda8_26 := totalEncodedFields25zgensym_a6e93beb7c64bda8_26
  1297  	missingFieldsLeft25zgensym_a6e93beb7c64bda8_26 := maxFields25zgensym_a6e93beb7c64bda8_26 - totalEncodedFields25zgensym_a6e93beb7c64bda8_26
  1298  
  1299  	var nextMiss25zgensym_a6e93beb7c64bda8_26 int = -1
  1300  	var found25zgensym_a6e93beb7c64bda8_26 [maxFields25zgensym_a6e93beb7c64bda8_26]bool
  1301  	var curField25zgensym_a6e93beb7c64bda8_26 int
  1302  
  1303  doneWithStruct25zgensym_a6e93beb7c64bda8_26:
  1304  	// First fill all the encoded fields, then
  1305  	// treat the remaining, missing fields, as Nil.
  1306  	for encodedFieldsLeft25zgensym_a6e93beb7c64bda8_26 > 0 || missingFieldsLeft25zgensym_a6e93beb7c64bda8_26 > 0 {
  1307  		//fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft25zgensym_a6e93beb7c64bda8_26, missingFieldsLeft25zgensym_a6e93beb7c64bda8_26, msgp.ShowFound(found25zgensym_a6e93beb7c64bda8_26[:]), unmarshalMsgFieldOrder25zgensym_a6e93beb7c64bda8_26)
  1308  		if encodedFieldsLeft25zgensym_a6e93beb7c64bda8_26 > 0 {
  1309  			encodedFieldsLeft25zgensym_a6e93beb7c64bda8_26--
  1310  			curField25zgensym_a6e93beb7c64bda8_26, bts, err = nbs.ReadIntBytes(bts)
  1311  			if err != nil {
  1312  				return
  1313  			}
  1314  		} else {
  1315  			//missing fields need handling
  1316  			if nextMiss25zgensym_a6e93beb7c64bda8_26 < 0 {
  1317  				// set bts to contain just mnil (0xc0)
  1318  				bts = nbs.PushAlwaysNil(bts)
  1319  				nextMiss25zgensym_a6e93beb7c64bda8_26 = 0
  1320  			}
  1321  			for nextMiss25zgensym_a6e93beb7c64bda8_26 < maxFields25zgensym_a6e93beb7c64bda8_26 && (found25zgensym_a6e93beb7c64bda8_26[nextMiss25zgensym_a6e93beb7c64bda8_26] || unmarshalMsgFieldSkip25zgensym_a6e93beb7c64bda8_26[nextMiss25zgensym_a6e93beb7c64bda8_26]) {
  1322  				nextMiss25zgensym_a6e93beb7c64bda8_26++
  1323  			}
  1324  			if nextMiss25zgensym_a6e93beb7c64bda8_26 == maxFields25zgensym_a6e93beb7c64bda8_26 {
  1325  				// filled all the empty fields!
  1326  				break doneWithStruct25zgensym_a6e93beb7c64bda8_26
  1327  			}
  1328  			missingFieldsLeft25zgensym_a6e93beb7c64bda8_26--
  1329  			curField25zgensym_a6e93beb7c64bda8_26 = nextMiss25zgensym_a6e93beb7c64bda8_26
  1330  		}
  1331  		//fmt.Printf("switching on curField: '%v'\n", curField25zgensym_a6e93beb7c64bda8_26)
  1332  		switch curField25zgensym_a6e93beb7c64bda8_26 {
  1333  		// -- templateUnmarshalMsgZid ends here --
  1334  
  1335  		case 0:
  1336  			// zid 0 for "SourcePath"
  1337  			found25zgensym_a6e93beb7c64bda8_26[0] = true
  1338  			z.SourcePath, bts, err = nbs.ReadStringBytes(bts)
  1339  
  1340  			if err != nil {
  1341  				return
  1342  			}
  1343  		case 1:
  1344  			// zid 1 for "SourcePackage"
  1345  			found25zgensym_a6e93beb7c64bda8_26[1] = true
  1346  			z.SourcePackage, bts, err = nbs.ReadStringBytes(bts)
  1347  
  1348  			if err != nil {
  1349  				return
  1350  			}
  1351  		case 2:
  1352  			// zid 2 for "ZebraSchemaId"
  1353  			found25zgensym_a6e93beb7c64bda8_26[2] = true
  1354  			z.ZebraSchemaId, bts, err = nbs.ReadInt64Bytes(bts)
  1355  
  1356  			if err != nil {
  1357  				return
  1358  			}
  1359  		case 3:
  1360  			// zid 3 for "Structs"
  1361  			found25zgensym_a6e93beb7c64bda8_26[3] = true
  1362  			if nbs.AlwaysNil {
  1363  				if len(z.Structs) > 0 {
  1364  					for key, _ := range z.Structs {
  1365  						delete(z.Structs, key)
  1366  					}
  1367  				}
  1368  
  1369  			} else {
  1370  
  1371  				var zgensym_a6e93beb7c64bda8_27 uint32
  1372  				zgensym_a6e93beb7c64bda8_27, bts, err = nbs.ReadMapHeaderBytes(bts)
  1373  				if err != nil {
  1374  					return
  1375  				}
  1376  				if z.Structs == nil && zgensym_a6e93beb7c64bda8_27 > 0 {
  1377  					z.Structs = make(map[string]*Struct, zgensym_a6e93beb7c64bda8_27)
  1378  				} else if len(z.Structs) > 0 {
  1379  					for key, _ := range z.Structs {
  1380  						delete(z.Structs, key)
  1381  					}
  1382  				}
  1383  				for zgensym_a6e93beb7c64bda8_27 > 0 {
  1384  					var zgensym_a6e93beb7c64bda8_10 string
  1385  					var zgensym_a6e93beb7c64bda8_11 *Struct
  1386  					zgensym_a6e93beb7c64bda8_27--
  1387  					zgensym_a6e93beb7c64bda8_10, bts, err = nbs.ReadStringBytes(bts)
  1388  					if err != nil {
  1389  						return
  1390  					}
  1391  					// default gPtr logic.
  1392  					if nbs.PeekNil(bts) && zgensym_a6e93beb7c64bda8_11 == nil {
  1393  						// consume the nil
  1394  						bts, err = nbs.ReadNilBytes(bts)
  1395  						if err != nil {
  1396  							return
  1397  						}
  1398  					} else {
  1399  						// read as-if the wire has bytes, letting nbs take care of nils.
  1400  
  1401  						if zgensym_a6e93beb7c64bda8_11 == nil {
  1402  							zgensym_a6e93beb7c64bda8_11 = new(Struct)
  1403  						}
  1404  						const maxFields28zgensym_a6e93beb7c64bda8_29 = 2
  1405  
  1406  						// -- templateUnmarshalMsgZid starts here--
  1407  						var totalEncodedFields28zgensym_a6e93beb7c64bda8_29 uint32
  1408  						if !nbs.AlwaysNil {
  1409  							totalEncodedFields28zgensym_a6e93beb7c64bda8_29, bts, err = nbs.ReadMapHeaderBytes(bts)
  1410  							if err != nil {
  1411  								return
  1412  							}
  1413  						}
  1414  						encodedFieldsLeft28zgensym_a6e93beb7c64bda8_29 := totalEncodedFields28zgensym_a6e93beb7c64bda8_29
  1415  						missingFieldsLeft28zgensym_a6e93beb7c64bda8_29 := maxFields28zgensym_a6e93beb7c64bda8_29 - totalEncodedFields28zgensym_a6e93beb7c64bda8_29
  1416  
  1417  						var nextMiss28zgensym_a6e93beb7c64bda8_29 int = -1
  1418  						var found28zgensym_a6e93beb7c64bda8_29 [maxFields28zgensym_a6e93beb7c64bda8_29]bool
  1419  						var curField28zgensym_a6e93beb7c64bda8_29 int
  1420  
  1421  					doneWithStruct28zgensym_a6e93beb7c64bda8_29:
  1422  						// First fill all the encoded fields, then
  1423  						// treat the remaining, missing fields, as Nil.
  1424  						for encodedFieldsLeft28zgensym_a6e93beb7c64bda8_29 > 0 || missingFieldsLeft28zgensym_a6e93beb7c64bda8_29 > 0 {
  1425  							//fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft28zgensym_a6e93beb7c64bda8_29, missingFieldsLeft28zgensym_a6e93beb7c64bda8_29, msgp.ShowFound(found28zgensym_a6e93beb7c64bda8_29[:]), unmarshalMsgFieldOrder28zgensym_a6e93beb7c64bda8_29)
  1426  							if encodedFieldsLeft28zgensym_a6e93beb7c64bda8_29 > 0 {
  1427  								encodedFieldsLeft28zgensym_a6e93beb7c64bda8_29--
  1428  								curField28zgensym_a6e93beb7c64bda8_29, bts, err = nbs.ReadIntBytes(bts)
  1429  								if err != nil {
  1430  									return
  1431  								}
  1432  							} else {
  1433  								//missing fields need handling
  1434  								if nextMiss28zgensym_a6e93beb7c64bda8_29 < 0 {
  1435  									// set bts to contain just mnil (0xc0)
  1436  									bts = nbs.PushAlwaysNil(bts)
  1437  									nextMiss28zgensym_a6e93beb7c64bda8_29 = 0
  1438  								}
  1439  								for nextMiss28zgensym_a6e93beb7c64bda8_29 < maxFields28zgensym_a6e93beb7c64bda8_29 && (found28zgensym_a6e93beb7c64bda8_29[nextMiss28zgensym_a6e93beb7c64bda8_29] || unmarshalMsgFieldSkip28zgensym_a6e93beb7c64bda8_29[nextMiss28zgensym_a6e93beb7c64bda8_29]) {
  1440  									nextMiss28zgensym_a6e93beb7c64bda8_29++
  1441  								}
  1442  								if nextMiss28zgensym_a6e93beb7c64bda8_29 == maxFields28zgensym_a6e93beb7c64bda8_29 {
  1443  									// filled all the empty fields!
  1444  									break doneWithStruct28zgensym_a6e93beb7c64bda8_29
  1445  								}
  1446  								missingFieldsLeft28zgensym_a6e93beb7c64bda8_29--
  1447  								curField28zgensym_a6e93beb7c64bda8_29 = nextMiss28zgensym_a6e93beb7c64bda8_29
  1448  							}
  1449  							//fmt.Printf("switching on curField: '%v'\n", curField28zgensym_a6e93beb7c64bda8_29)
  1450  							switch curField28zgensym_a6e93beb7c64bda8_29 {
  1451  							// -- templateUnmarshalMsgZid ends here --
  1452  
  1453  							case 0:
  1454  								// zid 0 for "StructName"
  1455  								found28zgensym_a6e93beb7c64bda8_29[0] = true
  1456  								zgensym_a6e93beb7c64bda8_11.StructName, bts, err = nbs.ReadStringBytes(bts)
  1457  
  1458  								if err != nil {
  1459  									return
  1460  								}
  1461  							case 1:
  1462  								// zid 1 for "Fields"
  1463  								found28zgensym_a6e93beb7c64bda8_29[1] = true
  1464  								if nbs.AlwaysNil {
  1465  									(zgensym_a6e93beb7c64bda8_11.Fields) = (zgensym_a6e93beb7c64bda8_11.Fields)[:0]
  1466  								} else {
  1467  
  1468  									var zgensym_a6e93beb7c64bda8_30 uint32
  1469  									zgensym_a6e93beb7c64bda8_30, bts, err = nbs.ReadArrayHeaderBytes(bts)
  1470  									if err != nil {
  1471  										return
  1472  									}
  1473  									if cap(zgensym_a6e93beb7c64bda8_11.Fields) >= int(zgensym_a6e93beb7c64bda8_30) {
  1474  										zgensym_a6e93beb7c64bda8_11.Fields = (zgensym_a6e93beb7c64bda8_11.Fields)[:zgensym_a6e93beb7c64bda8_30]
  1475  									} else {
  1476  										zgensym_a6e93beb7c64bda8_11.Fields = make([]Field, zgensym_a6e93beb7c64bda8_30)
  1477  									}
  1478  									for zgensym_a6e93beb7c64bda8_12 := range zgensym_a6e93beb7c64bda8_11.Fields {
  1479  										bts, err = zgensym_a6e93beb7c64bda8_11.Fields[zgensym_a6e93beb7c64bda8_12].ZebraUnmarshalMsg(bts)
  1480  										if err != nil {
  1481  											return
  1482  										}
  1483  										if err != nil {
  1484  											return
  1485  										}
  1486  									}
  1487  								}
  1488  							default:
  1489  								bts, err = msgp.Skip(bts)
  1490  								if err != nil {
  1491  									return
  1492  								}
  1493  							}
  1494  						}
  1495  						if nextMiss28zgensym_a6e93beb7c64bda8_29 != -1 {
  1496  							bts = nbs.PopAlwaysNil()
  1497  						}
  1498  
  1499  					}
  1500  					z.Structs[zgensym_a6e93beb7c64bda8_10] = zgensym_a6e93beb7c64bda8_11
  1501  				}
  1502  			}
  1503  		case 4:
  1504  			// zid 4 for "Imports"
  1505  			found25zgensym_a6e93beb7c64bda8_26[4] = true
  1506  			if nbs.AlwaysNil {
  1507  				(z.Imports) = (z.Imports)[:0]
  1508  			} else {
  1509  
  1510  				var zgensym_a6e93beb7c64bda8_31 uint32
  1511  				zgensym_a6e93beb7c64bda8_31, bts, err = nbs.ReadArrayHeaderBytes(bts)
  1512  				if err != nil {
  1513  					return
  1514  				}
  1515  				if cap(z.Imports) >= int(zgensym_a6e93beb7c64bda8_31) {
  1516  					z.Imports = (z.Imports)[:zgensym_a6e93beb7c64bda8_31]
  1517  				} else {
  1518  					z.Imports = make([]string, zgensym_a6e93beb7c64bda8_31)
  1519  				}
  1520  				for zgensym_a6e93beb7c64bda8_13 := range z.Imports {
  1521  					z.Imports[zgensym_a6e93beb7c64bda8_13], bts, err = nbs.ReadStringBytes(bts)
  1522  
  1523  					if err != nil {
  1524  						return
  1525  					}
  1526  				}
  1527  			}
  1528  		default:
  1529  			bts, err = msgp.Skip(bts)
  1530  			if err != nil {
  1531  				return
  1532  			}
  1533  		}
  1534  	}
  1535  	if nextMiss25zgensym_a6e93beb7c64bda8_26 != -1 {
  1536  		bts = nbs.PopAlwaysNil()
  1537  	}
  1538  
  1539  	if sawTopNil {
  1540  		bts = nbs.PopAlwaysNil()
  1541  	}
  1542  	o = bts
  1543  	if p, ok := interface{}(z).(msgp.PostLoad); ok {
  1544  		p.PostLoadHook()
  1545  	}
  1546  
  1547  	return
  1548  }
  1549  
  1550  // fields of Schema
  1551  var unmarshalMsgFieldOrder25zgensym_a6e93beb7c64bda8_26 = []string{"SourcePath", "SourcePackage", "ZebraSchemaId", "Structs", "Imports"}
  1552  
  1553  var unmarshalMsgFieldSkip25zgensym_a6e93beb7c64bda8_26 = []bool{false, false, false, false, false}
  1554  
  1555  // fields of Struct
  1556  var unmarshalMsgFieldOrder28zgensym_a6e93beb7c64bda8_29 = []string{"StructName", "Fields"}
  1557  
  1558  var unmarshalMsgFieldSkip28zgensym_a6e93beb7c64bda8_29 = []bool{false, false}
  1559  
  1560  // ZebraMsgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
  1561  func (z *Schema) ZebraMsgsize() (s int) {
  1562  	s = 1 + 10 + msgp.StringPrefixSize + len(z.SourcePath) + 10 + msgp.StringPrefixSize + len(z.SourcePackage) + 10 + msgp.Int64Size + 10 + msgp.MapHeaderSize
  1563  	if z.Structs != nil {
  1564  		for zgensym_a6e93beb7c64bda8_10, zgensym_a6e93beb7c64bda8_11 := range z.Structs {
  1565  			_ = zgensym_a6e93beb7c64bda8_11
  1566  			_ = zgensym_a6e93beb7c64bda8_10
  1567  			s += msgp.StringPrefixSize + len(zgensym_a6e93beb7c64bda8_10)
  1568  			if zgensym_a6e93beb7c64bda8_11 == nil {
  1569  				s += msgp.NilSize
  1570  			} else {
  1571  				s += 1 + 10 + msgp.StringPrefixSize + len(zgensym_a6e93beb7c64bda8_11.StructName) + 10 + msgp.ArrayHeaderSize
  1572  				for zgensym_a6e93beb7c64bda8_12 := range zgensym_a6e93beb7c64bda8_11.Fields {
  1573  					s += zgensym_a6e93beb7c64bda8_11.Fields[zgensym_a6e93beb7c64bda8_12].ZebraMsgsize()
  1574  				}
  1575  			}
  1576  		}
  1577  	}
  1578  	s += 10 + msgp.ArrayHeaderSize
  1579  	for zgensym_a6e93beb7c64bda8_13 := range z.Imports {
  1580  		s += msgp.StringPrefixSize + len(z.Imports[zgensym_a6e93beb7c64bda8_13])
  1581  	}
  1582  	return
  1583  }
  1584  
  1585  // ZebraDecodeMsg implements msgp.Decodable
  1586  // We treat empty fields as if we read a Nil from the wire.
  1587  func (z *Struct) ZebraDecodeMsg(dc *msgp.Reader) (err error) {
  1588  	var sawTopNil bool
  1589  	if dc.IsNil() {
  1590  		sawTopNil = true
  1591  		err = dc.ReadNil()
  1592  		if err != nil {
  1593  			return
  1594  		}
  1595  		dc.PushAlwaysNil()
  1596  	}
  1597  
  1598  	var field []byte
  1599  	_ = field
  1600  	const maxFields33zgensym_a6e93beb7c64bda8_34 = 2
  1601  
  1602  	// -- templateDecodeMsgZid starts here--
  1603  	var totalEncodedFields33zgensym_a6e93beb7c64bda8_34 uint32
  1604  	totalEncodedFields33zgensym_a6e93beb7c64bda8_34, err = dc.ReadMapHeader()
  1605  	if err != nil {
  1606  		return
  1607  	}
  1608  	encodedFieldsLeft33zgensym_a6e93beb7c64bda8_34 := totalEncodedFields33zgensym_a6e93beb7c64bda8_34
  1609  	missingFieldsLeft33zgensym_a6e93beb7c64bda8_34 := maxFields33zgensym_a6e93beb7c64bda8_34 - totalEncodedFields33zgensym_a6e93beb7c64bda8_34
  1610  
  1611  	var nextMiss33zgensym_a6e93beb7c64bda8_34 int = -1
  1612  	var found33zgensym_a6e93beb7c64bda8_34 [maxFields33zgensym_a6e93beb7c64bda8_34]bool
  1613  	var curField33zgensym_a6e93beb7c64bda8_34 int
  1614  
  1615  doneWithStruct33zgensym_a6e93beb7c64bda8_34:
  1616  	// First fill all the encoded fields, then
  1617  	// treat the remaining, missing fields, as Nil.
  1618  	for encodedFieldsLeft33zgensym_a6e93beb7c64bda8_34 > 0 || missingFieldsLeft33zgensym_a6e93beb7c64bda8_34 > 0 {
  1619  		//fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft33zgensym_a6e93beb7c64bda8_34, missingFieldsLeft33zgensym_a6e93beb7c64bda8_34, msgp.ShowFound(found33zgensym_a6e93beb7c64bda8_34[:]), decodeMsgFieldOrder33zgensym_a6e93beb7c64bda8_34)
  1620  		if encodedFieldsLeft33zgensym_a6e93beb7c64bda8_34 > 0 {
  1621  			encodedFieldsLeft33zgensym_a6e93beb7c64bda8_34--
  1622  			curField33zgensym_a6e93beb7c64bda8_34, err = dc.ReadInt()
  1623  			if err != nil {
  1624  				return
  1625  			}
  1626  		} else {
  1627  			//missing fields need handling
  1628  			if nextMiss33zgensym_a6e93beb7c64bda8_34 < 0 {
  1629  				// tell the reader to only give us Nils
  1630  				// until further notice.
  1631  				dc.PushAlwaysNil()
  1632  				nextMiss33zgensym_a6e93beb7c64bda8_34 = 0
  1633  			}
  1634  			for nextMiss33zgensym_a6e93beb7c64bda8_34 < maxFields33zgensym_a6e93beb7c64bda8_34 && (found33zgensym_a6e93beb7c64bda8_34[nextMiss33zgensym_a6e93beb7c64bda8_34] || decodeMsgFieldSkip33zgensym_a6e93beb7c64bda8_34[nextMiss33zgensym_a6e93beb7c64bda8_34]) {
  1635  				nextMiss33zgensym_a6e93beb7c64bda8_34++
  1636  			}
  1637  			if nextMiss33zgensym_a6e93beb7c64bda8_34 == maxFields33zgensym_a6e93beb7c64bda8_34 {
  1638  				// filled all the empty fields!
  1639  				break doneWithStruct33zgensym_a6e93beb7c64bda8_34
  1640  			}
  1641  			missingFieldsLeft33zgensym_a6e93beb7c64bda8_34--
  1642  			curField33zgensym_a6e93beb7c64bda8_34 = nextMiss33zgensym_a6e93beb7c64bda8_34
  1643  		}
  1644  		//fmt.Printf("switching on curField: '%v'\n", curField33zgensym_a6e93beb7c64bda8_34)
  1645  		switch curField33zgensym_a6e93beb7c64bda8_34 {
  1646  		// -- templateDecodeMsgZid ends here --
  1647  
  1648  		case 0:
  1649  			// zid 0 for "StructName"
  1650  			found33zgensym_a6e93beb7c64bda8_34[0] = true
  1651  			z.StructName, err = dc.ReadString()
  1652  			if err != nil {
  1653  				return
  1654  			}
  1655  		case 1:
  1656  			// zid 1 for "Fields"
  1657  			found33zgensym_a6e93beb7c64bda8_34[1] = true
  1658  			var zgensym_a6e93beb7c64bda8_35 uint32
  1659  			zgensym_a6e93beb7c64bda8_35, err = dc.ReadArrayHeader()
  1660  			if err != nil {
  1661  				return
  1662  			}
  1663  			if cap(z.Fields) >= int(zgensym_a6e93beb7c64bda8_35) {
  1664  				z.Fields = (z.Fields)[:zgensym_a6e93beb7c64bda8_35]
  1665  			} else {
  1666  				z.Fields = make([]Field, zgensym_a6e93beb7c64bda8_35)
  1667  			}
  1668  			for zgensym_a6e93beb7c64bda8_32 := range z.Fields {
  1669  				err = z.Fields[zgensym_a6e93beb7c64bda8_32].ZebraDecodeMsg(dc)
  1670  				if err != nil {
  1671  					return
  1672  				}
  1673  			}
  1674  		default:
  1675  			err = dc.Skip()
  1676  			if err != nil {
  1677  				return
  1678  			}
  1679  		}
  1680  	}
  1681  	if nextMiss33zgensym_a6e93beb7c64bda8_34 != -1 {
  1682  		dc.PopAlwaysNil()
  1683  	}
  1684  
  1685  	if sawTopNil {
  1686  		dc.PopAlwaysNil()
  1687  	}
  1688  
  1689  	if p, ok := interface{}(z).(msgp.PostLoad); ok {
  1690  		p.PostLoadHook()
  1691  	}
  1692  
  1693  	return
  1694  }
  1695  
  1696  // fields of Struct
  1697  var decodeMsgFieldOrder33zgensym_a6e93beb7c64bda8_34 = []string{"StructName", "Fields"}
  1698  
  1699  var decodeMsgFieldSkip33zgensym_a6e93beb7c64bda8_34 = []bool{false, false}
  1700  
  1701  // ZebrafieldsNotEmpty supports omitempty tags
  1702  func (z *Struct) ZebrafieldsNotEmpty(isempty []bool) uint32 {
  1703  	if len(isempty) == 0 {
  1704  		return 2
  1705  	}
  1706  	var fieldsInUse uint32 = 2
  1707  	isempty[0] = (len(z.StructName) == 0) // string, omitempty
  1708  	if isempty[0] {
  1709  		fieldsInUse--
  1710  	}
  1711  	isempty[1] = (len(z.Fields) == 0) // string, omitempty
  1712  	if isempty[1] {
  1713  		fieldsInUse--
  1714  	}
  1715  
  1716  	return fieldsInUse
  1717  }
  1718  
  1719  // ZebraEncodeMsg implements msgp.Encodable
  1720  func (z *Struct) ZebraEncodeMsg(en *msgp.Writer) (err error) {
  1721  	if p, ok := interface{}(z).(msgp.PreSave); ok {
  1722  		p.PreSaveHook()
  1723  	}
  1724  
  1725  	// honor the omitempty tags
  1726  	var empty_zgensym_a6e93beb7c64bda8_36 [2]bool
  1727  	fieldsInUse_zgensym_a6e93beb7c64bda8_37 := z.fieldsNotEmpty(empty_zgensym_a6e93beb7c64bda8_36[:])
  1728  
  1729  	// map header
  1730  	err = en.WriteMapHeader(fieldsInUse_zgensym_a6e93beb7c64bda8_37 + 1)
  1731  	if err != nil {
  1732  		return err
  1733  	}
  1734  
  1735  	// runtime struct type identification for 'Struct'
  1736  	err = en.Append(0xff)
  1737  	if err != nil {
  1738  		return err
  1739  	}
  1740  	err = en.WriteStringFromBytes([]byte{0x53, 0x74, 0x72, 0x75, 0x63, 0x74})
  1741  	if err != nil {
  1742  		return err
  1743  	}
  1744  
  1745  	if !empty_zgensym_a6e93beb7c64bda8_36[0] {
  1746  		// zid 0 for "StructName"
  1747  		err = en.Append(0x0)
  1748  		if err != nil {
  1749  			return err
  1750  		}
  1751  		err = en.WriteString(z.StructName)
  1752  		if err != nil {
  1753  			return
  1754  		}
  1755  	}
  1756  
  1757  	if !empty_zgensym_a6e93beb7c64bda8_36[1] {
  1758  		// zid 1 for "Fields"
  1759  		err = en.Append(0x1)
  1760  		if err != nil {
  1761  			return err
  1762  		}
  1763  		err = en.WriteArrayHeader(uint32(len(z.Fields)))
  1764  		if err != nil {
  1765  			return
  1766  		}
  1767  		for zgensym_a6e93beb7c64bda8_32 := range z.Fields {
  1768  			err = z.Fields[zgensym_a6e93beb7c64bda8_32].ZebraEncodeMsg(en)
  1769  			if err != nil {
  1770  				return
  1771  			}
  1772  		}
  1773  	}
  1774  
  1775  	return
  1776  }
  1777  
  1778  // ZebraMarshalMsg implements msgp.Marshaler
  1779  func (z *Struct) ZebraMarshalMsg(b []byte) (o []byte, err error) {
  1780  	if p, ok := interface{}(z).(msgp.PreSave); ok {
  1781  		p.PreSaveHook()
  1782  	}
  1783  
  1784  	o = msgp.Require(b, z.ZebraMsgsize())
  1785  
  1786  	// honor the omitempty tags
  1787  	var empty [2]bool
  1788  	fieldsInUse := z.fieldsNotEmpty(empty[:])
  1789  	o = msgp.AppendMapHeader(o, fieldsInUse+1)
  1790  
  1791  	// runtime struct type identification for 'Struct'
  1792  	o = msgp.AppendNegativeOneAndStringAsBytes(o, []byte{0x53, 0x74, 0x72, 0x75, 0x63, 0x74})
  1793  
  1794  	if !empty[0] {
  1795  		// zid 0 for "StructName"
  1796  		o = append(o, 0x0)
  1797  		o = msgp.AppendString(o, z.StructName)
  1798  	}
  1799  
  1800  	if !empty[1] {
  1801  		// zid 1 for "Fields"
  1802  		o = append(o, 0x1)
  1803  		o = msgp.AppendArrayHeader(o, uint32(len(z.Fields)))
  1804  		for zgensym_a6e93beb7c64bda8_32 := range z.Fields {
  1805  			o, err = z.Fields[zgensym_a6e93beb7c64bda8_32].ZebraMarshalMsg(o)
  1806  			if err != nil {
  1807  				return
  1808  			}
  1809  		}
  1810  	}
  1811  
  1812  	return
  1813  }
  1814  
  1815  // ZebraUnmarshalMsg implements msgp.Unmarshaler
  1816  func (z *Struct) ZebraUnmarshalMsg(bts []byte) (o []byte, err error) {
  1817  	return z.ZebraUnmarshalMsgWithCfg(bts, nil)
  1818  }
  1819  func (z *Struct) ZebraUnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error) {
  1820  	var nbs msgp.NilBitsStack
  1821  	nbs.Init(cfg)
  1822  	var sawTopNil bool
  1823  	if msgp.IsNil(bts) {
  1824  		sawTopNil = true
  1825  		bts = nbs.PushAlwaysNil(bts[1:])
  1826  	}
  1827  
  1828  	var field []byte
  1829  	_ = field
  1830  	const maxFields38zgensym_a6e93beb7c64bda8_39 = 2
  1831  
  1832  	// -- templateUnmarshalMsgZid starts here--
  1833  	var totalEncodedFields38zgensym_a6e93beb7c64bda8_39 uint32
  1834  	if !nbs.AlwaysNil {
  1835  		totalEncodedFields38zgensym_a6e93beb7c64bda8_39, bts, err = nbs.ReadMapHeaderBytes(bts)
  1836  		if err != nil {
  1837  			return
  1838  		}
  1839  	}
  1840  	encodedFieldsLeft38zgensym_a6e93beb7c64bda8_39 := totalEncodedFields38zgensym_a6e93beb7c64bda8_39
  1841  	missingFieldsLeft38zgensym_a6e93beb7c64bda8_39 := maxFields38zgensym_a6e93beb7c64bda8_39 - totalEncodedFields38zgensym_a6e93beb7c64bda8_39
  1842  
  1843  	var nextMiss38zgensym_a6e93beb7c64bda8_39 int = -1
  1844  	var found38zgensym_a6e93beb7c64bda8_39 [maxFields38zgensym_a6e93beb7c64bda8_39]bool
  1845  	var curField38zgensym_a6e93beb7c64bda8_39 int
  1846  
  1847  doneWithStruct38zgensym_a6e93beb7c64bda8_39:
  1848  	// First fill all the encoded fields, then
  1849  	// treat the remaining, missing fields, as Nil.
  1850  	for encodedFieldsLeft38zgensym_a6e93beb7c64bda8_39 > 0 || missingFieldsLeft38zgensym_a6e93beb7c64bda8_39 > 0 {
  1851  		//fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft38zgensym_a6e93beb7c64bda8_39, missingFieldsLeft38zgensym_a6e93beb7c64bda8_39, msgp.ShowFound(found38zgensym_a6e93beb7c64bda8_39[:]), unmarshalMsgFieldOrder38zgensym_a6e93beb7c64bda8_39)
  1852  		if encodedFieldsLeft38zgensym_a6e93beb7c64bda8_39 > 0 {
  1853  			encodedFieldsLeft38zgensym_a6e93beb7c64bda8_39--
  1854  			curField38zgensym_a6e93beb7c64bda8_39, bts, err = nbs.ReadIntBytes(bts)
  1855  			if err != nil {
  1856  				return
  1857  			}
  1858  		} else {
  1859  			//missing fields need handling
  1860  			if nextMiss38zgensym_a6e93beb7c64bda8_39 < 0 {
  1861  				// set bts to contain just mnil (0xc0)
  1862  				bts = nbs.PushAlwaysNil(bts)
  1863  				nextMiss38zgensym_a6e93beb7c64bda8_39 = 0
  1864  			}
  1865  			for nextMiss38zgensym_a6e93beb7c64bda8_39 < maxFields38zgensym_a6e93beb7c64bda8_39 && (found38zgensym_a6e93beb7c64bda8_39[nextMiss38zgensym_a6e93beb7c64bda8_39] || unmarshalMsgFieldSkip38zgensym_a6e93beb7c64bda8_39[nextMiss38zgensym_a6e93beb7c64bda8_39]) {
  1866  				nextMiss38zgensym_a6e93beb7c64bda8_39++
  1867  			}
  1868  			if nextMiss38zgensym_a6e93beb7c64bda8_39 == maxFields38zgensym_a6e93beb7c64bda8_39 {
  1869  				// filled all the empty fields!
  1870  				break doneWithStruct38zgensym_a6e93beb7c64bda8_39
  1871  			}
  1872  			missingFieldsLeft38zgensym_a6e93beb7c64bda8_39--
  1873  			curField38zgensym_a6e93beb7c64bda8_39 = nextMiss38zgensym_a6e93beb7c64bda8_39
  1874  		}
  1875  		//fmt.Printf("switching on curField: '%v'\n", curField38zgensym_a6e93beb7c64bda8_39)
  1876  		switch curField38zgensym_a6e93beb7c64bda8_39 {
  1877  		// -- templateUnmarshalMsgZid ends here --
  1878  
  1879  		case 0:
  1880  			// zid 0 for "StructName"
  1881  			found38zgensym_a6e93beb7c64bda8_39[0] = true
  1882  			z.StructName, bts, err = nbs.ReadStringBytes(bts)
  1883  
  1884  			if err != nil {
  1885  				return
  1886  			}
  1887  		case 1:
  1888  			// zid 1 for "Fields"
  1889  			found38zgensym_a6e93beb7c64bda8_39[1] = true
  1890  			if nbs.AlwaysNil {
  1891  				(z.Fields) = (z.Fields)[:0]
  1892  			} else {
  1893  
  1894  				var zgensym_a6e93beb7c64bda8_40 uint32
  1895  				zgensym_a6e93beb7c64bda8_40, bts, err = nbs.ReadArrayHeaderBytes(bts)
  1896  				if err != nil {
  1897  					return
  1898  				}
  1899  				if cap(z.Fields) >= int(zgensym_a6e93beb7c64bda8_40) {
  1900  					z.Fields = (z.Fields)[:zgensym_a6e93beb7c64bda8_40]
  1901  				} else {
  1902  					z.Fields = make([]Field, zgensym_a6e93beb7c64bda8_40)
  1903  				}
  1904  				for zgensym_a6e93beb7c64bda8_32 := range z.Fields {
  1905  					bts, err = z.Fields[zgensym_a6e93beb7c64bda8_32].ZebraUnmarshalMsg(bts)
  1906  					if err != nil {
  1907  						return
  1908  					}
  1909  					if err != nil {
  1910  						return
  1911  					}
  1912  				}
  1913  			}
  1914  		default:
  1915  			bts, err = msgp.Skip(bts)
  1916  			if err != nil {
  1917  				return
  1918  			}
  1919  		}
  1920  	}
  1921  	if nextMiss38zgensym_a6e93beb7c64bda8_39 != -1 {
  1922  		bts = nbs.PopAlwaysNil()
  1923  	}
  1924  
  1925  	if sawTopNil {
  1926  		bts = nbs.PopAlwaysNil()
  1927  	}
  1928  	o = bts
  1929  	if p, ok := interface{}(z).(msgp.PostLoad); ok {
  1930  		p.PostLoadHook()
  1931  	}
  1932  
  1933  	return
  1934  }
  1935  
  1936  // fields of Struct
  1937  var unmarshalMsgFieldOrder38zgensym_a6e93beb7c64bda8_39 = []string{"StructName", "Fields"}
  1938  
  1939  var unmarshalMsgFieldSkip38zgensym_a6e93beb7c64bda8_39 = []bool{false, false}
  1940  
  1941  // ZebraMsgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
  1942  func (z *Struct) ZebraMsgsize() (s int) {
  1943  	s = 1 + 10 + msgp.StringPrefixSize + len(z.StructName) + 10 + msgp.ArrayHeaderSize
  1944  	for zgensym_a6e93beb7c64bda8_32 := range z.Fields {
  1945  		s += z.Fields[zgensym_a6e93beb7c64bda8_32].ZebraMsgsize()
  1946  	}
  1947  	return
  1948  }
  1949  
  1950  // ZebraDecodeMsg implements msgp.Decodable
  1951  // We treat empty fields as if we read a Nil from the wire.
  1952  func (z *Zkind) ZebraDecodeMsg(dc *msgp.Reader) (err error) {
  1953  	var sawTopNil bool
  1954  	if dc.IsNil() {
  1955  		sawTopNil = true
  1956  		err = dc.ReadNil()
  1957  		if err != nil {
  1958  			return
  1959  		}
  1960  		dc.PushAlwaysNil()
  1961  	}
  1962  
  1963  	{
  1964  		var zgensym_a6e93beb7c64bda8_41 uint64
  1965  		zgensym_a6e93beb7c64bda8_41, err = dc.ReadUint64()
  1966  		(*z) = Zkind(zgensym_a6e93beb7c64bda8_41)
  1967  	}
  1968  	if err != nil {
  1969  		return
  1970  	}
  1971  	if sawTopNil {
  1972  		dc.PopAlwaysNil()
  1973  	}
  1974  
  1975  	if p, ok := interface{}(z).(msgp.PostLoad); ok {
  1976  		p.PostLoadHook()
  1977  	}
  1978  
  1979  	return
  1980  }
  1981  
  1982  // ZebraEncodeMsg implements msgp.Encodable
  1983  func (z Zkind) ZebraEncodeMsg(en *msgp.Writer) (err error) {
  1984  	if p, ok := interface{}(z).(msgp.PreSave); ok {
  1985  		p.PreSaveHook()
  1986  	}
  1987  
  1988  	err = en.WriteUint64(uint64(z))
  1989  	if err != nil {
  1990  		return
  1991  	}
  1992  	return
  1993  }
  1994  
  1995  // ZebraMarshalMsg implements msgp.Marshaler
  1996  func (z Zkind) ZebraMarshalMsg(b []byte) (o []byte, err error) {
  1997  	if p, ok := interface{}(z).(msgp.PreSave); ok {
  1998  		p.PreSaveHook()
  1999  	}
  2000  
  2001  	o = msgp.Require(b, z.ZebraMsgsize())
  2002  	o = msgp.AppendUint64(o, uint64(z))
  2003  	return
  2004  }
  2005  
  2006  // ZebraUnmarshalMsg implements msgp.Unmarshaler
  2007  func (z *Zkind) ZebraUnmarshalMsg(bts []byte) (o []byte, err error) {
  2008  	return z.ZebraUnmarshalMsgWithCfg(bts, nil)
  2009  }
  2010  func (z *Zkind) ZebraUnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error) {
  2011  	var nbs msgp.NilBitsStack
  2012  	nbs.Init(cfg)
  2013  	var sawTopNil bool
  2014  	if msgp.IsNil(bts) {
  2015  		sawTopNil = true
  2016  		bts = nbs.PushAlwaysNil(bts[1:])
  2017  	}
  2018  
  2019  	{
  2020  		var zgensym_a6e93beb7c64bda8_42 uint64
  2021  		zgensym_a6e93beb7c64bda8_42, bts, err = nbs.ReadUint64Bytes(bts)
  2022  
  2023  		if err != nil {
  2024  			return
  2025  		}
  2026  		(*z) = Zkind(zgensym_a6e93beb7c64bda8_42)
  2027  	}
  2028  	if sawTopNil {
  2029  		bts = nbs.PopAlwaysNil()
  2030  	}
  2031  	o = bts
  2032  	if p, ok := interface{}(z).(msgp.PostLoad); ok {
  2033  		p.PostLoadHook()
  2034  	}
  2035  
  2036  	return
  2037  }
  2038  
  2039  // ZebraMsgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
  2040  func (z Zkind) ZebraMsgsize() (s int) {
  2041  	s = msgp.Uint64Size
  2042  	return
  2043  }
  2044  
  2045  // ZebraDecodeMsg implements msgp.Decodable
  2046  // We treat empty fields as if we read a Nil from the wire.
  2047  func (z *Ztype) ZebraDecodeMsg(dc *msgp.Reader) (err error) {
  2048  	var sawTopNil bool
  2049  	if dc.IsNil() {
  2050  		sawTopNil = true
  2051  		err = dc.ReadNil()
  2052  		if err != nil {
  2053  			return
  2054  		}
  2055  		dc.PushAlwaysNil()
  2056  	}
  2057  
  2058  	var field []byte
  2059  	_ = field
  2060  	const maxFields43zgensym_a6e93beb7c64bda8_44 = 4
  2061  
  2062  	// -- templateDecodeMsgZid starts here--
  2063  	var totalEncodedFields43zgensym_a6e93beb7c64bda8_44 uint32
  2064  	totalEncodedFields43zgensym_a6e93beb7c64bda8_44, err = dc.ReadMapHeader()
  2065  	if err != nil {
  2066  		return
  2067  	}
  2068  	encodedFieldsLeft43zgensym_a6e93beb7c64bda8_44 := totalEncodedFields43zgensym_a6e93beb7c64bda8_44
  2069  	missingFieldsLeft43zgensym_a6e93beb7c64bda8_44 := maxFields43zgensym_a6e93beb7c64bda8_44 - totalEncodedFields43zgensym_a6e93beb7c64bda8_44
  2070  
  2071  	var nextMiss43zgensym_a6e93beb7c64bda8_44 int = -1
  2072  	var found43zgensym_a6e93beb7c64bda8_44 [maxFields43zgensym_a6e93beb7c64bda8_44]bool
  2073  	var curField43zgensym_a6e93beb7c64bda8_44 int
  2074  
  2075  doneWithStruct43zgensym_a6e93beb7c64bda8_44:
  2076  	// First fill all the encoded fields, then
  2077  	// treat the remaining, missing fields, as Nil.
  2078  	for encodedFieldsLeft43zgensym_a6e93beb7c64bda8_44 > 0 || missingFieldsLeft43zgensym_a6e93beb7c64bda8_44 > 0 {
  2079  		//fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft43zgensym_a6e93beb7c64bda8_44, missingFieldsLeft43zgensym_a6e93beb7c64bda8_44, msgp.ShowFound(found43zgensym_a6e93beb7c64bda8_44[:]), decodeMsgFieldOrder43zgensym_a6e93beb7c64bda8_44)
  2080  		if encodedFieldsLeft43zgensym_a6e93beb7c64bda8_44 > 0 {
  2081  			encodedFieldsLeft43zgensym_a6e93beb7c64bda8_44--
  2082  			curField43zgensym_a6e93beb7c64bda8_44, err = dc.ReadInt()
  2083  			if err != nil {
  2084  				return
  2085  			}
  2086  		} else {
  2087  			//missing fields need handling
  2088  			if nextMiss43zgensym_a6e93beb7c64bda8_44 < 0 {
  2089  				// tell the reader to only give us Nils
  2090  				// until further notice.
  2091  				dc.PushAlwaysNil()
  2092  				nextMiss43zgensym_a6e93beb7c64bda8_44 = 0
  2093  			}
  2094  			for nextMiss43zgensym_a6e93beb7c64bda8_44 < maxFields43zgensym_a6e93beb7c64bda8_44 && (found43zgensym_a6e93beb7c64bda8_44[nextMiss43zgensym_a6e93beb7c64bda8_44] || decodeMsgFieldSkip43zgensym_a6e93beb7c64bda8_44[nextMiss43zgensym_a6e93beb7c64bda8_44]) {
  2095  				nextMiss43zgensym_a6e93beb7c64bda8_44++
  2096  			}
  2097  			if nextMiss43zgensym_a6e93beb7c64bda8_44 == maxFields43zgensym_a6e93beb7c64bda8_44 {
  2098  				// filled all the empty fields!
  2099  				break doneWithStruct43zgensym_a6e93beb7c64bda8_44
  2100  			}
  2101  			missingFieldsLeft43zgensym_a6e93beb7c64bda8_44--
  2102  			curField43zgensym_a6e93beb7c64bda8_44 = nextMiss43zgensym_a6e93beb7c64bda8_44
  2103  		}
  2104  		//fmt.Printf("switching on curField: '%v'\n", curField43zgensym_a6e93beb7c64bda8_44)
  2105  		switch curField43zgensym_a6e93beb7c64bda8_44 {
  2106  		// -- templateDecodeMsgZid ends here --
  2107  
  2108  		case 0:
  2109  			// zid 0 for "Kind"
  2110  			found43zgensym_a6e93beb7c64bda8_44[0] = true
  2111  			{
  2112  				var zgensym_a6e93beb7c64bda8_45 uint64
  2113  				zgensym_a6e93beb7c64bda8_45, err = dc.ReadUint64()
  2114  				z.Kind = Zkind(zgensym_a6e93beb7c64bda8_45)
  2115  			}
  2116  			if err != nil {
  2117  				return
  2118  			}
  2119  		case 1:
  2120  			// zid 1 for "Str"
  2121  			found43zgensym_a6e93beb7c64bda8_44[1] = true
  2122  			z.Str, err = dc.ReadString()
  2123  			if err != nil {
  2124  				return
  2125  			}
  2126  		case 2:
  2127  			// zid 2 for "Domain"
  2128  			found43zgensym_a6e93beb7c64bda8_44[2] = true
  2129  			if dc.IsNil() {
  2130  				err = dc.ReadNil()
  2131  				if err != nil {
  2132  					return
  2133  				}
  2134  
  2135  				if z.Domain != nil {
  2136  					dc.PushAlwaysNil()
  2137  					err = z.Domain.ZebraDecodeMsg(dc)
  2138  					if err != nil {
  2139  						return
  2140  					}
  2141  					dc.PopAlwaysNil()
  2142  				}
  2143  			} else {
  2144  				// not Nil, we have something to read
  2145  
  2146  				if z.Domain == nil {
  2147  					z.Domain = new(Ztype)
  2148  				}
  2149  				err = z.Domain.ZebraDecodeMsg(dc)
  2150  				if err != nil {
  2151  					return
  2152  				}
  2153  			}
  2154  		case 3:
  2155  			// zid 3 for "Range"
  2156  			found43zgensym_a6e93beb7c64bda8_44[3] = true
  2157  			if dc.IsNil() {
  2158  				err = dc.ReadNil()
  2159  				if err != nil {
  2160  					return
  2161  				}
  2162  
  2163  				if z.Range != nil {
  2164  					dc.PushAlwaysNil()
  2165  					err = z.Range.ZebraDecodeMsg(dc)
  2166  					if err != nil {
  2167  						return
  2168  					}
  2169  					dc.PopAlwaysNil()
  2170  				}
  2171  			} else {
  2172  				// not Nil, we have something to read
  2173  
  2174  				if z.Range == nil {
  2175  					z.Range = new(Ztype)
  2176  				}
  2177  				err = z.Range.ZebraDecodeMsg(dc)
  2178  				if err != nil {
  2179  					return
  2180  				}
  2181  			}
  2182  		default:
  2183  			err = dc.Skip()
  2184  			if err != nil {
  2185  				return
  2186  			}
  2187  		}
  2188  	}
  2189  	if nextMiss43zgensym_a6e93beb7c64bda8_44 != -1 {
  2190  		dc.PopAlwaysNil()
  2191  	}
  2192  
  2193  	if sawTopNil {
  2194  		dc.PopAlwaysNil()
  2195  	}
  2196  
  2197  	if p, ok := interface{}(z).(msgp.PostLoad); ok {
  2198  		p.PostLoadHook()
  2199  	}
  2200  
  2201  	return
  2202  }
  2203  
  2204  // fields of Ztype
  2205  var decodeMsgFieldOrder43zgensym_a6e93beb7c64bda8_44 = []string{"Kind", "Str", "Domain", "Range"}
  2206  
  2207  var decodeMsgFieldSkip43zgensym_a6e93beb7c64bda8_44 = []bool{false, false, false, false}
  2208  
  2209  // ZebrafieldsNotEmpty supports omitempty tags
  2210  func (z *Ztype) ZebrafieldsNotEmpty(isempty []bool) uint32 {
  2211  	if len(isempty) == 0 {
  2212  		return 4
  2213  	}
  2214  	var fieldsInUse uint32 = 4
  2215  	isempty[0] = (z.Kind == 0) // number, omitempty
  2216  	if isempty[0] {
  2217  		fieldsInUse--
  2218  	}
  2219  	isempty[1] = (len(z.Str) == 0) // string, omitempty
  2220  	if isempty[1] {
  2221  		fieldsInUse--
  2222  	}
  2223  	isempty[2] = (z.Domain == nil) // pointer, omitempty
  2224  	if isempty[2] {
  2225  		fieldsInUse--
  2226  	}
  2227  	isempty[3] = (z.Range == nil) // pointer, omitempty
  2228  	if isempty[3] {
  2229  		fieldsInUse--
  2230  	}
  2231  
  2232  	return fieldsInUse
  2233  }
  2234  
  2235  // ZebraEncodeMsg implements msgp.Encodable
  2236  func (z *Ztype) ZebraEncodeMsg(en *msgp.Writer) (err error) {
  2237  	if p, ok := interface{}(z).(msgp.PreSave); ok {
  2238  		p.PreSaveHook()
  2239  	}
  2240  
  2241  	// honor the omitempty tags
  2242  	var empty_zgensym_a6e93beb7c64bda8_46 [4]bool
  2243  	fieldsInUse_zgensym_a6e93beb7c64bda8_47 := z.fieldsNotEmpty(empty_zgensym_a6e93beb7c64bda8_46[:])
  2244  
  2245  	// map header
  2246  	err = en.WriteMapHeader(fieldsInUse_zgensym_a6e93beb7c64bda8_47 + 1)
  2247  	if err != nil {
  2248  		return err
  2249  	}
  2250  
  2251  	// runtime struct type identification for 'Ztype'
  2252  	err = en.Append(0xff)
  2253  	if err != nil {
  2254  		return err
  2255  	}
  2256  	err = en.WriteStringFromBytes([]byte{0x5a, 0x74, 0x79, 0x70, 0x65})
  2257  	if err != nil {
  2258  		return err
  2259  	}
  2260  
  2261  	if !empty_zgensym_a6e93beb7c64bda8_46[0] {
  2262  		// zid 0 for "Kind"
  2263  		err = en.Append(0x0)
  2264  		if err != nil {
  2265  			return err
  2266  		}
  2267  		err = en.WriteUint64(uint64(z.Kind))
  2268  		if err != nil {
  2269  			return
  2270  		}
  2271  	}
  2272  
  2273  	if !empty_zgensym_a6e93beb7c64bda8_46[1] {
  2274  		// zid 1 for "Str"
  2275  		err = en.Append(0x1)
  2276  		if err != nil {
  2277  			return err
  2278  		}
  2279  		err = en.WriteString(z.Str)
  2280  		if err != nil {
  2281  			return
  2282  		}
  2283  	}
  2284  
  2285  	if !empty_zgensym_a6e93beb7c64bda8_46[2] {
  2286  		// zid 2 for "Domain"
  2287  		err = en.Append(0x2)
  2288  		if err != nil {
  2289  			return err
  2290  		}
  2291  		if z.Domain == nil {
  2292  			err = en.WriteNil()
  2293  			if err != nil {
  2294  				return
  2295  			}
  2296  		} else {
  2297  			err = z.Domain.ZebraEncodeMsg(en)
  2298  			if err != nil {
  2299  				return
  2300  			}
  2301  		}
  2302  	}
  2303  
  2304  	if !empty_zgensym_a6e93beb7c64bda8_46[3] {
  2305  		// zid 3 for "Range"
  2306  		err = en.Append(0x3)
  2307  		if err != nil {
  2308  			return err
  2309  		}
  2310  		if z.Range == nil {
  2311  			err = en.WriteNil()
  2312  			if err != nil {
  2313  				return
  2314  			}
  2315  		} else {
  2316  			err = z.Range.ZebraEncodeMsg(en)
  2317  			if err != nil {
  2318  				return
  2319  			}
  2320  		}
  2321  	}
  2322  
  2323  	return
  2324  }
  2325  
  2326  // ZebraMarshalMsg implements msgp.Marshaler
  2327  func (z *Ztype) ZebraMarshalMsg(b []byte) (o []byte, err error) {
  2328  	if p, ok := interface{}(z).(msgp.PreSave); ok {
  2329  		p.PreSaveHook()
  2330  	}
  2331  
  2332  	o = msgp.Require(b, z.ZebraMsgsize())
  2333  
  2334  	// honor the omitempty tags
  2335  	var empty [4]bool
  2336  	fieldsInUse := z.fieldsNotEmpty(empty[:])
  2337  	o = msgp.AppendMapHeader(o, fieldsInUse+1)
  2338  
  2339  	// runtime struct type identification for 'Ztype'
  2340  	o = msgp.AppendNegativeOneAndStringAsBytes(o, []byte{0x5a, 0x74, 0x79, 0x70, 0x65})
  2341  
  2342  	if !empty[0] {
  2343  		// zid 0 for "Kind"
  2344  		o = append(o, 0x0)
  2345  		o = msgp.AppendUint64(o, uint64(z.Kind))
  2346  	}
  2347  
  2348  	if !empty[1] {
  2349  		// zid 1 for "Str"
  2350  		o = append(o, 0x1)
  2351  		o = msgp.AppendString(o, z.Str)
  2352  	}
  2353  
  2354  	if !empty[2] {
  2355  		// zid 2 for "Domain"
  2356  		o = append(o, 0x2)
  2357  		if z.Domain == nil {
  2358  			o = msgp.AppendNil(o)
  2359  		} else {
  2360  			o, err = z.Domain.ZebraMarshalMsg(o)
  2361  			if err != nil {
  2362  				return
  2363  			}
  2364  		}
  2365  	}
  2366  
  2367  	if !empty[3] {
  2368  		// zid 3 for "Range"
  2369  		o = append(o, 0x3)
  2370  		if z.Range == nil {
  2371  			o = msgp.AppendNil(o)
  2372  		} else {
  2373  			o, err = z.Range.ZebraMarshalMsg(o)
  2374  			if err != nil {
  2375  				return
  2376  			}
  2377  		}
  2378  	}
  2379  
  2380  	return
  2381  }
  2382  
  2383  // ZebraUnmarshalMsg implements msgp.Unmarshaler
  2384  func (z *Ztype) ZebraUnmarshalMsg(bts []byte) (o []byte, err error) {
  2385  	return z.ZebraUnmarshalMsgWithCfg(bts, nil)
  2386  }
  2387  func (z *Ztype) ZebraUnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error) {
  2388  	var nbs msgp.NilBitsStack
  2389  	nbs.Init(cfg)
  2390  	var sawTopNil bool
  2391  	if msgp.IsNil(bts) {
  2392  		sawTopNil = true
  2393  		bts = nbs.PushAlwaysNil(bts[1:])
  2394  	}
  2395  
  2396  	var field []byte
  2397  	_ = field
  2398  	const maxFields48zgensym_a6e93beb7c64bda8_49 = 4
  2399  
  2400  	// -- templateUnmarshalMsgZid starts here--
  2401  	var totalEncodedFields48zgensym_a6e93beb7c64bda8_49 uint32
  2402  	if !nbs.AlwaysNil {
  2403  		totalEncodedFields48zgensym_a6e93beb7c64bda8_49, bts, err = nbs.ReadMapHeaderBytes(bts)
  2404  		if err != nil {
  2405  			return
  2406  		}
  2407  	}
  2408  	encodedFieldsLeft48zgensym_a6e93beb7c64bda8_49 := totalEncodedFields48zgensym_a6e93beb7c64bda8_49
  2409  	missingFieldsLeft48zgensym_a6e93beb7c64bda8_49 := maxFields48zgensym_a6e93beb7c64bda8_49 - totalEncodedFields48zgensym_a6e93beb7c64bda8_49
  2410  
  2411  	var nextMiss48zgensym_a6e93beb7c64bda8_49 int = -1
  2412  	var found48zgensym_a6e93beb7c64bda8_49 [maxFields48zgensym_a6e93beb7c64bda8_49]bool
  2413  	var curField48zgensym_a6e93beb7c64bda8_49 int
  2414  
  2415  doneWithStruct48zgensym_a6e93beb7c64bda8_49:
  2416  	// First fill all the encoded fields, then
  2417  	// treat the remaining, missing fields, as Nil.
  2418  	for encodedFieldsLeft48zgensym_a6e93beb7c64bda8_49 > 0 || missingFieldsLeft48zgensym_a6e93beb7c64bda8_49 > 0 {
  2419  		//fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft48zgensym_a6e93beb7c64bda8_49, missingFieldsLeft48zgensym_a6e93beb7c64bda8_49, msgp.ShowFound(found48zgensym_a6e93beb7c64bda8_49[:]), unmarshalMsgFieldOrder48zgensym_a6e93beb7c64bda8_49)
  2420  		if encodedFieldsLeft48zgensym_a6e93beb7c64bda8_49 > 0 {
  2421  			encodedFieldsLeft48zgensym_a6e93beb7c64bda8_49--
  2422  			curField48zgensym_a6e93beb7c64bda8_49, bts, err = nbs.ReadIntBytes(bts)
  2423  			if err != nil {
  2424  				return
  2425  			}
  2426  		} else {
  2427  			//missing fields need handling
  2428  			if nextMiss48zgensym_a6e93beb7c64bda8_49 < 0 {
  2429  				// set bts to contain just mnil (0xc0)
  2430  				bts = nbs.PushAlwaysNil(bts)
  2431  				nextMiss48zgensym_a6e93beb7c64bda8_49 = 0
  2432  			}
  2433  			for nextMiss48zgensym_a6e93beb7c64bda8_49 < maxFields48zgensym_a6e93beb7c64bda8_49 && (found48zgensym_a6e93beb7c64bda8_49[nextMiss48zgensym_a6e93beb7c64bda8_49] || unmarshalMsgFieldSkip48zgensym_a6e93beb7c64bda8_49[nextMiss48zgensym_a6e93beb7c64bda8_49]) {
  2434  				nextMiss48zgensym_a6e93beb7c64bda8_49++
  2435  			}
  2436  			if nextMiss48zgensym_a6e93beb7c64bda8_49 == maxFields48zgensym_a6e93beb7c64bda8_49 {
  2437  				// filled all the empty fields!
  2438  				break doneWithStruct48zgensym_a6e93beb7c64bda8_49
  2439  			}
  2440  			missingFieldsLeft48zgensym_a6e93beb7c64bda8_49--
  2441  			curField48zgensym_a6e93beb7c64bda8_49 = nextMiss48zgensym_a6e93beb7c64bda8_49
  2442  		}
  2443  		//fmt.Printf("switching on curField: '%v'\n", curField48zgensym_a6e93beb7c64bda8_49)
  2444  		switch curField48zgensym_a6e93beb7c64bda8_49 {
  2445  		// -- templateUnmarshalMsgZid ends here --
  2446  
  2447  		case 0:
  2448  			// zid 0 for "Kind"
  2449  			found48zgensym_a6e93beb7c64bda8_49[0] = true
  2450  			{
  2451  				var zgensym_a6e93beb7c64bda8_50 uint64
  2452  				zgensym_a6e93beb7c64bda8_50, bts, err = nbs.ReadUint64Bytes(bts)
  2453  
  2454  				if err != nil {
  2455  					return
  2456  				}
  2457  				z.Kind = Zkind(zgensym_a6e93beb7c64bda8_50)
  2458  			}
  2459  		case 1:
  2460  			// zid 1 for "Str"
  2461  			found48zgensym_a6e93beb7c64bda8_49[1] = true
  2462  			z.Str, bts, err = nbs.ReadStringBytes(bts)
  2463  
  2464  			if err != nil {
  2465  				return
  2466  			}
  2467  		case 2:
  2468  			// zid 2 for "Domain"
  2469  			found48zgensym_a6e93beb7c64bda8_49[2] = true
  2470  			if nbs.AlwaysNil {
  2471  				if z.Domain != nil {
  2472  					z.Domain.ZebraUnmarshalMsg(msgp.OnlyNilSlice)
  2473  				}
  2474  			} else {
  2475  				// not nbs.AlwaysNil
  2476  				if msgp.IsNil(bts) {
  2477  					bts = bts[1:]
  2478  					if nil != z.Domain {
  2479  						z.Domain.ZebraUnmarshalMsg(msgp.OnlyNilSlice)
  2480  					}
  2481  				} else {
  2482  					// not nbs.AlwaysNil and not IsNil(bts): have something to read
  2483  
  2484  					if z.Domain == nil {
  2485  						z.Domain = new(Ztype)
  2486  					}
  2487  					bts, err = z.Domain.ZebraUnmarshalMsg(bts)
  2488  					if err != nil {
  2489  						return
  2490  					}
  2491  					if err != nil {
  2492  						return
  2493  					}
  2494  				}
  2495  			}
  2496  		case 3:
  2497  			// zid 3 for "Range"
  2498  			found48zgensym_a6e93beb7c64bda8_49[3] = true
  2499  			if nbs.AlwaysNil {
  2500  				if z.Range != nil {
  2501  					z.Range.ZebraUnmarshalMsg(msgp.OnlyNilSlice)
  2502  				}
  2503  			} else {
  2504  				// not nbs.AlwaysNil
  2505  				if msgp.IsNil(bts) {
  2506  					bts = bts[1:]
  2507  					if nil != z.Range {
  2508  						z.Range.ZebraUnmarshalMsg(msgp.OnlyNilSlice)
  2509  					}
  2510  				} else {
  2511  					// not nbs.AlwaysNil and not IsNil(bts): have something to read
  2512  
  2513  					if z.Range == nil {
  2514  						z.Range = new(Ztype)
  2515  					}
  2516  					bts, err = z.Range.ZebraUnmarshalMsg(bts)
  2517  					if err != nil {
  2518  						return
  2519  					}
  2520  					if err != nil {
  2521  						return
  2522  					}
  2523  				}
  2524  			}
  2525  		default:
  2526  			bts, err = msgp.Skip(bts)
  2527  			if err != nil {
  2528  				return
  2529  			}
  2530  		}
  2531  	}
  2532  	if nextMiss48zgensym_a6e93beb7c64bda8_49 != -1 {
  2533  		bts = nbs.PopAlwaysNil()
  2534  	}
  2535  
  2536  	if sawTopNil {
  2537  		bts = nbs.PopAlwaysNil()
  2538  	}
  2539  	o = bts
  2540  	if p, ok := interface{}(z).(msgp.PostLoad); ok {
  2541  		p.PostLoadHook()
  2542  	}
  2543  
  2544  	return
  2545  }
  2546  
  2547  // fields of Ztype
  2548  var unmarshalMsgFieldOrder48zgensym_a6e93beb7c64bda8_49 = []string{"Kind", "Str", "Domain", "Range"}
  2549  
  2550  var unmarshalMsgFieldSkip48zgensym_a6e93beb7c64bda8_49 = []bool{false, false, false, false}
  2551  
  2552  // ZebraMsgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
  2553  func (z *Ztype) ZebraMsgsize() (s int) {
  2554  	s = 1 + 9 + msgp.Uint64Size + 9 + msgp.StringPrefixSize + len(z.Str) + 9
  2555  	if z.Domain == nil {
  2556  		s += msgp.NilSize
  2557  	} else {
  2558  		s += z.Domain.ZebraMsgsize()
  2559  	}
  2560  	s += 9
  2561  	if z.Range == nil {
  2562  		s += msgp.NilSize
  2563  	} else {
  2564  		s += z.Range.ZebraMsgsize()
  2565  	}
  2566  	return
  2567  }
  2568  
  2569  // FileZebra_zebra_go holds ZebraPack schema from file 'zebra/zebra.go'
  2570  type FileZebra_zebra_go struct{}
  2571  
  2572  // ZebraZebraSchemaInMsgpack2Format provides the ZebraPack Schema in msgpack2 format, length 3448 bytes
  2573  func (FileZebra_zebra_go) ZebraZebraSchemaInMsgpack2Format() []byte {
  2574  	return []byte{
  2575  		0x84, 0xaa, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61,
  2576  		0x74, 0x68, 0xae, 0x7a, 0x65, 0x62, 0x72, 0x61, 0x2f, 0x7a,
  2577  		0x65, 0x62, 0x72, 0x61, 0x2e, 0x67, 0x6f, 0xad, 0x53, 0x6f,
  2578  		0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67,
  2579  		0x65, 0xa5, 0x7a, 0x65, 0x62, 0x72, 0x61, 0xad, 0x5a, 0x65,
  2580  		0x62, 0x72, 0x61, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x49,
  2581  		0x64, 0xd3, 0x00, 0x01, 0xa5, 0xa9, 0x4b, 0xd4, 0x96, 0x24,
  2582  		0xa7, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x84, 0xa5,
  2583  		0x5a, 0x74, 0x79, 0x70, 0x65, 0x82, 0xaa, 0x53, 0x74, 0x72,
  2584  		0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0xa5, 0x5a, 0x74,
  2585  		0x79, 0x70, 0x65, 0xa6, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73,
  2586  		0x94, 0x87, 0xa3, 0x5a, 0x69, 0x64, 0x00, 0xab, 0x46, 0x69,
  2587  		0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0xa4,
  2588  		0x4b, 0x69, 0x6e, 0x64, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2589  		0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0xa4, 0x4b, 0x69,
  2590  		0x6e, 0x64, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79,
  2591  		0x70, 0x65, 0x53, 0x74, 0x72, 0xa5, 0x5a, 0x6b, 0x69, 0x6e,
  2592  		0x64, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74,
  2593  		0x65, 0x67, 0x6f, 0x72, 0x79, 0x17, 0xae, 0x46, 0x69, 0x65,
  2594  		0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76,
  2595  		0x65, 0x0b, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75,
  2596  		0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x82, 0xa4, 0x4b, 0x69,
  2597  		0x6e, 0x64, 0x0b, 0xa3, 0x53, 0x74, 0x72, 0xa6, 0x75, 0x69,
  2598  		0x6e, 0x74, 0x36, 0x34, 0x88, 0xa3, 0x5a, 0x69, 0x64, 0x01,
  2599  		0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61,
  2600  		0x6d, 0x65, 0xa3, 0x53, 0x74, 0x72, 0xac, 0x46, 0x69, 0x65,
  2601  		0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0xa3,
  2602  		0x53, 0x74, 0x72, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54,
  2603  		0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0xa6, 0x73, 0x74, 0x72,
  2604  		0x69, 0x6e, 0x67, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43,
  2605  		0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x17, 0xae, 0x46,
  2606  		0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74,
  2607  		0x69, 0x76, 0x65, 0x02, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2608  		0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x82, 0xa4,
  2609  		0x4b, 0x69, 0x6e, 0x64, 0x02, 0xa3, 0x53, 0x74, 0x72, 0xa6,
  2610  		0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0xa9, 0x4f, 0x6d, 0x69,
  2611  		0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0xc3, 0x87, 0xa3, 0x5a,
  2612  		0x69, 0x64, 0x02, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47,
  2613  		0x6f, 0x4e, 0x61, 0x6d, 0x65, 0xa6, 0x44, 0x6f, 0x6d, 0x61,
  2614  		0x69, 0x6e, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61,
  2615  		0x67, 0x4e, 0x61, 0x6d, 0x65, 0xa6, 0x44, 0x6f, 0x6d, 0x61,
  2616  		0x69, 0x6e, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79,
  2617  		0x70, 0x65, 0x53, 0x74, 0x72, 0xa6, 0x2a, 0x5a, 0x74, 0x79,
  2618  		0x70, 0x65, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61,
  2619  		0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x1c, 0xad, 0x46, 0x69,
  2620  		0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70,
  2621  		0x65, 0x83, 0xa4, 0x4b, 0x69, 0x6e, 0x64, 0x1c, 0xa3, 0x53,
  2622  		0x74, 0x72, 0xa7, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72,
  2623  		0xa6, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x82, 0xa4, 0x4b,
  2624  		0x69, 0x6e, 0x64, 0x16, 0xa3, 0x53, 0x74, 0x72, 0xa5, 0x5a,
  2625  		0x74, 0x79, 0x70, 0x65, 0xa9, 0x4f, 0x6d, 0x69, 0x74, 0x45,
  2626  		0x6d, 0x70, 0x74, 0x79, 0xc3, 0x87, 0xa3, 0x5a, 0x69, 0x64,
  2627  		0x03, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e,
  2628  		0x61, 0x6d, 0x65, 0xa5, 0x52, 0x61, 0x6e, 0x67, 0x65, 0xac,
  2629  		0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61,
  2630  		0x6d, 0x65, 0xa5, 0x52, 0x61, 0x6e, 0x67, 0x65, 0xac, 0x46,
  2631  		0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74,
  2632  		0x72, 0xa6, 0x2a, 0x5a, 0x74, 0x79, 0x70, 0x65, 0xad, 0x46,
  2633  		0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f,
  2634  		0x72, 0x79, 0x1c, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46,
  2635  		0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x83, 0xa4, 0x4b,
  2636  		0x69, 0x6e, 0x64, 0x1c, 0xa3, 0x53, 0x74, 0x72, 0xa7, 0x50,
  2637  		0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0xa6, 0x44, 0x6f, 0x6d,
  2638  		0x61, 0x69, 0x6e, 0x82, 0xa4, 0x4b, 0x69, 0x6e, 0x64, 0x16,
  2639  		0xa3, 0x53, 0x74, 0x72, 0xa5, 0x5a, 0x74, 0x79, 0x70, 0x65,
  2640  		0xa9, 0x4f, 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79,
  2641  		0xc3, 0xa6, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x82, 0xaa,
  2642  		0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65,
  2643  		0xa6, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0xa6, 0x46, 0x69,
  2644  		0x65, 0x6c, 0x64, 0x73, 0x95, 0x88, 0xa3, 0x5a, 0x69, 0x64,
  2645  		0x00, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e,
  2646  		0x61, 0x6d, 0x65, 0xaa, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
  2647  		0x50, 0x61, 0x74, 0x68, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2648  		0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0xaa, 0x53, 0x6f,
  2649  		0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0xac, 0x46,
  2650  		0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74,
  2651  		0x72, 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0xad, 0x46,
  2652  		0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f,
  2653  		0x72, 0x79, 0x17, 0xae, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50,
  2654  		0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x02, 0xad,
  2655  		0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54,
  2656  		0x79, 0x70, 0x65, 0x82, 0xa4, 0x4b, 0x69, 0x6e, 0x64, 0x02,
  2657  		0xa3, 0x53, 0x74, 0x72, 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e,
  2658  		0x67, 0xa9, 0x4f, 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74,
  2659  		0x79, 0xc3, 0x88, 0xa3, 0x5a, 0x69, 0x64, 0x01, 0xab, 0x46,
  2660  		0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65,
  2661  		0xad, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63,
  2662  		0x6b, 0x61, 0x67, 0x65, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2663  		0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0xad, 0x53, 0x6f,
  2664  		0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67,
  2665  		0x65, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70,
  2666  		0x65, 0x53, 0x74, 0x72, 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e,
  2667  		0x67, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74,
  2668  		0x65, 0x67, 0x6f, 0x72, 0x79, 0x17, 0xae, 0x46, 0x69, 0x65,
  2669  		0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76,
  2670  		0x65, 0x02, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75,
  2671  		0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x82, 0xa4, 0x4b, 0x69,
  2672  		0x6e, 0x64, 0x02, 0xa3, 0x53, 0x74, 0x72, 0xa6, 0x73, 0x74,
  2673  		0x72, 0x69, 0x6e, 0x67, 0xa9, 0x4f, 0x6d, 0x69, 0x74, 0x45,
  2674  		0x6d, 0x70, 0x74, 0x79, 0xc3, 0x88, 0xa3, 0x5a, 0x69, 0x64,
  2675  		0x02, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e,
  2676  		0x61, 0x6d, 0x65, 0xad, 0x5a, 0x65, 0x62, 0x72, 0x61, 0x53,
  2677  		0x63, 0x68, 0x65, 0x6d, 0x61, 0x49, 0x64, 0xac, 0x46, 0x69,
  2678  		0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65,
  2679  		0xad, 0x5a, 0x65, 0x62, 0x72, 0x61, 0x53, 0x63, 0x68, 0x65,
  2680  		0x6d, 0x61, 0x49, 0x64, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2681  		0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0xa5, 0x69, 0x6e,
  2682  		0x74, 0x36, 0x34, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43,
  2683  		0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x17, 0xae, 0x46,
  2684  		0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74,
  2685  		0x69, 0x76, 0x65, 0x11, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2686  		0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x82, 0xa4,
  2687  		0x4b, 0x69, 0x6e, 0x64, 0x11, 0xa3, 0x53, 0x74, 0x72, 0xa5,
  2688  		0x69, 0x6e, 0x74, 0x36, 0x34, 0xa9, 0x4f, 0x6d, 0x69, 0x74,
  2689  		0x45, 0x6d, 0x70, 0x74, 0x79, 0xc3, 0x87, 0xa3, 0x5a, 0x69,
  2690  		0x64, 0x03, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f,
  2691  		0x4e, 0x61, 0x6d, 0x65, 0xa7, 0x53, 0x74, 0x72, 0x75, 0x63,
  2692  		0x74, 0x73, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61,
  2693  		0x67, 0x4e, 0x61, 0x6d, 0x65, 0xa7, 0x53, 0x74, 0x72, 0x75,
  2694  		0x63, 0x74, 0x73, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54,
  2695  		0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0xb2, 0x6d, 0x61, 0x70,
  2696  		0x5b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5d, 0x2a, 0x53,
  2697  		0x74, 0x72, 0x75, 0x63, 0x74, 0xad, 0x46, 0x69, 0x65, 0x6c,
  2698  		0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18,
  2699  		0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c,
  2700  		0x54, 0x79, 0x70, 0x65, 0x84, 0xa4, 0x4b, 0x69, 0x6e, 0x64,
  2701  		0x18, 0xa3, 0x53, 0x74, 0x72, 0xa3, 0x4d, 0x61, 0x70, 0xa6,
  2702  		0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x82, 0xa4, 0x4b, 0x69,
  2703  		0x6e, 0x64, 0x02, 0xa3, 0x53, 0x74, 0x72, 0xa6, 0x73, 0x74,
  2704  		0x72, 0x69, 0x6e, 0x67, 0xa5, 0x52, 0x61, 0x6e, 0x67, 0x65,
  2705  		0x83, 0xa4, 0x4b, 0x69, 0x6e, 0x64, 0x1c, 0xa3, 0x53, 0x74,
  2706  		0x72, 0xa7, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0xa6,
  2707  		0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x82, 0xa4, 0x4b, 0x69,
  2708  		0x6e, 0x64, 0x19, 0xa3, 0x53, 0x74, 0x72, 0xa6, 0x53, 0x74,
  2709  		0x72, 0x75, 0x63, 0x74, 0xa9, 0x4f, 0x6d, 0x69, 0x74, 0x45,
  2710  		0x6d, 0x70, 0x74, 0x79, 0xc3, 0x87, 0xa3, 0x5a, 0x69, 0x64,
  2711  		0x04, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e,
  2712  		0x61, 0x6d, 0x65, 0xa7, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74,
  2713  		0x73, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67,
  2714  		0x4e, 0x61, 0x6d, 0x65, 0xa7, 0x49, 0x6d, 0x70, 0x6f, 0x72,
  2715  		0x74, 0x73, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79,
  2716  		0x70, 0x65, 0x53, 0x74, 0x72, 0xa8, 0x5b, 0x5d, 0x73, 0x74,
  2717  		0x72, 0x69, 0x6e, 0x67, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2718  		0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x1a, 0xad,
  2719  		0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54,
  2720  		0x79, 0x70, 0x65, 0x83, 0xa4, 0x4b, 0x69, 0x6e, 0x64, 0x1a,
  2721  		0xa3, 0x53, 0x74, 0x72, 0xa5, 0x53, 0x6c, 0x69, 0x63, 0x65,
  2722  		0xa6, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x82, 0xa4, 0x4b,
  2723  		0x69, 0x6e, 0x64, 0x02, 0xa3, 0x53, 0x74, 0x72, 0xa6, 0x73,
  2724  		0x74, 0x72, 0x69, 0x6e, 0x67, 0xa9, 0x4f, 0x6d, 0x69, 0x74,
  2725  		0x45, 0x6d, 0x70, 0x74, 0x79, 0xc3, 0xa6, 0x53, 0x74, 0x72,
  2726  		0x75, 0x63, 0x74, 0x82, 0xaa, 0x53, 0x74, 0x72, 0x75, 0x63,
  2727  		0x74, 0x4e, 0x61, 0x6d, 0x65, 0xa6, 0x53, 0x74, 0x72, 0x75,
  2728  		0x63, 0x74, 0xa6, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x92,
  2729  		0x88, 0xa3, 0x5a, 0x69, 0x64, 0x00, 0xab, 0x46, 0x69, 0x65,
  2730  		0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0xaa, 0x53,
  2731  		0x74, 0x72, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0xac,
  2732  		0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61,
  2733  		0x6d, 0x65, 0xaa, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4e,
  2734  		0x61, 0x6d, 0x65, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54,
  2735  		0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0xa6, 0x73, 0x74, 0x72,
  2736  		0x69, 0x6e, 0x67, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43,
  2737  		0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x17, 0xae, 0x46,
  2738  		0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74,
  2739  		0x69, 0x76, 0x65, 0x02, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2740  		0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x82, 0xa4,
  2741  		0x4b, 0x69, 0x6e, 0x64, 0x02, 0xa3, 0x53, 0x74, 0x72, 0xa6,
  2742  		0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0xa9, 0x4f, 0x6d, 0x69,
  2743  		0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0xc3, 0x87, 0xa3, 0x5a,
  2744  		0x69, 0x64, 0x01, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47,
  2745  		0x6f, 0x4e, 0x61, 0x6d, 0x65, 0xa6, 0x46, 0x69, 0x65, 0x6c,
  2746  		0x64, 0x73, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61,
  2747  		0x67, 0x4e, 0x61, 0x6d, 0x65, 0xa6, 0x46, 0x69, 0x65, 0x6c,
  2748  		0x64, 0x73, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79,
  2749  		0x70, 0x65, 0x53, 0x74, 0x72, 0xa7, 0x5b, 0x5d, 0x46, 0x69,
  2750  		0x65, 0x6c, 0x64, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43,
  2751  		0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x1a, 0xad, 0x46,
  2752  		0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79,
  2753  		0x70, 0x65, 0x83, 0xa4, 0x4b, 0x69, 0x6e, 0x64, 0x1a, 0xa3,
  2754  		0x53, 0x74, 0x72, 0xa5, 0x53, 0x6c, 0x69, 0x63, 0x65, 0xa6,
  2755  		0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x82, 0xa4, 0x4b, 0x69,
  2756  		0x6e, 0x64, 0x16, 0xa3, 0x53, 0x74, 0x72, 0xa5, 0x46, 0x69,
  2757  		0x65, 0x6c, 0x64, 0xa9, 0x4f, 0x6d, 0x69, 0x74, 0x45, 0x6d,
  2758  		0x70, 0x74, 0x79, 0xc3, 0xa5, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2759  		0x82, 0xaa, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4e, 0x61,
  2760  		0x6d, 0x65, 0xa5, 0x46, 0x69, 0x65, 0x6c, 0x64, 0xa6, 0x46,
  2761  		0x69, 0x65, 0x6c, 0x64, 0x73, 0x9b, 0x87, 0xa3, 0x5a, 0x69,
  2762  		0x64, 0x00, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f,
  2763  		0x4e, 0x61, 0x6d, 0x65, 0xa3, 0x5a, 0x69, 0x64, 0xac, 0x46,
  2764  		0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d,
  2765  		0x65, 0xa3, 0x5a, 0x69, 0x64, 0xac, 0x46, 0x69, 0x65, 0x6c,
  2766  		0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0xa5, 0x69,
  2767  		0x6e, 0x74, 0x36, 0x34, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2768  		0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x17, 0xae,
  2769  		0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69,
  2770  		0x74, 0x69, 0x76, 0x65, 0x11, 0xad, 0x46, 0x69, 0x65, 0x6c,
  2771  		0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x82,
  2772  		0xa4, 0x4b, 0x69, 0x6e, 0x64, 0x11, 0xa3, 0x53, 0x74, 0x72,
  2773  		0xa5, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x87, 0xa3, 0x5a, 0x69,
  2774  		0x64, 0x01, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f,
  2775  		0x4e, 0x61, 0x6d, 0x65, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2776  		0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0xac, 0x46, 0x69, 0x65,
  2777  		0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0xab,
  2778  		0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d,
  2779  		0x65, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70,
  2780  		0x65, 0x53, 0x74, 0x72, 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e,
  2781  		0x67, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74,
  2782  		0x65, 0x67, 0x6f, 0x72, 0x79, 0x17, 0xae, 0x46, 0x69, 0x65,
  2783  		0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76,
  2784  		0x65, 0x02, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75,
  2785  		0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x82, 0xa4, 0x4b, 0x69,
  2786  		0x6e, 0x64, 0x02, 0xa3, 0x53, 0x74, 0x72, 0xa6, 0x73, 0x74,
  2787  		0x72, 0x69, 0x6e, 0x67, 0x88, 0xa3, 0x5a, 0x69, 0x64, 0x02,
  2788  		0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61,
  2789  		0x6d, 0x65, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61,
  2790  		0x67, 0x4e, 0x61, 0x6d, 0x65, 0xac, 0x46, 0x69, 0x65, 0x6c,
  2791  		0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0xac, 0x46,
  2792  		0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d,
  2793  		0x65, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70,
  2794  		0x65, 0x53, 0x74, 0x72, 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e,
  2795  		0x67, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74,
  2796  		0x65, 0x67, 0x6f, 0x72, 0x79, 0x17, 0xae, 0x46, 0x69, 0x65,
  2797  		0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76,
  2798  		0x65, 0x02, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75,
  2799  		0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x82, 0xa4, 0x4b, 0x69,
  2800  		0x6e, 0x64, 0x02, 0xa3, 0x53, 0x74, 0x72, 0xa6, 0x73, 0x74,
  2801  		0x72, 0x69, 0x6e, 0x67, 0xa9, 0x4f, 0x6d, 0x69, 0x74, 0x45,
  2802  		0x6d, 0x70, 0x74, 0x79, 0xc3, 0x88, 0xa3, 0x5a, 0x69, 0x64,
  2803  		0x03, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e,
  2804  		0x61, 0x6d, 0x65, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54,
  2805  		0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0xac, 0x46, 0x69, 0x65,
  2806  		0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0xac,
  2807  		0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53,
  2808  		0x74, 0x72, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79,
  2809  		0x70, 0x65, 0x53, 0x74, 0x72, 0xa6, 0x73, 0x74, 0x72, 0x69,
  2810  		0x6e, 0x67, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61,
  2811  		0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x17, 0xae, 0x46, 0x69,
  2812  		0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69,
  2813  		0x76, 0x65, 0x02, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46,
  2814  		0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x82, 0xa4, 0x4b,
  2815  		0x69, 0x6e, 0x64, 0x02, 0xa3, 0x53, 0x74, 0x72, 0xa6, 0x73,
  2816  		0x74, 0x72, 0x69, 0x6e, 0x67, 0xa9, 0x4f, 0x6d, 0x69, 0x74,
  2817  		0x45, 0x6d, 0x70, 0x74, 0x79, 0xc3, 0x88, 0xa3, 0x5a, 0x69,
  2818  		0x64, 0x04, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f,
  2819  		0x4e, 0x61, 0x6d, 0x65, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2820  		0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0xac, 0x46,
  2821  		0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d,
  2822  		0x65, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74,
  2823  		0x65, 0x67, 0x6f, 0x72, 0x79, 0xac, 0x46, 0x69, 0x65, 0x6c,
  2824  		0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0xa5, 0x5a,
  2825  		0x6b, 0x69, 0x6e, 0x64, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2826  		0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x17, 0xae,
  2827  		0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69,
  2828  		0x74, 0x69, 0x76, 0x65, 0x0b, 0xad, 0x46, 0x69, 0x65, 0x6c,
  2829  		0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x82,
  2830  		0xa4, 0x4b, 0x69, 0x6e, 0x64, 0x0b, 0xa3, 0x53, 0x74, 0x72,
  2831  		0xa6, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0xa9, 0x4f, 0x6d,
  2832  		0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0xc3, 0x88, 0xa3,
  2833  		0x5a, 0x69, 0x64, 0x05, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2834  		0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0xae, 0x46, 0x69, 0x65,
  2835  		0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76,
  2836  		0x65, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67,
  2837  		0x4e, 0x61, 0x6d, 0x65, 0xae, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2838  		0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0xac,
  2839  		0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53,
  2840  		0x74, 0x72, 0xa5, 0x5a, 0x6b, 0x69, 0x6e, 0x64, 0xad, 0x46,
  2841  		0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f,
  2842  		0x72, 0x79, 0x17, 0xae, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50,
  2843  		0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x0b, 0xad,
  2844  		0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54,
  2845  		0x79, 0x70, 0x65, 0x82, 0xa4, 0x4b, 0x69, 0x6e, 0x64, 0x0b,
  2846  		0xa3, 0x53, 0x74, 0x72, 0xa6, 0x75, 0x69, 0x6e, 0x74, 0x36,
  2847  		0x34, 0xa9, 0x4f, 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74,
  2848  		0x79, 0xc3, 0x87, 0xa3, 0x5a, 0x69, 0x64, 0x06, 0xab, 0x46,
  2849  		0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65,
  2850  		0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c,
  2851  		0x54, 0x79, 0x70, 0x65, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2852  		0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0xad, 0x46, 0x69,
  2853  		0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70,
  2854  		0x65, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70,
  2855  		0x65, 0x53, 0x74, 0x72, 0xa6, 0x2a, 0x5a, 0x74, 0x79, 0x70,
  2856  		0x65, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74,
  2857  		0x65, 0x67, 0x6f, 0x72, 0x79, 0x1c, 0xad, 0x46, 0x69, 0x65,
  2858  		0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65,
  2859  		0x83, 0xa4, 0x4b, 0x69, 0x6e, 0x64, 0x1c, 0xa3, 0x53, 0x74,
  2860  		0x72, 0xa7, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0xa6,
  2861  		0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x82, 0xa4, 0x4b, 0x69,
  2862  		0x6e, 0x64, 0x16, 0xa3, 0x53, 0x74, 0x72, 0xa5, 0x5a, 0x74,
  2863  		0x79, 0x70, 0x65, 0xa9, 0x4f, 0x6d, 0x69, 0x74, 0x45, 0x6d,
  2864  		0x70, 0x74, 0x79, 0xc3, 0x88, 0xa3, 0x5a, 0x69, 0x64, 0x07,
  2865  		0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61,
  2866  		0x6d, 0x65, 0xa9, 0x4f, 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70,
  2867  		0x74, 0x79, 0xac, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61,
  2868  		0x67, 0x4e, 0x61, 0x6d, 0x65, 0xa9, 0x4f, 0x6d, 0x69, 0x74,
  2869  		0x45, 0x6d, 0x70, 0x74, 0x79, 0xac, 0x46, 0x69, 0x65, 0x6c,
  2870  		0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0xa4, 0x62,
  2871  		0x6f, 0x6f, 0x6c, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43,
  2872  		0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x17, 0xae, 0x46,
  2873  		0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74,
  2874  		0x69, 0x76, 0x65, 0x12, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2875  		0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x82, 0xa4,
  2876  		0x4b, 0x69, 0x6e, 0x64, 0x12, 0xa3, 0x53, 0x74, 0x72, 0xa4,
  2877  		0x62, 0x6f, 0x6f, 0x6c, 0xa9, 0x4f, 0x6d, 0x69, 0x74, 0x45,
  2878  		0x6d, 0x70, 0x74, 0x79, 0xc3, 0x88, 0xa3, 0x5a, 0x69, 0x64,
  2879  		0x08, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e,
  2880  		0x61, 0x6d, 0x65, 0xa4, 0x53, 0x6b, 0x69, 0x70, 0xac, 0x46,
  2881  		0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d,
  2882  		0x65, 0xa4, 0x53, 0x6b, 0x69, 0x70, 0xac, 0x46, 0x69, 0x65,
  2883  		0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0xa4,
  2884  		0x62, 0x6f, 0x6f, 0x6c, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64,
  2885  		0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x17, 0xae,
  2886  		0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69,
  2887  		0x74, 0x69, 0x76, 0x65, 0x12, 0xad, 0x46, 0x69, 0x65, 0x6c,
  2888  		0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x82,
  2889  		0xa4, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0xa3, 0x53, 0x74, 0x72,
  2890  		0xa4, 0x62, 0x6f, 0x6f, 0x6c, 0xa9, 0x4f, 0x6d, 0x69, 0x74,
  2891  		0x45, 0x6d, 0x70, 0x74, 0x79, 0xc3, 0x88, 0xa3, 0x5a, 0x69,
  2892  		0x64, 0x09, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f,
  2893  		0x4e, 0x61, 0x6d, 0x65, 0xaa, 0x44, 0x65, 0x70, 0x72, 0x65,
  2894  		0x63, 0x61, 0x74, 0x65, 0x64, 0xac, 0x46, 0x69, 0x65, 0x6c,
  2895  		0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0xaa, 0x44,
  2896  		0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0xac,
  2897  		0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53,
  2898  		0x74, 0x72, 0xa4, 0x62, 0x6f, 0x6f, 0x6c, 0xad, 0x46, 0x69,
  2899  		0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72,
  2900  		0x79, 0x17, 0xae, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72,
  2901  		0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0xad, 0x46,
  2902  		0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79,
  2903  		0x70, 0x65, 0x82, 0xa4, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0xa3,
  2904  		0x53, 0x74, 0x72, 0xa4, 0x62, 0x6f, 0x6f, 0x6c, 0xa9, 0x4f,
  2905  		0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0xc3, 0x88,
  2906  		0xa3, 0x5a, 0x69, 0x64, 0x0a, 0xab, 0x46, 0x69, 0x65, 0x6c,
  2907  		0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0xa8, 0x53, 0x68,
  2908  		0x6f, 0x77, 0x5a, 0x65, 0x72, 0x6f, 0xac, 0x46, 0x69, 0x65,
  2909  		0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0xa8,
  2910  		0x53, 0x68, 0x6f, 0x77, 0x5a, 0x65, 0x72, 0x6f, 0xac, 0x46,
  2911  		0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74,
  2912  		0x72, 0xa4, 0x62, 0x6f, 0x6f, 0x6c, 0xad, 0x46, 0x69, 0x65,
  2913  		0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
  2914  		0x17, 0xae, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69,
  2915  		0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0xad, 0x46, 0x69,
  2916  		0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70,
  2917  		0x65, 0x82, 0xa4, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0xa3, 0x53,
  2918  		0x74, 0x72, 0xa4, 0x62, 0x6f, 0x6f, 0x6c, 0xa9, 0x4f, 0x6d,
  2919  		0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0xc3,
  2920  	}
  2921  }
  2922  
  2923  // ZebraZebraSchemaInJsonCompact provides the ZebraPack Schema in compact JSON format, length 4441 bytes
  2924  func (FileZebra_zebra_go) ZebraZebraSchemaInJsonCompact() []byte {
  2925  	return []byte(`{"SourcePath":"zebra/zebra.go","SourcePackage":"zebra","ZebraSchemaId":463621516989988,"Structs":{"Ztype":{"StructName":"Ztype","Fields":[{"Zid":0,"FieldGoName":"Kind","FieldTagName":"Kind","FieldTypeStr":"Zkind","FieldCategory":23,"FieldPrimitive":11,"FieldFullType":{"Kind":11,"Str":"uint64"}},{"Zid":1,"FieldGoName":"Str","FieldTagName":"Str","FieldTypeStr":"string","FieldCategory":23,"FieldPrimitive":2,"FieldFullType":{"Kind":2,"Str":"string"},"OmitEmpty":true},{"Zid":2,"FieldGoName":"Domain","FieldTagName":"Domain","FieldTypeStr":"*Ztype","FieldCategory":28,"FieldFullType":{"Kind":28,"Str":"Pointer","Domain":{"Kind":22,"Str":"Ztype"}},"OmitEmpty":true},{"Zid":3,"FieldGoName":"Range","FieldTagName":"Range","FieldTypeStr":"*Ztype","FieldCategory":28,"FieldFullType":{"Kind":28,"Str":"Pointer","Domain":{"Kind":22,"Str":"Ztype"}},"OmitEmpty":true}]},"Schema":{"StructName":"Schema","Fields":[{"Zid":0,"FieldGoName":"SourcePath","FieldTagName":"SourcePath","FieldTypeStr":"string","FieldCategory":23,"FieldPrimitive":2,"FieldFullType":{"Kind":2,"Str":"string"},"OmitEmpty":true},{"Zid":1,"FieldGoName":"SourcePackage","FieldTagName":"SourcePackage","FieldTypeStr":"string","FieldCategory":23,"FieldPrimitive":2,"FieldFullType":{"Kind":2,"Str":"string"},"OmitEmpty":true},{"Zid":2,"FieldGoName":"ZebraSchemaId","FieldTagName":"ZebraSchemaId","FieldTypeStr":"int64","FieldCategory":23,"FieldPrimitive":17,"FieldFullType":{"Kind":17,"Str":"int64"},"OmitEmpty":true},{"Zid":3,"FieldGoName":"Structs","FieldTagName":"Structs","FieldTypeStr":"map[string]*Struct","FieldCategory":24,"FieldFullType":{"Kind":24,"Str":"Map","Domain":{"Kind":2,"Str":"string"},"Range":{"Kind":28,"Str":"Pointer","Domain":{"Kind":25,"Str":"Struct"}}},"OmitEmpty":true},{"Zid":4,"FieldGoName":"Imports","FieldTagName":"Imports","FieldTypeStr":"[]string","FieldCategory":26,"FieldFullType":{"Kind":26,"Str":"Slice","Domain":{"Kind":2,"Str":"string"}},"OmitEmpty":true}]},"Struct":{"StructName":"Struct","Fields":[{"Zid":0,"FieldGoName":"StructName","FieldTagName":"StructName","FieldTypeStr":"string","FieldCategory":23,"FieldPrimitive":2,"FieldFullType":{"Kind":2,"Str":"string"},"OmitEmpty":true},{"Zid":1,"FieldGoName":"Fields","FieldTagName":"Fields","FieldTypeStr":"[]Field","FieldCategory":26,"FieldFullType":{"Kind":26,"Str":"Slice","Domain":{"Kind":22,"Str":"Field"}},"OmitEmpty":true}]},"Field":{"StructName":"Field","Fields":[{"Zid":0,"FieldGoName":"Zid","FieldTagName":"Zid","FieldTypeStr":"int64","FieldCategory":23,"FieldPrimitive":17,"FieldFullType":{"Kind":17,"Str":"int64"}},{"Zid":1,"FieldGoName":"FieldGoName","FieldTagName":"FieldGoName","FieldTypeStr":"string","FieldCategory":23,"FieldPrimitive":2,"FieldFullType":{"Kind":2,"Str":"string"}},{"Zid":2,"FieldGoName":"FieldTagName","FieldTagName":"FieldTagName","FieldTypeStr":"string","FieldCategory":23,"FieldPrimitive":2,"FieldFullType":{"Kind":2,"Str":"string"},"OmitEmpty":true},{"Zid":3,"FieldGoName":"FieldTypeStr","FieldTagName":"FieldTypeStr","FieldTypeStr":"string","FieldCategory":23,"FieldPrimitive":2,"FieldFullType":{"Kind":2,"Str":"string"},"OmitEmpty":true},{"Zid":4,"FieldGoName":"FieldCategory","FieldTagName":"FieldCategory","FieldTypeStr":"Zkind","FieldCategory":23,"FieldPrimitive":11,"FieldFullType":{"Kind":11,"Str":"uint64"},"OmitEmpty":true},{"Zid":5,"FieldGoName":"FieldPrimitive","FieldTagName":"FieldPrimitive","FieldTypeStr":"Zkind","FieldCategory":23,"FieldPrimitive":11,"FieldFullType":{"Kind":11,"Str":"uint64"},"OmitEmpty":true},{"Zid":6,"FieldGoName":"FieldFullType","FieldTagName":"FieldFullType","FieldTypeStr":"*Ztype","FieldCategory":28,"FieldFullType":{"Kind":28,"Str":"Pointer","Domain":{"Kind":22,"Str":"Ztype"}},"OmitEmpty":true},{"Zid":7,"FieldGoName":"OmitEmpty","FieldTagName":"OmitEmpty","FieldTypeStr":"bool","FieldCategory":23,"FieldPrimitive":18,"FieldFullType":{"Kind":18,"Str":"bool"},"OmitEmpty":true},{"Zid":8,"FieldGoName":"Skip","FieldTagName":"Skip","FieldTypeStr":"bool","FieldCategory":23,"FieldPrimitive":18,"FieldFullType":{"Kind":18,"Str":"bool"},"OmitEmpty":true},{"Zid":9,"FieldGoName":"Deprecated","FieldTagName":"Deprecated","FieldTypeStr":"bool","FieldCategory":23,"FieldPrimitive":18,"FieldFullType":{"Kind":18,"Str":"bool"},"OmitEmpty":true},{"Zid":10,"FieldGoName":"ShowZero","FieldTagName":"ShowZero","FieldTypeStr":"bool","FieldCategory":23,"FieldPrimitive":18,"FieldFullType":{"Kind":18,"Str":"bool"},"OmitEmpty":true}]}}}`)
  2926  }
  2927  
  2928  // ZebraZebraSchemaInJsonPretty provides the ZebraPack Schema in pretty JSON format, length 11643 bytes
  2929  func (FileZebra_zebra_go) ZebraZebraSchemaInJsonPretty() []byte {
  2930  	return []byte(`{
  2931      "SourcePath": "zebra/zebra.go",
  2932      "SourcePackage": "zebra",
  2933      "ZebraSchemaId": 463621516989988,
  2934      "Structs": {
  2935          "Ztype": {
  2936              "StructName": "Ztype",
  2937              "Fields": [
  2938                  {
  2939                      "Zid": 0,
  2940                      "FieldGoName": "Kind",
  2941                      "FieldTagName": "Kind",
  2942                      "FieldTypeStr": "Zkind",
  2943                      "FieldCategory": 23,
  2944                      "FieldPrimitive": 11,
  2945                      "FieldFullType": {
  2946                          "Kind": 11,
  2947                          "Str": "uint64"
  2948                      }
  2949                  },
  2950                  {
  2951                      "Zid": 1,
  2952                      "FieldGoName": "Str",
  2953                      "FieldTagName": "Str",
  2954                      "FieldTypeStr": "string",
  2955                      "FieldCategory": 23,
  2956                      "FieldPrimitive": 2,
  2957                      "FieldFullType": {
  2958                          "Kind": 2,
  2959                          "Str": "string"
  2960                      },
  2961                      "OmitEmpty": true
  2962                  },
  2963                  {
  2964                      "Zid": 2,
  2965                      "FieldGoName": "Domain",
  2966                      "FieldTagName": "Domain",
  2967                      "FieldTypeStr": "*Ztype",
  2968                      "FieldCategory": 28,
  2969                      "FieldFullType": {
  2970                          "Kind": 28,
  2971                          "Str": "Pointer",
  2972                          "Domain": {
  2973                              "Kind": 22,
  2974                              "Str": "Ztype"
  2975                          }
  2976                      },
  2977                      "OmitEmpty": true
  2978                  },
  2979                  {
  2980                      "Zid": 3,
  2981                      "FieldGoName": "Range",
  2982                      "FieldTagName": "Range",
  2983                      "FieldTypeStr": "*Ztype",
  2984                      "FieldCategory": 28,
  2985                      "FieldFullType": {
  2986                          "Kind": 28,
  2987                          "Str": "Pointer",
  2988                          "Domain": {
  2989                              "Kind": 22,
  2990                              "Str": "Ztype"
  2991                          }
  2992                      },
  2993                      "OmitEmpty": true
  2994                  }
  2995              ]
  2996          },
  2997          "Schema": {
  2998              "StructName": "Schema",
  2999              "Fields": [
  3000                  {
  3001                      "Zid": 0,
  3002                      "FieldGoName": "SourcePath",
  3003                      "FieldTagName": "SourcePath",
  3004                      "FieldTypeStr": "string",
  3005                      "FieldCategory": 23,
  3006                      "FieldPrimitive": 2,
  3007                      "FieldFullType": {
  3008                          "Kind": 2,
  3009                          "Str": "string"
  3010                      },
  3011                      "OmitEmpty": true
  3012                  },
  3013                  {
  3014                      "Zid": 1,
  3015                      "FieldGoName": "SourcePackage",
  3016                      "FieldTagName": "SourcePackage",
  3017                      "FieldTypeStr": "string",
  3018                      "FieldCategory": 23,
  3019                      "FieldPrimitive": 2,
  3020                      "FieldFullType": {
  3021                          "Kind": 2,
  3022                          "Str": "string"
  3023                      },
  3024                      "OmitEmpty": true
  3025                  },
  3026                  {
  3027                      "Zid": 2,
  3028                      "FieldGoName": "ZebraSchemaId",
  3029                      "FieldTagName": "ZebraSchemaId",
  3030                      "FieldTypeStr": "int64",
  3031                      "FieldCategory": 23,
  3032                      "FieldPrimitive": 17,
  3033                      "FieldFullType": {
  3034                          "Kind": 17,
  3035                          "Str": "int64"
  3036                      },
  3037                      "OmitEmpty": true
  3038                  },
  3039                  {
  3040                      "Zid": 3,
  3041                      "FieldGoName": "Structs",
  3042                      "FieldTagName": "Structs",
  3043                      "FieldTypeStr": "map[string]*Struct",
  3044                      "FieldCategory": 24,
  3045                      "FieldFullType": {
  3046                          "Kind": 24,
  3047                          "Str": "Map",
  3048                          "Domain": {
  3049                              "Kind": 2,
  3050                              "Str": "string"
  3051                          },
  3052                          "Range": {
  3053                              "Kind": 28,
  3054                              "Str": "Pointer",
  3055                              "Domain": {
  3056                                  "Kind": 25,
  3057                                  "Str": "Struct"
  3058                              }
  3059                          }
  3060                      },
  3061                      "OmitEmpty": true
  3062                  },
  3063                  {
  3064                      "Zid": 4,
  3065                      "FieldGoName": "Imports",
  3066                      "FieldTagName": "Imports",
  3067                      "FieldTypeStr": "[]string",
  3068                      "FieldCategory": 26,
  3069                      "FieldFullType": {
  3070                          "Kind": 26,
  3071                          "Str": "Slice",
  3072                          "Domain": {
  3073                              "Kind": 2,
  3074                              "Str": "string"
  3075                          }
  3076                      },
  3077                      "OmitEmpty": true
  3078                  }
  3079              ]
  3080          },
  3081          "Struct": {
  3082              "StructName": "Struct",
  3083              "Fields": [
  3084                  {
  3085                      "Zid": 0,
  3086                      "FieldGoName": "StructName",
  3087                      "FieldTagName": "StructName",
  3088                      "FieldTypeStr": "string",
  3089                      "FieldCategory": 23,
  3090                      "FieldPrimitive": 2,
  3091                      "FieldFullType": {
  3092                          "Kind": 2,
  3093                          "Str": "string"
  3094                      },
  3095                      "OmitEmpty": true
  3096                  },
  3097                  {
  3098                      "Zid": 1,
  3099                      "FieldGoName": "Fields",
  3100                      "FieldTagName": "Fields",
  3101                      "FieldTypeStr": "[]Field",
  3102                      "FieldCategory": 26,
  3103                      "FieldFullType": {
  3104                          "Kind": 26,
  3105                          "Str": "Slice",
  3106                          "Domain": {
  3107                              "Kind": 22,
  3108                              "Str": "Field"
  3109                          }
  3110                      },
  3111                      "OmitEmpty": true
  3112                  }
  3113              ]
  3114          },
  3115          "Field": {
  3116              "StructName": "Field",
  3117              "Fields": [
  3118                  {
  3119                      "Zid": 0,
  3120                      "FieldGoName": "Zid",
  3121                      "FieldTagName": "Zid",
  3122                      "FieldTypeStr": "int64",
  3123                      "FieldCategory": 23,
  3124                      "FieldPrimitive": 17,
  3125                      "FieldFullType": {
  3126                          "Kind": 17,
  3127                          "Str": "int64"
  3128                      }
  3129                  },
  3130                  {
  3131                      "Zid": 1,
  3132                      "FieldGoName": "FieldGoName",
  3133                      "FieldTagName": "FieldGoName",
  3134                      "FieldTypeStr": "string",
  3135                      "FieldCategory": 23,
  3136                      "FieldPrimitive": 2,
  3137                      "FieldFullType": {
  3138                          "Kind": 2,
  3139                          "Str": "string"
  3140                      }
  3141                  },
  3142                  {
  3143                      "Zid": 2,
  3144                      "FieldGoName": "FieldTagName",
  3145                      "FieldTagName": "FieldTagName",
  3146                      "FieldTypeStr": "string",
  3147                      "FieldCategory": 23,
  3148                      "FieldPrimitive": 2,
  3149                      "FieldFullType": {
  3150                          "Kind": 2,
  3151                          "Str": "string"
  3152                      },
  3153                      "OmitEmpty": true
  3154                  },
  3155                  {
  3156                      "Zid": 3,
  3157                      "FieldGoName": "FieldTypeStr",
  3158                      "FieldTagName": "FieldTypeStr",
  3159                      "FieldTypeStr": "string",
  3160                      "FieldCategory": 23,
  3161                      "FieldPrimitive": 2,
  3162                      "FieldFullType": {
  3163                          "Kind": 2,
  3164                          "Str": "string"
  3165                      },
  3166                      "OmitEmpty": true
  3167                  },
  3168                  {
  3169                      "Zid": 4,
  3170                      "FieldGoName": "FieldCategory",
  3171                      "FieldTagName": "FieldCategory",
  3172                      "FieldTypeStr": "Zkind",
  3173                      "FieldCategory": 23,
  3174                      "FieldPrimitive": 11,
  3175                      "FieldFullType": {
  3176                          "Kind": 11,
  3177                          "Str": "uint64"
  3178                      },
  3179                      "OmitEmpty": true
  3180                  },
  3181                  {
  3182                      "Zid": 5,
  3183                      "FieldGoName": "FieldPrimitive",
  3184                      "FieldTagName": "FieldPrimitive",
  3185                      "FieldTypeStr": "Zkind",
  3186                      "FieldCategory": 23,
  3187                      "FieldPrimitive": 11,
  3188                      "FieldFullType": {
  3189                          "Kind": 11,
  3190                          "Str": "uint64"
  3191                      },
  3192                      "OmitEmpty": true
  3193                  },
  3194                  {
  3195                      "Zid": 6,
  3196                      "FieldGoName": "FieldFullType",
  3197                      "FieldTagName": "FieldFullType",
  3198                      "FieldTypeStr": "*Ztype",
  3199                      "FieldCategory": 28,
  3200                      "FieldFullType": {
  3201                          "Kind": 28,
  3202                          "Str": "Pointer",
  3203                          "Domain": {
  3204                              "Kind": 22,
  3205                              "Str": "Ztype"
  3206                          }
  3207                      },
  3208                      "OmitEmpty": true
  3209                  },
  3210                  {
  3211                      "Zid": 7,
  3212                      "FieldGoName": "OmitEmpty",
  3213                      "FieldTagName": "OmitEmpty",
  3214                      "FieldTypeStr": "bool",
  3215                      "FieldCategory": 23,
  3216                      "FieldPrimitive": 18,
  3217                      "FieldFullType": {
  3218                          "Kind": 18,
  3219                          "Str": "bool"
  3220                      },
  3221                      "OmitEmpty": true
  3222                  },
  3223                  {
  3224                      "Zid": 8,
  3225                      "FieldGoName": "Skip",
  3226                      "FieldTagName": "Skip",
  3227                      "FieldTypeStr": "bool",
  3228                      "FieldCategory": 23,
  3229                      "FieldPrimitive": 18,
  3230                      "FieldFullType": {
  3231                          "Kind": 18,
  3232                          "Str": "bool"
  3233                      },
  3234                      "OmitEmpty": true
  3235                  },
  3236                  {
  3237                      "Zid": 9,
  3238                      "FieldGoName": "Deprecated",
  3239                      "FieldTagName": "Deprecated",
  3240                      "FieldTypeStr": "bool",
  3241                      "FieldCategory": 23,
  3242                      "FieldPrimitive": 18,
  3243                      "FieldFullType": {
  3244                          "Kind": 18,
  3245                          "Str": "bool"
  3246                      },
  3247                      "OmitEmpty": true
  3248                  },
  3249                  {
  3250                      "Zid": 10,
  3251                      "FieldGoName": "ShowZero",
  3252                      "FieldTagName": "ShowZero",
  3253                      "FieldTypeStr": "bool",
  3254                      "FieldCategory": 23,
  3255                      "FieldPrimitive": 18,
  3256                      "FieldFullType": {
  3257                          "Kind": 18,
  3258                          "Str": "bool"
  3259                      },
  3260                      "OmitEmpty": true
  3261                  }
  3262              ]
  3263          }
  3264      }
  3265  }`)
  3266  }