@google-analytics/data 4.1.0 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2217,9 +2217,6 @@
2217
2217
  * @memberof google.protobuf
2218
2218
  * @interface IExtensionRangeOptions
2219
2219
  * @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] ExtensionRangeOptions uninterpretedOption
2220
- * @property {Array.<google.protobuf.ExtensionRangeOptions.IDeclaration>|null} [declaration] ExtensionRangeOptions declaration
2221
- * @property {google.protobuf.IFeatureSet|null} [features] ExtensionRangeOptions features
2222
- * @property {google.protobuf.ExtensionRangeOptions.VerificationState|null} [verification] ExtensionRangeOptions verification
2223
2220
  */
2224
2221
 
2225
2222
  /**
@@ -2232,7 +2229,6 @@
2232
2229
  */
2233
2230
  function ExtensionRangeOptions(properties) {
2234
2231
  this.uninterpretedOption = [];
2235
- this.declaration = [];
2236
2232
  if (properties)
2237
2233
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
2238
2234
  if (properties[keys[i]] != null)
@@ -2247,30 +2243,6 @@
2247
2243
  */
2248
2244
  ExtensionRangeOptions.prototype.uninterpretedOption = $util.emptyArray;
2249
2245
 
2250
- /**
2251
- * ExtensionRangeOptions declaration.
2252
- * @member {Array.<google.protobuf.ExtensionRangeOptions.IDeclaration>} declaration
2253
- * @memberof google.protobuf.ExtensionRangeOptions
2254
- * @instance
2255
- */
2256
- ExtensionRangeOptions.prototype.declaration = $util.emptyArray;
2257
-
2258
- /**
2259
- * ExtensionRangeOptions features.
2260
- * @member {google.protobuf.IFeatureSet|null|undefined} features
2261
- * @memberof google.protobuf.ExtensionRangeOptions
2262
- * @instance
2263
- */
2264
- ExtensionRangeOptions.prototype.features = null;
2265
-
2266
- /**
2267
- * ExtensionRangeOptions verification.
2268
- * @member {google.protobuf.ExtensionRangeOptions.VerificationState} verification
2269
- * @memberof google.protobuf.ExtensionRangeOptions
2270
- * @instance
2271
- */
2272
- ExtensionRangeOptions.prototype.verification = 1;
2273
-
2274
2246
  /**
2275
2247
  * Creates a new ExtensionRangeOptions instance using the specified properties.
2276
2248
  * @function create
@@ -2295,13 +2267,6 @@
2295
2267
  ExtensionRangeOptions.encode = function encode(message, writer) {
2296
2268
  if (!writer)
2297
2269
  writer = $Writer.create();
2298
- if (message.declaration != null && message.declaration.length)
2299
- for (var i = 0; i < message.declaration.length; ++i)
2300
- $root.google.protobuf.ExtensionRangeOptions.Declaration.encode(message.declaration[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
2301
- if (message.verification != null && Object.hasOwnProperty.call(message, "verification"))
2302
- writer.uint32(/* id 3, wireType 0 =*/24).int32(message.verification);
2303
- if (message.features != null && Object.hasOwnProperty.call(message, "features"))
2304
- $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim();
2305
2270
  if (message.uninterpretedOption != null && message.uninterpretedOption.length)
2306
2271
  for (var i = 0; i < message.uninterpretedOption.length; ++i)
2307
2272
  $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
@@ -2345,20 +2310,6 @@
2345
2310
  message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32()));
2346
2311
  break;
2347
2312
  }
2348
- case 2: {
2349
- if (!(message.declaration && message.declaration.length))
2350
- message.declaration = [];
2351
- message.declaration.push($root.google.protobuf.ExtensionRangeOptions.Declaration.decode(reader, reader.uint32()));
2352
- break;
2353
- }
2354
- case 50: {
2355
- message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
2356
- break;
2357
- }
2358
- case 3: {
2359
- message.verification = reader.int32();
2360
- break;
2361
- }
2362
2313
  default:
2363
2314
  reader.skipType(tag & 7);
2364
2315
  break;
@@ -2403,28 +2354,6 @@
2403
2354
  return "uninterpretedOption." + error;
2404
2355
  }
2405
2356
  }
2406
- if (message.declaration != null && message.hasOwnProperty("declaration")) {
2407
- if (!Array.isArray(message.declaration))
2408
- return "declaration: array expected";
2409
- for (var i = 0; i < message.declaration.length; ++i) {
2410
- var error = $root.google.protobuf.ExtensionRangeOptions.Declaration.verify(message.declaration[i]);
2411
- if (error)
2412
- return "declaration." + error;
2413
- }
2414
- }
2415
- if (message.features != null && message.hasOwnProperty("features")) {
2416
- var error = $root.google.protobuf.FeatureSet.verify(message.features);
2417
- if (error)
2418
- return "features." + error;
2419
- }
2420
- if (message.verification != null && message.hasOwnProperty("verification"))
2421
- switch (message.verification) {
2422
- default:
2423
- return "verification: enum value expected";
2424
- case 0:
2425
- case 1:
2426
- break;
2427
- }
2428
2357
  return null;
2429
2358
  };
2430
2359
 
@@ -2450,37 +2379,6 @@
2450
2379
  message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]);
2451
2380
  }
2452
2381
  }
2453
- if (object.declaration) {
2454
- if (!Array.isArray(object.declaration))
2455
- throw TypeError(".google.protobuf.ExtensionRangeOptions.declaration: array expected");
2456
- message.declaration = [];
2457
- for (var i = 0; i < object.declaration.length; ++i) {
2458
- if (typeof object.declaration[i] !== "object")
2459
- throw TypeError(".google.protobuf.ExtensionRangeOptions.declaration: object expected");
2460
- message.declaration[i] = $root.google.protobuf.ExtensionRangeOptions.Declaration.fromObject(object.declaration[i]);
2461
- }
2462
- }
2463
- if (object.features != null) {
2464
- if (typeof object.features !== "object")
2465
- throw TypeError(".google.protobuf.ExtensionRangeOptions.features: object expected");
2466
- message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
2467
- }
2468
- switch (object.verification) {
2469
- case "DECLARATION":
2470
- case 0:
2471
- message.verification = 0;
2472
- break;
2473
- default:
2474
- if (typeof object.verification === "number") {
2475
- message.verification = object.verification;
2476
- break;
2477
- }
2478
- break;
2479
- case "UNVERIFIED":
2480
- case 1:
2481
- message.verification = 1;
2482
- break;
2483
- }
2484
2382
  return message;
2485
2383
  };
2486
2384
 
@@ -2497,23 +2395,8 @@
2497
2395
  if (!options)
2498
2396
  options = {};
2499
2397
  var object = {};
2500
- if (options.arrays || options.defaults) {
2501
- object.declaration = [];
2398
+ if (options.arrays || options.defaults)
2502
2399
  object.uninterpretedOption = [];
2503
- }
2504
- if (options.defaults) {
2505
- object.verification = options.enums === String ? "UNVERIFIED" : 1;
2506
- object.features = null;
2507
- }
2508
- if (message.declaration && message.declaration.length) {
2509
- object.declaration = [];
2510
- for (var j = 0; j < message.declaration.length; ++j)
2511
- object.declaration[j] = $root.google.protobuf.ExtensionRangeOptions.Declaration.toObject(message.declaration[j], options);
2512
- }
2513
- if (message.verification != null && message.hasOwnProperty("verification"))
2514
- object.verification = options.enums === String ? $root.google.protobuf.ExtensionRangeOptions.VerificationState[message.verification] === undefined ? message.verification : $root.google.protobuf.ExtensionRangeOptions.VerificationState[message.verification] : message.verification;
2515
- if (message.features != null && message.hasOwnProperty("features"))
2516
- object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
2517
2400
  if (message.uninterpretedOption && message.uninterpretedOption.length) {
2518
2401
  object.uninterpretedOption = [];
2519
2402
  for (var j = 0; j < message.uninterpretedOption.length; ++j)
@@ -2548,316 +2431,6 @@
2548
2431
  return typeUrlPrefix + "/google.protobuf.ExtensionRangeOptions";
2549
2432
  };
2550
2433
 
2551
- ExtensionRangeOptions.Declaration = (function() {
2552
-
2553
- /**
2554
- * Properties of a Declaration.
2555
- * @memberof google.protobuf.ExtensionRangeOptions
2556
- * @interface IDeclaration
2557
- * @property {number|null} [number] Declaration number
2558
- * @property {string|null} [fullName] Declaration fullName
2559
- * @property {string|null} [type] Declaration type
2560
- * @property {boolean|null} [reserved] Declaration reserved
2561
- * @property {boolean|null} [repeated] Declaration repeated
2562
- */
2563
-
2564
- /**
2565
- * Constructs a new Declaration.
2566
- * @memberof google.protobuf.ExtensionRangeOptions
2567
- * @classdesc Represents a Declaration.
2568
- * @implements IDeclaration
2569
- * @constructor
2570
- * @param {google.protobuf.ExtensionRangeOptions.IDeclaration=} [properties] Properties to set
2571
- */
2572
- function Declaration(properties) {
2573
- if (properties)
2574
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
2575
- if (properties[keys[i]] != null)
2576
- this[keys[i]] = properties[keys[i]];
2577
- }
2578
-
2579
- /**
2580
- * Declaration number.
2581
- * @member {number} number
2582
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2583
- * @instance
2584
- */
2585
- Declaration.prototype.number = 0;
2586
-
2587
- /**
2588
- * Declaration fullName.
2589
- * @member {string} fullName
2590
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2591
- * @instance
2592
- */
2593
- Declaration.prototype.fullName = "";
2594
-
2595
- /**
2596
- * Declaration type.
2597
- * @member {string} type
2598
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2599
- * @instance
2600
- */
2601
- Declaration.prototype.type = "";
2602
-
2603
- /**
2604
- * Declaration reserved.
2605
- * @member {boolean} reserved
2606
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2607
- * @instance
2608
- */
2609
- Declaration.prototype.reserved = false;
2610
-
2611
- /**
2612
- * Declaration repeated.
2613
- * @member {boolean} repeated
2614
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2615
- * @instance
2616
- */
2617
- Declaration.prototype.repeated = false;
2618
-
2619
- /**
2620
- * Creates a new Declaration instance using the specified properties.
2621
- * @function create
2622
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2623
- * @static
2624
- * @param {google.protobuf.ExtensionRangeOptions.IDeclaration=} [properties] Properties to set
2625
- * @returns {google.protobuf.ExtensionRangeOptions.Declaration} Declaration instance
2626
- */
2627
- Declaration.create = function create(properties) {
2628
- return new Declaration(properties);
2629
- };
2630
-
2631
- /**
2632
- * Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
2633
- * @function encode
2634
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2635
- * @static
2636
- * @param {google.protobuf.ExtensionRangeOptions.IDeclaration} message Declaration message or plain object to encode
2637
- * @param {$protobuf.Writer} [writer] Writer to encode to
2638
- * @returns {$protobuf.Writer} Writer
2639
- */
2640
- Declaration.encode = function encode(message, writer) {
2641
- if (!writer)
2642
- writer = $Writer.create();
2643
- if (message.number != null && Object.hasOwnProperty.call(message, "number"))
2644
- writer.uint32(/* id 1, wireType 0 =*/8).int32(message.number);
2645
- if (message.fullName != null && Object.hasOwnProperty.call(message, "fullName"))
2646
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.fullName);
2647
- if (message.type != null && Object.hasOwnProperty.call(message, "type"))
2648
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.type);
2649
- if (message.reserved != null && Object.hasOwnProperty.call(message, "reserved"))
2650
- writer.uint32(/* id 5, wireType 0 =*/40).bool(message.reserved);
2651
- if (message.repeated != null && Object.hasOwnProperty.call(message, "repeated"))
2652
- writer.uint32(/* id 6, wireType 0 =*/48).bool(message.repeated);
2653
- return writer;
2654
- };
2655
-
2656
- /**
2657
- * Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
2658
- * @function encodeDelimited
2659
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2660
- * @static
2661
- * @param {google.protobuf.ExtensionRangeOptions.IDeclaration} message Declaration message or plain object to encode
2662
- * @param {$protobuf.Writer} [writer] Writer to encode to
2663
- * @returns {$protobuf.Writer} Writer
2664
- */
2665
- Declaration.encodeDelimited = function encodeDelimited(message, writer) {
2666
- return this.encode(message, writer).ldelim();
2667
- };
2668
-
2669
- /**
2670
- * Decodes a Declaration message from the specified reader or buffer.
2671
- * @function decode
2672
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2673
- * @static
2674
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
2675
- * @param {number} [length] Message length if known beforehand
2676
- * @returns {google.protobuf.ExtensionRangeOptions.Declaration} Declaration
2677
- * @throws {Error} If the payload is not a reader or valid buffer
2678
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2679
- */
2680
- Declaration.decode = function decode(reader, length) {
2681
- if (!(reader instanceof $Reader))
2682
- reader = $Reader.create(reader);
2683
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.ExtensionRangeOptions.Declaration();
2684
- while (reader.pos < end) {
2685
- var tag = reader.uint32();
2686
- switch (tag >>> 3) {
2687
- case 1: {
2688
- message.number = reader.int32();
2689
- break;
2690
- }
2691
- case 2: {
2692
- message.fullName = reader.string();
2693
- break;
2694
- }
2695
- case 3: {
2696
- message.type = reader.string();
2697
- break;
2698
- }
2699
- case 5: {
2700
- message.reserved = reader.bool();
2701
- break;
2702
- }
2703
- case 6: {
2704
- message.repeated = reader.bool();
2705
- break;
2706
- }
2707
- default:
2708
- reader.skipType(tag & 7);
2709
- break;
2710
- }
2711
- }
2712
- return message;
2713
- };
2714
-
2715
- /**
2716
- * Decodes a Declaration message from the specified reader or buffer, length delimited.
2717
- * @function decodeDelimited
2718
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2719
- * @static
2720
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
2721
- * @returns {google.protobuf.ExtensionRangeOptions.Declaration} Declaration
2722
- * @throws {Error} If the payload is not a reader or valid buffer
2723
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2724
- */
2725
- Declaration.decodeDelimited = function decodeDelimited(reader) {
2726
- if (!(reader instanceof $Reader))
2727
- reader = new $Reader(reader);
2728
- return this.decode(reader, reader.uint32());
2729
- };
2730
-
2731
- /**
2732
- * Verifies a Declaration message.
2733
- * @function verify
2734
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2735
- * @static
2736
- * @param {Object.<string,*>} message Plain object to verify
2737
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
2738
- */
2739
- Declaration.verify = function verify(message) {
2740
- if (typeof message !== "object" || message === null)
2741
- return "object expected";
2742
- if (message.number != null && message.hasOwnProperty("number"))
2743
- if (!$util.isInteger(message.number))
2744
- return "number: integer expected";
2745
- if (message.fullName != null && message.hasOwnProperty("fullName"))
2746
- if (!$util.isString(message.fullName))
2747
- return "fullName: string expected";
2748
- if (message.type != null && message.hasOwnProperty("type"))
2749
- if (!$util.isString(message.type))
2750
- return "type: string expected";
2751
- if (message.reserved != null && message.hasOwnProperty("reserved"))
2752
- if (typeof message.reserved !== "boolean")
2753
- return "reserved: boolean expected";
2754
- if (message.repeated != null && message.hasOwnProperty("repeated"))
2755
- if (typeof message.repeated !== "boolean")
2756
- return "repeated: boolean expected";
2757
- return null;
2758
- };
2759
-
2760
- /**
2761
- * Creates a Declaration message from a plain object. Also converts values to their respective internal types.
2762
- * @function fromObject
2763
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2764
- * @static
2765
- * @param {Object.<string,*>} object Plain object
2766
- * @returns {google.protobuf.ExtensionRangeOptions.Declaration} Declaration
2767
- */
2768
- Declaration.fromObject = function fromObject(object) {
2769
- if (object instanceof $root.google.protobuf.ExtensionRangeOptions.Declaration)
2770
- return object;
2771
- var message = new $root.google.protobuf.ExtensionRangeOptions.Declaration();
2772
- if (object.number != null)
2773
- message.number = object.number | 0;
2774
- if (object.fullName != null)
2775
- message.fullName = String(object.fullName);
2776
- if (object.type != null)
2777
- message.type = String(object.type);
2778
- if (object.reserved != null)
2779
- message.reserved = Boolean(object.reserved);
2780
- if (object.repeated != null)
2781
- message.repeated = Boolean(object.repeated);
2782
- return message;
2783
- };
2784
-
2785
- /**
2786
- * Creates a plain object from a Declaration message. Also converts values to other types if specified.
2787
- * @function toObject
2788
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2789
- * @static
2790
- * @param {google.protobuf.ExtensionRangeOptions.Declaration} message Declaration
2791
- * @param {$protobuf.IConversionOptions} [options] Conversion options
2792
- * @returns {Object.<string,*>} Plain object
2793
- */
2794
- Declaration.toObject = function toObject(message, options) {
2795
- if (!options)
2796
- options = {};
2797
- var object = {};
2798
- if (options.defaults) {
2799
- object.number = 0;
2800
- object.fullName = "";
2801
- object.type = "";
2802
- object.reserved = false;
2803
- object.repeated = false;
2804
- }
2805
- if (message.number != null && message.hasOwnProperty("number"))
2806
- object.number = message.number;
2807
- if (message.fullName != null && message.hasOwnProperty("fullName"))
2808
- object.fullName = message.fullName;
2809
- if (message.type != null && message.hasOwnProperty("type"))
2810
- object.type = message.type;
2811
- if (message.reserved != null && message.hasOwnProperty("reserved"))
2812
- object.reserved = message.reserved;
2813
- if (message.repeated != null && message.hasOwnProperty("repeated"))
2814
- object.repeated = message.repeated;
2815
- return object;
2816
- };
2817
-
2818
- /**
2819
- * Converts this Declaration to JSON.
2820
- * @function toJSON
2821
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2822
- * @instance
2823
- * @returns {Object.<string,*>} JSON object
2824
- */
2825
- Declaration.prototype.toJSON = function toJSON() {
2826
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
2827
- };
2828
-
2829
- /**
2830
- * Gets the default type url for Declaration
2831
- * @function getTypeUrl
2832
- * @memberof google.protobuf.ExtensionRangeOptions.Declaration
2833
- * @static
2834
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2835
- * @returns {string} The default type url
2836
- */
2837
- Declaration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
2838
- if (typeUrlPrefix === undefined) {
2839
- typeUrlPrefix = "type.googleapis.com";
2840
- }
2841
- return typeUrlPrefix + "/google.protobuf.ExtensionRangeOptions.Declaration";
2842
- };
2843
-
2844
- return Declaration;
2845
- })();
2846
-
2847
- /**
2848
- * VerificationState enum.
2849
- * @name google.protobuf.ExtensionRangeOptions.VerificationState
2850
- * @enum {number}
2851
- * @property {number} DECLARATION=0 DECLARATION value
2852
- * @property {number} UNVERIFIED=1 UNVERIFIED value
2853
- */
2854
- ExtensionRangeOptions.VerificationState = (function() {
2855
- var valuesById = {}, values = Object.create(valuesById);
2856
- values[valuesById[0] = "DECLARATION"] = 0;
2857
- values[valuesById[1] = "UNVERIFIED"] = 1;
2858
- return values;
2859
- })();
2860
-
2861
2434
  return ExtensionRangeOptions;
2862
2435
  })();
2863
2436
 
@@ -5187,7 +4760,6 @@
5187
4760
  * @property {string|null} [phpNamespace] FileOptions phpNamespace
5188
4761
  * @property {string|null} [phpMetadataNamespace] FileOptions phpMetadataNamespace
5189
4762
  * @property {string|null} [rubyPackage] FileOptions rubyPackage
5190
- * @property {google.protobuf.IFeatureSet|null} [features] FileOptions features
5191
4763
  * @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] FileOptions uninterpretedOption
5192
4764
  * @property {Array.<google.api.IResourceDescriptor>|null} [".google.api.resourceDefinition"] FileOptions .google.api.resourceDefinition
5193
4765
  */
@@ -5369,14 +4941,6 @@
5369
4941
  */
5370
4942
  FileOptions.prototype.rubyPackage = "";
5371
4943
 
5372
- /**
5373
- * FileOptions features.
5374
- * @member {google.protobuf.IFeatureSet|null|undefined} features
5375
- * @memberof google.protobuf.FileOptions
5376
- * @instance
5377
- */
5378
- FileOptions.prototype.features = null;
5379
-
5380
4944
  /**
5381
4945
  * FileOptions uninterpretedOption.
5382
4946
  * @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
@@ -5457,8 +5021,6 @@
5457
5021
  writer.uint32(/* id 44, wireType 2 =*/354).string(message.phpMetadataNamespace);
5458
5022
  if (message.rubyPackage != null && Object.hasOwnProperty.call(message, "rubyPackage"))
5459
5023
  writer.uint32(/* id 45, wireType 2 =*/362).string(message.rubyPackage);
5460
- if (message.features != null && Object.hasOwnProperty.call(message, "features"))
5461
- $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim();
5462
5024
  if (message.uninterpretedOption != null && message.uninterpretedOption.length)
5463
5025
  for (var i = 0; i < message.uninterpretedOption.length; ++i)
5464
5026
  $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
@@ -5579,10 +5141,6 @@
5579
5141
  message.rubyPackage = reader.string();
5580
5142
  break;
5581
5143
  }
5582
- case 50: {
5583
- message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
5584
- break;
5585
- }
5586
5144
  case 999: {
5587
5145
  if (!(message.uninterpretedOption && message.uninterpretedOption.length))
5588
5146
  message.uninterpretedOption = [];
@@ -5696,11 +5254,6 @@
5696
5254
  if (message.rubyPackage != null && message.hasOwnProperty("rubyPackage"))
5697
5255
  if (!$util.isString(message.rubyPackage))
5698
5256
  return "rubyPackage: string expected";
5699
- if (message.features != null && message.hasOwnProperty("features")) {
5700
- var error = $root.google.protobuf.FeatureSet.verify(message.features);
5701
- if (error)
5702
- return "features." + error;
5703
- }
5704
5257
  if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
5705
5258
  if (!Array.isArray(message.uninterpretedOption))
5706
5259
  return "uninterpretedOption: array expected";
@@ -5792,11 +5345,6 @@
5792
5345
  message.phpMetadataNamespace = String(object.phpMetadataNamespace);
5793
5346
  if (object.rubyPackage != null)
5794
5347
  message.rubyPackage = String(object.rubyPackage);
5795
- if (object.features != null) {
5796
- if (typeof object.features !== "object")
5797
- throw TypeError(".google.protobuf.FileOptions.features: object expected");
5798
- message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
5799
- }
5800
5348
  if (object.uninterpretedOption) {
5801
5349
  if (!Array.isArray(object.uninterpretedOption))
5802
5350
  throw TypeError(".google.protobuf.FileOptions.uninterpretedOption: array expected");
@@ -5858,7 +5406,6 @@
5858
5406
  object.phpGenericServices = false;
5859
5407
  object.phpMetadataNamespace = "";
5860
5408
  object.rubyPackage = "";
5861
- object.features = null;
5862
5409
  }
5863
5410
  if (message.javaPackage != null && message.hasOwnProperty("javaPackage"))
5864
5411
  object.javaPackage = message.javaPackage;
@@ -5900,8 +5447,6 @@
5900
5447
  object.phpMetadataNamespace = message.phpMetadataNamespace;
5901
5448
  if (message.rubyPackage != null && message.hasOwnProperty("rubyPackage"))
5902
5449
  object.rubyPackage = message.rubyPackage;
5903
- if (message.features != null && message.hasOwnProperty("features"))
5904
- object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
5905
5450
  if (message.uninterpretedOption && message.uninterpretedOption.length) {
5906
5451
  object.uninterpretedOption = [];
5907
5452
  for (var j = 0; j < message.uninterpretedOption.length; ++j)
@@ -5971,7 +5516,6 @@
5971
5516
  * @property {boolean|null} [deprecated] MessageOptions deprecated
5972
5517
  * @property {boolean|null} [mapEntry] MessageOptions mapEntry
5973
5518
  * @property {boolean|null} [deprecatedLegacyJsonFieldConflicts] MessageOptions deprecatedLegacyJsonFieldConflicts
5974
- * @property {google.protobuf.IFeatureSet|null} [features] MessageOptions features
5975
5519
  * @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] MessageOptions uninterpretedOption
5976
5520
  * @property {google.api.IResourceDescriptor|null} [".google.api.resource"] MessageOptions .google.api.resource
5977
5521
  */
@@ -6032,14 +5576,6 @@
6032
5576
  */
6033
5577
  MessageOptions.prototype.deprecatedLegacyJsonFieldConflicts = false;
6034
5578
 
6035
- /**
6036
- * MessageOptions features.
6037
- * @member {google.protobuf.IFeatureSet|null|undefined} features
6038
- * @memberof google.protobuf.MessageOptions
6039
- * @instance
6040
- */
6041
- MessageOptions.prototype.features = null;
6042
-
6043
5579
  /**
6044
5580
  * MessageOptions uninterpretedOption.
6045
5581
  * @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
@@ -6090,8 +5626,6 @@
6090
5626
  writer.uint32(/* id 7, wireType 0 =*/56).bool(message.mapEntry);
