@@ -2038,8 +2038,8 @@ func (x *ServiceClass) CodecEncodeSelf(e *codec1978.Encoder) {
2038
2038
yyq2 [0 ] = x .Kind != ""
2039
2039
yyq2 [1 ] = x .APIVersion != ""
2040
2040
yyq2 [2 ] = true
2041
- yyq2 [8 ] = len (x .AlphaTags ) != 0
2042
- yyq2 [9 ] = len (x .Requires ) != 0
2041
+ yyq2 [10 ] = len (x .AlphaTags ) != 0
2042
+ yyq2 [11 ] = len (x .AlphaRequires ) != 0
2043
2043
var yynn2 int
2044
2044
if yyr2 || yy2arr2 {
2045
2045
r .EncodeArrayStart (12 )
@@ -2237,12 +2237,64 @@ func (x *ServiceClass) CodecEncodeSelf(e *codec1978.Encoder) {
2237
2237
}
2238
2238
if yyr2 || yy2arr2 {
2239
2239
z .EncSendContainerState (codecSelfer_containerArrayElem1234 )
2240
- if yyq2 [8 ] {
2240
+ yym30 := z .EncBinary ()
2241
+ _ = yym30
2242
+ if false {
2243
+ } else {
2244
+ r .EncodeString (codecSelferC_UTF81234 , string (x .Description ))
2245
+ }
2246
+ } else {
2247
+ z .EncSendContainerState (codecSelfer_containerMapKey1234 )
2248
+ r .EncodeString (codecSelferC_UTF81234 , string ("description" ))
2249
+ z .EncSendContainerState (codecSelfer_containerMapValue1234 )
2250
+ yym31 := z .EncBinary ()
2251
+ _ = yym31
2252
+ if false {
2253
+ } else {
2254
+ r .EncodeString (codecSelferC_UTF81234 , string (x .Description ))
2255
+ }
2256
+ }
2257
+ if yyr2 || yy2arr2 {
2258
+ z .EncSendContainerState (codecSelfer_containerArrayElem1234 )
2259
+ if x .ExternalMetadata == nil {
2260
+ r .EncodeNil ()
2261
+ } else {
2262
+ yym33 := z .EncBinary ()
2263
+ _ = yym33
2264
+ if false {
2265
+ } else if z .HasExtensions () && z .EncExt (x .ExternalMetadata ) {
2266
+ } else if ! yym33 && z .IsJSONHandle () {
2267
+ z .EncJSONMarshal (x .ExternalMetadata )
2268
+ } else {
2269
+ z .EncFallback (x .ExternalMetadata )
2270
+ }
2271
+ }
2272
+ } else {
2273
+ z .EncSendContainerState (codecSelfer_containerMapKey1234 )
2274
+ r .EncodeString (codecSelferC_UTF81234 , string ("externalMetadata" ))
2275
+ z .EncSendContainerState (codecSelfer_containerMapValue1234 )
2276
+ if x .ExternalMetadata == nil {
2277
+ r .EncodeNil ()
2278
+ } else {
2279
+ yym34 := z .EncBinary ()
2280
+ _ = yym34
2281
+ if false {
2282
+ } else if z .HasExtensions () && z .EncExt (x .ExternalMetadata ) {
2283
+ } else if ! yym34 && z .IsJSONHandle () {
2284
+ z .EncJSONMarshal (x .ExternalMetadata )
2285
+ } else {
2286
+ z .EncFallback (x .ExternalMetadata )
2287
+ }
2288
+ }
2289
+ }
2290
+ if yyr2 || yy2arr2 {
2291
+ z .EncSendContainerState (codecSelfer_containerArrayElem1234 )
2292
+ if yyq2 [10 ] {
2241
2293
if x .AlphaTags == nil {
2242
2294
r .EncodeNil ()
2243
2295
} else {
2244
- yym30 := z .EncBinary ()
2245
- _ = yym30
2296
+ yym36 := z .EncBinary ()
2297
+ _ = yym36
2246
2298
if false {
2247
2299
} else {
2248
2300
z .F .EncSliceStringV (x .AlphaTags , false , e )
@@ -2252,15 +2304,15 @@ func (x *ServiceClass) CodecEncodeSelf(e *codec1978.Encoder) {
2252
2304
r .EncodeNil ()
2253
2305
}
2254
2306
} else {
2255
- if yyq2 [8 ] {
2307
+ if yyq2 [10 ] {
2256
2308
z .EncSendContainerState (codecSelfer_containerMapKey1234 )
2257
2309
r .EncodeString (codecSelferC_UTF81234 , string ("alphaTags" ))
2258
2310
z .EncSendContainerState (codecSelfer_containerMapValue1234 )
2259
2311
if x .AlphaTags == nil {
2260
2312
r .EncodeNil ()
2261
2313
} else {
2262
- yym31 := z .EncBinary ()
2263
- _ = yym31
2314
+ yym37 := z .EncBinary ()
2315
+ _ = yym37
2264
2316
if false {
2265
2317
} else {
2266
2318
z .F .EncSliceStringV (x .AlphaTags , false , e )
@@ -2270,89 +2322,37 @@ func (x *ServiceClass) CodecEncodeSelf(e *codec1978.Encoder) {
2270
2322
}
2271
2323
if yyr2 || yy2arr2 {
2272
2324
z .EncSendContainerState (codecSelfer_containerArrayElem1234 )
2273
- if yyq2 [9 ] {
2274
- if x .Requires == nil {
2325
+ if yyq2 [11 ] {
2326
+ if x .AlphaRequires == nil {
2275
2327
r .EncodeNil ()
2276
2328
} else {
2277
- yym33 := z .EncBinary ()
2278
- _ = yym33
2329
+ yym39 := z .EncBinary ()
2330
+ _ = yym39
2279
2331
if false {
2280
2332
} else {
2281
- z .F .EncSliceStringV (x .Requires , false , e )
2333
+ z .F .EncSliceStringV (x .AlphaRequires , false , e )
2282
2334
}
2283
2335
}
2284
2336
} else {
2285
2337
r .EncodeNil ()
2286
2338
}
2287
2339
} else {
2288
- if yyq2 [9 ] {
2340
+ if yyq2 [11 ] {
2289
2341
z .EncSendContainerState (codecSelfer_containerMapKey1234 )
2290
- r .EncodeString (codecSelferC_UTF81234 , string ("requires " ))
2342
+ r .EncodeString (codecSelferC_UTF81234 , string ("alphaRequires " ))
2291
2343
z .EncSendContainerState (codecSelfer_containerMapValue1234 )
2292
- if x .Requires == nil {
2344
+ if x .AlphaRequires == nil {
2293
2345
r .EncodeNil ()
2294
2346
} else {
2295
- yym34 := z .EncBinary ()
2296
- _ = yym34
2347
+ yym40 := z .EncBinary ()
2348
+ _ = yym40
2297
2349
if false {
2298
2350
} else {
2299
- z .F .EncSliceStringV (x .Requires , false , e )
2351
+ z .F .EncSliceStringV (x .AlphaRequires , false , e )
2300
2352
}
2301
2353
}
2302
2354
}
2303
2355
}
2304
- if yyr2 || yy2arr2 {
2305
- z .EncSendContainerState (codecSelfer_containerArrayElem1234 )
2306
- yym36 := z .EncBinary ()
2307
- _ = yym36
2308
- if false {
2309
- } else {
2310
- r .EncodeString (codecSelferC_UTF81234 , string (x .Description ))
2311
- }
2312
- } else {
2313
- z .EncSendContainerState (codecSelfer_containerMapKey1234 )
2314
- r .EncodeString (codecSelferC_UTF81234 , string ("description" ))
2315
- z .EncSendContainerState (codecSelfer_containerMapValue1234 )
2316
- yym37 := z .EncBinary ()
2317
- _ = yym37
2318
- if false {
2319
- } else {
2320
- r .EncodeString (codecSelferC_UTF81234 , string (x .Description ))
2321
- }
2322
- }
2323
- if yyr2 || yy2arr2 {
2324
- z .EncSendContainerState (codecSelfer_containerArrayElem1234 )
2325
- if x .ExternalMetadata == nil {
2326
- r .EncodeNil ()
2327
- } else {
2328
- yym39 := z .EncBinary ()
2329
- _ = yym39
2330
- if false {
2331
- } else if z .HasExtensions () && z .EncExt (x .ExternalMetadata ) {
2332
- } else if ! yym39 && z .IsJSONHandle () {
2333
- z .EncJSONMarshal (x .ExternalMetadata )
2334
- } else {
2335
- z .EncFallback (x .ExternalMetadata )
2336
- }
2337
- }
2338
- } else {
2339
- z .EncSendContainerState (codecSelfer_containerMapKey1234 )
2340
- r .EncodeString (codecSelferC_UTF81234 , string ("externalMetadata" ))
2341
- z .EncSendContainerState (codecSelfer_containerMapValue1234 )
2342
- if x .ExternalMetadata == nil {
2343
- r .EncodeNil ()
2344
- } else {
2345
- yym40 := z .EncBinary ()
2346
- _ = yym40
2347
- if false {
2348
- } else if z .HasExtensions () && z .EncExt (x .ExternalMetadata ) {
2349
- } else if ! yym40 && z .IsJSONHandle () {
2350
- z .EncJSONMarshal (x .ExternalMetadata )
2351
- } else {
2352
- z .EncFallback (x .ExternalMetadata )
2353
- }
2354
- }
2355
- }
2356
2356
if yyr2 || yy2arr2 {
2357
2357
z .EncSendContainerState (codecSelfer_containerArrayEnd1234 )
2358
2358
} else {
@@ -2511,59 +2511,59 @@ func (x *ServiceClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
2511
2511
* ((* string )(yyv18 )) = r .DecodeString ()
2512
2512
}
2513
2513
}
2514
- case "alphaTags " :
2514
+ case "description " :
2515
2515
if r .TryDecodeAsNil () {
2516
- x .AlphaTags = nil
2516
+ x .Description = ""
2517
2517
} else {
2518
- yyv20 := & x .AlphaTags
2518
+ yyv20 := & x .Description
2519
2519
yym21 := z .DecBinary ()
2520
2520
_ = yym21
2521
2521
if false {
2522
2522
} else {
2523
- z . F . DecSliceStringX ( yyv20 , false , d )
2523
+ * (( * string )( yyv20 )) = r . DecodeString ( )
2524
2524
}
2525
2525
}
2526
- case "requires " :
2526
+ case "externalMetadata " :
2527
2527
if r .TryDecodeAsNil () {
2528
- x .Requires = nil
2528
+ if x .ExternalMetadata != nil {
2529
+ x .ExternalMetadata = nil
2530
+ }
2529
2531
} else {
2530
- yyv22 := & x .Requires
2532
+ if x .ExternalMetadata == nil {
2533
+ x .ExternalMetadata = new (pkg4_runtime.RawExtension )
2534
+ }
2531
2535
yym23 := z .DecBinary ()
2532
2536
_ = yym23
2533
2537
if false {
2538
+ } else if z .HasExtensions () && z .DecExt (x .ExternalMetadata ) {
2539
+ } else if ! yym23 && z .IsJSONHandle () {
2540
+ z .DecJSONUnmarshal (x .ExternalMetadata )
2534
2541
} else {
2535
- z .F . DecSliceStringX ( yyv22 , false , d )
2542
+ z .DecFallback ( x . ExternalMetadata , false )
2536
2543
}
2537
2544
}
2538
- case "description " :
2545
+ case "alphaTags " :
2539
2546
if r .TryDecodeAsNil () {
2540
- x .Description = ""
2547
+ x .AlphaTags = nil
2541
2548
} else {
2542
- yyv24 := & x .Description
2549
+ yyv24 := & x .AlphaTags
2543
2550
yym25 := z .DecBinary ()
2544
2551
_ = yym25
2545
2552
if false {
2546
2553
} else {
2547
- * (( * string )( yyv24 )) = r . DecodeString ( )
2554
+ z . F . DecSliceStringX ( yyv24 , false , d )
2548
2555
}
2549
2556
}
2550
- case "externalMetadata " :
2557
+ case "alphaRequires " :
2551
2558
if r .TryDecodeAsNil () {
2552
- if x .ExternalMetadata != nil {
2553
- x .ExternalMetadata = nil
2554
- }
2559
+ x .AlphaRequires = nil
2555
2560
} else {
2556
- if x .ExternalMetadata == nil {
2557
- x .ExternalMetadata = new (pkg4_runtime.RawExtension )
2558
- }
2561
+ yyv26 := & x .AlphaRequires
2559
2562
yym27 := z .DecBinary ()
2560
2563
_ = yym27
2561
2564
if false {
2562
- } else if z .HasExtensions () && z .DecExt (x .ExternalMetadata ) {
2563
- } else if ! yym27 && z .IsJSONHandle () {
2564
- z .DecJSONUnmarshal (x .ExternalMetadata )
2565
2565
} else {
2566
- z .DecFallback ( x . ExternalMetadata , false )
2566
+ z .F . DecSliceStringX ( yyv26 , false , d )
2567
2567
}
2568
2568
}
2569
2569
default :
@@ -2769,14 +2769,14 @@ func (x *ServiceClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
2769
2769
}
2770
2770
z .DecSendContainerState (codecSelfer_containerArrayElem1234 )
2771
2771
if r .TryDecodeAsNil () {
2772
- x .AlphaTags = nil
2772
+ x .Description = ""
2773
2773
} else {
2774
- yyv45 := & x .AlphaTags
2774
+ yyv45 := & x .Description
2775
2775
yym46 := z .DecBinary ()
2776
2776
_ = yym46
2777
2777
if false {
2778
2778
} else {
2779
- z . F . DecSliceStringX ( yyv45 , false , d )
2779
+ * (( * string )( yyv45 )) = r . DecodeString ( )
2780
2780
}
2781
2781
}
2782
2782
yyj28 ++
@@ -2791,14 +2791,21 @@ func (x *ServiceClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
2791
2791
}
2792
2792
z .DecSendContainerState (codecSelfer_containerArrayElem1234 )
2793
2793
if r .TryDecodeAsNil () {
2794
- x .Requires = nil
2794
+ if x .ExternalMetadata != nil {
2795
+ x .ExternalMetadata = nil
2796
+ }
2795
2797
} else {
2796
- yyv47 := & x .Requires
2798
+ if x .ExternalMetadata == nil {
2799
+ x .ExternalMetadata = new (pkg4_runtime.RawExtension )
2800
+ }
2797
2801
yym48 := z .DecBinary ()
2798
2802
_ = yym48
2799
2803
if false {
2804
+ } else if z .HasExtensions () && z .DecExt (x .ExternalMetadata ) {
2805
+ } else if ! yym48 && z .IsJSONHandle () {
2806
+ z .DecJSONUnmarshal (x .ExternalMetadata )
2800
2807
} else {
2801
- z .F . DecSliceStringX ( yyv47 , false , d )
2808
+ z .DecFallback ( x . ExternalMetadata , false )
2802
2809
}
2803
2810
}
2804
2811
yyj28 ++
@@ -2813,14 +2820,14 @@ func (x *ServiceClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
2813
2820
}
2814
2821
z .DecSendContainerState (codecSelfer_containerArrayElem1234 )
2815
2822
if r .TryDecodeAsNil () {
2816
- x .Description = ""
2823
+ x .AlphaTags = nil
2817
2824
} else {
2818
- yyv49 := & x .Description
2825
+ yyv49 := & x .AlphaTags
2819
2826
yym50 := z .DecBinary ()
2820
2827
_ = yym50
2821
2828
if false {
2822
2829
} else {
2823
- * (( * string )( yyv49 )) = r . DecodeString ( )
2830
+ z . F . DecSliceStringX ( yyv49 , false , d )
2824
2831
}
2825
2832
}
2826
2833
yyj28 ++
@@ -2835,21 +2842,14 @@ func (x *ServiceClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
2835
2842
}
2836
2843
z .DecSendContainerState (codecSelfer_containerArrayElem1234 )
2837
2844
if r .TryDecodeAsNil () {
2838
- if x .ExternalMetadata != nil {
2839
- x .ExternalMetadata = nil
2840
- }
2845
+ x .AlphaRequires = nil
2841
2846
} else {
2842
- if x .ExternalMetadata == nil {
2843
- x .ExternalMetadata = new (pkg4_runtime.RawExtension )
2844
- }
2847
+ yyv51 := & x .AlphaRequires
2845
2848
yym52 := z .DecBinary ()
2846
2849
_ = yym52
2847
2850
if false {
2848
- } else if z .HasExtensions () && z .DecExt (x .ExternalMetadata ) {
2849
- } else if ! yym52 && z .IsJSONHandle () {
2850
- z .DecJSONUnmarshal (x .ExternalMetadata )
2851
2851
} else {
2852
- z .DecFallback ( x . ExternalMetadata , false )
2852
+ z .F . DecSliceStringX ( yyv51 , false , d )
2853
2853
}
2854
2854
}
2855
2855
for {
0 commit comments