@temporalio/testing 1.0.0-rc.0 → 1.0.1

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.
@@ -237,6 +237,13 @@ export namespace temporal {
237
237
  * @returns JSON object
238
238
  */
239
239
  public toJSON(): { [k: string]: any };
240
+
241
+ /**
242
+ * Gets the default type url for LockTimeSkippingRequest
243
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
244
+ * @returns The default type url
245
+ */
246
+ public static getTypeUrl(typeUrlPrefix?: string): string;
240
247
  }
241
248
 
242
249
  /** Properties of a LockTimeSkippingResponse. */
@@ -314,6 +321,13 @@ export namespace temporal {
314
321
  * @returns JSON object
315
322
  */
316
323
  public toJSON(): { [k: string]: any };
324
+
325
+ /**
326
+ * Gets the default type url for LockTimeSkippingResponse
327
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
328
+ * @returns The default type url
329
+ */
330
+ public static getTypeUrl(typeUrlPrefix?: string): string;
317
331
  }
318
332
 
319
333
  /** Properties of an UnlockTimeSkippingRequest. */
@@ -391,6 +405,13 @@ export namespace temporal {
391
405
  * @returns JSON object
392
406
  */
393
407
  public toJSON(): { [k: string]: any };
408
+
409
+ /**
410
+ * Gets the default type url for UnlockTimeSkippingRequest
411
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
412
+ * @returns The default type url
413
+ */
414
+ public static getTypeUrl(typeUrlPrefix?: string): string;
394
415
  }
395
416
 
396
417
  /** Properties of an UnlockTimeSkippingResponse. */
@@ -468,6 +489,13 @@ export namespace temporal {
468
489
  * @returns JSON object
469
490
  */
470
491
  public toJSON(): { [k: string]: any };
492
+
493
+ /**
494
+ * Gets the default type url for UnlockTimeSkippingResponse
495
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
496
+ * @returns The default type url
497
+ */
498
+ public static getTypeUrl(typeUrlPrefix?: string): string;
471
499
  }
472
500
 
473
501
  /** Properties of a SleepUntilRequest. */
@@ -551,6 +579,13 @@ export namespace temporal {
551
579
  * @returns JSON object
552
580
  */
553
581
  public toJSON(): { [k: string]: any };
582
+
583
+ /**
584
+ * Gets the default type url for SleepUntilRequest
585
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
586
+ * @returns The default type url
587
+ */
588
+ public static getTypeUrl(typeUrlPrefix?: string): string;
554
589
  }
555
590
 
556
591
  /** Properties of a SleepRequest. */
@@ -634,6 +669,13 @@ export namespace temporal {
634
669
  * @returns JSON object
635
670
  */
636
671
  public toJSON(): { [k: string]: any };
672
+
673
+ /**
674
+ * Gets the default type url for SleepRequest
675
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
676
+ * @returns The default type url
677
+ */
678
+ public static getTypeUrl(typeUrlPrefix?: string): string;
637
679
  }
638
680
 
639
681
  /** Properties of a SleepResponse. */
@@ -711,6 +753,13 @@ export namespace temporal {
711
753
  * @returns JSON object
712
754
  */
713
755
  public toJSON(): { [k: string]: any };
756
+
757
+ /**
758
+ * Gets the default type url for SleepResponse
759
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
760
+ * @returns The default type url
761
+ */
762
+ public static getTypeUrl(typeUrlPrefix?: string): string;
714
763
  }
715
764
 
716
765
  /** Properties of a GetCurrentTimeResponse. */
@@ -794,6 +843,13 @@ export namespace temporal {
794
843
  * @returns JSON object
795
844
  */
796
845
  public toJSON(): { [k: string]: any };
846
+
847
+ /**
848
+ * Gets the default type url for GetCurrentTimeResponse
849
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
850
+ * @returns The default type url
851
+ */
852
+ public static getTypeUrl(typeUrlPrefix?: string): string;
797
853
  }
798
854
  }
799
855
  }