6091
5627
  if (message.deprecatedLegacyJsonFieldConflicts != null && Object.hasOwnProperty.call(message, "deprecatedLegacyJsonFieldConflicts"))
6092
5628
  writer.uint32(/* id 11, wireType 0 =*/88).bool(message.deprecatedLegacyJsonFieldConflicts);
6093
- if (message.features != null && Object.hasOwnProperty.call(message, "features"))
6094
- $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
6095
5629
  if (message.uninterpretedOption != null && message.uninterpretedOption.length)
6096
5630
  for (var i = 0; i < message.uninterpretedOption.length; ++i)
6097
5631
  $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
@@ -6151,10 +5685,6 @@
6151
5685
  message.deprecatedLegacyJsonFieldConflicts = reader.bool();
6152
5686
  break;
6153
5687
  }
6154
- case 12: {
6155
- message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
6156
- break;
6157
- }
6158
5688
  case 999: {
6159
5689
  if (!(message.uninterpretedOption && message.uninterpretedOption.length))
6160
5690
  message.uninterpretedOption = [];
@@ -6215,11 +5745,6 @@
6215
5745
  if (message.deprecatedLegacyJsonFieldConflicts != null && message.hasOwnProperty("deprecatedLegacyJsonFieldConflicts"))
6216
5746
  if (typeof message.deprecatedLegacyJsonFieldConflicts !== "boolean")
6217
5747
  return "deprecatedLegacyJsonFieldConflicts: boolean expected";
6218
- if (message.features != null && message.hasOwnProperty("features")) {
6219
- var error = $root.google.protobuf.FeatureSet.verify(message.features);
6220
- if (error)
6221
- return "features." + error;
6222
- }
6223
5748
  if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
6224
5749
  if (!Array.isArray(message.uninterpretedOption))
6225
5750
  return "uninterpretedOption: array expected";
@@ -6259,11 +5784,6 @@
6259
5784
  message.mapEntry = Boolean(object.mapEntry);
6260
5785
  if (object.deprecatedLegacyJsonFieldConflicts != null)
6261
5786
  message.deprecatedLegacyJsonFieldConflicts = Boolean(object.deprecatedLegacyJsonFieldConflicts);
6262
- if (object.features != null) {
6263
- if (typeof object.features !== "object")
6264
- throw TypeError(".google.protobuf.MessageOptions.features: object expected");
6265
- message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
6266
- }
6267
5787
  if (object.uninterpretedOption) {
6268
5788
  if (!Array.isArray(object.uninterpretedOption))
6269
5789
  throw TypeError(".google.protobuf.MessageOptions.uninterpretedOption: array expected");
@@ -6303,7 +5823,6 @@
6303
5823
  object.deprecated = false;
6304
5824
  object.mapEntry = false;
6305
5825
  object.deprecatedLegacyJsonFieldConflicts = false;
6306
- object.features = null;
6307
5826
  object[".google.api.resource"] = null;
6308
5827
  }
6309
5828
  if (message.messageSetWireFormat != null && message.hasOwnProperty("messageSetWireFormat"))
@@ -6316,8 +5835,6 @@
6316
5835
  object.mapEntry = message.mapEntry;
6317
5836
  if (message.deprecatedLegacyJsonFieldConflicts != null && message.hasOwnProperty("deprecatedLegacyJsonFieldConflicts"))
6318
5837
  object.deprecatedLegacyJsonFieldConflicts = message.deprecatedLegacyJsonFieldConflicts;
6319
- if (message.features != null && message.hasOwnProperty("features"))
6320
- object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
6321
5838
  if (message.uninterpretedOption && message.uninterpretedOption.length) {
6322
5839
  object.uninterpretedOption = [];
6323
5840
  for (var j = 0; j < message.uninterpretedOption.length; ++j)
@@ -6372,9 +5889,7 @@
6372
5889
  * @property {boolean|null} [weak] FieldOptions weak
6373
5890
  * @property {boolean|null} [debugRedact] FieldOptions debugRedact
6374
5891
  * @property {google.protobuf.FieldOptions.OptionRetention|null} [retention] FieldOptions retention
6375
- * @property {Array.<google.protobuf.FieldOptions.OptionTargetType>|null} [targets] FieldOptions targets
6376
- * @property {Array.<google.protobuf.FieldOptions.IEditionDefault>|null} [editionDefaults] FieldOptions editionDefaults
6377
- * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features
5892
+ * @property {google.protobuf.FieldOptions.OptionTargetType|null} [target] FieldOptions target
6378
5893
  * @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] FieldOptions uninterpretedOption
6379
5894
  * @property {Array.<google.api.FieldBehavior>|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior
6380
5895
  * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference
@@ -6389,8 +5904,6 @@
6389
5904
  * @param {google.protobuf.IFieldOptions=} [properties] Properties to set
6390
5905
  */
6391
5906
  function FieldOptions(properties) {
6392
- this.targets = [];
6393
- this.editionDefaults = [];
6394
5907
  this.uninterpretedOption = [];
6395
5908
  this[".google.api.fieldBehavior"] = [];
6396
5909
  if (properties)
@@ -6472,28 +5985,12 @@
6472
5985
  FieldOptions.prototype.retention = 0;
6473
5986
 
6474
5987
  /**
6475
- * FieldOptions targets.
6476
- * @member {Array.<google.protobuf.FieldOptions.OptionTargetType>} targets
6477
- * @memberof google.protobuf.FieldOptions
6478
- * @instance
6479
- */
6480
- FieldOptions.prototype.targets = $util.emptyArray;
6481
-
6482
- /**
6483
- * FieldOptions editionDefaults.
6484
- * @member {Array.<google.protobuf.FieldOptions.IEditionDefault>} editionDefaults
5988
+ * FieldOptions target.
5989
+ * @member {google.protobuf.FieldOptions.OptionTargetType} target
6485
5990
  * @memberof google.protobuf.FieldOptions
6486
5991
  * @instance
6487
5992
  */
6488
- FieldOptions.prototype.editionDefaults = $util.emptyArray;
6489
-
6490
- /**
6491
- * FieldOptions features.
6492
- * @member {google.protobuf.IFeatureSet|null|undefined} features
6493
- * @memberof google.protobuf.FieldOptions
6494
- * @instance
6495
- */
6496
- FieldOptions.prototype.features = null;
5993
+ FieldOptions.prototype.target = 0;
6497
5994
 
6498
5995
  /**
6499
5996
  * FieldOptions uninterpretedOption.
@@ -6561,14 +6058,8 @@
6561
6058
  writer.uint32(/* id 16, wireType 0 =*/128).bool(message.debugRedact);
6562
6059
  if (message.retention != null && Object.hasOwnProperty.call(message, "retention"))
6563
6060
  writer.uint32(/* id 17, wireType 0 =*/136).int32(message.retention);
6564
- if (message.targets != null && message.targets.length)
6565
- for (var i = 0; i < message.targets.length; ++i)
6566
- writer.uint32(/* id 19, wireType 0 =*/152).int32(message.targets[i]);
6567
- if (message.editionDefaults != null && message.editionDefaults.length)
6568
- for (var i = 0; i < message.editionDefaults.length; ++i)
6569
- $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
6570
- if (message.features != null && Object.hasOwnProperty.call(message, "features"))
6571
- $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
6061
+ if (message.target != null && Object.hasOwnProperty.call(message, "target"))
6062
+ writer.uint32(/* id 18, wireType 0 =*/144).int32(message.target);
6572
6063
  if (message.uninterpretedOption != null && message.uninterpretedOption.length)
6573
6064
  for (var i = 0; i < message.uninterpretedOption.length; ++i)
6574
6065
  $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
@@ -6650,25 +6141,8 @@
6650
6141
  message.retention = reader.int32();
6651
6142
  break;
6652
6143
  }
6653
- case 19: {
6654
- if (!(message.targets && message.targets.length))
6655
- message.targets = [];
6656
- if ((tag & 7) === 2) {
6657
- var end2 = reader.uint32() + reader.pos;
6658
- while (reader.pos < end2)
6659
- message.targets.push(reader.int32());
6660
- } else
6661
- message.targets.push(reader.int32());
6662
- break;
6663
- }
6664
- case 20: {
6665
- if (!(message.editionDefaults && message.editionDefaults.length))
6666
- message.editionDefaults = [];
6667
- message.editionDefaults.push($root.google.protobuf.FieldOptions.EditionDefault.decode(reader, reader.uint32()));
6668
- break;
6669
- }
6670
- case 21: {
6671
- message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
6144
+ case 18: {
6145
+ message.target = reader.int32();
6672
6146
  break;
6673
6147
  }
6674
6148
  case 999: {
@@ -6772,40 +6246,22 @@
6772
6246
  case 2:
6773
6247
  break;
6774
6248
  }
6775
- if (message.targets != null && message.hasOwnProperty("targets")) {
6776
- if (!Array.isArray(message.targets))
6777
- return "targets: array expected";
6778
- for (var i = 0; i < message.targets.length; ++i)
6779
- switch (message.targets[i]) {
6780
- default:
6781
- return "targets: enum value[] expected";
6782
- case 0:
6783
- case 1:
6784
- case 2:
6785
- case 3:
6786
- case 4:
6787
- case 5:
6788
- case 6:
6789
- case 7:
6790
- case 8:
6791
- case 9:
6792
- break;
6793
- }
6794
- }
6795
- if (message.editionDefaults != null && message.hasOwnProperty("editionDefaults")) {
6796
- if (!Array.isArray(message.editionDefaults))
6797
- return "editionDefaults: array expected";
6798
- for (var i = 0; i < message.editionDefaults.length; ++i) {
6799
- var error = $root.google.protobuf.FieldOptions.EditionDefault.verify(message.editionDefaults[i]);
6800
- if (error)
6801
- return "editionDefaults." + error;
6249
+ if (message.target != null && message.hasOwnProperty("target"))
6250
+ switch (message.target) {
6251
+ default:
6252
+ return "target: enum value expected";
6253
+ case 0:
6254
+ case 1:
6255
+ case 2:
6256
+ case 3:
6257
+ case 4:
6258
+ case 5:
6259
+ case 6:
6260
+ case 7:
6261
+ case 8:
6262
+ case 9:
6263
+ break;
6802
6264
  }
6803
- }
6804
- if (message.features != null && message.hasOwnProperty("features")) {
6805
- var error = $root.google.protobuf.FeatureSet.verify(message.features);
6806
- if (error)
6807
- return "features." + error;
6808
- }
6809
6265
  if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
6810
6266
  if (!Array.isArray(message.uninterpretedOption))
6811
6267
  return "uninterpretedOption: array expected";
@@ -6925,73 +6381,53 @@
6925
6381
  message.retention = 2;
6926
6382
  break;
6927
6383
  }
6928
- if (object.targets) {
6929
- if (!Array.isArray(object.targets))
6930
- throw TypeError(".google.protobuf.FieldOptions.targets: array expected");
6931
- message.targets = [];
6932
- for (var i = 0; i < object.targets.length; ++i)
6933
- switch (object.targets[i]) {
6934
- default:
6935
- if (typeof object.targets[i] === "number") {
6936
- message.targets[i] = object.targets[i];
6937
- break;
6938
- }
6939
- case "TARGET_TYPE_UNKNOWN":
6940
- case 0:
6941
- message.targets[i] = 0;
6942
- break;
6943
- case "TARGET_TYPE_FILE":
6944
- case 1:
6945
- message.targets[i] = 1;
6946
- break;
6947
- case "TARGET_TYPE_EXTENSION_RANGE":
6948
- case 2:
6949
- message.targets[i] = 2;
6950
- break;
6951
- case "TARGET_TYPE_MESSAGE":
6952
- case 3:
6953
- message.targets[i] = 3;
6954
- break;
6955
- case "TARGET_TYPE_FIELD":
6956
- case 4:
6957
- message.targets[i] = 4;
6958
- break;
6959
- case "TARGET_TYPE_ONEOF":
6960
- case 5:
6961
- message.targets[i] = 5;
6962
- break;
6963
- case "TARGET_TYPE_ENUM":
6964
- case 6:
6965
- message.targets[i] = 6;
6966
- break;
6967
- case "TARGET_TYPE_ENUM_ENTRY":
6968
- case 7:
6969
- message.targets[i] = 7;
6970
- break;
6971
- case "TARGET_TYPE_SERVICE":
6972
- case 8:
6973
- message.targets[i] = 8;
6974
- break;
6975
- case "TARGET_TYPE_METHOD":
6976
- case 9:
6977
- message.targets[i] = 9;
6978
- break;
6979
- }
6980
- }
6981
- if (object.editionDefaults) {
6982
- if (!Array.isArray(object.editionDefaults))
6983
- throw TypeError(".google.protobuf.FieldOptions.editionDefaults: array expected");
6984
- message.editionDefaults = [];
6985
- for (var i = 0; i < object.editionDefaults.length; ++i) {
6986
- if (typeof object.editionDefaults[i] !== "object")
6987
- throw TypeError(".google.protobuf.FieldOptions.editionDefaults: object expected");
6988
- message.editionDefaults[i] = $root.google.protobuf.FieldOptions.EditionDefault.fromObject(object.editionDefaults[i]);
6384
+ switch (object.target) {
6385
+ default:
6386
+ if (typeof object.target === "number") {
6387
+ message.target = object.target;
6388
+ break;
6989
6389
  }
6990
- }
6991
- if (object.features != null) {
6992
- if (typeof object.features !== "object")
6993
- throw TypeError(".google.protobuf.FieldOptions.features: object expected");
6994
- message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
6390
+ break;
6391
+ case "TARGET_TYPE_UNKNOWN":
6392
+ case 0:
6393
+ message.target = 0;
6394
+ break;
6395
+ case "TARGET_TYPE_FILE":
6396
+ case 1:
6397
+ message.target = 1;
6398
+ break;
6399
+ case "TARGET_TYPE_EXTENSION_RANGE":
6400
+ case 2:
6401
+ message.target = 2;
6402
+ break;
6403
+ case "TARGET_TYPE_MESSAGE":
6404
+ case 3:
6405
+ message.target = 3;
6406
+ break;
6407
+ case "TARGET_TYPE_FIELD":
6408
+ case 4:
6409
+ message.target = 4;
6410
+ break;
6411
+ case "TARGET_TYPE_ONEOF":
6412
+ case 5:
6413
+ message.target = 5;
6414
+ break;
6415
+ case "TARGET_TYPE_ENUM":
6416
+ case 6:
6417
+ message.target = 6;
6418
+ break;
6419
+ case "TARGET_TYPE_ENUM_ENTRY":
6420
+ case 7:
6421
+ message.target = 7;
6422
+ break;
6423
+ case "TARGET_TYPE_SERVICE":
6424
+ case 8:
6425
+ message.target = 8;
6426
+ break;
6427
+ case "TARGET_TYPE_METHOD":
6428
+ case 9:
6429
+ message.target = 9;
6430
+ break;
6995
6431
  }
6996
6432
  if (object.uninterpretedOption) {
6997
6433
  if (!Array.isArray(object.uninterpretedOption))
@@ -7070,8 +6506,6 @@
7070
6506
  options = {};
7071
6507
  var object = {};
7072
6508
  if (options.arrays || options.defaults) {
7073
- object.targets = [];
7074
- object.editionDefaults = [];
7075
6509
  object.uninterpretedOption = [];
7076
6510
  object[".google.api.fieldBehavior"] = [];
7077
6511
  }
@@ -7085,7 +6519,7 @@
7085
6519
  object.unverifiedLazy = false;
7086
6520
  object.debugRedact = false;
7087
6521
  object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0;
7088
- object.features = null;
6522
+ object.target = options.enums === String ? "TARGET_TYPE_UNKNOWN" : 0;
7089
6523
  object[".google.api.resourceReference"] = null;
7090
6524
  }
7091
6525
  if (message.ctype != null && message.hasOwnProperty("ctype"))
@@ -7106,18 +6540,8 @@
7106
6540
  object.debugRedact = message.debugRedact;
7107
6541
  if (message.retention != null && message.hasOwnProperty("retention"))
7108
6542
  object.retention = options.enums === String ? $root.google.protobuf.FieldOptions.OptionRetention[message.retention] === undefined ? message.retention : $root.google.protobuf.FieldOptions.OptionRetention[message.retention] : message.retention;
7109
- if (message.targets && message.targets.length) {
7110
- object.targets = [];
7111
- for (var j = 0; j < message.targets.length; ++j)
7112
- object.targets[j] = options.enums === String ? $root.google.protobuf.FieldOptions.OptionTargetType[message.targets[j]] === undefined ? message.targets[j] : $root.google.protobuf.FieldOptions.OptionTargetType[message.targets[j]] : message.targets[j];
7113
- }
7114
- if (message.editionDefaults && message.editionDefaults.length) {
7115
- object.editionDefaults = [];
7116
- for (var j = 0; j < message.editionDefaults.length; ++j)
7117
- object.editionDefaults[j] = $root.google.protobuf.FieldOptions.EditionDefault.toObject(message.editionDefaults[j], options);
7118
- }
7119
- if (message.features != null && message.hasOwnProperty("features"))
7120
- object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
6543
+ if (message.target != null && message.hasOwnProperty("target"))
6544
+ object.target = options.enums === String ? $root.google.protobuf.FieldOptions.OptionTargetType[message.target] === undefined ? message.target : $root.google.protobuf.FieldOptions.OptionTargetType[message.target] : message.target;
7121
6545
  if (message.uninterpretedOption && message.uninterpretedOption.length) {
7122
6546
  object.uninterpretedOption = [];
7123
6547
  for (var j = 0; j < message.uninterpretedOption.length; ++j)
@@ -7237,233 +6661,6 @@
7237
6661
  return values;
7238
6662
  })();
7239
6663
 
7240
- FieldOptions.EditionDefault = (function() {
7241
-
7242
- /**
7243
- * Properties of an EditionDefault.
7244
- * @memberof google.protobuf.FieldOptions
7245
- * @interface IEditionDefault
7246
- * @property {string|null} [edition] EditionDefault edition
7247
- * @property {string|null} [value] EditionDefault value
7248
- */
7249
-
7250
- /**
7251
- * Constructs a new EditionDefault.
7252
- * @memberof google.protobuf.FieldOptions
7253
- * @classdesc Represents an EditionDefault.
7254
- * @implements IEditionDefault
7255
- * @constructor
7256
- * @param {google.protobuf.FieldOptions.IEditionDefault=} [properties] Properties to set
7257
- */
7258
- function EditionDefault(properties) {
7259
- if (properties)
7260
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
7261
- if (properties[keys[i]] != null)
7262
- this[keys[i]] = properties[keys[i]];
7263
- }
7264
-
7265
- /**
7266
- * EditionDefault edition.
7267
- * @member {string} edition
7268
- * @memberof google.protobuf.FieldOptions.EditionDefault
7269
- * @instance
7270
- */
7271
- EditionDefault.prototype.edition = "";
7272
-
7273
- /**
7274
- * EditionDefault value.
7275
- * @member {string} value
7276
- * @memberof google.protobuf.FieldOptions.EditionDefault
7277
- * @instance
7278
- */
7279
- EditionDefault.prototype.value = "";
7280
-
7281
- /**
7282
- * Creates a new EditionDefault instance using the specified properties.
7283
- * @function create
7284
- * @memberof google.protobuf.FieldOptions.EditionDefault
7285
- * @static
7286
- * @param {google.protobuf.FieldOptions.IEditionDefault=} [properties] Properties to set
7287
- * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault instance
7288
- */
7289
- EditionDefault.create = function create(properties) {
7290
- return new EditionDefault(properties);
7291
- };
7292
-
7293
- /**
7294
- * Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
7295
- * @function encode
7296
- * @memberof google.protobuf.FieldOptions.EditionDefault
7297
- * @static
7298
- * @param {google.protobuf.FieldOptions.IEditionDefault} message EditionDefault message or plain object to encode
7299
- * @param {$protobuf.Writer} [writer] Writer to encode to
7300
- * @returns {$protobuf.Writer} Writer
7301
- */
7302
- EditionDefault.encode = function encode(message, writer) {
7303
- if (!writer)
7304
- writer = $Writer.create();
7305
- if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
7306
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.edition);
7307
- if (message.value != null && Object.hasOwnProperty.call(message, "value"))
7308
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.value);
7309
- return writer;
7310
- };
7311
-
7312
- /**
7313
- * Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
7314
- * @function encodeDelimited
7315
- * @memberof google.protobuf.FieldOptions.EditionDefault
7316
- * @static
7317
- * @param {google.protobuf.FieldOptions.IEditionDefault} message EditionDefault message or plain object to encode
7318
- * @param {$protobuf.Writer} [writer] Writer to encode to
7319
- * @returns {$protobuf.Writer} Writer
7320
- */
7321
- EditionDefault.encodeDelimited = function encodeDelimited(message, writer) {
7322
- return this.encode(message, writer).ldelim();
7323
- };
7324
-
7325
- /**
7326
- * Decodes an EditionDefault message from the specified reader or buffer.
7327
- * @function decode
7328
- * @memberof google.protobuf.FieldOptions.EditionDefault
7329
- * @static
7330
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
7331
- * @param {number} [length] Message length if known beforehand
7332
- * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault
7333
- * @throws {Error} If the payload is not a reader or valid buffer
7334
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
7335
- */
7336
- EditionDefault.decode = function decode(reader, length) {
7337
- if (!(reader instanceof $Reader))
7338
- reader = $Reader.create(reader);
7339
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.EditionDefault();
7340
- while (reader.pos < end) {
7341
- var tag = reader.uint32();
7342
- switch (tag >>> 3) {
7343
- case 1: {
7344
- message.edition = reader.string();
7345
- break;
7346
- }
7347
- case 2: {
7348
- message.value = reader.string();
7349
- break;
7350
- }
7351
- default:
7352
- reader.skipType(tag & 7);
7353
- break;
7354
- }
7355
- }
7356
- return message;
7357
- };
7358
-
7359
- /**
7360
- * Decodes an EditionDefault message from the specified reader or buffer, length delimited.
7361
- * @function decodeDelimited
7362
- * @memberof google.protobuf.FieldOptions.EditionDefault
7363
- * @static
7364
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
7365
- * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault
7366
- * @throws {Error} If the payload is not a reader or valid buffer
7367
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
7368
- */
7369
- EditionDefault.decodeDelimited = function decodeDelimited(reader) {
7370
- if (!(reader instanceof $Reader))
7371
- reader = new $Reader(reader);
7372
- return this.decode(reader, reader.uint32());
7373
- };
7374
-
7375
- /**
7376
- * Verifies an EditionDefault message.
7377
- * @function verify
7378
- * @memberof google.protobuf.FieldOptions.EditionDefault
7379
- * @static
7380
- * @param {Object.<string,*>} message Plain object to verify
7381
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
7382
- */
7383
- EditionDefault.verify = function verify(message) {
7384
- if (typeof message !== "object" || message === null)
7385
- return "object expected";
7386
- if (message.edition != null && message.hasOwnProperty("edition"))
7387
- if (!$util.isString(message.edition))
7388
- return "edition: string expected";
7389
- if (message.value != null && message.hasOwnProperty("value"))
7390
- if (!$util.isString(message.value))
7391
- return "value: string expected";
7392
- return null;
7393
- };
7394
-
7395
- /**
7396
- * Creates an EditionDefault message from a plain object. Also converts values to their respective internal types.
7397
- * @function fromObject
7398
- * @memberof google.protobuf.FieldOptions.EditionDefault
7399
- * @static
7400
- * @param {Object.<string,*>} object Plain object
7401
- * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault
7402
- */
7403
- EditionDefault.fromObject = function fromObject(object) {
7404
- if (object instanceof $root.google.protobuf.FieldOptions.EditionDefault)
7405
- return object;
7406
- var message = new $root.google.protobuf.FieldOptions.EditionDefault();
7407
- if (object.edition != null)
7408
- message.edition = String(object.edition);
7409
- if (object.value != null)
7410
- message.value = String(object.value);
7411
- return message;
7412
- };
7413
-
7414
- /**
7415
- * Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
7416
- * @function toObject
7417
- * @memberof google.protobuf.FieldOptions.EditionDefault
7418
- * @static
7419
- * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault
7420
- * @param {$protobuf.IConversionOptions} [options] Conversion options
7421
- * @returns {Object.<string,*>} Plain object
7422
- */
7423
- EditionDefault.toObject = function toObject(message, options) {
7424
- if (!options)
7425
- options = {};
7426
- var object = {};
7427
- if (options.defaults) {
7428
- object.edition = "";
7429
- object.value = "";
7430
- }
7431
- if (message.edition != null && message.hasOwnProperty("edition"))
7432
- object.edition = message.edition;
7433
- if (message.value != null && message.hasOwnProperty("value"))
7434
- object.value = message.value;
7435
- return object;
7436
- };
7437
-
7438
- /**
7439
- * Converts this EditionDefault to JSON.
7440
- * @function toJSON
7441
- * @memberof google.protobuf.FieldOptions.EditionDefault
7442
- * @instance
7443
- * @returns {Object.<string,*>} JSON object
7444
- */
7445
- EditionDefault.prototype.toJSON = function toJSON() {
7446
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
7447
- };
7448
-
7449
- /**
7450
- * Gets the default type url for EditionDefault
7451
- * @function getTypeUrl
7452
- * @memberof google.protobuf.FieldOptions.EditionDefault
7453
- * @static
7454
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7455
- * @returns {string} The default type url
7456
- */
7457
- EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
7458
- if (typeUrlPrefix === undefined) {
7459
- typeUrlPrefix = "type.googleapis.com";
7460
- }
7461
- return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault";
7462
- };
7463
-
7464
- return EditionDefault;
7465
- })();
7466
-
7467
6664
  return FieldOptions;
7468
6665
  })();
7469
6666
 
@@ -7473,7 +6670,6 @@
7473
6670
  * Properties of an OneofOptions.
7474
6671
  * @memberof google.protobuf
7475
6672
  * @interface IOneofOptions
7476
- * @property {google.protobuf.IFeatureSet|null} [features] OneofOptions features
7477
6673
  * @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] OneofOptions uninterpretedOption
7478
6674
  */
7479
6675
 
@@ -7493,14 +6689,6 @@
7493
6689
  this[keys[i]] = properties[keys[i]];
7494
6690
  }
7495
6691
 
7496
- /**
7497
- * OneofOptions features.
7498
- * @member {google.protobuf.IFeatureSet|null|undefined} features
7499
- * @memberof google.protobuf.OneofOptions
7500
- * @instance
7501
- */
7502
- OneofOptions.prototype.features = null;
7503
-
7504
6692
  /**
7505
6693
  * OneofOptions uninterpretedOption.
7506
6694
  * @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
@@ -7533,8 +6721,6 @@
7533
6721
  OneofOptions.encode = function encode(message, writer) {
7534
6722
  if (!writer)
7535
6723
  writer = $Writer.create();
7536
- if (message.features != null && Object.hasOwnProperty.call(message, "features"))
7537
- $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
7538
6724
  if (message.uninterpretedOption != null && message.uninterpretedOption.length)
7539
6725
  for (var i = 0; i < message.uninterpretedOption.length; ++i)
7540
6726
  $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
@@ -7572,10 +6758,6 @@
7572
6758
  while (reader.pos < end) {
7573
6759
  var tag = reader.uint32();
7574
6760
  switch (tag >>> 3) {
7575
- case 1: {
7576
- message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
7577
- break;
7578
- }
7579
6761
  case 999: {
7580
6762
  if (!(message.uninterpretedOption && message.uninterpretedOption.length))
7581
6763
  message.uninterpretedOption = [];
@@ -7617,11 +6799,6 @@
7617
6799
  OneofOptions.verify = function verify(message) {
7618
6800
  if (typeof message !== "object" || message === null)
7619
6801
  return "object expected";
7620
- if (message.features != null && message.hasOwnProperty("features")) {
7621
- var error = $root.google.protobuf.FeatureSet.verify(message.features);
7622
- if (error)
7623
- return "features." + error;
7624
- }
7625
6802
  if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
7626
6803
  if (!Array.isArray(message.uninterpretedOption))
7627
6804
  return "uninterpretedOption: array expected";
@@ -7646,11 +6823,6 @@
7646
6823
  if (object instanceof $root.google.protobuf.OneofOptions)
7647
6824
  return object;
7648
6825
  var message = new $root.google.protobuf.OneofOptions();
7649
- if (object.features != null) {
7650
- if (typeof object.features !== "object")
7651
- throw TypeError(".google.protobuf.OneofOptions.features: object expected");
7652
- message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
7653
- }
7654
6826
  if (object.uninterpretedOption) {
7655
6827
  if (!Array.isArray(object.uninterpretedOption))
7656
6828
  throw TypeError(".google.protobuf.OneofOptions.uninterpretedOption: array expected");
@@ -7679,10 +6851,6 @@
7679
6851
  var object = {};
7680
6852
  if (options.arrays || options.defaults)
7681
6853
  object.uninterpretedOption = [];
7682
- if (options.defaults)
7683
- object.features = null;
7684
- if (message.features != null && message.hasOwnProperty("features"))
7685
- object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
7686
6854
  if (message.uninterpretedOption && message.uninterpretedOption.length) {
7687
6855
  object.uninterpretedOption = [];
7688
6856
  for (var j = 0; j < message.uninterpretedOption.length; ++j)
@@ -7729,7 +6897,6 @@
7729
6897
  * @property {boolean|null} [allowAlias] EnumOptions allowAlias
7730
6898
  * @property {boolean|null} [deprecated] EnumOptions deprecated
7731
6899
  * @property {boolean|null} [deprecatedLegacyJsonFieldConflicts] EnumOptions deprecatedLegacyJsonFieldConflicts
7732
- * @property {google.protobuf.IFeatureSet|null} [features] EnumOptions features
7733
6900
  * @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumOptions uninterpretedOption
7734
6901
  */
7735
6902
 
@@ -7773,14 +6940,6 @@
7773
6940
  */
7774
6941
  EnumOptions.prototype.deprecatedLegacyJsonFieldConflicts = false;
7775
6942
 
7776
- /**
7777
- * EnumOptions features.
7778
- * @member {google.protobuf.IFeatureSet|null|undefined} features
7779
- * @memberof google.protobuf.EnumOptions
7780
- * @instance
7781
- */
7782
- EnumOptions.prototype.features = null;
7783
-
7784
6943
  /**
7785
6944
  * EnumOptions uninterpretedOption.
7786
6945
  * @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
@@ -7819,8 +6978,6 @@
7819
6978
  writer.uint32(/* id 3, wireType 0 =*/24).bool(message.deprecated);
7820
6979
  if (message.deprecatedLegacyJsonFieldConflicts != null && Object.hasOwnProperty.call(message, "deprecatedLegacyJsonFieldConflicts"))
7821
6980
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.deprecatedLegacyJsonFieldConflicts);
7822
- if (message.features != null && Object.hasOwnProperty.call(message, "features"))
7823
- $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
7824
6981
  if (message.uninterpretedOption != null && message.uninterpretedOption.length)
7825
6982
  for (var i = 0; i < message.uninterpretedOption.length; ++i)
7826
6983
  $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
@@ -7870,10 +7027,6 @@
7870
7027
  message.deprecatedLegacyJsonFieldConflicts = reader.bool();
7871
7028
  break;
7872
7029
  }
7873
- case 7: {
7874
- message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
7875
- break;
7876
- }
7877
7030
  case 999: {
7878
7031
  if (!(message.uninterpretedOption && message.uninterpretedOption.length))
7879
7032
  message.uninterpretedOption = [];
@@ -7924,11 +7077,6 @@
7924
7077
  if (message.deprecatedLegacyJsonFieldConflicts != null && message.hasOwnProperty("deprecatedLegacyJsonFieldConflicts"))
7925
7078
  if (typeof message.deprecatedLegacyJsonFieldConflicts !== "boolean")
7926
7079
  return "deprecatedLegacyJsonFieldConflicts: boolean expected";
7927
- if (message.features != null && message.hasOwnProperty("features")) {
7928
- var error = $root.google.protobuf.FeatureSet.verify(message.features);
7929
- if (error)
7930
- return "features." + error;
7931
- }
7932
7080
  if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
7933
7081
  if (!Array.isArray(message.uninterpretedOption))
7934
7082
  return "uninterpretedOption: array expected";
@@ -7959,11 +7107,6 @@
7959
7107
  message.deprecated = Boolean(object.deprecated);
7960
7108
  if (object.deprecatedLegacyJsonFieldConflicts != null)
7961
7109
  message.deprecatedLegacyJsonFieldConflicts = Boolean(object.deprecatedLegacyJsonFieldConflicts);
7962
- if (object.features != null) {
7963
- if (typeof object.features !== "object")
7964
- throw TypeError(".google.protobuf.EnumOptions.features: object expected");
7965
- message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
7966
- }
7967
7110
  if (object.uninterpretedOption) {
7968
7111
  if (!Array.isArray(object.uninterpretedOption))
7969
7112
  throw TypeError(".google.protobuf.EnumOptions.uninterpretedOption: array expected");
@@ -7996,7 +7139,6 @@
7996
7139
  object.allowAlias = false;
7997
7140
  object.deprecated = false;
7998
7141
  object.deprecatedLegacyJsonFieldConflicts = false;
7999
- object.features = null;
8000
7142
  }
8001
7143
  if (message.allowAlias != null && message.hasOwnProperty("allowAlias"))
8002
7144
  object.allowAlias = message.allowAlias;
@@ -8004,8 +7146,6 @@
8004
7146
  object.deprecated = message.deprecated;
8005
7147
  if (message.deprecatedLegacyJsonFieldConflicts != null && message.hasOwnProperty("deprecatedLegacyJsonFieldConflicts"))
8006
7148
  object.deprecatedLegacyJsonFieldConflicts = message.deprecatedLegacyJsonFieldConflicts;
8007
- if (message.features != null && message.hasOwnProperty("features"))
8008
- object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
8009
7149
  if (message.uninterpretedOption && message.uninterpretedOption.length) {
8010
7150
  object.uninterpretedOption = [];
8011
7151
  for (var j = 0; j < message.uninterpretedOption.length; ++j)
@@ -8050,8 +7190,6 @@
8050
7190
  * @memberof google.protobuf
8051
7191
  * @interface IEnumValueOptions
8052
7192
  * @property {boolean|null} [deprecated] EnumValueOptions deprecated
8053
- * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
8054
- * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
8055
7193
  * @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
8056
7194
  */
8057
7195
 
@@ -8079,22 +7217,6 @@
8079
7217
  */
8080
7218
  EnumValueOptions.prototype.deprecated = false;
8081
7219
 
8082
- /**
8083
- * EnumValueOptions features.
8084
- * @member {google.protobuf.IFeatureSet|null|undefined} features
8085
- * @memberof google.protobuf.EnumValueOptions
8086
- * @instance
8087
- */
8088
- EnumValueOptions.prototype.features = null;
8089
-
8090
- /**
8091
- * EnumValueOptions debugRedact.
8092
- * @member {boolean} debugRedact
8093
- * @memberof google.protobuf.EnumValueOptions
8094
- * @instance
8095
- */
8096
- EnumValueOptions.prototype.debugRedact = false;
8097
-
8098
7220
  /**
8099
7221
  * EnumValueOptions uninterpretedOption.
8100
7222
  * @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
@@ -8129,10 +7251,6 @@
8129
7251
  writer = $Writer.create();
8130
7252
  if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated"))
8131
7253
  writer.uint32(/* id 1, wireType 0 =*/8).bool(message.deprecated);
8132
- if (message.features != null && Object.hasOwnProperty.call(message, "features"))
8133
- $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
8134
- if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact"))
8135
- writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact);
8136
7254
  if (message.uninterpretedOption != null && message.uninterpretedOption.length)
8137
7255
  for (var i = 0; i < message.uninterpretedOption.length; ++i)
8138
7256
  $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
@@ -8174,14 +7292,6 @@
8174
7292
  message.deprecated = reader.bool();
8175
7293
  break;
8176
7294
  }
8177
- case 2: {
8178
- message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
8179
- break;
8180
- }
8181
- case 3: {
8182
- message.debugRedact = reader.bool();
8183
- break;
8184
- }
8185
7295
  case 999: {
8186
7296
  if (!(message.uninterpretedOption && message.uninterpretedOption.length))
8187
7297
  message.uninterpretedOption = [];
@@ -8226,14 +7336,6 @@
8226
7336
  if (message.deprecated != null && message.hasOwnProperty("deprecated"))
8227
7337
  if (typeof message.deprecated !== "boolean")
8228
7338
  return "deprecated: boolean expected";
8229
- if (message.features != null && message.hasOwnProperty("features")) {
8230
- var error = $root.google.protobuf.FeatureSet.verify(message.features);
8231
- if (error)
8232
- return "features." + error;
8233
- }
8234
- if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
8235
- if (typeof message.debugRedact !== "boolean")
8236
- return "debugRedact: boolean expected";
8237
7339
  if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
8238
7340
  if (!Array.isArray(message.uninterpretedOption))
8239
7341
  return "uninterpretedOption: array expected";
@@ -8260,13 +7362,6 @@
8260
7362
  var message = new $root.google.protobuf.EnumValueOptions();
8261
7363
  if (object.deprecated != null)
8262
7364
  message.deprecated = Boolean(object.deprecated);
8263
- if (object.features != null) {
8264
- if (typeof object.features !== "object")
8265
- throw TypeError(".google.protobuf.EnumValueOptions.features: object expected");
8266
- message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
8267
- }
8268
- if (object.debugRedact != null)
8269
- message.debugRedact = Boolean(object.debugRedact);
8270
7365
  if (object.uninterpretedOption) {
8271
7366
  if (!Array.isArray(object.uninterpretedOption))
8272
7367
  throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
@@ -8295,17 +7390,10 @@
8295
7390
  var object = {};
8296
7391
  if (options.arrays || options.defaults)
8297
7392
  object.uninterpretedOption = [];
8298
- if (options.defaults) {
7393
+ if (options.defaults)
8299
7394
  object.deprecated = false;
8300
- object.features = null;
8301
- object.debugRedact = false;
8302
- }
8303
7395
  if (message.deprecated != null && message.hasOwnProperty("deprecated"))
8304
7396
  object.deprecated = message.deprecated;
8305
- if (message.features != null && message.hasOwnProperty("features"))
8306
- object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
8307
- if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
8308
- object.debugRedact = message.debugRedact;
8309
7397
  if (message.uninterpretedOption && message.uninterpretedOption.length) {
8310
7398
  object.uninterpretedOption = [];
8311
7399
  for (var j = 0; j < message.uninterpretedOption.length; ++j)
@@ -8349,7 +7437,6 @@
8349
7437
  * Properties of a ServiceOptions.
8350
7438
  * @memberof google.protobuf
8351
7439
  * @interface IServiceOptions
8352
- * @property {google.protobuf.IFeatureSet|null} [features] ServiceOptions features
8353
7440
  * @property {boolean|null} [deprecated] ServiceOptions deprecated
8354
7441
  * @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] ServiceOptions uninterpretedOption
8355
7442
  * @property {string|null} [".google.api.defaultHost"] ServiceOptions .google.api.defaultHost
@@ -8372,14 +7459,6 @@
8372
7459
  this[keys[i]] = properties[keys[i]];
8373
7460
  }
8374
7461
 
8375
- /**
8376
- * ServiceOptions features.
8377
- * @member {google.protobuf.IFeatureSet|null|undefined} features
8378
- * @memberof google.protobuf.ServiceOptions
8379
- * @instance
8380
- */
8381
- ServiceOptions.prototype.features = null;
8382
-
8383
7462
  /**
8384
7463
  * ServiceOptions deprecated.
8385
7464
  * @member {boolean} deprecated
@@ -8438,8 +7517,6 @@
8438
7517
  writer = $Writer.create();
8439
7518
  if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated"))
8440
7519
  writer.uint32(/* id 33, wireType 0 =*/264).bool(message.deprecated);
8441
- if (message.features != null && Object.hasOwnProperty.call(message, "features"))
8442
- $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 34, wireType 2 =*/274).fork()).ldelim();
8443
7520
  if (message.uninterpretedOption != null && message.uninterpretedOption.length)
8444
7521
  for (var i = 0; i < message.uninterpretedOption.length; ++i)
8445
7522
  $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
@@ -8481,10 +7558,6 @@
8481
7558
  while (reader.pos < end) {
8482
7559
  var tag = reader.uint32();
8483
7560
  switch (tag >>> 3) {
8484
- case 34: {
8485
- message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
8486
- break;
8487
- }
8488
7561
  case 33: {
8489
7562
  message.deprecated = reader.bool();
8490
7563
  break;
@@ -8538,11 +7611,6 @@
8538
7611
  ServiceOptions.verify = function verify(message) {
8539
7612
  if (typeof message !== "object" || message === null)
8540
7613
  return "object expected";
8541
- if (message.features != null && message.hasOwnProperty("features")) {
8542
- var error = $root.google.protobuf.FeatureSet.verify(message.features);
8543
- if (error)
8544
- return "features." + error;
8545
- }
8546
7614
  if (message.deprecated != null && message.hasOwnProperty("deprecated"))
8547
7615
  if (typeof message.deprecated !== "boolean")
8548
7616
  return "deprecated: boolean expected";
@@ -8576,11 +7644,6 @@
8576
7644
  if (object instanceof $root.google.protobuf.ServiceOptions)
8577
7645
  return object;
8578
7646
  var message = new $root.google.protobuf.ServiceOptions();
8579
- if (object.features != null) {
8580
- if (typeof object.features !== "object")
8581
- throw TypeError(".google.protobuf.ServiceOptions.features: object expected");
8582
- message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
8583
- }
8584
7647
  if (object.deprecated != null)
8585
7648
  message.deprecated = Boolean(object.deprecated);
8586
7649
  if (object.uninterpretedOption) {
@@ -8617,14 +7680,11 @@
8617
7680
  object.uninterpretedOption = [];
8618
7681
  if (options.defaults) {
8619
7682
  object.deprecated = false;
8620
- object.features = null;
8621
7683
  object[".google.api.defaultHost"] = "";
8622
7684
  object[".google.api.oauthScopes"] = "";
8623
7685
  }
8624
7686
  if (message.deprecated != null && message.hasOwnProperty("deprecated"))
8625
7687
  object.deprecated = message.deprecated;
8626
- if (message.features != null && message.hasOwnProperty("features"))
8627
- object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
8628
7688
  if (message.uninterpretedOption && message.uninterpretedOption.length) {
8629
7689
  object.uninterpretedOption = [];
8630
7690
  for (var j = 0; j < message.uninterpretedOption.length; ++j)
@@ -8674,7 +7734,6 @@
8674
7734
  * @interface IMethodOptions
8675
7735
  * @property {boolean|null} [deprecated] MethodOptions deprecated
8676
7736
  * @property {google.protobuf.MethodOptions.IdempotencyLevel|null} [idempotencyLevel] MethodOptions idempotencyLevel
8677
- * @property {google.protobuf.IFeatureSet|null} [features] MethodOptions features
8678
7737
  * @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] MethodOptions uninterpretedOption
8679
7738
  * @property {google.api.IHttpRule|null} [".google.api.http"] MethodOptions .google.api.http
8680
7739
  * @property {Array.<string>|null} [".google.api.methodSignature"] MethodOptions .google.api.methodSignature
@@ -8714,14 +7773,6 @@
8714
7773
  */
8715
7774
  MethodOptions.prototype.idempotencyLevel = 0;
8716
7775
 
8717
- /**
8718
- * MethodOptions features.
8719
- * @member {google.protobuf.IFeatureSet|null|undefined} features
8720
- * @memberof google.protobuf.MethodOptions
8721
- * @instance
8722
- */
8723
- MethodOptions.prototype.features = null;
8724
-
8725
7776
  /**
8726
7777
  * MethodOptions uninterpretedOption.
8727
7778
  * @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
@@ -8782,8 +7833,6 @@
8782
7833
  writer.uint32(/* id 33, wireType 0 =*/264).bool(message.deprecated);
8783
7834
  if (message.idempotencyLevel != null && Object.hasOwnProperty.call(message, "idempotencyLevel"))
8784
7835
  writer.uint32(/* id 34, wireType 0 =*/272).int32(message.idempotencyLevel);
8785
- if (message.features != null && Object.hasOwnProperty.call(message, "features"))
8786
- $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 35, wireType 2 =*/282).fork()).ldelim();
8787
7836
  if (message.uninterpretedOption != null && message.uninterpretedOption.length)
8788
7837
  for (var i = 0; i < message.uninterpretedOption.length; ++i)
8789
7838
  $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
@@ -8836,10 +7885,6 @@
8836
7885
  message.idempotencyLevel = reader.int32();
8837
7886
  break;
8838
7887
  }
8839
- case 35: {
8840
- message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
8841
- break;
8842
- }
8843
7888
  case 999: {
8844
7889
  if (!(message.uninterpretedOption && message.uninterpretedOption.length))
8845
7890
  message.uninterpretedOption = [];
@@ -8907,11 +7952,6 @@
8907
7952
  case 2:
8908
7953
  break;
8909
7954
  }
8910
- if (message.features != null && message.hasOwnProperty("features")) {
8911
- var error = $root.google.protobuf.FeatureSet.verify(message.features);
8912
- if (error)
8913
- return "features." + error;
8914
- }
8915
7955
  if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
8916
7956
  if (!Array.isArray(message.uninterpretedOption))
8917
7957
  return "uninterpretedOption: array expected";
@@ -8975,11 +8015,6 @@
8975
8015
  message.idempotencyLevel = 2;
8976
8016
  break;
8977
8017
  }