@@ -806,184 +862,6 @@ export namespace google {
806
862
  /** Namespace protobuf. */
807
863
  namespace protobuf {
808
864
 
809
- /** Properties of a Duration. */
810
- interface IDuration {
811
-
812
- /** Duration seconds */
813
- seconds?: (Long|null);
814
-
815
- /** Duration nanos */
816
- nanos?: (number|null);
817
- }
818
-
819
- /** Represents a Duration. */
820
- class Duration implements IDuration {
821
-
822
- /**
823
- * Constructs a new Duration.
824
- * @param [properties] Properties to set
825
- */
826
- constructor(properties?: google.protobuf.IDuration);
827
-
828
- /** Duration seconds. */
829
- public seconds: Long;
830
-
831
- /** Duration nanos. */
832
- public nanos: number;
833
-
834
- /**
835
- * Creates a new Duration instance using the specified properties.
836
- * @param [properties] Properties to set
837
- * @returns Duration instance
838
- */
839
- public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
840
-
841
- /**
842
- * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
843
- * @param message Duration message or plain object to encode
844
- * @param [writer] Writer to encode to
845
- * @returns Writer
846
- */
847
- public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
848
-
849
- /**
850
- * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
851
- * @param message Duration message or plain object to encode
852
- * @param [writer] Writer to encode to
853
- * @returns Writer
854
- */
855
- public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
856
-
857
- /**
858
- * Decodes a Duration message from the specified reader or buffer.
859
- * @param reader Reader or buffer to decode from
860
- * @param [length] Message length if known beforehand
861
- * @returns Duration
862
- * @throws {Error} If the payload is not a reader or valid buffer
863
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
864
- */
865
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration;
866
-
867
- /**
868
- * Decodes a Duration message from the specified reader or buffer, length delimited.
869
- * @param reader Reader or buffer to decode from
870
- * @returns Duration
871
- * @throws {Error} If the payload is not a reader or valid buffer
872
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
873
- */
874
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration;
875
-
876
- /**
877
- * Creates a Duration message from a plain object. Also converts values to their respective internal types.
878
- * @param object Plain object
879
- * @returns Duration
880
- */
881
- public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
882
-
883
- /**
884
- * Creates a plain object from a Duration message. Also converts values to other types if specified.
885
- * @param message Duration
886
- * @param [options] Conversion options
887
- * @returns Plain object
888
- */
889
- public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
890
-
891
- /**
892
- * Converts this Duration to JSON.
893
- * @returns JSON object
894
- */
895
- public toJSON(): { [k: string]: any };
896
- }
897
-
898
- /** Properties of a Timestamp. */
899
- interface ITimestamp {
900
-
901
- /** Timestamp seconds */
902
- seconds?: (Long|null);
903
-
904
- /** Timestamp nanos */
905
- nanos?: (number|null);
906
- }
907
-
908
- /** Represents a Timestamp. */
909
- class Timestamp implements ITimestamp {
910
-
911
- /**
912
- * Constructs a new Timestamp.
913
- * @param [properties] Properties to set
914
- */
915
- constructor(properties?: google.protobuf.ITimestamp);
916
-
917
- /** Timestamp seconds. */
918
- public seconds: Long;
919
-
920
- /** Timestamp nanos. */
921
- public nanos: number;
922
-
923
- /**
924
- * Creates a new Timestamp instance using the specified properties.
925
- * @param [properties] Properties to set
926
- * @returns Timestamp instance
927
- */
928
- public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
929
-
930
- /**
931
- * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
932
- * @param message Timestamp message or plain object to encode
933
- * @param [writer] Writer to encode to
934
- * @returns Writer
935
- */
936
- public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
937
-
938
- /**
939
- * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
940
- * @param message Timestamp message or plain object to encode
941
- * @param [writer] Writer to encode to
942
- * @returns Writer
943
- */
944
- public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
945
-
946
- /**
947
- * Decodes a Timestamp message from the specified reader or buffer.
948
- * @param reader Reader or buffer to decode from
949
- * @param [length] Message length if known beforehand
950
- * @returns Timestamp
951
- * @throws {Error} If the payload is not a reader or valid buffer
952
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
953
- */
954
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
955
-
956
- /**
957
- * Decodes a Timestamp message from the specified reader or buffer, length delimited.
958
- * @param reader Reader or buffer to decode from
959
- * @returns Timestamp
960
- * @throws {Error} If the payload is not a reader or valid buffer
961
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
962
- */
963
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
964
-
965
- /**
966
- * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
967
- * @param object Plain object
968
- * @returns Timestamp
969
- */
970
- public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
971
-
972
- /**
973
- * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
974
- * @param message Timestamp
975
- * @param [options] Conversion options
976
- * @returns Plain object
977
- */
978
- public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
979
-
980
- /**
981
- * Converts this Timestamp to JSON.
982
- * @returns JSON object
983
- */
984
- public toJSON(): { [k: string]: any };
985
- }
986
-
987
865
  /** Properties of a FileDescriptorSet. */
988
866
  interface IFileDescriptorSet {
989
867
 
@@ -1065,6 +943,13 @@ export namespace google {
1065
943
  * @returns JSON object
1066
944
  */
1067
945
  public toJSON(): { [k: string]: any };
946
+
947
+ /**
948
+ * Gets the default type url for FileDescriptorSet
949
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
950
+ * @returns The default type url
951
+ */
952
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1068
953
  }
1069
954
 
1070
955
  /** Properties of a FileDescriptorProto. */
@@ -1214,6 +1099,13 @@ export namespace google {
1214
1099
  * @returns JSON object
1215
1100
  */
1216
1101
  public toJSON(): { [k: string]: any };
1102
+
1103
+ /**
1104
+ * Gets the default type url for FileDescriptorProto
1105
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1106
+ * @returns The default type url
1107
+ */
1108
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1217
1109
  }
1218
1110
 
1219
1111
  /** Properties of a DescriptorProto. */
@@ -1351,6 +1243,13 @@ export namespace google {
1351
1243
  * @returns JSON object
1352
1244
  */
1353
1245
  public toJSON(): { [k: string]: any };
1246
+
1247
+ /**
1248
+ * Gets the default type url for DescriptorProto
1249
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1250
+ * @returns The default type url
1251
+ */
1252
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1354
1253
  }
1355
1254
 
1356
1255
  namespace DescriptorProto {
@@ -1442,6 +1341,13 @@ export namespace google {
1442
1341
  * @returns JSON object
1443
1342
  */
1444
1343
  public toJSON(): { [k: string]: any };
1344
+
1345
+ /**
1346
+ * Gets the default type url for ExtensionRange
1347
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1348
+ * @returns The default type url
1349
+ */
1350
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1445
1351
  }
1446
1352
 
1447
1353
  /** Properties of a ReservedRange. */
@@ -1531,6 +1437,13 @@ export namespace google {
1531
1437
  * @returns JSON object
1532
1438
  */
1533
1439
  public toJSON(): { [k: string]: any };
1440
+
1441
+ /**
1442
+ * Gets the default type url for ReservedRange
1443
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1444
+ * @returns The default type url
1445
+ */
1446
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1534
1447
  }
1535
1448
  }
1536
1449
 
@@ -1669,6 +1582,13 @@ export namespace google {
1669
1582
  * @returns JSON object
1670
1583
  */
1671
1584
  public toJSON(): { [k: string]: any };
1585
+
1586
+ /**
1587
+ * Gets the default type url for FieldDescriptorProto
1588
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1589
+ * @returns The default type url
1590
+ */
1591
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1672
1592
  }
1673
1593
 
1674
1594
  namespace FieldDescriptorProto {
@@ -1790,6 +1710,13 @@ export namespace google {
1790
1710
  * @returns JSON object
1791
1711
  */
1792
1712
  public toJSON(): { [k: string]: any };
1713
+
1714
+ /**
1715
+ * Gets the default type url for OneofDescriptorProto
1716
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1717
+ * @returns The default type url
1718
+ */
1719
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1793
1720
  }
1794
1721
 
1795
1722
  /** Properties of an EnumDescriptorProto. */
@@ -1885,6 +1812,13 @@ export namespace google {
1885
1812
  * @returns JSON object
1886
1813
  */
1887
1814
  public toJSON(): { [k: string]: any };
1815
+
1816
+ /**
1817
+ * Gets the default type url for EnumDescriptorProto
1818
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1819
+ * @returns The default type url
1820
+ */
1821
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1888
1822
  }
1889
1823
 
1890
1824
  /** Properties of an EnumValueDescriptorProto. */
@@ -1980,6 +1914,13 @@ export namespace google {
1980
1914
  * @returns JSON object
1981
1915
  */
1982
1916
  public toJSON(): { [k: string]: any };
1917
+
1918
+ /**
1919
+ * Gets the default type url for EnumValueDescriptorProto
1920
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1921
+ * @returns The default type url
1922
+ */
1923
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1983
1924
  }
1984
1925
 
1985
1926
  /** Properties of a ServiceDescriptorProto. */
@@ -2075,6 +2016,13 @@ export namespace google {
2075
2016
  * @returns JSON object
2076
2017
  */
2077
2018
  public toJSON(): { [k: string]: any };
2019
+
2020
+ /**
2021
+ * Gets the default type url for ServiceDescriptorProto
2022
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2023
+ * @returns The default type url
2024
+ */
2025
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2078
2026
  }
2079
2027
 
2080
2028
  /** Properties of a MethodDescriptorProto. */
@@ -2188,6 +2136,13 @@ export namespace google {
2188
2136
  * @returns JSON object
2189
2137
  */
2190
2138
  public toJSON(): { [k: string]: any };
2139
+
2140
+ /**
2141
+ * Gets the default type url for MethodDescriptorProto
2142
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2143
+ * @returns The default type url
2144
+ */
2145
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2191
2146
  }
2192
2147
 
2193
2148
  /** Properties of a FileOptions. */
@@ -2451,6 +2406,13 @@ export namespace google {
2451
2406
  * @returns JSON object
2452
2407
  */
2453
2408
  public toJSON(): { [k: string]: any };
2409
+
2410
+ /**
2411
+ * Gets the default type url for FileOptions
2412
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2413
+ * @returns The default type url
2414
+ */
2415
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2454
2416
  }
2455
2417
 
2456
2418
  namespace FileOptions {
@@ -2646,6 +2608,13 @@ export namespace google {
2646
2608
  * @returns JSON object
2647
2609
  */
2648
2610
  public toJSON(): { [k: string]: any };
2611
+
2612
+ /**
2613
+ * Gets the default type url for MessageOptions
2614
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2615
+ * @returns The default type url
2616
+ */
2617
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2649
2618
  }
2650
2619
 
2651
2620
  /** Properties of a FieldOptions. */
@@ -2801,6 +2770,13 @@ export namespace google {
2801
2770
  * @returns JSON object
2802
2771
  */
2803
2772
  public toJSON(): { [k: string]: any };
2773
+
2774
+ /**
2775
+ * Gets the default type url for FieldOptions
2776
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2777
+ * @returns The default type url
2778
+ */
2779
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2804
2780
  }
2805
2781
 
2806
2782
  namespace FieldOptions {
@@ -2901,6 +2877,13 @@ export namespace google {
2901
2877
  * @returns JSON object
2902
2878
  */
2903
2879
  public toJSON(): { [k: string]: any };
2880
+
2881
+ /**
2882
+ * Gets the default type url for OneofOptions
2883
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2884
+ * @returns The default type url
2885
+ */
2886
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2904
2887
  }
2905
2888
 
2906
2889
  /** Properties of an EnumOptions. */
@@ -3011,6 +2994,13 @@ export namespace google {
3011
2994
  * @returns JSON object
3012
2995
  */
3013
2996
  public toJSON(): { [k: string]: any };
2997
+
2998
+ /**
2999
+ * Gets the default type url for EnumOptions
3000
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3001
+ * @returns The default type url
3002
+ */
3003
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3014
3004
  }
3015
3005
 
3016
3006
  /** Properties of an EnumValueOptions. */
@@ -3103,6 +3093,13 @@ export namespace google {
3103
3093
  * @returns JSON object
3104
3094
  */
3105
3095
  public toJSON(): { [k: string]: any };
3096
+
3097
+ /**
3098
+ * Gets the default type url for EnumValueOptions
3099
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3100
+ * @returns The default type url
3101
+ */
3102
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3106
3103
  }
3107
3104
 
3108
3105
  /** Properties of a ServiceOptions. */
@@ -3192,6 +3189,13 @@ export namespace google {
3192
3189
  * @returns JSON object
3193
3190
  */
3194
3191
  public toJSON(): { [k: string]: any };
3192
+
3193
+ /**
3194
+ * Gets the default type url for ServiceOptions
3195
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3196
+ * @returns The default type url
3197
+ */
3198
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3195
3199
  }
3196
3200
 
3197
3201
  /** Properties of a MethodOptions. */
@@ -3281,6 +3285,13 @@ export namespace google {
3281
3285
  * @returns JSON object
3282
3286
  */
3283
3287
  public toJSON(): { [k: string]: any };
3288
+
3289
+ /**
3290
+ * Gets the default type url for MethodOptions
3291
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3292
+ * @returns The default type url
3293
+ */
3294
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3284
3295
  }
3285
3296
 
3286
3297
  /** Properties of an UninterpretedOption. */
@@ -3400,6 +3411,13 @@ export namespace google {
3400
3411
  * @returns JSON object
3401
3412
  */
3402
3413
  public toJSON(): { [k: string]: any };
3414
+
3415
+ /**
3416
+ * Gets the default type url for UninterpretedOption
3417
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3418
+ * @returns The default type url
3419
+ */
3420
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3403
3421
  }
3404
3422
 
3405
3423
  namespace UninterpretedOption {
@@ -3491,6 +3509,13 @@ export namespace google {
3491
3509
  * @returns JSON object
3492
3510
  */
3493
3511
  public toJSON(): { [k: string]: any };
3512
+
3513
+ /**
3514
+ * Gets the default type url for NamePart
3515
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3516
+ * @returns The default type url
3517
+ */
3518
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3494
3519
  }
3495
3520
  }
3496
3521
 
@@ -3575,6 +3600,13 @@ export namespace google {
3575
3600
  * @returns JSON object
3576
3601
  */
3577
3602
  public toJSON(): { [k: string]: any };
3603
+
3604
+ /**
3605
+ * Gets the default type url for SourceCodeInfo
3606
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3607
+ * @returns The default type url
3608
+ */
3609
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3578
3610
  }
3579
3611
 
3580
3612
  namespace SourceCodeInfo {
@@ -3684,6 +3716,13 @@ export namespace google {
3684
3716
  * @returns JSON object
3685
3717
  */
3686
3718
  public toJSON(): { [k: string]: any };
3719
+
3720
+ /**
3721
+ * Gets the default type url for Location
3722
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3723
+ * @returns The default type url
3724
+ */
3725
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3687
3726
  }
3688
3727
  }
3689
3728
 
@@ -3768,6 +3807,13 @@ export namespace google {
3768
3807
  * @returns JSON object
3769
3808
  */
3770
3809
  public toJSON(): { [k: string]: any };
3810
+
3811
+ /**
3812
+ * Gets the default type url for GeneratedCodeInfo
3813
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3814
+ * @returns The default type url
3815
+ */
3816
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3771
3817
  }
3772
3818
 
3773
3819
  namespace GeneratedCodeInfo {
@@ -3871,9 +3917,208 @@ export namespace google {
3871
3917
  * @returns JSON object
3872
3918
  */
3873
3919
  public toJSON(): { [k: string]: any };
3920
+
3921
+ /**
3922
+ * Gets the default type url for Annotation
3923
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3924
+ * @returns The default type url
3925
+ */
3926
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3874
3927
  }
3875
3928
  }
3876
3929
 
3930
+ /** Properties of a Duration. */
3931
+ interface IDuration {
3932
+
3933
+ /** Duration seconds */
3934
+ seconds?: (Long|null);
3935
+
3936
+ /** Duration nanos */
3937
+ nanos?: (number|null);
3938
+ }
3939
+
3940
+ /** Represents a Duration. */
3941
+ class Duration implements IDuration {
3942
+
3943
+ /**
3944
+ * Constructs a new Duration.
3945
+ * @param [properties] Properties to set
3946
+ */
3947
+ constructor(properties?: google.protobuf.IDuration);
3948
+
3949
+ /** Duration seconds. */
3950
+ public seconds: Long;
3951
+
3952
+ /** Duration nanos. */
3953
+ public nanos: number;
3954
+
3955
+ /**
3956
+ * Creates a new Duration instance using the specified properties.
3957
+ * @param [properties] Properties to set
3958
+ * @returns Duration instance
3959
+ */
3960
+ public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
3961
+
3962
+ /**
3963
+ * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
3964
+ * @param message Duration message or plain object to encode
3965
+ * @param [writer] Writer to encode to
3966
+ * @returns Writer
3967
+ */
3968
+ public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
3969
+
3970
+ /**
3971
+ * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
3972
+ * @param message Duration message or plain object to encode
3973
+ * @param [writer] Writer to encode to
3974
+ * @returns Writer
3975
+ */
3976
+ public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
3977
+
3978
+ /**
3979
+ * Decodes a Duration message from the specified reader or buffer.
3980
+ * @param reader Reader or buffer to decode from
3981
+ * @param [length] Message length if known beforehand
3982
+ * @returns Duration
3983
+ * @throws {Error} If the payload is not a reader or valid buffer
3984
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3985
+ */
3986
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration;
3987
+
3988
+ /**
3989
+ * Decodes a Duration message from the specified reader or buffer, length delimited.
3990
+ * @param reader Reader or buffer to decode from
3991
+ * @returns Duration
3992
+ * @throws {Error} If the payload is not a reader or valid buffer
3993
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3994
+ */
3995
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration;
3996
+
3997
+ /**
3998
+ * Creates a Duration message from a plain object. Also converts values to their respective internal types.
3999
+ * @param object Plain object
4000
+ * @returns Duration
4001
+ */
4002
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
4003
+
4004
+ /**
4005
+ * Creates a plain object from a Duration message. Also converts values to other types if specified.
4006
+ * @param message Duration
4007
+ * @param [options] Conversion options
4008
+ * @returns Plain object
4009
+ */
4010
+ public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
4011
+
4012
+ /**
4013
+ * Converts this Duration to JSON.
4014
+ * @returns JSON object
4015
+ */
4016
+ public toJSON(): { [k: string]: any };
4017
+
4018
+ /**
4019
+ * Gets the default type url for Duration
4020
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4021
+ * @returns The default type url
4022
+ */
4023
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4024
+ }
4025
+
4026
+ /** Properties of a Timestamp. */
4027
+ interface ITimestamp {
4028
+
4029
+ /** Timestamp seconds */
4030
+ seconds?: (Long|null);
4031
+
4032
+ /** Timestamp nanos */
4033
+ nanos?: (number|null);
4034
+ }
4035
+
4036
+ /** Represents a Timestamp. */
4037
+ class Timestamp implements ITimestamp {
4038
+
4039
+ /**
4040
+ * Constructs a new Timestamp.
4041
+ * @param [properties] Properties to set
4042
+ */
4043
+ constructor(properties?: google.protobuf.ITimestamp);
4044
+
4045
+ /** Timestamp seconds. */
4046
+ public seconds: Long;
4047
+
4048
+ /** Timestamp nanos. */
4049
+ public nanos: number;
4050
+
4051
+ /**
4052
+ * Creates a new Timestamp instance using the specified properties.
4053
+ * @param [properties] Properties to set
4054
+ * @returns Timestamp instance
4055
+ */
4056
+ public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
4057
+
4058
+ /**
4059
+ * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
4060
+ * @param message Timestamp message or plain object to encode
4061
+ * @param [writer] Writer to encode to
4062
+ * @returns Writer
4063
+ */
4064
+ public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
4065
+
4066
+ /**
4067
+ * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
4068
+ * @param message Timestamp message or plain object to encode
4069
+ * @param [writer] Writer to encode to
4070
+ * @returns Writer
4071
+ */
4072
+ public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
4073
+
4074
+ /**
4075
+ * Decodes a Timestamp message from the specified reader or buffer.
4076
+ * @param reader Reader or buffer to decode from
4077
+ * @param [length] Message length if known beforehand
4078
+ * @returns Timestamp
4079
+ * @throws {Error} If the payload is not a reader or valid buffer
4080
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4081
+ */
4082
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
4083
+
4084
+ /**
4085
+ * Decodes a Timestamp message from the specified reader or buffer, length delimited.
4086
+ * @param reader Reader or buffer to decode from
4087
+ * @returns Timestamp
4088
+ * @throws {Error} If the payload is not a reader or valid buffer
4089
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4090
+ */
4091
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
4092
+
4093
+ /**
4094
+ * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
4095
+ * @param object Plain object
4096
+ * @returns Timestamp
4097
+ */
4098
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
4099
+
4100
+ /**
4101
+ * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
4102
+ * @param message Timestamp
4103
+ * @param [options] Conversion options
4104
+ * @returns Plain object
4105
+ */
4106
+ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
4107
+
4108
+ /**
4109
+ * Converts this Timestamp to JSON.
4110
+ * @returns JSON object
4111
+ */
4112
+ public toJSON(): { [k: string]: any };
4113
+
4114
+ /**
4115
+ * Gets the default type url for Timestamp
4116
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4117
+ * @returns The default type url
4118
+ */
4119
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4120
+ }
4121
+
3877
4122
  /** Properties of an Empty. */
3878
4123
  interface IEmpty {
3879
4124
  }
@@ -3949,6 +4194,13 @@ export namespace google {
3949
4194
  * @returns JSON object
3950
4195
  */
3951
4196
  public toJSON(): { [k: string]: any };
4197
+
4198
+ /**
4199
+ * Gets the default type url for Empty
4200
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4201
+ * @returns The default type url
4202
+ */
4203
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3952
4204
  }
3953
4205
  }
3954
4206
  }