8978
- if (object.features != null) {
8979
- if (typeof object.features !== "object")
8980
- throw TypeError(".google.protobuf.MethodOptions.features: object expected");
8981
- message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
8982
- }
8983
8018
  if (object.uninterpretedOption) {
8984
8019
  if (!Array.isArray(object.uninterpretedOption))
8985
8020
  throw TypeError(".google.protobuf.MethodOptions.uninterpretedOption: array expected");
@@ -9030,7 +8065,6 @@
9030
8065
  if (options.defaults) {
9031
8066
  object.deprecated = false;
9032
8067
  object.idempotencyLevel = options.enums === String ? "IDEMPOTENCY_UNKNOWN" : 0;
9033
- object.features = null;
9034
8068
  object[".google.longrunning.operationInfo"] = null;
9035
8069
  object[".google.api.http"] = null;
9036
8070
  }
@@ -9038,8 +8072,6 @@
9038
8072
  object.deprecated = message.deprecated;
9039
8073
  if (message.idempotencyLevel != null && message.hasOwnProperty("idempotencyLevel"))
9040
8074
  object.idempotencyLevel = options.enums === String ? $root.google.protobuf.MethodOptions.IdempotencyLevel[message.idempotencyLevel] === undefined ? message.idempotencyLevel : $root.google.protobuf.MethodOptions.IdempotencyLevel[message.idempotencyLevel] : message.idempotencyLevel;
9041
- if (message.features != null && message.hasOwnProperty("features"))
9042
- object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
9043
8075
  if (message.uninterpretedOption && message.uninterpretedOption.length) {
9044
8076
  object.uninterpretedOption = [];
9045
8077
  for (var j = 0; j < message.uninterpretedOption.length; ++j)
@@ -9730,607 +8762,6 @@
9730
8762
  return UninterpretedOption;
9731
8763
  })();
9732
8764
 
9733
- protobuf.FeatureSet = (function() {
9734
-
9735
- /**
9736
- * Properties of a FeatureSet.
9737
- * @memberof google.protobuf
9738
- * @interface IFeatureSet
9739
- * @property {google.protobuf.FeatureSet.FieldPresence|null} [fieldPresence] FeatureSet fieldPresence
9740
- * @property {google.protobuf.FeatureSet.EnumType|null} [enumType] FeatureSet enumType
9741
- * @property {google.protobuf.FeatureSet.RepeatedFieldEncoding|null} [repeatedFieldEncoding] FeatureSet repeatedFieldEncoding
9742
- * @property {google.protobuf.FeatureSet.StringFieldValidation|null} [stringFieldValidation] FeatureSet stringFieldValidation
9743
- * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding
9744
- * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat
9745
- * @property {google.protobuf.IFeatureSet|null} [rawFeatures] FeatureSet rawFeatures
9746
- */
9747
-
9748
- /**
9749
- * Constructs a new FeatureSet.
9750
- * @memberof google.protobuf
9751
- * @classdesc Represents a FeatureSet.
9752
- * @implements IFeatureSet
9753
- * @constructor
9754
- * @param {google.protobuf.IFeatureSet=} [properties] Properties to set
9755
- */
9756
- function FeatureSet(properties) {
9757
- if (properties)
9758
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
9759
- if (properties[keys[i]] != null)
9760
- this[keys[i]] = properties[keys[i]];
9761
- }
9762
-
9763
- /**
9764
- * FeatureSet fieldPresence.
9765
- * @member {google.protobuf.FeatureSet.FieldPresence} fieldPresence
9766
- * @memberof google.protobuf.FeatureSet
9767
- * @instance
9768
- */
9769
- FeatureSet.prototype.fieldPresence = 0;
9770
-
9771
- /**
9772
- * FeatureSet enumType.
9773
- * @member {google.protobuf.FeatureSet.EnumType} enumType
9774
- * @memberof google.protobuf.FeatureSet
9775
- * @instance
9776
- */
9777
- FeatureSet.prototype.enumType = 0;
9778
-
9779
- /**
9780
- * FeatureSet repeatedFieldEncoding.
9781
- * @member {google.protobuf.FeatureSet.RepeatedFieldEncoding} repeatedFieldEncoding
9782
- * @memberof google.protobuf.FeatureSet
9783
- * @instance
9784
- */
9785
- FeatureSet.prototype.repeatedFieldEncoding = 0;
9786
-
9787
- /**
9788
- * FeatureSet stringFieldValidation.
9789
- * @member {google.protobuf.FeatureSet.StringFieldValidation} stringFieldValidation
9790
- * @memberof google.protobuf.FeatureSet
9791
- * @instance
9792
- */
9793
- FeatureSet.prototype.stringFieldValidation = 0;
9794
-
9795
- /**
9796
- * FeatureSet messageEncoding.
9797
- * @member {google.protobuf.FeatureSet.MessageEncoding} messageEncoding
9798
- * @memberof google.protobuf.FeatureSet
9799
- * @instance
9800
- */
9801
- FeatureSet.prototype.messageEncoding = 0;
9802
-
9803
- /**
9804
- * FeatureSet jsonFormat.
9805
- * @member {google.protobuf.FeatureSet.JsonFormat} jsonFormat
9806
- * @memberof google.protobuf.FeatureSet
9807
- * @instance
9808
- */
9809
- FeatureSet.prototype.jsonFormat = 0;
9810
-
9811
- /**
9812
- * FeatureSet rawFeatures.
9813
- * @member {google.protobuf.IFeatureSet|null|undefined} rawFeatures
9814
- * @memberof google.protobuf.FeatureSet
9815
- * @instance
9816
- */
9817
- FeatureSet.prototype.rawFeatures = null;
9818
-
9819
- /**
9820
- * Creates a new FeatureSet instance using the specified properties.
9821
- * @function create
9822
- * @memberof google.protobuf.FeatureSet
9823
- * @static
9824
- * @param {google.protobuf.IFeatureSet=} [properties] Properties to set
9825
- * @returns {google.protobuf.FeatureSet} FeatureSet instance
9826
- */
9827
- FeatureSet.create = function create(properties) {
9828
- return new FeatureSet(properties);
9829
- };
9830
-
9831
- /**
9832
- * Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
9833
- * @function encode
9834
- * @memberof google.protobuf.FeatureSet
9835
- * @static
9836
- * @param {google.protobuf.IFeatureSet} message FeatureSet message or plain object to encode
9837
- * @param {$protobuf.Writer} [writer] Writer to encode to
9838
- * @returns {$protobuf.Writer} Writer
9839
- */
9840
- FeatureSet.encode = function encode(message, writer) {
9841
- if (!writer)
9842
- writer = $Writer.create();
9843
- if (message.fieldPresence != null && Object.hasOwnProperty.call(message, "fieldPresence"))
9844
- writer.uint32(/* id 1, wireType 0 =*/8).int32(message.fieldPresence);
9845
- if (message.enumType != null && Object.hasOwnProperty.call(message, "enumType"))
9846
- writer.uint32(/* id 2, wireType 0 =*/16).int32(message.enumType);
9847
- if (message.repeatedFieldEncoding != null && Object.hasOwnProperty.call(message, "repeatedFieldEncoding"))
9848
- writer.uint32(/* id 3, wireType 0 =*/24).int32(message.repeatedFieldEncoding);
9849
- if (message.stringFieldValidation != null && Object.hasOwnProperty.call(message, "stringFieldValidation"))
9850
- writer.uint32(/* id 4, wireType 0 =*/32).int32(message.stringFieldValidation);
9851
- if (message.messageEncoding != null && Object.hasOwnProperty.call(message, "messageEncoding"))
9852
- writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding);
9853
- if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat"))
9854
- writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat);
9855
- if (message.rawFeatures != null && Object.hasOwnProperty.call(message, "rawFeatures"))
9856
- $root.google.protobuf.FeatureSet.encode(message.rawFeatures, writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
9857
- return writer;
9858
- };
9859
-
9860
- /**
9861
- * Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
9862
- * @function encodeDelimited
9863
- * @memberof google.protobuf.FeatureSet
9864
- * @static
9865
- * @param {google.protobuf.IFeatureSet} message FeatureSet message or plain object to encode
9866
- * @param {$protobuf.Writer} [writer] Writer to encode to
9867
- * @returns {$protobuf.Writer} Writer
9868
- */
9869
- FeatureSet.encodeDelimited = function encodeDelimited(message, writer) {
9870
- return this.encode(message, writer).ldelim();
9871
- };
9872
-
9873
- /**
9874
- * Decodes a FeatureSet message from the specified reader or buffer.
9875
- * @function decode
9876
- * @memberof google.protobuf.FeatureSet
9877
- * @static
9878
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
9879
- * @param {number} [length] Message length if known beforehand
9880
- * @returns {google.protobuf.FeatureSet} FeatureSet
9881
- * @throws {Error} If the payload is not a reader or valid buffer
9882
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
9883
- */
9884
- FeatureSet.decode = function decode(reader, length) {
9885
- if (!(reader instanceof $Reader))
9886
- reader = $Reader.create(reader);
9887
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet();
9888
- while (reader.pos < end) {
9889
- var tag = reader.uint32();
9890
- switch (tag >>> 3) {
9891
- case 1: {
9892
- message.fieldPresence = reader.int32();
9893
- break;
9894
- }
9895
- case 2: {
9896
- message.enumType = reader.int32();
9897
- break;
9898
- }
9899
- case 3: {
9900
- message.repeatedFieldEncoding = reader.int32();
9901
- break;
9902
- }
9903
- case 4: {
9904
- message.stringFieldValidation = reader.int32();
9905
- break;
9906
- }
9907
- case 5: {
9908
- message.messageEncoding = reader.int32();
9909
- break;
9910
- }
9911
- case 6: {
9912
- message.jsonFormat = reader.int32();
9913
- break;
9914
- }
9915
- case 999: {
9916
- message.rawFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
9917
- break;
9918
- }
9919
- default:
9920
- reader.skipType(tag & 7);
9921
- break;
9922
- }
9923
- }
9924
- return message;
9925
- };
9926
-
9927
- /**
9928
- * Decodes a FeatureSet message from the specified reader or buffer, length delimited.
9929
- * @function decodeDelimited
9930
- * @memberof google.protobuf.FeatureSet
9931
- * @static
9932
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
9933
- * @returns {google.protobuf.FeatureSet} FeatureSet
9934
- * @throws {Error} If the payload is not a reader or valid buffer
9935
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
9936
- */
9937
- FeatureSet.decodeDelimited = function decodeDelimited(reader) {
9938
- if (!(reader instanceof $Reader))
9939
- reader = new $Reader(reader);
9940
- return this.decode(reader, reader.uint32());
9941
- };
9942
-
9943
- /**
9944
- * Verifies a FeatureSet message.
9945
- * @function verify
9946
- * @memberof google.protobuf.FeatureSet
9947
- * @static
9948
- * @param {Object.<string,*>} message Plain object to verify
9949
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
9950
- */
9951
- FeatureSet.verify = function verify(message) {
9952
- if (typeof message !== "object" || message === null)
9953
- return "object expected";
9954
- if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
9955
- switch (message.fieldPresence) {
9956
- default:
9957
- return "fieldPresence: enum value expected";
9958
- case 0:
9959
- case 1:
9960
- case 2:
9961
- case 3:
9962
- break;
9963
- }
9964
- if (message.enumType != null && message.hasOwnProperty("enumType"))
9965
- switch (message.enumType) {
9966
- default:
9967
- return "enumType: enum value expected";
9968
- case 0:
9969
- case 1:
9970
- case 2:
9971
- break;
9972
- }
9973
- if (message.repeatedFieldEncoding != null && message.hasOwnProperty("repeatedFieldEncoding"))
9974
- switch (message.repeatedFieldEncoding) {
9975
- default:
9976
- return "repeatedFieldEncoding: enum value expected";
9977
- case 0:
9978
- case 1:
9979
- case 2:
9980
- break;
9981
- }
9982
- if (message.stringFieldValidation != null && message.hasOwnProperty("stringFieldValidation"))
9983
- switch (message.stringFieldValidation) {
9984
- default:
9985
- return "stringFieldValidation: enum value expected";
9986
- case 0:
9987
- case 1:
9988
- case 2:
9989
- case 3:
9990
- break;
9991
- }
9992
- if (message.messageEncoding != null && message.hasOwnProperty("messageEncoding"))
9993
- switch (message.messageEncoding) {
9994
- default:
9995
- return "messageEncoding: enum value expected";
9996
- case 0:
9997
- case 1:
9998
- case 2:
9999
- break;
10000
- }
10001
- if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
10002
- switch (message.jsonFormat) {
10003
- default:
10004
- return "jsonFormat: enum value expected";
10005
- case 0:
10006
- case 1:
10007
- case 2:
10008
- break;
10009
- }
10010
- if (message.rawFeatures != null && message.hasOwnProperty("rawFeatures")) {
10011
- var error = $root.google.protobuf.FeatureSet.verify(message.rawFeatures);
10012
- if (error)
10013
- return "rawFeatures." + error;
10014
- }
10015
- return null;
10016
- };
10017
-
10018
- /**
10019
- * Creates a FeatureSet message from a plain object. Also converts values to their respective internal types.
10020
- * @function fromObject
10021
- * @memberof google.protobuf.FeatureSet
10022
- * @static
10023
- * @param {Object.<string,*>} object Plain object
10024
- * @returns {google.protobuf.FeatureSet} FeatureSet
10025
- */
10026
- FeatureSet.fromObject = function fromObject(object) {
10027
- if (object instanceof $root.google.protobuf.FeatureSet)
10028
- return object;
10029
- var message = new $root.google.protobuf.FeatureSet();
10030
- switch (object.fieldPresence) {
10031
- default:
10032
- if (typeof object.fieldPresence === "number") {
10033
- message.fieldPresence = object.fieldPresence;
10034
- break;
10035
- }
10036
- break;
10037
- case "FIELD_PRESENCE_UNKNOWN":
10038
- case 0:
10039
- message.fieldPresence = 0;
10040
- break;
10041
- case "EXPLICIT":
10042
- case 1:
10043
- message.fieldPresence = 1;
10044
- break;
10045
- case "IMPLICIT":
10046
- case 2:
10047
- message.fieldPresence = 2;
10048
- break;
10049
- case "LEGACY_REQUIRED":
10050
- case 3:
10051
- message.fieldPresence = 3;
10052
- break;
10053
- }
10054
- switch (object.enumType) {
10055
- default:
10056
- if (typeof object.enumType === "number") {
10057
- message.enumType = object.enumType;
10058
- break;
10059
- }
10060
- break;
10061
- case "ENUM_TYPE_UNKNOWN":
10062
- case 0:
10063
- message.enumType = 0;
10064
- break;
10065
- case "OPEN":
10066
- case 1:
10067
- message.enumType = 1;
10068
- break;
10069
- case "CLOSED":
10070
- case 2:
10071
- message.enumType = 2;
10072
- break;
10073
- }
10074
- switch (object.repeatedFieldEncoding) {
10075
- default:
10076
- if (typeof object.repeatedFieldEncoding === "number") {
10077
- message.repeatedFieldEncoding = object.repeatedFieldEncoding;
10078
- break;
10079
- }
10080
- break;
10081
- case "REPEATED_FIELD_ENCODING_UNKNOWN":
10082
- case 0:
10083
- message.repeatedFieldEncoding = 0;
10084
- break;
10085
- case "PACKED":
10086
- case 1:
10087
- message.repeatedFieldEncoding = 1;
10088
- break;
10089
- case "EXPANDED":
10090
- case 2:
10091
- message.repeatedFieldEncoding = 2;
10092
- break;
10093
- }
10094
- switch (object.stringFieldValidation) {
10095
- default:
10096
- if (typeof object.stringFieldValidation === "number") {
10097
- message.stringFieldValidation = object.stringFieldValidation;
10098
- break;
10099
- }
10100
- break;
10101
- case "STRING_FIELD_VALIDATION_UNKNOWN":
10102
- case 0:
10103
- message.stringFieldValidation = 0;
10104
- break;
10105
- case "MANDATORY":
10106
- case 1:
10107
- message.stringFieldValidation = 1;
10108
- break;
10109
- case "HINT":
10110
- case 2:
10111
- message.stringFieldValidation = 2;
10112
- break;
10113
- case "NONE":
10114
- case 3:
10115
- message.stringFieldValidation = 3;
10116
- break;
10117
- }
10118
- switch (object.messageEncoding) {
10119
- default:
10120
- if (typeof object.messageEncoding === "number") {
10121
- message.messageEncoding = object.messageEncoding;
10122
- break;
10123
- }
10124
- break;
10125
- case "MESSAGE_ENCODING_UNKNOWN":
10126
- case 0:
10127
- message.messageEncoding = 0;
10128
- break;
10129
- case "LENGTH_PREFIXED":
10130
- case 1:
10131
- message.messageEncoding = 1;
10132
- break;
10133
- case "DELIMITED":
10134
- case 2:
10135
- message.messageEncoding = 2;
10136
- break;
10137
- }
10138
- switch (object.jsonFormat) {
10139
- default:
10140
- if (typeof object.jsonFormat === "number") {
10141
- message.jsonFormat = object.jsonFormat;
10142
- break;
10143
- }
10144
- break;
10145
- case "JSON_FORMAT_UNKNOWN":
10146
- case 0:
10147
- message.jsonFormat = 0;
10148
- break;
10149
- case "ALLOW":
10150
- case 1:
10151
- message.jsonFormat = 1;
10152
- break;
10153
- case "LEGACY_BEST_EFFORT":
10154
- case 2:
10155
- message.jsonFormat = 2;
10156
- break;
10157
- }
10158
- if (object.rawFeatures != null) {
10159
- if (typeof object.rawFeatures !== "object")
10160
- throw TypeError(".google.protobuf.FeatureSet.rawFeatures: object expected");
10161
- message.rawFeatures = $root.google.protobuf.FeatureSet.fromObject(object.rawFeatures);
10162
- }
10163
- return message;
10164
- };
10165
-
10166
- /**
10167
- * Creates a plain object from a FeatureSet message. Also converts values to other types if specified.
10168
- * @function toObject
10169
- * @memberof google.protobuf.FeatureSet
10170
- * @static
10171
- * @param {google.protobuf.FeatureSet} message FeatureSet
10172
- * @param {$protobuf.IConversionOptions} [options] Conversion options
10173
- * @returns {Object.<string,*>} Plain object
10174
- */
10175
- FeatureSet.toObject = function toObject(message, options) {
10176
- if (!options)
10177
- options = {};
10178
- var object = {};
10179
- if (options.defaults) {
10180
- object.fieldPresence = options.enums === String ? "FIELD_PRESENCE_UNKNOWN" : 0;
10181
- object.enumType = options.enums === String ? "ENUM_TYPE_UNKNOWN" : 0;
10182
- object.repeatedFieldEncoding = options.enums === String ? "REPEATED_FIELD_ENCODING_UNKNOWN" : 0;
10183
- object.stringFieldValidation = options.enums === String ? "STRING_FIELD_VALIDATION_UNKNOWN" : 0;
10184
- object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0;
10185
- object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0;
10186
- object.rawFeatures = null;
10187
- }
10188
- if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
10189
- object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence;
10190
- if (message.enumType != null && message.hasOwnProperty("enumType"))
10191
- object.enumType = options.enums === String ? $root.google.protobuf.FeatureSet.EnumType[message.enumType] === undefined ? message.enumType : $root.google.protobuf.FeatureSet.EnumType[message.enumType] : message.enumType;
10192
- if (message.repeatedFieldEncoding != null && message.hasOwnProperty("repeatedFieldEncoding"))
10193
- object.repeatedFieldEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.RepeatedFieldEncoding[message.repeatedFieldEncoding] === undefined ? message.repeatedFieldEncoding : $root.google.protobuf.FeatureSet.RepeatedFieldEncoding[message.repeatedFieldEncoding] : message.repeatedFieldEncoding;
10194
- if (message.stringFieldValidation != null && message.hasOwnProperty("stringFieldValidation"))
10195
- object.stringFieldValidation = options.enums === String ? $root.google.protobuf.FeatureSet.StringFieldValidation[message.stringFieldValidation] === undefined ? message.stringFieldValidation : $root.google.protobuf.FeatureSet.StringFieldValidation[message.stringFieldValidation] : message.stringFieldValidation;
10196
- if (message.messageEncoding != null && message.hasOwnProperty("messageEncoding"))
10197
- object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding;
10198
- if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
10199
- object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat;
10200
- if (message.rawFeatures != null && message.hasOwnProperty("rawFeatures"))
10201
- object.rawFeatures = $root.google.protobuf.FeatureSet.toObject(message.rawFeatures, options);
10202
- return object;
10203
- };
10204
-
10205
- /**
10206
- * Converts this FeatureSet to JSON.
10207
- * @function toJSON
10208
- * @memberof google.protobuf.FeatureSet
10209
- * @instance
10210
- * @returns {Object.<string,*>} JSON object
10211
- */
10212
- FeatureSet.prototype.toJSON = function toJSON() {
10213
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
10214
- };
10215
-
10216
- /**
10217
- * Gets the default type url for FeatureSet
10218
- * @function getTypeUrl
10219
- * @memberof google.protobuf.FeatureSet
10220
- * @static
10221
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10222
- * @returns {string} The default type url
10223
- */
10224
- FeatureSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
10225
- if (typeUrlPrefix === undefined) {
10226
- typeUrlPrefix = "type.googleapis.com";
10227
- }
10228
- return typeUrlPrefix + "/google.protobuf.FeatureSet";
10229
- };
10230
-
10231
- /**
10232
- * FieldPresence enum.
10233
- * @name google.protobuf.FeatureSet.FieldPresence
10234
- * @enum {number}
10235
- * @property {number} FIELD_PRESENCE_UNKNOWN=0 FIELD_PRESENCE_UNKNOWN value
10236
- * @property {number} EXPLICIT=1 EXPLICIT value
10237
- * @property {number} IMPLICIT=2 IMPLICIT value
10238
- * @property {number} LEGACY_REQUIRED=3 LEGACY_REQUIRED value
10239
- */
10240
- FeatureSet.FieldPresence = (function() {
10241
- var valuesById = {}, values = Object.create(valuesById);
10242
- values[valuesById[0] = "FIELD_PRESENCE_UNKNOWN"] = 0;
10243
- values[valuesById[1] = "EXPLICIT"] = 1;
10244
- values[valuesById[2] = "IMPLICIT"] = 2;
10245
- values[valuesById[3] = "LEGACY_REQUIRED"] = 3;
10246
- return values;
10247
- })();
10248
-
10249
- /**
10250
- * EnumType enum.
10251
- * @name google.protobuf.FeatureSet.EnumType
10252
- * @enum {number}
10253
- * @property {number} ENUM_TYPE_UNKNOWN=0 ENUM_TYPE_UNKNOWN value
10254
- * @property {number} OPEN=1 OPEN value
10255
- * @property {number} CLOSED=2 CLOSED value
10256
- */
10257
- FeatureSet.EnumType = (function() {
10258
- var valuesById = {}, values = Object.create(valuesById);
10259
- values[valuesById[0] = "ENUM_TYPE_UNKNOWN"] = 0;
10260
- values[valuesById[1] = "OPEN"] = 1;
10261
- values[valuesById[2] = "CLOSED"] = 2;
10262
- return values;
10263
- })();
10264
-
10265
- /**
10266
- * RepeatedFieldEncoding enum.
10267
- * @name google.protobuf.FeatureSet.RepeatedFieldEncoding
10268
- * @enum {number}
10269
- * @property {number} REPEATED_FIELD_ENCODING_UNKNOWN=0 REPEATED_FIELD_ENCODING_UNKNOWN value
10270
- * @property {number} PACKED=1 PACKED value
10271
- * @property {number} EXPANDED=2 EXPANDED value
10272
- */
10273
- FeatureSet.RepeatedFieldEncoding = (function() {
10274
- var valuesById = {}, values = Object.create(valuesById);
10275
- values[valuesById[0] = "REPEATED_FIELD_ENCODING_UNKNOWN"] = 0;
10276
- values[valuesById[1] = "PACKED"] = 1;
10277
- values[valuesById[2] = "EXPANDED"] = 2;
10278
- return values;
10279
- })();
10280
-
10281
- /**
10282
- * StringFieldValidation enum.
10283
- * @name google.protobuf.FeatureSet.StringFieldValidation
10284
- * @enum {number}
10285
- * @property {number} STRING_FIELD_VALIDATION_UNKNOWN=0 STRING_FIELD_VALIDATION_UNKNOWN value
10286
- * @property {number} MANDATORY=1 MANDATORY value
10287
- * @property {number} HINT=2 HINT value
10288
- * @property {number} NONE=3 NONE value
10289
- */
10290
- FeatureSet.StringFieldValidation = (function() {
10291
- var valuesById = {}, values = Object.create(valuesById);
10292
- values[valuesById[0] = "STRING_FIELD_VALIDATION_UNKNOWN"] = 0;
10293
- values[valuesById[1] = "MANDATORY"] = 1;
10294
- values[valuesById[2] = "HINT"] = 2;
10295
- values[valuesById[3] = "NONE"] = 3;
10296
- return values;
10297
- })();
10298
-
10299
- /**
10300
- * MessageEncoding enum.
10301
- * @name google.protobuf.FeatureSet.MessageEncoding
10302
- * @enum {number}
10303
- * @property {number} MESSAGE_ENCODING_UNKNOWN=0 MESSAGE_ENCODING_UNKNOWN value
10304
- * @property {number} LENGTH_PREFIXED=1 LENGTH_PREFIXED value
10305
- * @property {number} DELIMITED=2 DELIMITED value
10306
- */
10307
- FeatureSet.MessageEncoding = (function() {
10308
- var valuesById = {}, values = Object.create(valuesById);
10309
- values[valuesById[0] = "MESSAGE_ENCODING_UNKNOWN"] = 0;
10310
- values[valuesById[1] = "LENGTH_PREFIXED"] = 1;
10311
- values[valuesById[2] = "DELIMITED"] = 2;
10312
- return values;
10313
- })();
10314
-
10315
- /**
10316
- * JsonFormat enum.
10317
- * @name google.protobuf.FeatureSet.JsonFormat
10318
- * @enum {number}
10319
- * @property {number} JSON_FORMAT_UNKNOWN=0 JSON_FORMAT_UNKNOWN value
10320
- * @property {number} ALLOW=1 ALLOW value
10321
- * @property {number} LEGACY_BEST_EFFORT=2 LEGACY_BEST_EFFORT value
10322
- */
10323
- FeatureSet.JsonFormat = (function() {
10324
- var valuesById = {}, values = Object.create(valuesById);
10325
- values[valuesById[0] = "JSON_FORMAT_UNKNOWN"] = 0;
10326
- values[valuesById[1] = "ALLOW"] = 1;
10327
- values[valuesById[2] = "LEGACY_BEST_EFFORT"] = 2;
10328
- return values;
10329
- })();
10330
-
10331
- return FeatureSet;
10332
- })();
10333
-
10334
8765
  protobuf.SourceCodeInfo = (function() {
10335
8766
 
10336
8767
  /**
@@ -12414,9 +10845,1436 @@
12414
10845
  * @variation 2
12415
10846
  */
12416
10847
 
10848
+ /**
10849
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|createRecurringAudienceList}.
10850
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
10851
+ * @typedef CreateRecurringAudienceListCallback
10852
+ * @type {function}
10853
+ * @param {Error|null} error Error, if any
10854
+ * @param {google.analytics.data.v1alpha.RecurringAudienceList} [response] RecurringAudienceList
10855
+ */
10856
+
10857
+ /**
10858
+ * Calls CreateRecurringAudienceList.
10859
+ * @function createRecurringAudienceList
10860
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
10861
+ * @instance
10862
+ * @param {google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest} request CreateRecurringAudienceListRequest message or plain object
10863
+ * @param {google.analytics.data.v1alpha.AlphaAnalyticsData.CreateRecurringAudienceListCallback} callback Node-style callback called with the error, if any, and RecurringAudienceList
10864
+ * @returns {undefined}
10865
+ * @variation 1
10866
+ */
10867
+ Object.defineProperty(AlphaAnalyticsData.prototype.createRecurringAudienceList = function createRecurringAudienceList(request, callback) {
10868
+ return this.rpcCall(createRecurringAudienceList, $root.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest, $root.google.analytics.data.v1alpha.RecurringAudienceList, request, callback);
10869
+ }, "name", { value: "CreateRecurringAudienceList" });
10870
+
10871
+ /**
10872
+ * Calls CreateRecurringAudienceList.
10873
+ * @function createRecurringAudienceList
10874
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
10875
+ * @instance
10876
+ * @param {google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest} request CreateRecurringAudienceListRequest message or plain object
10877
+ * @returns {Promise<google.analytics.data.v1alpha.RecurringAudienceList>} Promise
10878
+ * @variation 2
10879
+ */
10880
+
10881
+ /**
10882
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|getRecurringAudienceList}.
10883
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
10884
+ * @typedef GetRecurringAudienceListCallback
10885
+ * @type {function}
10886
+ * @param {Error|null} error Error, if any
10887
+ * @param {google.analytics.data.v1alpha.RecurringAudienceList} [response] RecurringAudienceList
10888
+ */
10889
+
10890
+ /**
10891
+ * Calls GetRecurringAudienceList.
10892
+ * @function getRecurringAudienceList
10893
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
10894
+ * @instance
10895
+ * @param {google.analytics.data.v1alpha.IGetRecurringAudienceListRequest} request GetRecurringAudienceListRequest message or plain object
10896
+ * @param {google.analytics.data.v1alpha.AlphaAnalyticsData.GetRecurringAudienceListCallback} callback Node-style callback called with the error, if any, and RecurringAudienceList
10897
+ * @returns {undefined}
10898
+ * @variation 1
10899
+ */
10900
+ Object.defineProperty(AlphaAnalyticsData.prototype.getRecurringAudienceList = function getRecurringAudienceList(request, callback) {
10901
+ return this.rpcCall(getRecurringAudienceList, $root.google.analytics.data.v1alpha.GetRecurringAudienceListRequest, $root.google.analytics.data.v1alpha.RecurringAudienceList, request, callback);
10902
+ }, "name", { value: "GetRecurringAudienceList" });
10903
+
10904
+ /**
10905
+ * Calls GetRecurringAudienceList.
10906
+ * @function getRecurringAudienceList
10907
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
10908
+ * @instance
10909
+ * @param {google.analytics.data.v1alpha.IGetRecurringAudienceListRequest} request GetRecurringAudienceListRequest message or plain object
10910
+ * @returns {Promise<google.analytics.data.v1alpha.RecurringAudienceList>} Promise
10911
+ * @variation 2
10912
+ */
10913
+
10914
+ /**
10915
+ * Callback as used by {@link google.analytics.data.v1alpha.AlphaAnalyticsData|listRecurringAudienceLists}.
10916
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
10917
+ * @typedef ListRecurringAudienceListsCallback
10918
+ * @type {function}
10919
+ * @param {Error|null} error Error, if any
10920
+ * @param {google.analytics.data.v1alpha.ListRecurringAudienceListsResponse} [response] ListRecurringAudienceListsResponse
10921
+ */
10922
+
10923
+ /**
10924
+ * Calls ListRecurringAudienceLists.
10925
+ * @function listRecurringAudienceLists
10926
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
10927
+ * @instance
10928
+ * @param {google.analytics.data.v1alpha.IListRecurringAudienceListsRequest} request ListRecurringAudienceListsRequest message or plain object
10929
+ * @param {google.analytics.data.v1alpha.AlphaAnalyticsData.ListRecurringAudienceListsCallback} callback Node-style callback called with the error, if any, and ListRecurringAudienceListsResponse
10930
+ * @returns {undefined}
10931
+ * @variation 1
10932
+ */
10933
+ Object.defineProperty(AlphaAnalyticsData.prototype.listRecurringAudienceLists = function listRecurringAudienceLists(request, callback) {
10934
+ return this.rpcCall(listRecurringAudienceLists, $root.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest, $root.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse, request, callback);
10935
+ }, "name", { value: "ListRecurringAudienceLists" });
10936
+
10937
+ /**
10938
+ * Calls ListRecurringAudienceLists.
10939
+ * @function listRecurringAudienceLists
10940
+ * @memberof google.analytics.data.v1alpha.AlphaAnalyticsData
10941
+ * @instance
10942
+ * @param {google.analytics.data.v1alpha.IListRecurringAudienceListsRequest} request ListRecurringAudienceListsRequest message or plain object
10943
+ * @returns {Promise<google.analytics.data.v1alpha.ListRecurringAudienceListsResponse>} Promise
10944
+ * @variation 2
10945
+ */
10946
+
12417
10947
  return AlphaAnalyticsData;
12418
10948
  })();
12419
10949
 
10950
+ v1alpha.CreateRecurringAudienceListRequest = (function() {
10951
+
10952
+ /**
10953
+ * Properties of a CreateRecurringAudienceListRequest.
10954
+ * @memberof google.analytics.data.v1alpha
10955
+ * @interface ICreateRecurringAudienceListRequest
10956
+ * @property {string|null} [parent] CreateRecurringAudienceListRequest parent
10957
+ * @property {google.analytics.data.v1alpha.IRecurringAudienceList|null} [recurringAudienceList] CreateRecurringAudienceListRequest recurringAudienceList
10958
+ */
10959
+
10960
+ /**
10961
+ * Constructs a new CreateRecurringAudienceListRequest.
10962
+ * @memberof google.analytics.data.v1alpha
10963
+ * @classdesc Represents a CreateRecurringAudienceListRequest.
10964
+ * @implements ICreateRecurringAudienceListRequest
10965
+ * @constructor
10966
+ * @param {google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest=} [properties] Properties to set
10967
+ */
10968
+ function CreateRecurringAudienceListRequest(properties) {
10969
+ if (properties)
10970
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
10971
+ if (properties[keys[i]] != null)
10972
+ this[keys[i]] = properties[keys[i]];
10973
+ }
10974
+
10975
+ /**
10976
+ * CreateRecurringAudienceListRequest parent.
10977
+ * @member {string} parent
10978
+ * @memberof google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
10979
+ * @instance
10980
+ */
10981
+ CreateRecurringAudienceListRequest.prototype.parent = "";
10982
+
10983
+ /**
10984
+ * CreateRecurringAudienceListRequest recurringAudienceList.
10985
+ * @member {google.analytics.data.v1alpha.IRecurringAudienceList|null|undefined} recurringAudienceList
10986
+ * @memberof google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
10987
+ * @instance
10988
+ */
10989
+ CreateRecurringAudienceListRequest.prototype.recurringAudienceList = null;
10990
+
10991
+ /**
10992
+ * Creates a new CreateRecurringAudienceListRequest instance using the specified properties.
10993
+ * @function create
10994
+ * @memberof google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
10995
+ * @static
10996
+ * @param {google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest=} [properties] Properties to set
10997
+ * @returns {google.analytics.data.v1alpha.CreateRecurringAudienceListRequest} CreateRecurringAudienceListRequest instance
10998
+ */
10999
+ CreateRecurringAudienceListRequest.create = function create(properties) {
11000
+ return new CreateRecurringAudienceListRequest(properties);
11001
+ };
11002
+
11003
+ /**
11004
+ * Encodes the specified CreateRecurringAudienceListRequest message. Does not implicitly {@link google.analytics.data.v1alpha.CreateRecurringAudienceListRequest.verify|verify} messages.
11005
+ * @function encode
11006
+ * @memberof google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
11007
+ * @static
11008
+ * @param {google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest} message CreateRecurringAudienceListRequest message or plain object to encode
11009
+ * @param {$protobuf.Writer} [writer] Writer to encode to
11010
+ * @returns {$protobuf.Writer} Writer
11011
+ */
11012
+ CreateRecurringAudienceListRequest.encode = function encode(message, writer) {
11013
+ if (!writer)
11014
+ writer = $Writer.create();
11015
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
11016
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
11017
+ if (message.recurringAudienceList != null && Object.hasOwnProperty.call(message, "recurringAudienceList"))
11018
+ $root.google.analytics.data.v1alpha.RecurringAudienceList.encode(message.recurringAudienceList, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
11019
+ return writer;
11020
+ };
11021
+
11022
+ /**
11023
+ * Encodes the specified CreateRecurringAudienceListRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.CreateRecurringAudienceListRequest.verify|verify} messages.
11024
+ * @function encodeDelimited
11025
+ * @memberof google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
11026
+ * @static
11027
+ * @param {google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest} message CreateRecurringAudienceListRequest message or plain object to encode
11028
+ * @param {$protobuf.Writer} [writer] Writer to encode to
11029
+ * @returns {$protobuf.Writer} Writer
11030
+ */
11031
+ CreateRecurringAudienceListRequest.encodeDelimited = function encodeDelimited(message, writer) {
11032
+ return this.encode(message, writer).ldelim();
11033
+ };
11034
+
11035
+ /**
11036
+ * Decodes a CreateRecurringAudienceListRequest message from the specified reader or buffer.
11037
+ * @function decode
11038
+ * @memberof google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
11039
+ * @static
11040
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
11041
+ * @param {number} [length] Message length if known beforehand
11042
+ * @returns {google.analytics.data.v1alpha.CreateRecurringAudienceListRequest} CreateRecurringAudienceListRequest
11043
+ * @throws {Error} If the payload is not a reader or valid buffer
11044
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11045
+ */
11046
+ CreateRecurringAudienceListRequest.decode = function decode(reader, length) {
11047
+ if (!(reader instanceof $Reader))
11048
+ reader = $Reader.create(reader);
11049
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest();
11050
+ while (reader.pos < end) {
11051
+ var tag = reader.uint32();
11052
+ switch (tag >>> 3) {
11053
+ case 1: {
11054
+ message.parent = reader.string();
11055
+ break;
11056
+ }
11057
+ case 2: {
11058
+ message.recurringAudienceList = $root.google.analytics.data.v1alpha.RecurringAudienceList.decode(reader, reader.uint32());
11059
+ break;
11060
+ }
11061
+ default:
11062
+ reader.skipType(tag & 7);
11063
+ break;
11064
+ }
11065
+ }
11066
+ return message;
11067
+ };
11068
+
11069
+ /**
11070
+ * Decodes a CreateRecurringAudienceListRequest message from the specified reader or buffer, length delimited.
11071
+ * @function decodeDelimited
11072
+ * @memberof google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
11073
+ * @static
11074
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
11075
+ * @returns {google.analytics.data.v1alpha.CreateRecurringAudienceListRequest} CreateRecurringAudienceListRequest
11076
+ * @throws {Error} If the payload is not a reader or valid buffer
11077
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11078
+ */
11079
+ CreateRecurringAudienceListRequest.decodeDelimited = function decodeDelimited(reader) {
11080
+ if (!(reader instanceof $Reader))
11081
+ reader = new $Reader(reader);
11082
+ return this.decode(reader, reader.uint32());
11083
+ };
11084
+
11085
+ /**
11086
+ * Verifies a CreateRecurringAudienceListRequest message.
11087
+ * @function verify
11088
+ * @memberof google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
11089
+ * @static
11090
+ * @param {Object.<string,*>} message Plain object to verify
11091
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
11092
+ */
11093
+ CreateRecurringAudienceListRequest.verify = function verify(message) {
11094
+ if (typeof message !== "object" || message === null)
11095
+ return "object expected";
11096
+ if (message.parent != null && message.hasOwnProperty("parent"))
11097
+ if (!$util.isString(message.parent))
11098
+ return "parent: string expected";
11099
+ if (message.recurringAudienceList != null && message.hasOwnProperty("recurringAudienceList")) {
11100
+ var error = $root.google.analytics.data.v1alpha.RecurringAudienceList.verify(message.recurringAudienceList);
11101
+ if (error)
11102
+ return "recurringAudienceList." + error;
11103
+ }
11104
+ return null;
11105
+ };
11106
+
11107
+ /**
11108
+ * Creates a CreateRecurringAudienceListRequest message from a plain object. Also converts values to their respective internal types.
11109
+ * @function fromObject
11110
+ * @memberof google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
11111
+ * @static
11112
+ * @param {Object.<string,*>} object Plain object
11113
+ * @returns {google.analytics.data.v1alpha.CreateRecurringAudienceListRequest} CreateRecurringAudienceListRequest
11114
+ */
11115
+ CreateRecurringAudienceListRequest.fromObject = function fromObject(object) {
11116
+ if (object instanceof $root.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest)
11117
+ return object;
11118
+ var message = new $root.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest();
11119
+ if (object.parent != null)
11120
+ message.parent = String(object.parent);
11121
+ if (object.recurringAudienceList != null) {
11122
+ if (typeof object.recurringAudienceList !== "object")
11123
+ throw TypeError(".google.analytics.data.v1alpha.CreateRecurringAudienceListRequest.recurringAudienceList: object expected");
11124
+ message.recurringAudienceList = $root.google.analytics.data.v1alpha.RecurringAudienceList.fromObject(object.recurringAudienceList);
11125
+ }
11126
+ return message;
11127
+ };
11128
+
11129
+ /**
11130
+ * Creates a plain object from a CreateRecurringAudienceListRequest message. Also converts values to other types if specified.
11131
+ * @function toObject
11132
+ * @memberof google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
11133
+ * @static
11134
+ * @param {google.analytics.data.v1alpha.CreateRecurringAudienceListRequest} message CreateRecurringAudienceListRequest
11135
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
11136
+ * @returns {Object.<string,*>} Plain object
11137
+ */
11138
+ CreateRecurringAudienceListRequest.toObject = function toObject(message, options) {
11139
+ if (!options)
11140
+ options = {};
11141
+ var object = {};
11142
+ if (options.defaults) {
11143
+ object.parent = "";
11144
+ object.recurringAudienceList = null;
11145
+ }
11146
+ if (message.parent != null && message.hasOwnProperty("parent"))
11147
+ object.parent = message.parent;
11148
+ if (message.recurringAudienceList != null && message.hasOwnProperty("recurringAudienceList"))
11149
+ object.recurringAudienceList = $root.google.analytics.data.v1alpha.RecurringAudienceList.toObject(message.recurringAudienceList, options);
11150
+ return object;
11151
+ };
11152
+
11153
+ /**
11154
+ * Converts this CreateRecurringAudienceListRequest to JSON.
11155
+ * @function toJSON
11156
+ * @memberof google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
11157
+ * @instance
11158
+ * @returns {Object.<string,*>} JSON object
11159
+ */
11160
+ CreateRecurringAudienceListRequest.prototype.toJSON = function toJSON() {
11161
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
11162
+ };
11163
+
11164
+ /**
11165
+ * Gets the default type url for CreateRecurringAudienceListRequest
11166
+ * @function getTypeUrl
11167
+ * @memberof google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
11168
+ * @static
11169
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11170
+ * @returns {string} The default type url
11171
+ */
11172
+ CreateRecurringAudienceListRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
11173
+ if (typeUrlPrefix === undefined) {
11174
+ typeUrlPrefix = "type.googleapis.com";
11175
+ }
11176
+ return typeUrlPrefix + "/google.analytics.data.v1alpha.CreateRecurringAudienceListRequest";
11177
+ };
11178
+
11179
+ return CreateRecurringAudienceListRequest;
11180
+ })();
11181
+
11182
+ v1alpha.RecurringAudienceList = (function() {
11183
+
11184
+ /**
11185
+ * Properties of a RecurringAudienceList.
11186
+ * @memberof google.analytics.data.v1alpha
11187
+ * @interface IRecurringAudienceList
11188
+ * @property {string|null} [name] RecurringAudienceList name
11189
+ * @property {string|null} [audience] RecurringAudienceList audience
11190
+ * @property {string|null} [audienceDisplayName] RecurringAudienceList audienceDisplayName
11191
+ * @property {Array.<google.analytics.data.v1alpha.IAudienceDimension>|null} [dimensions] RecurringAudienceList dimensions
11192
+ * @property {number|null} [activeDaysRemaining] RecurringAudienceList activeDaysRemaining
11193
+ * @property {Array.<string>|null} [audienceLists] RecurringAudienceList audienceLists
11194
+ */
11195
+
11196
+ /**
11197
+ * Constructs a new RecurringAudienceList.
11198
+ * @memberof google.analytics.data.v1alpha
11199
+ * @classdesc Represents a RecurringAudienceList.
11200
+ * @implements IRecurringAudienceList
11201
+ * @constructor
11202
+ * @param {google.analytics.data.v1alpha.IRecurringAudienceList=} [properties] Properties to set
11203
+ */
11204
+ function RecurringAudienceList(properties) {
11205
+ this.dimensions = [];
11206
+ this.audienceLists = [];
11207
+ if (properties)
11208
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
11209
+ if (properties[keys[i]] != null)
11210
+ this[keys[i]] = properties[keys[i]];
11211
+ }
11212
+
11213
+ /**
11214
+ * RecurringAudienceList name.
11215
+ * @member {string} name
11216
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11217
+ * @instance
11218
+ */
11219
+ RecurringAudienceList.prototype.name = "";
11220
+
11221
+ /**
11222
+ * RecurringAudienceList audience.
11223
+ * @member {string} audience
11224
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11225
+ * @instance
11226
+ */
11227
+ RecurringAudienceList.prototype.audience = "";
11228
+
11229
+ /**
11230
+ * RecurringAudienceList audienceDisplayName.
11231
+ * @member {string} audienceDisplayName
11232
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11233
+ * @instance
11234
+ */
11235
+ RecurringAudienceList.prototype.audienceDisplayName = "";
11236
+
11237
+ /**
11238
+ * RecurringAudienceList dimensions.
11239
+ * @member {Array.<google.analytics.data.v1alpha.IAudienceDimension>} dimensions
11240
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11241
+ * @instance
11242
+ */
11243
+ RecurringAudienceList.prototype.dimensions = $util.emptyArray;
11244
+
11245
+ /**
11246
+ * RecurringAudienceList activeDaysRemaining.
11247
+ * @member {number|null|undefined} activeDaysRemaining
11248
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11249
+ * @instance
11250
+ */
11251
+ RecurringAudienceList.prototype.activeDaysRemaining = null;
11252
+
11253
+ /**
11254
+ * RecurringAudienceList audienceLists.
11255
+ * @member {Array.<string>} audienceLists
11256
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11257
+ * @instance
11258
+ */
11259
+ RecurringAudienceList.prototype.audienceLists = $util.emptyArray;
11260
+
11261
+ // OneOf field names bound to virtual getters and setters
11262
+ var $oneOfFields;
11263
+
11264
+ /**
11265
+ * RecurringAudienceList _activeDaysRemaining.
11266
+ * @member {"activeDaysRemaining"|undefined} _activeDaysRemaining
11267
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11268
+ * @instance
11269
+ */
11270
+ Object.defineProperty(RecurringAudienceList.prototype, "_activeDaysRemaining", {
11271
+ get: $util.oneOfGetter($oneOfFields = ["activeDaysRemaining"]),
11272
+ set: $util.oneOfSetter($oneOfFields)
11273
+ });
11274
+
11275
+ /**
11276
+ * Creates a new RecurringAudienceList instance using the specified properties.
11277
+ * @function create
11278
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11279
+ * @static
11280
+ * @param {google.analytics.data.v1alpha.IRecurringAudienceList=} [properties] Properties to set
11281
+ * @returns {google.analytics.data.v1alpha.RecurringAudienceList} RecurringAudienceList instance
11282
+ */
11283
+ RecurringAudienceList.create = function create(properties) {
11284
+ return new RecurringAudienceList(properties);
11285
+ };
11286
+
11287
+ /**
11288
+ * Encodes the specified RecurringAudienceList message. Does not implicitly {@link google.analytics.data.v1alpha.RecurringAudienceList.verify|verify} messages.
11289
+ * @function encode
11290
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11291
+ * @static
11292
+ * @param {google.analytics.data.v1alpha.IRecurringAudienceList} message RecurringAudienceList message or plain object to encode
11293
+ * @param {$protobuf.Writer} [writer] Writer to encode to
11294
+ * @returns {$protobuf.Writer} Writer
11295
+ */
11296
+ RecurringAudienceList.encode = function encode(message, writer) {
11297
+ if (!writer)
11298
+ writer = $Writer.create();
11299
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
11300
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
11301
+ if (message.audience != null && Object.hasOwnProperty.call(message, "audience"))
11302
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.audience);
11303
+ if (message.audienceDisplayName != null && Object.hasOwnProperty.call(message, "audienceDisplayName"))
11304
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.audienceDisplayName);
11305
+ if (message.dimensions != null && message.dimensions.length)
11306
+ for (var i = 0; i < message.dimensions.length; ++i)
11307
+ $root.google.analytics.data.v1alpha.AudienceDimension.encode(message.dimensions[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
11308
+ if (message.activeDaysRemaining != null && Object.hasOwnProperty.call(message, "activeDaysRemaining"))
11309
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.activeDaysRemaining);
11310
+ if (message.audienceLists != null && message.audienceLists.length)
11311
+ for (var i = 0; i < message.audienceLists.length; ++i)
11312
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.audienceLists[i]);
11313
+ return writer;
11314
+ };
11315
+
11316
+ /**
11317
+ * Encodes the specified RecurringAudienceList message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.RecurringAudienceList.verify|verify} messages.
11318
+ * @function encodeDelimited
11319
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11320
+ * @static
11321
+ * @param {google.analytics.data.v1alpha.IRecurringAudienceList} message RecurringAudienceList message or plain object to encode
11322
+ * @param {$protobuf.Writer} [writer] Writer to encode to
11323
+ * @returns {$protobuf.Writer} Writer
11324
+ */
11325
+ RecurringAudienceList.encodeDelimited = function encodeDelimited(message, writer) {
11326
+ return this.encode(message, writer).ldelim();
11327
+ };
11328
+
11329
+ /**
11330
+ * Decodes a RecurringAudienceList message from the specified reader or buffer.
11331
+ * @function decode
11332
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11333
+ * @static
11334
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
11335
+ * @param {number} [length] Message length if known beforehand
11336
+ * @returns {google.analytics.data.v1alpha.RecurringAudienceList} RecurringAudienceList
11337
+ * @throws {Error} If the payload is not a reader or valid buffer
11338
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11339
+ */
11340
+ RecurringAudienceList.decode = function decode(reader, length) {
11341
+ if (!(reader instanceof $Reader))
11342
+ reader = $Reader.create(reader);
11343
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.analytics.data.v1alpha.RecurringAudienceList();
11344
+ while (reader.pos < end) {
11345
+ var tag = reader.uint32();
11346
+ switch (tag >>> 3) {
11347
+ case 1: {
11348
+ message.name = reader.string();
11349
+ break;
11350
+ }
11351
+ case 2: {
11352
+ message.audience = reader.string();
11353
+ break;
11354
+ }
11355
+ case 3: {
11356
+ message.audienceDisplayName = reader.string();
11357
+ break;
11358
+ }
11359
+ case 4: {
11360
+ if (!(message.dimensions && message.dimensions.length))
11361
+ message.dimensions = [];
11362
+ message.dimensions.push($root.google.analytics.data.v1alpha.AudienceDimension.decode(reader, reader.uint32()));
11363
+ break;
11364
+ }
11365
+ case 5: {
11366
+ message.activeDaysRemaining = reader.int32();
11367
+ break;
11368
+ }
11369
+ case 6: {
11370
+ if (!(message.audienceLists && message.audienceLists.length))
11371
+ message.audienceLists = [];
11372
+ message.audienceLists.push(reader.string());
11373
+ break;
11374
+ }
11375
+ default:
11376
+ reader.skipType(tag & 7);
11377
+ break;
11378
+ }
11379
+ }
11380
+ return message;
11381
+ };
11382
+
11383
+ /**
11384
+ * Decodes a RecurringAudienceList message from the specified reader or buffer, length delimited.
11385
+ * @function decodeDelimited
11386
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11387
+ * @static
11388
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
11389
+ * @returns {google.analytics.data.v1alpha.RecurringAudienceList} RecurringAudienceList
11390
+ * @throws {Error} If the payload is not a reader or valid buffer
11391
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11392
+ */
11393
+ RecurringAudienceList.decodeDelimited = function decodeDelimited(reader) {
11394
+ if (!(reader instanceof $Reader))
11395
+ reader = new $Reader(reader);
11396
+ return this.decode(reader, reader.uint32());
11397
+ };
11398
+
11399
+ /**
11400
+ * Verifies a RecurringAudienceList message.
11401
+ * @function verify
11402
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11403
+ * @static
11404
+ * @param {Object.<string,*>} message Plain object to verify
11405
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
11406
+ */
11407
+ RecurringAudienceList.verify = function verify(message) {
11408
+ if (typeof message !== "object" || message === null)
11409
+ return "object expected";
11410
+ var properties = {};
11411
+ if (message.name != null && message.hasOwnProperty("name"))
11412
+ if (!$util.isString(message.name))
11413
+ return "name: string expected";
11414
+ if (message.audience != null && message.hasOwnProperty("audience"))
11415
+ if (!$util.isString(message.audience))
11416
+ return "audience: string expected";
11417
+ if (message.audienceDisplayName != null && message.hasOwnProperty("audienceDisplayName"))
11418
+ if (!$util.isString(message.audienceDisplayName))
11419
+ return "audienceDisplayName: string expected";
11420
+ if (message.dimensions != null && message.hasOwnProperty("dimensions")) {
11421
+ if (!Array.isArray(message.dimensions))
11422
+ return "dimensions: array expected";
11423
+ for (var i = 0; i < message.dimensions.length; ++i) {
11424
+ var error = $root.google.analytics.data.v1alpha.AudienceDimension.verify(message.dimensions[i]);
11425
+ if (error)
11426
+ return "dimensions." + error;
11427
+ }
11428
+ }
11429
+ if (message.activeDaysRemaining != null && message.hasOwnProperty("activeDaysRemaining")) {
11430
+ properties._activeDaysRemaining = 1;
11431
+ if (!$util.isInteger(message.activeDaysRemaining))
11432
+ return "activeDaysRemaining: integer expected";
11433
+ }
11434
+ if (message.audienceLists != null && message.hasOwnProperty("audienceLists")) {
11435
+ if (!Array.isArray(message.audienceLists))
11436
+ return "audienceLists: array expected";
11437
+ for (var i = 0; i < message.audienceLists.length; ++i)
11438
+ if (!$util.isString(message.audienceLists[i]))
11439
+ return "audienceLists: string[] expected";
11440
+ }
11441
+ return null;
11442
+ };
11443
+
11444
+ /**
11445
+ * Creates a RecurringAudienceList message from a plain object. Also converts values to their respective internal types.
11446
+ * @function fromObject
11447
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11448
+ * @static
11449
+ * @param {Object.<string,*>} object Plain object
11450
+ * @returns {google.analytics.data.v1alpha.RecurringAudienceList} RecurringAudienceList
11451
+ */
11452
+ RecurringAudienceList.fromObject = function fromObject(object) {
11453
+ if (object instanceof $root.google.analytics.data.v1alpha.RecurringAudienceList)
11454
+ return object;
11455
+ var message = new $root.google.analytics.data.v1alpha.RecurringAudienceList();
11456
+ if (object.name != null)
11457
+ message.name = String(object.name);
11458
+ if (object.audience != null)
11459
+ message.audience = String(object.audience);
11460
+ if (object.audienceDisplayName != null)
11461
+ message.audienceDisplayName = String(object.audienceDisplayName);
11462
+ if (object.dimensions) {
11463
+ if (!Array.isArray(object.dimensions))
11464
+ throw TypeError(".google.analytics.data.v1alpha.RecurringAudienceList.dimensions: array expected");
11465
+ message.dimensions = [];
11466
+ for (var i = 0; i < object.dimensions.length; ++i) {
11467
+ if (typeof object.dimensions[i] !== "object")
11468
+ throw TypeError(".google.analytics.data.v1alpha.RecurringAudienceList.dimensions: object expected");
11469
+ message.dimensions[i] = $root.google.analytics.data.v1alpha.AudienceDimension.fromObject(object.dimensions[i]);
11470
+ }
11471
+ }
11472
+ if (object.activeDaysRemaining != null)
11473
+ message.activeDaysRemaining = object.activeDaysRemaining | 0;
11474
+ if (object.audienceLists) {
11475
+ if (!Array.isArray(object.audienceLists))
11476
+ throw TypeError(".google.analytics.data.v1alpha.RecurringAudienceList.audienceLists: array expected");
11477
+ message.audienceLists = [];
11478
+ for (var i = 0; i < object.audienceLists.length; ++i)
11479
+ message.audienceLists[i] = String(object.audienceLists[i]);
11480
+ }
11481
+ return message;
11482
+ };
11483
+
11484
+ /**
11485
+ * Creates a plain object from a RecurringAudienceList message. Also converts values to other types if specified.
11486
+ * @function toObject
11487
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11488
+ * @static
11489
+ * @param {google.analytics.data.v1alpha.RecurringAudienceList} message RecurringAudienceList
11490
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
11491
+ * @returns {Object.<string,*>} Plain object
11492
+ */
11493
+ RecurringAudienceList.toObject = function toObject(message, options) {
11494
+ if (!options)
11495
+ options = {};
11496
+ var object = {};
11497
+ if (options.arrays || options.defaults) {
11498
+ object.dimensions = [];
11499
+ object.audienceLists = [];
11500
+ }
11501
+ if (options.defaults) {
11502
+ object.name = "";
11503
+ object.audience = "";
11504
+ object.audienceDisplayName = "";
11505
+ }
11506
+ if (message.name != null && message.hasOwnProperty("name"))
11507
+ object.name = message.name;
11508
+ if (message.audience != null && message.hasOwnProperty("audience"))
11509
+ object.audience = message.audience;
11510
+ if (message.audienceDisplayName != null && message.hasOwnProperty("audienceDisplayName"))
11511
+ object.audienceDisplayName = message.audienceDisplayName;
11512
+ if (message.dimensions && message.dimensions.length) {
11513
+ object.dimensions = [];
11514
+ for (var j = 0; j < message.dimensions.length; ++j)
11515
+ object.dimensions[j] = $root.google.analytics.data.v1alpha.AudienceDimension.toObject(message.dimensions[j], options);
11516
+ }
11517
+ if (message.activeDaysRemaining != null && message.hasOwnProperty("activeDaysRemaining")) {
11518
+ object.activeDaysRemaining = message.activeDaysRemaining;
11519
+ if (options.oneofs)
11520
+ object._activeDaysRemaining = "activeDaysRemaining";
11521
+ }
11522
+ if (message.audienceLists && message.audienceLists.length) {
11523
+ object.audienceLists = [];
11524
+ for (var j = 0; j < message.audienceLists.length; ++j)
11525
+ object.audienceLists[j] = message.audienceLists[j];
11526
+ }
11527
+ return object;
11528
+ };
11529
+
11530
+ /**
11531
+ * Converts this RecurringAudienceList to JSON.
11532
+ * @function toJSON
11533
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11534
+ * @instance
11535
+ * @returns {Object.<string,*>} JSON object
11536
+ */
11537
+ RecurringAudienceList.prototype.toJSON = function toJSON() {
11538
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
11539
+ };
11540
+
11541
+ /**
11542
+ * Gets the default type url for RecurringAudienceList
11543
+ * @function getTypeUrl
11544
+ * @memberof google.analytics.data.v1alpha.RecurringAudienceList
11545
+ * @static
11546
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11547
+ * @returns {string} The default type url
11548
+ */
11549
+ RecurringAudienceList.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
11550
+ if (typeUrlPrefix === undefined) {
11551
+ typeUrlPrefix = "type.googleapis.com";
11552
+ }
11553
+ return typeUrlPrefix + "/google.analytics.data.v1alpha.RecurringAudienceList";
11554
+ };
11555
+
11556
+ return RecurringAudienceList;
11557
+ })();
11558
+
11559
+ v1alpha.GetRecurringAudienceListRequest = (function() {
11560
+
11561
+ /**
11562
+ * Properties of a GetRecurringAudienceListRequest.
11563
+ * @memberof google.analytics.data.v1alpha
11564
+ * @interface IGetRecurringAudienceListRequest
11565
+ * @property {string|null} [name] GetRecurringAudienceListRequest name
11566
+ */
11567
+
11568
+ /**
11569
+ * Constructs a new GetRecurringAudienceListRequest.
11570
+ * @memberof google.analytics.data.v1alpha
11571
+ * @classdesc Represents a GetRecurringAudienceListRequest.
11572
+ * @implements IGetRecurringAudienceListRequest
11573
+ * @constructor
11574
+ * @param {google.analytics.data.v1alpha.IGetRecurringAudienceListRequest=} [properties] Properties to set
11575
+ */
11576
+ function GetRecurringAudienceListRequest(properties) {
11577
+ if (properties)
11578
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
11579
+ if (properties[keys[i]] != null)
11580
+ this[keys[i]] = properties[keys[i]];
11581
+ }
11582
+
11583
+ /**
11584
+ * GetRecurringAudienceListRequest name.
11585
+ * @member {string} name
11586
+ * @memberof google.analytics.data.v1alpha.GetRecurringAudienceListRequest
11587
+ * @instance
11588
+ */
11589
+ GetRecurringAudienceListRequest.prototype.name = "";
11590
+
11591
+ /**
11592
+ * Creates a new GetRecurringAudienceListRequest instance using the specified properties.
11593
+ * @function create
11594
+ * @memberof google.analytics.data.v1alpha.GetRecurringAudienceListRequest
11595
+ * @static
11596
+ * @param {google.analytics.data.v1alpha.IGetRecurringAudienceListRequest=} [properties] Properties to set
11597
+ * @returns {google.analytics.data.v1alpha.GetRecurringAudienceListRequest} GetRecurringAudienceListRequest instance
11598
+ */
11599
+ GetRecurringAudienceListRequest.create = function create(properties) {
11600
+ return new GetRecurringAudienceListRequest(properties);
11601
+ };
11602
+
11603
+ /**
11604
+ * Encodes the specified GetRecurringAudienceListRequest message. Does not implicitly {@link google.analytics.data.v1alpha.GetRecurringAudienceListRequest.verify|verify} messages.
11605
+ * @function encode
11606
+ * @memberof google.analytics.data.v1alpha.GetRecurringAudienceListRequest
11607
+ * @static
11608
+ * @param {google.analytics.data.v1alpha.IGetRecurringAudienceListRequest} message GetRecurringAudienceListRequest message or plain object to encode
11609
+ * @param {$protobuf.Writer} [writer] Writer to encode to
11610
+ * @returns {$protobuf.Writer} Writer
11611
+ */
11612
+ GetRecurringAudienceListRequest.encode = function encode(message, writer) {
11613
+ if (!writer)
11614
+ writer = $Writer.create();
11615
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
11616
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
11617
+ return writer;
11618
+ };
11619
+
11620
+ /**
11621
+ * Encodes the specified GetRecurringAudienceListRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.GetRecurringAudienceListRequest.verify|verify} messages.
11622
+ * @function encodeDelimited
11623
+ * @memberof google.analytics.data.v1alpha.GetRecurringAudienceListRequest
11624
+ * @static
11625
+ * @param {google.analytics.data.v1alpha.IGetRecurringAudienceListRequest} message GetRecurringAudienceListRequest message or plain object to encode
11626
+ * @param {$protobuf.Writer} [writer] Writer to encode to
11627
+ * @returns {$protobuf.Writer} Writer
11628
+ */
11629
+ GetRecurringAudienceListRequest.encodeDelimited = function encodeDelimited(message, writer) {
11630
+ return this.encode(message, writer).ldelim();
11631
+ };
11632
+
11633
+ /**
11634
+ * Decodes a GetRecurringAudienceListRequest message from the specified reader or buffer.
11635
+ * @function decode
11636
+ * @memberof google.analytics.data.v1alpha.GetRecurringAudienceListRequest
11637
+ * @static
11638
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
11639
+ * @param {number} [length] Message length if known beforehand
11640
+ * @returns {google.analytics.data.v1alpha.GetRecurringAudienceListRequest} GetRecurringAudienceListRequest
11641
+ * @throws {Error} If the payload is not a reader or valid buffer
11642
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11643
+ */
11644
+ GetRecurringAudienceListRequest.decode = function decode(reader, length) {
11645
+ if (!(reader instanceof $Reader))
11646
+ reader = $Reader.create(reader);
11647
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.analytics.data.v1alpha.GetRecurringAudienceListRequest();
11648
+ while (reader.pos < end) {
11649
+ var tag = reader.uint32();
11650
+ switch (tag >>> 3) {
11651
+ case 1: {
11652
+ message.name = reader.string();
11653
+ break;
11654
+ }
11655
+ default:
11656
+ reader.skipType(tag & 7);
11657
+ break;
11658
+ }
11659
+ }
11660
+ return message;
11661
+ };
11662
+
11663
+ /**
11664
+ * Decodes a GetRecurringAudienceListRequest message from the specified reader or buffer, length delimited.
11665
+ * @function decodeDelimited
11666
+ * @memberof google.analytics.data.v1alpha.GetRecurringAudienceListRequest
11667
+ * @static
11668
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
11669
+ * @returns {google.analytics.data.v1alpha.GetRecurringAudienceListRequest} GetRecurringAudienceListRequest
11670
+ * @throws {Error} If the payload is not a reader or valid buffer
11671
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11672
+ */
11673
+ GetRecurringAudienceListRequest.decodeDelimited = function decodeDelimited(reader) {
11674
+ if (!(reader instanceof $Reader))
11675
+ reader = new $Reader(reader);
11676
+ return this.decode(reader, reader.uint32());
11677
+ };
11678
+
11679
+ /**
11680
+ * Verifies a GetRecurringAudienceListRequest message.
11681
+ * @function verify
11682
+ * @memberof google.analytics.data.v1alpha.GetRecurringAudienceListRequest
11683
+ * @static
11684
+ * @param {Object.<string,*>} message Plain object to verify
11685
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
11686
+ */
11687
+ GetRecurringAudienceListRequest.verify = function verify(message) {
11688
+ if (typeof message !== "object" || message === null)
11689
+ return "object expected";
11690
+ if (message.name != null && message.hasOwnProperty("name"))
11691
+ if (!$util.isString(message.name))
11692
+ return "name: string expected";
11693
+ return null;
11694
+ };
11695
+
11696
+ /**
11697
+ * Creates a GetRecurringAudienceListRequest message from a plain object. Also converts values to their respective internal types.
11698
+ * @function fromObject
11699
+ * @memberof google.analytics.data.v1alpha.GetRecurringAudienceListRequest
11700
+ * @static
11701
+ * @param {Object.<string,*>} object Plain object
11702
+ * @returns {google.analytics.data.v1alpha.GetRecurringAudienceListRequest} GetRecurringAudienceListRequest
11703
+ */
11704
+ GetRecurringAudienceListRequest.fromObject = function fromObject(object) {
11705
+ if (object instanceof $root.google.analytics.data.v1alpha.GetRecurringAudienceListRequest)
11706
+ return object;
11707
+ var message = new $root.google.analytics.data.v1alpha.GetRecurringAudienceListRequest();
11708
+ if (object.name != null)
11709
+ message.name = String(object.name);
11710
+ return message;
11711
+ };
11712
+
11713
+ /**
11714
+ * Creates a plain object from a GetRecurringAudienceListRequest message. Also converts values to other types if specified.
11715
+ * @function toObject
11716
+ * @memberof google.analytics.data.v1alpha.GetRecurringAudienceListRequest
11717
+ * @static
11718
+ * @param {google.analytics.data.v1alpha.GetRecurringAudienceListRequest} message GetRecurringAudienceListRequest
11719
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
11720
+ * @returns {Object.<string,*>} Plain object
11721
+ */
11722
+ GetRecurringAudienceListRequest.toObject = function toObject(message, options) {
11723
+ if (!options)
11724
+ options = {};
11725
+ var object = {};
11726
+ if (options.defaults)
11727
+ object.name = "";
11728
+ if (message.name != null && message.hasOwnProperty("name"))
11729
+ object.name = message.name;
11730
+ return object;
11731
+ };
11732
+
11733
+ /**
11734
+ * Converts this GetRecurringAudienceListRequest to JSON.
11735
+ * @function toJSON
11736
+ * @memberof google.analytics.data.v1alpha.GetRecurringAudienceListRequest
11737
+ * @instance
11738
+ * @returns {Object.<string,*>} JSON object
11739
+ */
11740
+ GetRecurringAudienceListRequest.prototype.toJSON = function toJSON() {
11741
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
11742
+ };
11743
+
11744
+ /**
11745
+ * Gets the default type url for GetRecurringAudienceListRequest
11746
+ * @function getTypeUrl
11747
+ * @memberof google.analytics.data.v1alpha.GetRecurringAudienceListRequest
11748
+ * @static
11749
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11750
+ * @returns {string} The default type url
11751
+ */
11752
+ GetRecurringAudienceListRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
11753
+ if (typeUrlPrefix === undefined) {
11754
+ typeUrlPrefix = "type.googleapis.com";
11755
+ }
11756
+ return typeUrlPrefix + "/google.analytics.data.v1alpha.GetRecurringAudienceListRequest";
11757
+ };
11758
+
11759
+ return GetRecurringAudienceListRequest;
11760
+ })();
11761
+
11762
+ v1alpha.ListRecurringAudienceListsRequest = (function() {
11763
+
11764
+ /**
11765
+ * Properties of a ListRecurringAudienceListsRequest.
11766
+ * @memberof google.analytics.data.v1alpha
11767
+ * @interface IListRecurringAudienceListsRequest
11768
+ * @property {string|null} [parent] ListRecurringAudienceListsRequest parent
11769
+ * @property {number|null} [pageSize] ListRecurringAudienceListsRequest pageSize
11770
+ * @property {string|null} [pageToken] ListRecurringAudienceListsRequest pageToken
11771
+ */
11772
+
11773
+ /**
11774
+ * Constructs a new ListRecurringAudienceListsRequest.
11775
+ * @memberof google.analytics.data.v1alpha
11776
+ * @classdesc Represents a ListRecurringAudienceListsRequest.
11777
+ * @implements IListRecurringAudienceListsRequest
11778
+ * @constructor
11779
+ * @param {google.analytics.data.v1alpha.IListRecurringAudienceListsRequest=} [properties] Properties to set
11780
+ */
11781
+ function ListRecurringAudienceListsRequest(properties) {
11782
+ if (properties)
11783
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
11784
+ if (properties[keys[i]] != null)
11785
+ this[keys[i]] = properties[keys[i]];
11786
+ }
11787
+
11788
+ /**
11789
+ * ListRecurringAudienceListsRequest parent.
11790
+ * @member {string} parent
11791
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
11792
+ * @instance
11793
+ */
11794
+ ListRecurringAudienceListsRequest.prototype.parent = "";
11795
+
11796
+ /**
11797
+ * ListRecurringAudienceListsRequest pageSize.
11798
+ * @member {number} pageSize
11799
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
11800
+ * @instance
11801
+ */
11802
+ ListRecurringAudienceListsRequest.prototype.pageSize = 0;
11803
+
11804
+ /**
11805
+ * ListRecurringAudienceListsRequest pageToken.
11806
+ * @member {string} pageToken
11807
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
11808
+ * @instance
11809
+ */
11810
+ ListRecurringAudienceListsRequest.prototype.pageToken = "";
11811
+
11812
+ /**
11813
+ * Creates a new ListRecurringAudienceListsRequest instance using the specified properties.
11814
+ * @function create
11815
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
11816
+ * @static
11817
+ * @param {google.analytics.data.v1alpha.IListRecurringAudienceListsRequest=} [properties] Properties to set
11818
+ * @returns {google.analytics.data.v1alpha.ListRecurringAudienceListsRequest} ListRecurringAudienceListsRequest instance
11819
+ */
11820
+ ListRecurringAudienceListsRequest.create = function create(properties) {
11821
+ return new ListRecurringAudienceListsRequest(properties);
11822
+ };
11823
+
11824
+ /**
11825
+ * Encodes the specified ListRecurringAudienceListsRequest message. Does not implicitly {@link google.analytics.data.v1alpha.ListRecurringAudienceListsRequest.verify|verify} messages.
11826
+ * @function encode
11827
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
11828
+ * @static
11829
+ * @param {google.analytics.data.v1alpha.IListRecurringAudienceListsRequest} message ListRecurringAudienceListsRequest message or plain object to encode
11830
+ * @param {$protobuf.Writer} [writer] Writer to encode to
11831
+ * @returns {$protobuf.Writer} Writer
11832
+ */
11833
+ ListRecurringAudienceListsRequest.encode = function encode(message, writer) {
11834
+ if (!writer)
11835
+ writer = $Writer.create();
11836
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
11837
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
11838
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
11839
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
11840
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
11841
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
11842
+ return writer;
11843
+ };
11844
+
11845
+ /**
11846
+ * Encodes the specified ListRecurringAudienceListsRequest message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ListRecurringAudienceListsRequest.verify|verify} messages.
11847
+ * @function encodeDelimited
11848
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
11849
+ * @static
11850
+ * @param {google.analytics.data.v1alpha.IListRecurringAudienceListsRequest} message ListRecurringAudienceListsRequest message or plain object to encode
11851
+ * @param {$protobuf.Writer} [writer] Writer to encode to
11852
+ * @returns {$protobuf.Writer} Writer
11853
+ */
11854
+ ListRecurringAudienceListsRequest.encodeDelimited = function encodeDelimited(message, writer) {
11855
+ return this.encode(message, writer).ldelim();
11856
+ };
11857
+
11858
+ /**
11859
+ * Decodes a ListRecurringAudienceListsRequest message from the specified reader or buffer.
11860
+ * @function decode
11861
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
11862
+ * @static
11863
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
11864
+ * @param {number} [length] Message length if known beforehand
11865
+ * @returns {google.analytics.data.v1alpha.ListRecurringAudienceListsRequest} ListRecurringAudienceListsRequest
11866
+ * @throws {Error} If the payload is not a reader or valid buffer
11867
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11868
+ */
11869
+ ListRecurringAudienceListsRequest.decode = function decode(reader, length) {
11870
+ if (!(reader instanceof $Reader))
11871
+ reader = $Reader.create(reader);
11872
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest();
11873
+ while (reader.pos < end) {
11874
+ var tag = reader.uint32();
11875
+ switch (tag >>> 3) {
11876
+ case 1: {
11877
+ message.parent = reader.string();
11878
+ break;
11879
+ }
11880
+ case 2: {
11881
+ message.pageSize = reader.int32();
11882
+ break;
11883
+ }
11884
+ case 3: {
11885
+ message.pageToken = reader.string();
11886
+ break;
11887
+ }
11888
+ default:
11889
+ reader.skipType(tag & 7);
11890
+ break;
11891
+ }
11892
+ }
11893
+ return message;
11894
+ };
11895
+
11896
+ /**
11897
+ * Decodes a ListRecurringAudienceListsRequest message from the specified reader or buffer, length delimited.
11898
+ * @function decodeDelimited
11899
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
11900
+ * @static
11901
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
11902
+ * @returns {google.analytics.data.v1alpha.ListRecurringAudienceListsRequest} ListRecurringAudienceListsRequest
11903
+ * @throws {Error} If the payload is not a reader or valid buffer
11904
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11905
+ */
11906
+ ListRecurringAudienceListsRequest.decodeDelimited = function decodeDelimited(reader) {
11907
+ if (!(reader instanceof $Reader))
11908
+ reader = new $Reader(reader);
11909
+ return this.decode(reader, reader.uint32());
11910
+ };
11911
+
11912
+ /**
11913
+ * Verifies a ListRecurringAudienceListsRequest message.
11914
+ * @function verify
11915
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
11916
+ * @static
11917
+ * @param {Object.<string,*>} message Plain object to verify
11918
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
11919
+ */
11920
+ ListRecurringAudienceListsRequest.verify = function verify(message) {
11921
+ if (typeof message !== "object" || message === null)
11922
+ return "object expected";
11923
+ if (message.parent != null && message.hasOwnProperty("parent"))
11924
+ if (!$util.isString(message.parent))
11925
+ return "parent: string expected";
11926
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
11927
+ if (!$util.isInteger(message.pageSize))
11928
+ return "pageSize: integer expected";
11929
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
11930
+ if (!$util.isString(message.pageToken))
11931
+ return "pageToken: string expected";
11932
+ return null;
11933
+ };
11934
+
11935
+ /**
11936
+ * Creates a ListRecurringAudienceListsRequest message from a plain object. Also converts values to their respective internal types.
11937
+ * @function fromObject
11938
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
11939
+ * @static
11940
+ * @param {Object.<string,*>} object Plain object
11941
+ * @returns {google.analytics.data.v1alpha.ListRecurringAudienceListsRequest} ListRecurringAudienceListsRequest
11942
+ */
11943
+ ListRecurringAudienceListsRequest.fromObject = function fromObject(object) {
11944
+ if (object instanceof $root.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest)
11945
+ return object;
11946
+ var message = new $root.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest();
11947
+ if (object.parent != null)
11948
+ message.parent = String(object.parent);
11949
+ if (object.pageSize != null)
11950
+ message.pageSize = object.pageSize | 0;
11951
+ if (object.pageToken != null)
11952
+ message.pageToken = String(object.pageToken);
11953
+ return message;
11954
+ };
11955
+
11956
+ /**
11957
+ * Creates a plain object from a ListRecurringAudienceListsRequest message. Also converts values to other types if specified.
11958
+ * @function toObject
11959
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
11960
+ * @static
11961
+ * @param {google.analytics.data.v1alpha.ListRecurringAudienceListsRequest} message ListRecurringAudienceListsRequest
11962
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
11963
+ * @returns {Object.<string,*>} Plain object
11964
+ */
11965
+ ListRecurringAudienceListsRequest.toObject = function toObject(message, options) {
11966
+ if (!options)
11967
+ options = {};
11968
+ var object = {};
11969
+ if (options.defaults) {
11970
+ object.parent = "";
11971
+ object.pageSize = 0;
11972
+ object.pageToken = "";
11973
+ }
11974
+ if (message.parent != null && message.hasOwnProperty("parent"))
11975
+ object.parent = message.parent;
11976
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
11977
+ object.pageSize = message.pageSize;
11978
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
11979
+ object.pageToken = message.pageToken;
11980
+ return object;
11981
+ };
11982
+
11983
+ /**
11984
+ * Converts this ListRecurringAudienceListsRequest to JSON.
11985
+ * @function toJSON
11986
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
11987
+ * @instance
11988
+ * @returns {Object.<string,*>} JSON object
11989
+ */
11990
+ ListRecurringAudienceListsRequest.prototype.toJSON = function toJSON() {
11991
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
11992
+ };
11993
+
11994
+ /**
11995
+ * Gets the default type url for ListRecurringAudienceListsRequest
11996
+ * @function getTypeUrl
11997
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
11998
+ * @static
11999
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12000
+ * @returns {string} The default type url
12001
+ */
12002
+ ListRecurringAudienceListsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
12003
+ if (typeUrlPrefix === undefined) {
12004
+ typeUrlPrefix = "type.googleapis.com";
12005
+ }
12006
+ return typeUrlPrefix + "/google.analytics.data.v1alpha.ListRecurringAudienceListsRequest";
12007
+ };
12008
+
12009
+ return ListRecurringAudienceListsRequest;
12010
+ })();
12011
+
12012
+ v1alpha.ListRecurringAudienceListsResponse = (function() {
12013
+
12014
+ /**
12015
+ * Properties of a ListRecurringAudienceListsResponse.
12016
+ * @memberof google.analytics.data.v1alpha
12017
+ * @interface IListRecurringAudienceListsResponse
12018
+ * @property {Array.<google.analytics.data.v1alpha.IRecurringAudienceList>|null} [recurringAudienceLists] ListRecurringAudienceListsResponse recurringAudienceLists
12019
+ * @property {string|null} [nextPageToken] ListRecurringAudienceListsResponse nextPageToken
12020
+ */
12021
+
12022
+ /**
12023
+ * Constructs a new ListRecurringAudienceListsResponse.
12024
+ * @memberof google.analytics.data.v1alpha
12025
+ * @classdesc Represents a ListRecurringAudienceListsResponse.
12026
+ * @implements IListRecurringAudienceListsResponse
12027
+ * @constructor
12028
+ * @param {google.analytics.data.v1alpha.IListRecurringAudienceListsResponse=} [properties] Properties to set
12029
+ */
12030
+ function ListRecurringAudienceListsResponse(properties) {
12031
+ this.recurringAudienceLists = [];
12032
+ if (properties)
12033
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
12034
+ if (properties[keys[i]] != null)
12035
+ this[keys[i]] = properties[keys[i]];
12036
+ }
12037
+
12038
+ /**
12039
+ * ListRecurringAudienceListsResponse recurringAudienceLists.
12040
+ * @member {Array.<google.analytics.data.v1alpha.IRecurringAudienceList>} recurringAudienceLists
12041
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
12042
+ * @instance
12043
+ */
12044
+ ListRecurringAudienceListsResponse.prototype.recurringAudienceLists = $util.emptyArray;
12045
+
12046
+ /**
12047
+ * ListRecurringAudienceListsResponse nextPageToken.
12048
+ * @member {string|null|undefined} nextPageToken
12049
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
12050
+ * @instance
12051
+ */
12052
+ ListRecurringAudienceListsResponse.prototype.nextPageToken = null;
12053
+
12054
+ // OneOf field names bound to virtual getters and setters
12055
+ var $oneOfFields;
12056
+
12057
+ /**
12058
+ * ListRecurringAudienceListsResponse _nextPageToken.
12059
+ * @member {"nextPageToken"|undefined} _nextPageToken
12060
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
12061
+ * @instance
12062
+ */
12063
+ Object.defineProperty(ListRecurringAudienceListsResponse.prototype, "_nextPageToken", {
12064
+ get: $util.oneOfGetter($oneOfFields = ["nextPageToken"]),
12065
+ set: $util.oneOfSetter($oneOfFields)
12066
+ });
12067
+
12068
+ /**
12069
+ * Creates a new ListRecurringAudienceListsResponse instance using the specified properties.
12070
+ * @function create
12071
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
12072
+ * @static
12073
+ * @param {google.analytics.data.v1alpha.IListRecurringAudienceListsResponse=} [properties] Properties to set
12074
+ * @returns {google.analytics.data.v1alpha.ListRecurringAudienceListsResponse} ListRecurringAudienceListsResponse instance
12075
+ */
12076
+ ListRecurringAudienceListsResponse.create = function create(properties) {
12077
+ return new ListRecurringAudienceListsResponse(properties);
12078
+ };
12079
+
12080
+ /**
12081
+ * Encodes the specified ListRecurringAudienceListsResponse message. Does not implicitly {@link google.analytics.data.v1alpha.ListRecurringAudienceListsResponse.verify|verify} messages.
12082
+ * @function encode
12083
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
12084
+ * @static
12085
+ * @param {google.analytics.data.v1alpha.IListRecurringAudienceListsResponse} message ListRecurringAudienceListsResponse message or plain object to encode
12086
+ * @param {$protobuf.Writer} [writer] Writer to encode to
12087
+ * @returns {$protobuf.Writer} Writer
12088
+ */
12089
+ ListRecurringAudienceListsResponse.encode = function encode(message, writer) {
12090
+ if (!writer)
12091
+ writer = $Writer.create();
12092
+ if (message.recurringAudienceLists != null && message.recurringAudienceLists.length)
12093
+ for (var i = 0; i < message.recurringAudienceLists.length; ++i)
12094
+ $root.google.analytics.data.v1alpha.RecurringAudienceList.encode(message.recurringAudienceLists[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
12095
+ if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
12096
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
12097
+ return writer;
12098
+ };
12099
+
12100
+ /**
12101
+ * Encodes the specified ListRecurringAudienceListsResponse message, length delimited. Does not implicitly {@link google.analytics.data.v1alpha.ListRecurringAudienceListsResponse.verify|verify} messages.
12102
+ * @function encodeDelimited
12103
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
12104
+ * @static
12105
+ * @param {google.analytics.data.v1alpha.IListRecurringAudienceListsResponse} message ListRecurringAudienceListsResponse message or plain object to encode
12106
+ * @param {$protobuf.Writer} [writer] Writer to encode to
12107
+ * @returns {$protobuf.Writer} Writer
12108
+ */
12109
+ ListRecurringAudienceListsResponse.encodeDelimited = function encodeDelimited(message, writer) {
12110
+ return this.encode(message, writer).ldelim();
12111
+ };
12112
+
12113
+ /**
12114
+ * Decodes a ListRecurringAudienceListsResponse message from the specified reader or buffer.
12115
+ * @function decode
12116
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
12117
+ * @static
12118
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
12119
+ * @param {number} [length] Message length if known beforehand
12120
+ * @returns {google.analytics.data.v1alpha.ListRecurringAudienceListsResponse} ListRecurringAudienceListsResponse
12121
+ * @throws {Error} If the payload is not a reader or valid buffer
12122
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12123
+ */
12124
+ ListRecurringAudienceListsResponse.decode = function decode(reader, length) {
12125
+ if (!(reader instanceof $Reader))
12126
+ reader = $Reader.create(reader);
12127
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse();
12128
+ while (reader.pos < end) {
12129
+ var tag = reader.uint32();
12130
+ switch (tag >>> 3) {
12131
+ case 1: {
12132
+ if (!(message.recurringAudienceLists && message.recurringAudienceLists.length))
12133
+ message.recurringAudienceLists = [];
12134
+ message.recurringAudienceLists.push($root.google.analytics.data.v1alpha.RecurringAudienceList.decode(reader, reader.uint32()));
12135
+ break;
12136
+ }
12137
+ case 2: {
12138
+ message.nextPageToken = reader.string();
12139
+ break;
12140
+ }
12141
+ default:
12142
+ reader.skipType(tag & 7);
12143
+ break;
12144
+ }
12145
+ }
12146
+ return message;
12147
+ };
12148
+
12149
+ /**
12150
+ * Decodes a ListRecurringAudienceListsResponse message from the specified reader or buffer, length delimited.
12151
+ * @function decodeDelimited
12152
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
12153
+ * @static
12154
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
12155
+ * @returns {google.analytics.data.v1alpha.ListRecurringAudienceListsResponse} ListRecurringAudienceListsResponse
12156
+ * @throws {Error} If the payload is not a reader or valid buffer
12157
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12158
+ */
12159
+ ListRecurringAudienceListsResponse.decodeDelimited = function decodeDelimited(reader) {
12160
+ if (!(reader instanceof $Reader))
12161
+ reader = new $Reader(reader);
12162
+ return this.decode(reader, reader.uint32());
12163
+ };
12164
+
12165
+ /**
12166
+ * Verifies a ListRecurringAudienceListsResponse message.
12167
+ * @function verify
12168
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
12169
+ * @static
12170
+ * @param {Object.<string,*>} message Plain object to verify
12171
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
12172
+ */
12173
+ ListRecurringAudienceListsResponse.verify = function verify(message) {
12174
+ if (typeof message !== "object" || message === null)
12175
+ return "object expected";
12176
+ var properties = {};
12177
+ if (message.recurringAudienceLists != null && message.hasOwnProperty("recurringAudienceLists")) {
12178
+ if (!Array.isArray(message.recurringAudienceLists))
12179
+ return "recurringAudienceLists: array expected";
12180
+ for (var i = 0; i < message.recurringAudienceLists.length; ++i) {
12181
+ var error = $root.google.analytics.data.v1alpha.RecurringAudienceList.verify(message.recurringAudienceLists[i]);
12182
+ if (error)
12183
+ return "recurringAudienceLists." + error;
12184
+ }
12185
+ }
12186
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken")) {
12187
+ properties._nextPageToken = 1;
12188
+ if (!$util.isString(message.nextPageToken))
12189
+ return "nextPageToken: string expected";
12190
+ }
12191
+ return null;
12192
+ };
12193
+
12194
+ /**
12195
+ * Creates a ListRecurringAudienceListsResponse message from a plain object. Also converts values to their respective internal types.
12196
+ * @function fromObject
12197
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
12198
+ * @static
12199
+ * @param {Object.<string,*>} object Plain object
12200
+ * @returns {google.analytics.data.v1alpha.ListRecurringAudienceListsResponse} ListRecurringAudienceListsResponse
12201
+ */
12202
+ ListRecurringAudienceListsResponse.fromObject = function fromObject(object) {
12203
+ if (object instanceof $root.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse)
12204
+ return object;
12205
+ var message = new $root.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse();
12206
+ if (object.recurringAudienceLists) {
12207
+ if (!Array.isArray(object.recurringAudienceLists))
12208
+ throw TypeError(".google.analytics.data.v1alpha.ListRecurringAudienceListsResponse.recurringAudienceLists: array expected");
12209
+ message.recurringAudienceLists = [];
12210
+ for (var i = 0; i < object.recurringAudienceLists.length; ++i) {
12211
+ if (typeof object.recurringAudienceLists[i] !== "object")
12212
+ throw TypeError(".google.analytics.data.v1alpha.ListRecurringAudienceListsResponse.recurringAudienceLists: object expected");
12213
+ message.recurringAudienceLists[i] = $root.google.analytics.data.v1alpha.RecurringAudienceList.fromObject(object.recurringAudienceLists[i]);
12214
+ }
12215
+ }
12216
+ if (object.nextPageToken != null)
12217
+ message.nextPageToken = String(object.nextPageToken);
12218
+ return message;
12219
+ };
12220
+
12221
+ /**
12222
+ * Creates a plain object from a ListRecurringAudienceListsResponse message. Also converts values to other types if specified.
12223
+ * @function toObject
12224
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
12225
+ * @static
12226
+ * @param {google.analytics.data.v1alpha.ListRecurringAudienceListsResponse} message ListRecurringAudienceListsResponse
12227
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
12228
+ * @returns {Object.<string,*>} Plain object
12229
+ */
12230
+ ListRecurringAudienceListsResponse.toObject = function toObject(message, options) {
12231
+ if (!options)
12232
+ options = {};
12233
+ var object = {};
12234
+ if (options.arrays || options.defaults)
12235
+ object.recurringAudienceLists = [];
12236
+ if (message.recurringAudienceLists && message.recurringAudienceLists.length) {
12237
+ object.recurringAudienceLists = [];
12238
+ for (var j = 0; j < message.recurringAudienceLists.length; ++j)
12239
+ object.recurringAudienceLists[j] = $root.google.analytics.data.v1alpha.RecurringAudienceList.toObject(message.recurringAudienceLists[j], options);
12240
+ }
12241
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken")) {
12242
+ object.nextPageToken = message.nextPageToken;
12243
+ if (options.oneofs)
12244
+ object._nextPageToken = "nextPageToken";
12245
+ }
12246
+ return object;
12247
+ };
12248
+
12249
+ /**
12250
+ * Converts this ListRecurringAudienceListsResponse to JSON.
12251
+ * @function toJSON
12252
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
12253
+ * @instance
12254
+ * @returns {Object.<string,*>} JSON object
12255
+ */
12256
+ ListRecurringAudienceListsResponse.prototype.toJSON = function toJSON() {
12257
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
12258
+ };
12259
+
12260
+ /**
12261
+ * Gets the default type url for ListRecurringAudienceListsResponse
12262
+ * @function getTypeUrl
12263
+ * @memberof google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
12264
+ * @static
12265
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12266
+ * @returns {string} The default type url
12267
+ */
12268
+ ListRecurringAudienceListsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
12269
+ if (typeUrlPrefix === undefined) {
12270
+ typeUrlPrefix = "type.googleapis.com";
12271
+ }
12272
+ return typeUrlPrefix + "/google.analytics.data.v1alpha.ListRecurringAudienceListsResponse";
12273
+ };
12274
+
12275
+ return ListRecurringAudienceListsResponse;
12276
+ })();
12277
+
12420
12278
  v1alpha.GetAudienceListRequest = (function() {
12421
12279
 
12422
12280
  /**
@@ -13383,6 +13241,8 @@
13383
13241
  * @property {number|null} [creationQuotaTokensCharged] AudienceList creationQuotaTokensCharged
13384
13242
  * @property {number|null} [rowCount] AudienceList rowCount
13385
13243
  * @property {string|null} [errorMessage] AudienceList errorMessage
13244
+ * @property {number|null} [percentageCompleted] AudienceList percentageCompleted
13245
+ * @property {string|null} [recurringAudienceList] AudienceList recurringAudienceList
13386
13246
  */
13387
13247
 
13388
13248
  /**
@@ -13473,6 +13333,22 @@
13473
13333
  */
13474
13334
  AudienceList.prototype.errorMessage = null;
13475
13335
 
13336
+ /**
13337
+ * AudienceList percentageCompleted.
13338
+ * @member {number|null|undefined} percentageCompleted
13339
+ * @memberof google.analytics.data.v1alpha.AudienceList
13340
+ * @instance
13341
+ */
13342
+ AudienceList.prototype.percentageCompleted = null;
13343
+
13344
+ /**
13345
+ * AudienceList recurringAudienceList.
13346
+ * @member {string|null|undefined} recurringAudienceList
13347
+ * @memberof google.analytics.data.v1alpha.AudienceList
13348
+ * @instance
13349
+ */
13350
+ AudienceList.prototype.recurringAudienceList = null;
13351
+
13476
13352
  // OneOf field names bound to virtual getters and setters
13477
13353
  var $oneOfFields;
13478
13354
 
@@ -13520,6 +13396,28 @@
13520
13396
  set: $util.oneOfSetter($oneOfFields)
13521
13397
  });
13522
13398
 
13399
+ /**
13400
+ * AudienceList _percentageCompleted.
13401
+ * @member {"percentageCompleted"|undefined} _percentageCompleted
13402
+ * @memberof google.analytics.data.v1alpha.AudienceList
13403
+ * @instance
13404
+ */
13405
+ Object.defineProperty(AudienceList.prototype, "_percentageCompleted", {
13406
+ get: $util.oneOfGetter($oneOfFields = ["percentageCompleted"]),
13407
+ set: $util.oneOfSetter($oneOfFields)
13408
+ });
13409
+
13410
+ /**
13411
+ * AudienceList _recurringAudienceList.
13412
+ * @member {"recurringAudienceList"|undefined} _recurringAudienceList
13413
+ * @memberof google.analytics.data.v1alpha.AudienceList
13414
+ * @instance
13415
+ */
13416
+ Object.defineProperty(AudienceList.prototype, "_recurringAudienceList", {
13417
+ get: $util.oneOfGetter($oneOfFields = ["recurringAudienceList"]),
13418
+ set: $util.oneOfSetter($oneOfFields)
13419
+ });
13420
+
13523
13421
  /**
13524
13422
  * Creates a new AudienceList instance using the specified properties.
13525
13423
  * @function create
@@ -13563,6 +13461,10 @@
13563
13461
  writer.uint32(/* id 8, wireType 0 =*/64).int32(message.rowCount);
13564
13462
  if (message.errorMessage != null && Object.hasOwnProperty.call(message, "errorMessage"))
13565
13463
  writer.uint32(/* id 9, wireType 2 =*/74).string(message.errorMessage);
13464
+ if (message.percentageCompleted != null && Object.hasOwnProperty.call(message, "percentageCompleted"))
13465
+ writer.uint32(/* id 11, wireType 1 =*/89).double(message.percentageCompleted);
13466
+ if (message.recurringAudienceList != null && Object.hasOwnProperty.call(message, "recurringAudienceList"))
13467
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.recurringAudienceList);
13566
13468
  return writer;
13567
13469
  };
13568
13470
 
@@ -13635,6 +13537,14 @@
13635
13537
  message.errorMessage = reader.string();
13636
13538
  break;
13637
13539
  }
13540
+ case 11: {
13541
+ message.percentageCompleted = reader.double();
13542
+ break;
13543
+ }
13544
+ case 12: {
13545
+ message.recurringAudienceList = reader.string();
13546
+ break;
13547
+ }
13638
13548
  default:
13639
13549
  reader.skipType(tag & 7);
13640
13550
  break;
@@ -13722,6 +13632,16 @@
13722
13632
  if (!$util.isString(message.errorMessage))
13723
13633
  return "errorMessage: string expected";
13724
13634
  }
13635
+ if (message.percentageCompleted != null && message.hasOwnProperty("percentageCompleted")) {
13636
+ properties._percentageCompleted = 1;
13637
+ if (typeof message.percentageCompleted !== "number")
13638
+ return "percentageCompleted: number expected";
13639
+ }
13640
+ if (message.recurringAudienceList != null && message.hasOwnProperty("recurringAudienceList")) {
13641
+ properties._recurringAudienceList = 1;
13642
+ if (!$util.isString(message.recurringAudienceList))
13643
+ return "recurringAudienceList: string expected";
13644
+ }
13725
13645
  return null;
13726
13646
  };
13727
13647
 
@@ -13788,6 +13708,10 @@
13788
13708
  message.rowCount = object.rowCount | 0;
13789
13709
  if (object.errorMessage != null)
13790
13710
  message.errorMessage = String(object.errorMessage);
13711
+ if (object.percentageCompleted != null)
13712
+ message.percentageCompleted = Number(object.percentageCompleted);
13713
+ if (object.recurringAudienceList != null)
13714
+ message.recurringAudienceList = String(object.recurringAudienceList);
13791
13715
  return message;
13792
13716
  };
13793
13717
 
@@ -13845,6 +13769,16 @@
13845
13769
  if (options.oneofs)
13846
13770
  object._errorMessage = "errorMessage";
13847
13771
  }
13772
+ if (message.percentageCompleted != null && message.hasOwnProperty("percentageCompleted")) {
13773
+ object.percentageCompleted = options.json && !isFinite(message.percentageCompleted) ? String(message.percentageCompleted) : message.percentageCompleted;
13774
+ if (options.oneofs)
13775
+ object._percentageCompleted = "percentageCompleted";
13776
+ }
13777
+ if (message.recurringAudienceList != null && message.hasOwnProperty("recurringAudienceList")) {
13778
+ object.recurringAudienceList = message.recurringAudienceList;
13779
+ if (options.oneofs)
13780
+ object._recurringAudienceList = "recurringAudienceList";
13781
+ }
13848
13782
  return object;
13849
13783
  };
13850
13784
 
@@ -51820,7 +51754,6 @@
51820
51754
  * @property {string|null} [docTagPrefix] Publishing docTagPrefix
51821
51755
  * @property {google.api.ClientLibraryOrganization|null} [organization] Publishing organization
51822
51756
  * @property {Array.<google.api.IClientLibrarySettings>|null} [librarySettings] Publishing librarySettings
51823
- * @property {string|null} [protoReferenceDocumentationUri] Publishing protoReferenceDocumentationUri
51824
51757
  */
51825
51758
 
51826
51759
  /**
@@ -51913,14 +51846,6 @@
51913
51846
  */
51914
51847
  Publishing.prototype.librarySettings = $util.emptyArray;
51915
51848
 
51916
- /**
51917
- * Publishing protoReferenceDocumentationUri.
51918
- * @member {string} protoReferenceDocumentationUri
51919
- * @memberof google.api.Publishing
51920
- * @instance
51921
- */
51922
- Publishing.prototype.protoReferenceDocumentationUri = "";
51923
-
51924
51849
  /**
51925
51850
  * Creates a new Publishing instance using the specified properties.
51926
51851
  * @function create
@@ -51966,8 +51891,6 @@
51966
51891
  if (message.librarySettings != null && message.librarySettings.length)
51967
51892
  for (var i = 0; i < message.librarySettings.length; ++i)
51968
51893
  $root.google.api.ClientLibrarySettings.encode(message.librarySettings[i], writer.uint32(/* id 109, wireType 2 =*/874).fork()).ldelim();
51969
- if (message.protoReferenceDocumentationUri != null && Object.hasOwnProperty.call(message, "protoReferenceDocumentationUri"))
51970
- writer.uint32(/* id 110, wireType 2 =*/882).string(message.protoReferenceDocumentationUri);
51971
51894
  return writer;
51972
51895
  };
51973
51896
 
@@ -52044,10 +51967,6 @@
52044
51967
  message.librarySettings.push($root.google.api.ClientLibrarySettings.decode(reader, reader.uint32()));
52045
51968
  break;
52046
51969
  }
52047
- case 110: {
52048
- message.protoReferenceDocumentationUri = reader.string();
52049
- break;
52050
- }
52051
51970
  default:
52052
51971
  reader.skipType(tag & 7);
52053
51972
  break;
@@ -52123,9 +52042,6 @@
52123
52042
  case 2:
52124
52043
  case 3:
52125
52044
  case 4:
52126
- case 5:
52127
- case 6:
52128
- case 7:
52129
52045
  break;
52130
52046
  }
52131
52047
  if (message.librarySettings != null && message.hasOwnProperty("librarySettings")) {
@@ -52137,9 +52053,6 @@
52137
52053
  return "librarySettings." + error;
52138
52054
  }
52139
52055
  }
52140
- if (message.protoReferenceDocumentationUri != null && message.hasOwnProperty("protoReferenceDocumentationUri"))
52141
- if (!$util.isString(message.protoReferenceDocumentationUri))
52142
- return "protoReferenceDocumentationUri: string expected";
52143
52056
  return null;
52144
52057
  };
52145
52058
 
@@ -52209,18 +52122,6 @@
52209
52122
  case 4:
52210
52123
  message.organization = 4;
52211
52124
  break;
52212
- case "SHOPPING":
52213
- case 5:
52214
- message.organization = 5;
52215
- break;
52216
- case "GEO":
52217
- case 6:
52218
- message.organization = 6;
52219
- break;
52220
- case "GENERATIVE_AI":
52221
- case 7:
52222
- message.organization = 7;
52223
- break;
52224
52125
  }
52225
52126
  if (object.librarySettings) {
52226
52127
  if (!Array.isArray(object.librarySettings))
@@ -52232,8 +52133,6 @@
52232
52133
  message.librarySettings[i] = $root.google.api.ClientLibrarySettings.fromObject(object.librarySettings[i]);
52233
52134
  }
52234
52135
  }
52235
- if (object.protoReferenceDocumentationUri != null)
52236
- message.protoReferenceDocumentationUri = String(object.protoReferenceDocumentationUri);
52237
52136
  return message;
52238
52137
  };
52239
52138
 
@@ -52262,7 +52161,6 @@
52262
52161
  object.githubLabel = "";
52263
52162
  object.docTagPrefix = "";
52264
52163
  object.organization = options.enums === String ? "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED" : 0;
52265
- object.protoReferenceDocumentationUri = "";
52266
52164
  }
52267
52165
  if (message.methodSettings && message.methodSettings.length) {
52268
52166
  object.methodSettings = [];
@@ -52291,8 +52189,6 @@
52291
52189
  for (var j = 0; j < message.librarySettings.length; ++j)
52292
52190
  object.librarySettings[j] = $root.google.api.ClientLibrarySettings.toObject(message.librarySettings[j], options);
52293
52191
  }
52294
- if (message.protoReferenceDocumentationUri != null && message.hasOwnProperty("protoReferenceDocumentationUri"))
52295
- object.protoReferenceDocumentationUri = message.protoReferenceDocumentationUri;
52296
52192
  return object;
52297
52193
  };
52298
52194
 
@@ -53455,11 +53351,6 @@
53455
53351
  * @memberof google.api
53456
53352
  * @interface IDotnetSettings
53457
53353
  * @property {google.api.ICommonLanguageSettings|null} [common] DotnetSettings common
53458
- * @property {Object.<string,string>|null} [renamedServices] DotnetSettings renamedServices
53459
- * @property {Object.<string,string>|null} [renamedResources] DotnetSettings renamedResources
53460
- * @property {Array.<string>|null} [ignoredResources] DotnetSettings ignoredResources
53461
- * @property {Array.<string>|null} [forcedNamespaceAliases] DotnetSettings forcedNamespaceAliases
53462
- * @property {Array.<string>|null} [handwrittenSignatures] DotnetSettings handwrittenSignatures
53463
53354
  */
53464
53355
 
53465
53356
  /**
@@ -53471,11 +53362,6 @@
53471
53362
  * @param {google.api.IDotnetSettings=} [properties] Properties to set
53472
53363
  */
53473
53364
  function DotnetSettings(properties) {
53474
- this.renamedServices = {};
53475
- this.renamedResources = {};
53476
- this.ignoredResources = [];
53477
- this.forcedNamespaceAliases = [];
53478
- this.handwrittenSignatures = [];
53479
53365
  if (properties)
53480
53366
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
53481
53367
  if (properties[keys[i]] != null)
@@ -53490,46 +53376,6 @@
53490
53376
  */
53491
53377
  DotnetSettings.prototype.common = null;
53492
53378
 
53493
- /**
53494
- * DotnetSettings renamedServices.
53495
- * @member {Object.<string,string>} renamedServices
53496
- * @memberof google.api.DotnetSettings
53497
- * @instance
53498
- */
53499
- DotnetSettings.prototype.renamedServices = $util.emptyObject;
53500
-
53501
- /**
53502
- * DotnetSettings renamedResources.
53503
- * @member {Object.<string,string>} renamedResources
53504
- * @memberof google.api.DotnetSettings
53505
- * @instance
53506
- */
53507
- DotnetSettings.prototype.renamedResources = $util.emptyObject;
53508
-
53509
- /**
53510
- * DotnetSettings ignoredResources.
53511
- * @member {Array.<string>} ignoredResources
53512
- * @memberof google.api.DotnetSettings
53513
- * @instance
53514
- */
53515
- DotnetSettings.prototype.ignoredResources = $util.emptyArray;
53516
-
53517
- /**
53518
- * DotnetSettings forcedNamespaceAliases.
53519
- * @member {Array.<string>} forcedNamespaceAliases
53520
- * @memberof google.api.DotnetSettings
53521
- * @instance
53522
- */
53523
- DotnetSettings.prototype.forcedNamespaceAliases = $util.emptyArray;
53524
-
53525
- /**
53526
- * DotnetSettings handwrittenSignatures.
53527
- * @member {Array.<string>} handwrittenSignatures
53528
- * @memberof google.api.DotnetSettings
53529
- * @instance
53530
- */
53531
- DotnetSettings.prototype.handwrittenSignatures = $util.emptyArray;
53532
-
53533
53379
  /**
53534
53380
  * Creates a new DotnetSettings instance using the specified properties.
53535
53381
  * @function create
@@ -53556,21 +53402,6 @@
53556
53402
  writer = $Writer.create();
53557
53403
  if (message.common != null && Object.hasOwnProperty.call(message, "common"))
53558
53404
  $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
53559
- if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices"))
53560
- for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i)
53561
- writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim();
53562
- if (message.renamedResources != null && Object.hasOwnProperty.call(message, "renamedResources"))
53563
- for (var keys = Object.keys(message.renamedResources), i = 0; i < keys.length; ++i)
53564
- writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedResources[keys[i]]).ldelim();
53565
- if (message.ignoredResources != null && message.ignoredResources.length)
53566
- for (var i = 0; i < message.ignoredResources.length; ++i)
53567
- writer.uint32(/* id 4, wireType 2 =*/34).string(message.ignoredResources[i]);
53568
- if (message.forcedNamespaceAliases != null && message.forcedNamespaceAliases.length)
53569
- for (var i = 0; i < message.forcedNamespaceAliases.length; ++i)
53570
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.forcedNamespaceAliases[i]);
53571
- if (message.handwrittenSignatures != null && message.handwrittenSignatures.length)
53572
- for (var i = 0; i < message.handwrittenSignatures.length; ++i)
53573
- writer.uint32(/* id 6, wireType 2 =*/50).string(message.handwrittenSignatures[i]);
53574
53405
  return writer;
53575
53406
  };
53576
53407
 
@@ -53601,7 +53432,7 @@
53601
53432
  DotnetSettings.decode = function decode(reader, length) {
53602
53433
  if (!(reader instanceof $Reader))
53603
53434
  reader = $Reader.create(reader);
53604
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.DotnetSettings(), key, value;
53435
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.DotnetSettings();
53605
53436
  while (reader.pos < end) {
53606
53437
  var tag = reader.uint32();
53607
53438
  switch (tag >>> 3) {
@@ -53609,70 +53440,6 @@
53609
53440
  message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
53610
53441
  break;
53611
53442
  }
53612
- case 2: {
53613
- if (message.renamedServices === $util.emptyObject)
53614
- message.renamedServices = {};
53615
- var end2 = reader.uint32() + reader.pos;
53616
- key = "";
53617
- value = "";
53618
- while (reader.pos < end2) {
53619
- var tag2 = reader.uint32();
53620
- switch (tag2 >>> 3) {
53621
- case 1:
53622
- key = reader.string();
53623
- break;
53624
- case 2:
53625
- value = reader.string();
53626
- break;
53627
- default:
53628
- reader.skipType(tag2 & 7);
53629
- break;
53630
- }
53631
- }
53632
- message.renamedServices[key] = value;
53633
- break;
53634
- }
53635
- case 3: {
53636
- if (message.renamedResources === $util.emptyObject)
53637
- message.renamedResources = {};
53638
- var end2 = reader.uint32() + reader.pos;
53639
- key = "";
53640
- value = "";
53641
- while (reader.pos < end2) {
53642
- var tag2 = reader.uint32();
53643
- switch (tag2 >>> 3) {
53644
- case 1:
53645
- key = reader.string();
53646
- break;
53647
- case 2:
53648
- value = reader.string();
53649
- break;
53650
- default:
53651
- reader.skipType(tag2 & 7);
53652
- break;
53653
- }
53654
- }
53655
- message.renamedResources[key] = value;
53656
- break;
53657
- }
53658
- case 4: {
53659
- if (!(message.ignoredResources && message.ignoredResources.length))
53660
- message.ignoredResources = [];
53661
- message.ignoredResources.push(reader.string());
53662
- break;
53663
- }
53664
- case 5: {
53665
- if (!(message.forcedNamespaceAliases && message.forcedNamespaceAliases.length))
53666
- message.forcedNamespaceAliases = [];
53667
- message.forcedNamespaceAliases.push(reader.string());
53668
- break;
53669
- }
53670
- case 6: {
53671
- if (!(message.handwrittenSignatures && message.handwrittenSignatures.length))
53672
- message.handwrittenSignatures = [];
53673
- message.handwrittenSignatures.push(reader.string());
53674
- break;
53675
- }
53676
53443
  default:
53677
53444
  reader.skipType(tag & 7);
53678
53445
  break;
@@ -53713,43 +53480,6 @@
53713
53480
  if (error)
53714
53481
  return "common." + error;
53715
53482
  }
53716
- if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) {
53717
- if (!$util.isObject(message.renamedServices))
53718
- return "renamedServices: object expected";
53719
- var key = Object.keys(message.renamedServices);
53720
- for (var i = 0; i < key.length; ++i)
53721
- if (!$util.isString(message.renamedServices[key[i]]))
53722
- return "renamedServices: string{k:string} expected";
53723
- }
53724
- if (message.renamedResources != null && message.hasOwnProperty("renamedResources")) {
53725
- if (!$util.isObject(message.renamedResources))
53726
- return "renamedResources: object expected";
53727
- var key = Object.keys(message.renamedResources);
53728
- for (var i = 0; i < key.length; ++i)
53729
- if (!$util.isString(message.renamedResources[key[i]]))
53730
- return "renamedResources: string{k:string} expected";
53731
- }
53732
- if (message.ignoredResources != null && message.hasOwnProperty("ignoredResources")) {
53733
- if (!Array.isArray(message.ignoredResources))
53734
- return "ignoredResources: array expected";
53735
- for (var i = 0; i < message.ignoredResources.length; ++i)
53736
- if (!$util.isString(message.ignoredResources[i]))
53737
- return "ignoredResources: string[] expected";
53738
- }
53739
- if (message.forcedNamespaceAliases != null && message.hasOwnProperty("forcedNamespaceAliases")) {
53740
- if (!Array.isArray(message.forcedNamespaceAliases))
53741
- return "forcedNamespaceAliases: array expected";
53742
- for (var i = 0; i < message.forcedNamespaceAliases.length; ++i)
53743
- if (!$util.isString(message.forcedNamespaceAliases[i]))
53744
- return "forcedNamespaceAliases: string[] expected";
53745
- }
53746
- if (message.handwrittenSignatures != null && message.hasOwnProperty("handwrittenSignatures")) {
53747
- if (!Array.isArray(message.handwrittenSignatures))
53748
- return "handwrittenSignatures: array expected";
53749
- for (var i = 0; i < message.handwrittenSignatures.length; ++i)
53750
- if (!$util.isString(message.handwrittenSignatures[i]))
53751
- return "handwrittenSignatures: string[] expected";
53752
- }
53753
53483
  return null;
53754
53484
  };
53755
53485
 
@@ -53770,41 +53500,6 @@
53770
53500
  throw TypeError(".google.api.DotnetSettings.common: object expected");
53771
53501
  message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
53772
53502
  }
53773
- if (object.renamedServices) {
53774
- if (typeof object.renamedServices !== "object")
53775
- throw TypeError(".google.api.DotnetSettings.renamedServices: object expected");
53776
- message.renamedServices = {};
53777
- for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i)
53778
- message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]);
53779
- }
53780
- if (object.renamedResources) {
53781
- if (typeof object.renamedResources !== "object")
53782
- throw TypeError(".google.api.DotnetSettings.renamedResources: object expected");
53783
- message.renamedResources = {};
53784
- for (var keys = Object.keys(object.renamedResources), i = 0; i < keys.length; ++i)
53785
- message.renamedResources[keys[i]] = String(object.renamedResources[keys[i]]);
53786
- }
53787
- if (object.ignoredResources) {
53788
- if (!Array.isArray(object.ignoredResources))
53789
- throw TypeError(".google.api.DotnetSettings.ignoredResources: array expected");
53790
- message.ignoredResources = [];
53791
- for (var i = 0; i < object.ignoredResources.length; ++i)
53792
- message.ignoredResources[i] = String(object.ignoredResources[i]);
53793
- }
53794
- if (object.forcedNamespaceAliases) {
53795
- if (!Array.isArray(object.forcedNamespaceAliases))
53796
- throw TypeError(".google.api.DotnetSettings.forcedNamespaceAliases: array expected");
53797
- message.forcedNamespaceAliases = [];
53798
- for (var i = 0; i < object.forcedNamespaceAliases.length; ++i)
53799
- message.forcedNamespaceAliases[i] = String(object.forcedNamespaceAliases[i]);
53800
- }
53801
- if (object.handwrittenSignatures) {
53802
- if (!Array.isArray(object.handwrittenSignatures))
53803
- throw TypeError(".google.api.DotnetSettings.handwrittenSignatures: array expected");
53804
- message.handwrittenSignatures = [];
53805
- for (var i = 0; i < object.handwrittenSignatures.length; ++i)
53806
- message.handwrittenSignatures[i] = String(object.handwrittenSignatures[i]);
53807
- }
53808
53503
  return message;
53809
53504
  };
53810
53505
 
@@ -53821,45 +53516,10 @@
53821
53516
  if (!options)
53822
53517
  options = {};
53823
53518
  var object = {};
53824
- if (options.arrays || options.defaults) {
53825
- object.ignoredResources = [];
53826
- object.forcedNamespaceAliases = [];
53827
- object.handwrittenSignatures = [];
53828
- }
53829
- if (options.objects || options.defaults) {
53830
- object.renamedServices = {};
53831
- object.renamedResources = {};
53832
- }
53833
53519
  if (options.defaults)
53834
53520
  object.common = null;
53835
53521
  if (message.common != null && message.hasOwnProperty("common"))
53836
53522
  object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
53837
- var keys2;
53838
- if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) {
53839
- object.renamedServices = {};
53840
- for (var j = 0; j < keys2.length; ++j)
53841
- object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]];
53842
- }
53843
- if (message.renamedResources && (keys2 = Object.keys(message.renamedResources)).length) {
53844
- object.renamedResources = {};
53845
- for (var j = 0; j < keys2.length; ++j)
53846
- object.renamedResources[keys2[j]] = message.renamedResources[keys2[j]];
53847
- }
53848
- if (message.ignoredResources && message.ignoredResources.length) {
53849
- object.ignoredResources = [];
53850
- for (var j = 0; j < message.ignoredResources.length; ++j)
53851
- object.ignoredResources[j] = message.ignoredResources[j];
53852
- }
53853
- if (message.forcedNamespaceAliases && message.forcedNamespaceAliases.length) {
53854
- object.forcedNamespaceAliases = [];
53855
- for (var j = 0; j < message.forcedNamespaceAliases.length; ++j)
53856
- object.forcedNamespaceAliases[j] = message.forcedNamespaceAliases[j];
53857
- }
53858
- if (message.handwrittenSignatures && message.handwrittenSignatures.length) {
53859
- object.handwrittenSignatures = [];
53860
- for (var j = 0; j < message.handwrittenSignatures.length; ++j)
53861
- object.handwrittenSignatures[j] = message.handwrittenSignatures[j];
53862
- }
53863
53523
  return object;
53864
53524
  };
53865
53525
 
@@ -54837,9 +54497,6 @@
54837
54497
  * @property {number} ADS=2 ADS value
54838
54498
  * @property {number} PHOTOS=3 PHOTOS value
54839
54499
  * @property {number} STREET_VIEW=4 STREET_VIEW value
54840
- * @property {number} SHOPPING=5 SHOPPING value
54841
- * @property {number} GEO=6 GEO value
54842
- * @property {number} GENERATIVE_AI=7 GENERATIVE_AI value
54843
54500
  */
54844
54501
  api.ClientLibraryOrganization = (function() {
54845
54502
  var valuesById = {}, values = Object.create(valuesById);
@@ -54848,9 +54505,6 @@
54848
54505
  values[valuesById[2] = "ADS"] = 2;
54849
54506
  values[valuesById[3] = "PHOTOS"] = 3;
54850
54507
  values[valuesById[4] = "STREET_VIEW"] = 4;
54851
- values[valuesById[5] = "SHOPPING"] = 5;
54852
- values[valuesById[6] = "GEO"] = 6;
54853
- values[valuesById[7] = "GENERATIVE_AI"] = 7;
54854
54508
  return values;
54855
54509
  })();
54856
54510