@google-cloud/apikeys 0.1.3 → 0.2.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.
@@ -1,4 +1,4 @@
1
- // Copyright 2022 Google LLC
1
+ // Copyright 2023 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -2833,6 +2833,1448 @@ export namespace google {
2833
2833
  */
2834
2834
  public static getTypeUrl(typeUrlPrefix?: string): string;
2835
2835
  }
2836
+
2837
+ /** Properties of a CommonLanguageSettings. */
2838
+ interface ICommonLanguageSettings {
2839
+
2840
+ /** CommonLanguageSettings referenceDocsUri */
2841
+ referenceDocsUri?: (string|null);
2842
+
2843
+ /** CommonLanguageSettings destinations */
2844
+ destinations?: (google.api.ClientLibraryDestination[]|null);
2845
+ }
2846
+
2847
+ /** Represents a CommonLanguageSettings. */
2848
+ class CommonLanguageSettings implements ICommonLanguageSettings {
2849
+
2850
+ /**
2851
+ * Constructs a new CommonLanguageSettings.
2852
+ * @param [properties] Properties to set
2853
+ */
2854
+ constructor(properties?: google.api.ICommonLanguageSettings);
2855
+
2856
+ /** CommonLanguageSettings referenceDocsUri. */
2857
+ public referenceDocsUri: string;
2858
+
2859
+ /** CommonLanguageSettings destinations. */
2860
+ public destinations: google.api.ClientLibraryDestination[];
2861
+
2862
+ /**
2863
+ * Creates a new CommonLanguageSettings instance using the specified properties.
2864
+ * @param [properties] Properties to set
2865
+ * @returns CommonLanguageSettings instance
2866
+ */
2867
+ public static create(properties?: google.api.ICommonLanguageSettings): google.api.CommonLanguageSettings;
2868
+
2869
+ /**
2870
+ * Encodes the specified CommonLanguageSettings message. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
2871
+ * @param message CommonLanguageSettings message or plain object to encode
2872
+ * @param [writer] Writer to encode to
2873
+ * @returns Writer
2874
+ */
2875
+ public static encode(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
2876
+
2877
+ /**
2878
+ * Encodes the specified CommonLanguageSettings message, length delimited. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
2879
+ * @param message CommonLanguageSettings message or plain object to encode
2880
+ * @param [writer] Writer to encode to
2881
+ * @returns Writer
2882
+ */
2883
+ public static encodeDelimited(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
2884
+
2885
+ /**
2886
+ * Decodes a CommonLanguageSettings message from the specified reader or buffer.
2887
+ * @param reader Reader or buffer to decode from
2888
+ * @param [length] Message length if known beforehand
2889
+ * @returns CommonLanguageSettings
2890
+ * @throws {Error} If the payload is not a reader or valid buffer
2891
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2892
+ */
2893
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CommonLanguageSettings;
2894
+
2895
+ /**
2896
+ * Decodes a CommonLanguageSettings message from the specified reader or buffer, length delimited.
2897
+ * @param reader Reader or buffer to decode from
2898
+ * @returns CommonLanguageSettings
2899
+ * @throws {Error} If the payload is not a reader or valid buffer
2900
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2901
+ */
2902
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CommonLanguageSettings;
2903
+
2904
+ /**
2905
+ * Verifies a CommonLanguageSettings message.
2906
+ * @param message Plain object to verify
2907
+ * @returns `null` if valid, otherwise the reason why it is not
2908
+ */
2909
+ public static verify(message: { [k: string]: any }): (string|null);
2910
+
2911
+ /**
2912
+ * Creates a CommonLanguageSettings message from a plain object. Also converts values to their respective internal types.
2913
+ * @param object Plain object
2914
+ * @returns CommonLanguageSettings
2915
+ */
2916
+ public static fromObject(object: { [k: string]: any }): google.api.CommonLanguageSettings;
2917
+
2918
+ /**
2919
+ * Creates a plain object from a CommonLanguageSettings message. Also converts values to other types if specified.
2920
+ * @param message CommonLanguageSettings
2921
+ * @param [options] Conversion options
2922
+ * @returns Plain object
2923
+ */
2924
+ public static toObject(message: google.api.CommonLanguageSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
2925
+
2926
+ /**
2927
+ * Converts this CommonLanguageSettings to JSON.
2928
+ * @returns JSON object
2929
+ */
2930
+ public toJSON(): { [k: string]: any };
2931
+
2932
+ /**
2933
+ * Gets the default type url for CommonLanguageSettings
2934
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2935
+ * @returns The default type url
2936
+ */
2937
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2938
+ }
2939
+
2940
+ /** Properties of a ClientLibrarySettings. */
2941
+ interface IClientLibrarySettings {
2942
+
2943
+ /** ClientLibrarySettings version */
2944
+ version?: (string|null);
2945
+
2946
+ /** ClientLibrarySettings launchStage */
2947
+ launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
2948
+
2949
+ /** ClientLibrarySettings restNumericEnums */
2950
+ restNumericEnums?: (boolean|null);
2951
+
2952
+ /** ClientLibrarySettings javaSettings */
2953
+ javaSettings?: (google.api.IJavaSettings|null);
2954
+
2955
+ /** ClientLibrarySettings cppSettings */
2956
+ cppSettings?: (google.api.ICppSettings|null);
2957
+
2958
+ /** ClientLibrarySettings phpSettings */
2959
+ phpSettings?: (google.api.IPhpSettings|null);
2960
+
2961
+ /** ClientLibrarySettings pythonSettings */
2962
+ pythonSettings?: (google.api.IPythonSettings|null);
2963
+
2964
+ /** ClientLibrarySettings nodeSettings */
2965
+ nodeSettings?: (google.api.INodeSettings|null);
2966
+
2967
+ /** ClientLibrarySettings dotnetSettings */
2968
+ dotnetSettings?: (google.api.IDotnetSettings|null);
2969
+
2970
+ /** ClientLibrarySettings rubySettings */
2971
+ rubySettings?: (google.api.IRubySettings|null);
2972
+
2973
+ /** ClientLibrarySettings goSettings */
2974
+ goSettings?: (google.api.IGoSettings|null);
2975
+ }
2976
+
2977
+ /** Represents a ClientLibrarySettings. */
2978
+ class ClientLibrarySettings implements IClientLibrarySettings {
2979
+
2980
+ /**
2981
+ * Constructs a new ClientLibrarySettings.
2982
+ * @param [properties] Properties to set
2983
+ */
2984
+ constructor(properties?: google.api.IClientLibrarySettings);
2985
+
2986
+ /** ClientLibrarySettings version. */
2987
+ public version: string;
2988
+
2989
+ /** ClientLibrarySettings launchStage. */
2990
+ public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
2991
+
2992
+ /** ClientLibrarySettings restNumericEnums. */
2993
+ public restNumericEnums: boolean;
2994
+
2995
+ /** ClientLibrarySettings javaSettings. */
2996
+ public javaSettings?: (google.api.IJavaSettings|null);
2997
+
2998
+ /** ClientLibrarySettings cppSettings. */
2999
+ public cppSettings?: (google.api.ICppSettings|null);
3000
+
3001
+ /** ClientLibrarySettings phpSettings. */
3002
+ public phpSettings?: (google.api.IPhpSettings|null);
3003
+
3004
+ /** ClientLibrarySettings pythonSettings. */
3005
+ public pythonSettings?: (google.api.IPythonSettings|null);
3006
+
3007
+ /** ClientLibrarySettings nodeSettings. */
3008
+ public nodeSettings?: (google.api.INodeSettings|null);
3009
+
3010
+ /** ClientLibrarySettings dotnetSettings. */
3011
+ public dotnetSettings?: (google.api.IDotnetSettings|null);
3012
+
3013
+ /** ClientLibrarySettings rubySettings. */
3014
+ public rubySettings?: (google.api.IRubySettings|null);
3015
+
3016
+ /** ClientLibrarySettings goSettings. */
3017
+ public goSettings?: (google.api.IGoSettings|null);
3018
+
3019
+ /**
3020
+ * Creates a new ClientLibrarySettings instance using the specified properties.
3021
+ * @param [properties] Properties to set
3022
+ * @returns ClientLibrarySettings instance
3023
+ */
3024
+ public static create(properties?: google.api.IClientLibrarySettings): google.api.ClientLibrarySettings;
3025
+
3026
+ /**
3027
+ * Encodes the specified ClientLibrarySettings message. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
3028
+ * @param message ClientLibrarySettings message or plain object to encode
3029
+ * @param [writer] Writer to encode to
3030
+ * @returns Writer
3031
+ */
3032
+ public static encode(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
3033
+
3034
+ /**
3035
+ * Encodes the specified ClientLibrarySettings message, length delimited. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
3036
+ * @param message ClientLibrarySettings message or plain object to encode
3037
+ * @param [writer] Writer to encode to
3038
+ * @returns Writer
3039
+ */
3040
+ public static encodeDelimited(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
3041
+
3042
+ /**
3043
+ * Decodes a ClientLibrarySettings message from the specified reader or buffer.
3044
+ * @param reader Reader or buffer to decode from
3045
+ * @param [length] Message length if known beforehand
3046
+ * @returns ClientLibrarySettings
3047
+ * @throws {Error} If the payload is not a reader or valid buffer
3048
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3049
+ */
3050
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ClientLibrarySettings;
3051
+
3052
+ /**
3053
+ * Decodes a ClientLibrarySettings message from the specified reader or buffer, length delimited.
3054
+ * @param reader Reader or buffer to decode from
3055
+ * @returns ClientLibrarySettings
3056
+ * @throws {Error} If the payload is not a reader or valid buffer
3057
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3058
+ */
3059
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ClientLibrarySettings;
3060
+
3061
+ /**
3062
+ * Verifies a ClientLibrarySettings message.
3063
+ * @param message Plain object to verify
3064
+ * @returns `null` if valid, otherwise the reason why it is not
3065
+ */
3066
+ public static verify(message: { [k: string]: any }): (string|null);
3067
+
3068
+ /**
3069
+ * Creates a ClientLibrarySettings message from a plain object. Also converts values to their respective internal types.
3070
+ * @param object Plain object
3071
+ * @returns ClientLibrarySettings
3072
+ */
3073
+ public static fromObject(object: { [k: string]: any }): google.api.ClientLibrarySettings;
3074
+
3075
+ /**
3076
+ * Creates a plain object from a ClientLibrarySettings message. Also converts values to other types if specified.
3077
+ * @param message ClientLibrarySettings
3078
+ * @param [options] Conversion options
3079
+ * @returns Plain object
3080
+ */
3081
+ public static toObject(message: google.api.ClientLibrarySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
3082
+
3083
+ /**
3084
+ * Converts this ClientLibrarySettings to JSON.
3085
+ * @returns JSON object
3086
+ */
3087
+ public toJSON(): { [k: string]: any };
3088
+
3089
+ /**
3090
+ * Gets the default type url for ClientLibrarySettings
3091
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3092
+ * @returns The default type url
3093
+ */
3094
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3095
+ }
3096
+
3097
+ /** Properties of a Publishing. */
3098
+ interface IPublishing {
3099
+
3100
+ /** Publishing methodSettings */
3101
+ methodSettings?: (google.api.IMethodSettings[]|null);
3102
+
3103
+ /** Publishing newIssueUri */
3104
+ newIssueUri?: (string|null);
3105
+
3106
+ /** Publishing documentationUri */
3107
+ documentationUri?: (string|null);
3108
+
3109
+ /** Publishing apiShortName */
3110
+ apiShortName?: (string|null);
3111
+
3112
+ /** Publishing githubLabel */
3113
+ githubLabel?: (string|null);
3114
+
3115
+ /** Publishing codeownerGithubTeams */
3116
+ codeownerGithubTeams?: (string[]|null);
3117
+
3118
+ /** Publishing docTagPrefix */
3119
+ docTagPrefix?: (string|null);
3120
+
3121
+ /** Publishing organization */
3122
+ organization?: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization|null);
3123
+
3124
+ /** Publishing librarySettings */
3125
+ librarySettings?: (google.api.IClientLibrarySettings[]|null);
3126
+ }
3127
+
3128
+ /** Represents a Publishing. */
3129
+ class Publishing implements IPublishing {
3130
+
3131
+ /**
3132
+ * Constructs a new Publishing.
3133
+ * @param [properties] Properties to set
3134
+ */
3135
+ constructor(properties?: google.api.IPublishing);
3136
+
3137
+ /** Publishing methodSettings. */
3138
+ public methodSettings: google.api.IMethodSettings[];
3139
+
3140
+ /** Publishing newIssueUri. */
3141
+ public newIssueUri: string;
3142
+
3143
+ /** Publishing documentationUri. */
3144
+ public documentationUri: string;
3145
+
3146
+ /** Publishing apiShortName. */
3147
+ public apiShortName: string;
3148
+
3149
+ /** Publishing githubLabel. */
3150
+ public githubLabel: string;
3151
+
3152
+ /** Publishing codeownerGithubTeams. */
3153
+ public codeownerGithubTeams: string[];
3154
+
3155
+ /** Publishing docTagPrefix. */
3156
+ public docTagPrefix: string;
3157
+
3158
+ /** Publishing organization. */
3159
+ public organization: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization);
3160
+
3161
+ /** Publishing librarySettings. */
3162
+ public librarySettings: google.api.IClientLibrarySettings[];
3163
+
3164
+ /**
3165
+ * Creates a new Publishing instance using the specified properties.
3166
+ * @param [properties] Properties to set
3167
+ * @returns Publishing instance
3168
+ */
3169
+ public static create(properties?: google.api.IPublishing): google.api.Publishing;
3170
+
3171
+ /**
3172
+ * Encodes the specified Publishing message. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
3173
+ * @param message Publishing message or plain object to encode
3174
+ * @param [writer] Writer to encode to
3175
+ * @returns Writer
3176
+ */
3177
+ public static encode(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
3178
+
3179
+ /**
3180
+ * Encodes the specified Publishing message, length delimited. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
3181
+ * @param message Publishing message or plain object to encode
3182
+ * @param [writer] Writer to encode to
3183
+ * @returns Writer
3184
+ */
3185
+ public static encodeDelimited(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
3186
+
3187
+ /**
3188
+ * Decodes a Publishing message from the specified reader or buffer.
3189
+ * @param reader Reader or buffer to decode from
3190
+ * @param [length] Message length if known beforehand
3191
+ * @returns Publishing
3192
+ * @throws {Error} If the payload is not a reader or valid buffer
3193
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3194
+ */
3195
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Publishing;
3196
+
3197
+ /**
3198
+ * Decodes a Publishing message from the specified reader or buffer, length delimited.
3199
+ * @param reader Reader or buffer to decode from
3200
+ * @returns Publishing
3201
+ * @throws {Error} If the payload is not a reader or valid buffer
3202
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3203
+ */
3204
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Publishing;
3205
+
3206
+ /**
3207
+ * Verifies a Publishing message.
3208
+ * @param message Plain object to verify
3209
+ * @returns `null` if valid, otherwise the reason why it is not
3210
+ */
3211
+ public static verify(message: { [k: string]: any }): (string|null);
3212
+
3213
+ /**
3214
+ * Creates a Publishing message from a plain object. Also converts values to their respective internal types.
3215
+ * @param object Plain object
3216
+ * @returns Publishing
3217
+ */
3218
+ public static fromObject(object: { [k: string]: any }): google.api.Publishing;
3219
+
3220
+ /**
3221
+ * Creates a plain object from a Publishing message. Also converts values to other types if specified.
3222
+ * @param message Publishing
3223
+ * @param [options] Conversion options
3224
+ * @returns Plain object
3225
+ */
3226
+ public static toObject(message: google.api.Publishing, options?: $protobuf.IConversionOptions): { [k: string]: any };
3227
+
3228
+ /**
3229
+ * Converts this Publishing to JSON.
3230
+ * @returns JSON object
3231
+ */
3232
+ public toJSON(): { [k: string]: any };
3233
+
3234
+ /**
3235
+ * Gets the default type url for Publishing
3236
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3237
+ * @returns The default type url
3238
+ */
3239
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3240
+ }
3241
+
3242
+ /** Properties of a JavaSettings. */
3243
+ interface IJavaSettings {
3244
+
3245
+ /** JavaSettings libraryPackage */
3246
+ libraryPackage?: (string|null);
3247
+
3248
+ /** JavaSettings serviceClassNames */
3249
+ serviceClassNames?: ({ [k: string]: string }|null);
3250
+
3251
+ /** JavaSettings common */
3252
+ common?: (google.api.ICommonLanguageSettings|null);
3253
+ }
3254
+
3255
+ /** Represents a JavaSettings. */
3256
+ class JavaSettings implements IJavaSettings {
3257
+
3258
+ /**
3259
+ * Constructs a new JavaSettings.
3260
+ * @param [properties] Properties to set
3261
+ */
3262
+ constructor(properties?: google.api.IJavaSettings);
3263
+
3264
+ /** JavaSettings libraryPackage. */
3265
+ public libraryPackage: string;
3266
+
3267
+ /** JavaSettings serviceClassNames. */
3268
+ public serviceClassNames: { [k: string]: string };
3269
+
3270
+ /** JavaSettings common. */
3271
+ public common?: (google.api.ICommonLanguageSettings|null);
3272
+
3273
+ /**
3274
+ * Creates a new JavaSettings instance using the specified properties.
3275
+ * @param [properties] Properties to set
3276
+ * @returns JavaSettings instance
3277
+ */
3278
+ public static create(properties?: google.api.IJavaSettings): google.api.JavaSettings;
3279
+
3280
+ /**
3281
+ * Encodes the specified JavaSettings message. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
3282
+ * @param message JavaSettings message or plain object to encode
3283
+ * @param [writer] Writer to encode to
3284
+ * @returns Writer
3285
+ */
3286
+ public static encode(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3287
+
3288
+ /**
3289
+ * Encodes the specified JavaSettings message, length delimited. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
3290
+ * @param message JavaSettings message or plain object to encode
3291
+ * @param [writer] Writer to encode to
3292
+ * @returns Writer
3293
+ */
3294
+ public static encodeDelimited(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3295
+
3296
+ /**
3297
+ * Decodes a JavaSettings message from the specified reader or buffer.
3298
+ * @param reader Reader or buffer to decode from
3299
+ * @param [length] Message length if known beforehand
3300
+ * @returns JavaSettings
3301
+ * @throws {Error} If the payload is not a reader or valid buffer
3302
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3303
+ */
3304
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.JavaSettings;
3305
+
3306
+ /**
3307
+ * Decodes a JavaSettings message from the specified reader or buffer, length delimited.
3308
+ * @param reader Reader or buffer to decode from
3309
+ * @returns JavaSettings
3310
+ * @throws {Error} If the payload is not a reader or valid buffer
3311
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3312
+ */
3313
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.JavaSettings;
3314
+
3315
+ /**
3316
+ * Verifies a JavaSettings message.
3317
+ * @param message Plain object to verify
3318
+ * @returns `null` if valid, otherwise the reason why it is not
3319
+ */
3320
+ public static verify(message: { [k: string]: any }): (string|null);
3321
+
3322
+ /**
3323
+ * Creates a JavaSettings message from a plain object. Also converts values to their respective internal types.
3324
+ * @param object Plain object
3325
+ * @returns JavaSettings
3326
+ */
3327
+ public static fromObject(object: { [k: string]: any }): google.api.JavaSettings;
3328
+
3329
+ /**
3330
+ * Creates a plain object from a JavaSettings message. Also converts values to other types if specified.
3331
+ * @param message JavaSettings
3332
+ * @param [options] Conversion options
3333
+ * @returns Plain object
3334
+ */
3335
+ public static toObject(message: google.api.JavaSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
3336
+
3337
+ /**
3338
+ * Converts this JavaSettings to JSON.
3339
+ * @returns JSON object
3340
+ */
3341
+ public toJSON(): { [k: string]: any };
3342
+
3343
+ /**
3344
+ * Gets the default type url for JavaSettings
3345
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3346
+ * @returns The default type url
3347
+ */
3348
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3349
+ }
3350
+
3351
+ /** Properties of a CppSettings. */
3352
+ interface ICppSettings {
3353
+
3354
+ /** CppSettings common */
3355
+ common?: (google.api.ICommonLanguageSettings|null);
3356
+ }
3357
+
3358
+ /** Represents a CppSettings. */
3359
+ class CppSettings implements ICppSettings {
3360
+
3361
+ /**
3362
+ * Constructs a new CppSettings.
3363
+ * @param [properties] Properties to set
3364
+ */
3365
+ constructor(properties?: google.api.ICppSettings);
3366
+
3367
+ /** CppSettings common. */
3368
+ public common?: (google.api.ICommonLanguageSettings|null);
3369
+
3370
+ /**
3371
+ * Creates a new CppSettings instance using the specified properties.
3372
+ * @param [properties] Properties to set
3373
+ * @returns CppSettings instance
3374
+ */
3375
+ public static create(properties?: google.api.ICppSettings): google.api.CppSettings;
3376
+
3377
+ /**
3378
+ * Encodes the specified CppSettings message. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
3379
+ * @param message CppSettings message or plain object to encode
3380
+ * @param [writer] Writer to encode to
3381
+ * @returns Writer
3382
+ */
3383
+ public static encode(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3384
+
3385
+ /**
3386
+ * Encodes the specified CppSettings message, length delimited. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
3387
+ * @param message CppSettings message or plain object to encode
3388
+ * @param [writer] Writer to encode to
3389
+ * @returns Writer
3390
+ */
3391
+ public static encodeDelimited(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3392
+
3393
+ /**
3394
+ * Decodes a CppSettings message from the specified reader or buffer.
3395
+ * @param reader Reader or buffer to decode from
3396
+ * @param [length] Message length if known beforehand
3397
+ * @returns CppSettings
3398
+ * @throws {Error} If the payload is not a reader or valid buffer
3399
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3400
+ */
3401
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CppSettings;
3402
+
3403
+ /**
3404
+ * Decodes a CppSettings message from the specified reader or buffer, length delimited.
3405
+ * @param reader Reader or buffer to decode from
3406
+ * @returns CppSettings
3407
+ * @throws {Error} If the payload is not a reader or valid buffer
3408
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3409
+ */
3410
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CppSettings;
3411
+
3412
+ /**
3413
+ * Verifies a CppSettings message.
3414
+ * @param message Plain object to verify
3415
+ * @returns `null` if valid, otherwise the reason why it is not
3416
+ */
3417
+ public static verify(message: { [k: string]: any }): (string|null);
3418
+
3419
+ /**
3420
+ * Creates a CppSettings message from a plain object. Also converts values to their respective internal types.
3421
+ * @param object Plain object
3422
+ * @returns CppSettings
3423
+ */
3424
+ public static fromObject(object: { [k: string]: any }): google.api.CppSettings;
3425
+
3426
+ /**
3427
+ * Creates a plain object from a CppSettings message. Also converts values to other types if specified.
3428
+ * @param message CppSettings
3429
+ * @param [options] Conversion options
3430
+ * @returns Plain object
3431
+ */
3432
+ public static toObject(message: google.api.CppSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
3433
+
3434
+ /**
3435
+ * Converts this CppSettings to JSON.
3436
+ * @returns JSON object
3437
+ */
3438
+ public toJSON(): { [k: string]: any };
3439
+
3440
+ /**
3441
+ * Gets the default type url for CppSettings
3442
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3443
+ * @returns The default type url
3444
+ */
3445
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3446
+ }
3447
+
3448
+ /** Properties of a PhpSettings. */
3449
+ interface IPhpSettings {
3450
+
3451
+ /** PhpSettings common */
3452
+ common?: (google.api.ICommonLanguageSettings|null);
3453
+ }
3454
+
3455
+ /** Represents a PhpSettings. */
3456
+ class PhpSettings implements IPhpSettings {
3457
+
3458
+ /**
3459
+ * Constructs a new PhpSettings.
3460
+ * @param [properties] Properties to set
3461
+ */
3462
+ constructor(properties?: google.api.IPhpSettings);
3463
+
3464
+ /** PhpSettings common. */
3465
+ public common?: (google.api.ICommonLanguageSettings|null);
3466
+
3467
+ /**
3468
+ * Creates a new PhpSettings instance using the specified properties.
3469
+ * @param [properties] Properties to set
3470
+ * @returns PhpSettings instance
3471
+ */
3472
+ public static create(properties?: google.api.IPhpSettings): google.api.PhpSettings;
3473
+
3474
+ /**
3475
+ * Encodes the specified PhpSettings message. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
3476
+ * @param message PhpSettings message or plain object to encode
3477
+ * @param [writer] Writer to encode to
3478
+ * @returns Writer
3479
+ */
3480
+ public static encode(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3481
+
3482
+ /**
3483
+ * Encodes the specified PhpSettings message, length delimited. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
3484
+ * @param message PhpSettings message or plain object to encode
3485
+ * @param [writer] Writer to encode to
3486
+ * @returns Writer
3487
+ */
3488
+ public static encodeDelimited(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3489
+
3490
+ /**
3491
+ * Decodes a PhpSettings message from the specified reader or buffer.
3492
+ * @param reader Reader or buffer to decode from
3493
+ * @param [length] Message length if known beforehand
3494
+ * @returns PhpSettings
3495
+ * @throws {Error} If the payload is not a reader or valid buffer
3496
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3497
+ */
3498
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PhpSettings;
3499
+
3500
+ /**
3501
+ * Decodes a PhpSettings message from the specified reader or buffer, length delimited.
3502
+ * @param reader Reader or buffer to decode from
3503
+ * @returns PhpSettings
3504
+ * @throws {Error} If the payload is not a reader or valid buffer
3505
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3506
+ */
3507
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PhpSettings;
3508
+
3509
+ /**
3510
+ * Verifies a PhpSettings message.
3511
+ * @param message Plain object to verify
3512
+ * @returns `null` if valid, otherwise the reason why it is not
3513
+ */
3514
+ public static verify(message: { [k: string]: any }): (string|null);
3515
+
3516
+ /**
3517
+ * Creates a PhpSettings message from a plain object. Also converts values to their respective internal types.
3518
+ * @param object Plain object
3519
+ * @returns PhpSettings
3520
+ */
3521
+ public static fromObject(object: { [k: string]: any }): google.api.PhpSettings;
3522
+
3523
+ /**
3524
+ * Creates a plain object from a PhpSettings message. Also converts values to other types if specified.
3525
+ * @param message PhpSettings
3526
+ * @param [options] Conversion options
3527
+ * @returns Plain object
3528
+ */
3529
+ public static toObject(message: google.api.PhpSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
3530
+
3531
+ /**
3532
+ * Converts this PhpSettings to JSON.
3533
+ * @returns JSON object
3534
+ */
3535
+ public toJSON(): { [k: string]: any };
3536
+
3537
+ /**
3538
+ * Gets the default type url for PhpSettings
3539
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3540
+ * @returns The default type url
3541
+ */
3542
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3543
+ }
3544
+
3545
+ /** Properties of a PythonSettings. */
3546
+ interface IPythonSettings {
3547
+
3548
+ /** PythonSettings common */
3549
+ common?: (google.api.ICommonLanguageSettings|null);
3550
+ }
3551
+
3552
+ /** Represents a PythonSettings. */
3553
+ class PythonSettings implements IPythonSettings {
3554
+
3555
+ /**
3556
+ * Constructs a new PythonSettings.
3557
+ * @param [properties] Properties to set
3558
+ */
3559
+ constructor(properties?: google.api.IPythonSettings);
3560
+
3561
+ /** PythonSettings common. */
3562
+ public common?: (google.api.ICommonLanguageSettings|null);
3563
+
3564
+ /**
3565
+ * Creates a new PythonSettings instance using the specified properties.
3566
+ * @param [properties] Properties to set
3567
+ * @returns PythonSettings instance
3568
+ */
3569
+ public static create(properties?: google.api.IPythonSettings): google.api.PythonSettings;
3570
+
3571
+ /**
3572
+ * Encodes the specified PythonSettings message. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
3573
+ * @param message PythonSettings message or plain object to encode
3574
+ * @param [writer] Writer to encode to
3575
+ * @returns Writer
3576
+ */
3577
+ public static encode(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3578
+
3579
+ /**
3580
+ * Encodes the specified PythonSettings message, length delimited. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
3581
+ * @param message PythonSettings message or plain object to encode
3582
+ * @param [writer] Writer to encode to
3583
+ * @returns Writer
3584
+ */
3585
+ public static encodeDelimited(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3586
+
3587
+ /**
3588
+ * Decodes a PythonSettings message from the specified reader or buffer.
3589
+ * @param reader Reader or buffer to decode from
3590
+ * @param [length] Message length if known beforehand
3591
+ * @returns PythonSettings
3592
+ * @throws {Error} If the payload is not a reader or valid buffer
3593
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3594
+ */
3595
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings;
3596
+
3597
+ /**
3598
+ * Decodes a PythonSettings message from the specified reader or buffer, length delimited.
3599
+ * @param reader Reader or buffer to decode from
3600
+ * @returns PythonSettings
3601
+ * @throws {Error} If the payload is not a reader or valid buffer
3602
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3603
+ */
3604
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings;
3605
+
3606
+ /**
3607
+ * Verifies a PythonSettings message.
3608
+ * @param message Plain object to verify
3609
+ * @returns `null` if valid, otherwise the reason why it is not
3610
+ */
3611
+ public static verify(message: { [k: string]: any }): (string|null);
3612
+
3613
+ /**
3614
+ * Creates a PythonSettings message from a plain object. Also converts values to their respective internal types.
3615
+ * @param object Plain object
3616
+ * @returns PythonSettings
3617
+ */
3618
+ public static fromObject(object: { [k: string]: any }): google.api.PythonSettings;
3619
+
3620
+ /**
3621
+ * Creates a plain object from a PythonSettings message. Also converts values to other types if specified.
3622
+ * @param message PythonSettings
3623
+ * @param [options] Conversion options
3624
+ * @returns Plain object
3625
+ */
3626
+ public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
3627
+
3628
+ /**
3629
+ * Converts this PythonSettings to JSON.
3630
+ * @returns JSON object
3631
+ */
3632
+ public toJSON(): { [k: string]: any };
3633
+
3634
+ /**
3635
+ * Gets the default type url for PythonSettings
3636
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3637
+ * @returns The default type url
3638
+ */
3639
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3640
+ }
3641
+
3642
+ /** Properties of a NodeSettings. */
3643
+ interface INodeSettings {
3644
+
3645
+ /** NodeSettings common */
3646
+ common?: (google.api.ICommonLanguageSettings|null);
3647
+ }
3648
+
3649
+ /** Represents a NodeSettings. */
3650
+ class NodeSettings implements INodeSettings {
3651
+
3652
+ /**
3653
+ * Constructs a new NodeSettings.
3654
+ * @param [properties] Properties to set
3655
+ */
3656
+ constructor(properties?: google.api.INodeSettings);
3657
+
3658
+ /** NodeSettings common. */
3659
+ public common?: (google.api.ICommonLanguageSettings|null);
3660
+
3661
+ /**
3662
+ * Creates a new NodeSettings instance using the specified properties.
3663
+ * @param [properties] Properties to set
3664
+ * @returns NodeSettings instance
3665
+ */
3666
+ public static create(properties?: google.api.INodeSettings): google.api.NodeSettings;
3667
+
3668
+ /**
3669
+ * Encodes the specified NodeSettings message. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
3670
+ * @param message NodeSettings message or plain object to encode
3671
+ * @param [writer] Writer to encode to
3672
+ * @returns Writer
3673
+ */
3674
+ public static encode(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3675
+
3676
+ /**
3677
+ * Encodes the specified NodeSettings message, length delimited. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
3678
+ * @param message NodeSettings message or plain object to encode
3679
+ * @param [writer] Writer to encode to
3680
+ * @returns Writer
3681
+ */
3682
+ public static encodeDelimited(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3683
+
3684
+ /**
3685
+ * Decodes a NodeSettings message from the specified reader or buffer.
3686
+ * @param reader Reader or buffer to decode from
3687
+ * @param [length] Message length if known beforehand
3688
+ * @returns NodeSettings
3689
+ * @throws {Error} If the payload is not a reader or valid buffer
3690
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3691
+ */
3692
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.NodeSettings;
3693
+
3694
+ /**
3695
+ * Decodes a NodeSettings message from the specified reader or buffer, length delimited.
3696
+ * @param reader Reader or buffer to decode from
3697
+ * @returns NodeSettings
3698
+ * @throws {Error} If the payload is not a reader or valid buffer
3699
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3700
+ */
3701
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.NodeSettings;
3702
+
3703
+ /**
3704
+ * Verifies a NodeSettings message.
3705
+ * @param message Plain object to verify
3706
+ * @returns `null` if valid, otherwise the reason why it is not
3707
+ */
3708
+ public static verify(message: { [k: string]: any }): (string|null);
3709
+
3710
+ /**
3711
+ * Creates a NodeSettings message from a plain object. Also converts values to their respective internal types.
3712
+ * @param object Plain object
3713
+ * @returns NodeSettings
3714
+ */
3715
+ public static fromObject(object: { [k: string]: any }): google.api.NodeSettings;
3716
+
3717
+ /**
3718
+ * Creates a plain object from a NodeSettings message. Also converts values to other types if specified.
3719
+ * @param message NodeSettings
3720
+ * @param [options] Conversion options
3721
+ * @returns Plain object
3722
+ */
3723
+ public static toObject(message: google.api.NodeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
3724
+
3725
+ /**
3726
+ * Converts this NodeSettings to JSON.
3727
+ * @returns JSON object
3728
+ */
3729
+ public toJSON(): { [k: string]: any };
3730
+
3731
+ /**
3732
+ * Gets the default type url for NodeSettings
3733
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3734
+ * @returns The default type url
3735
+ */
3736
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3737
+ }
3738
+
3739
+ /** Properties of a DotnetSettings. */
3740
+ interface IDotnetSettings {
3741
+
3742
+ /** DotnetSettings common */
3743
+ common?: (google.api.ICommonLanguageSettings|null);
3744
+ }
3745
+
3746
+ /** Represents a DotnetSettings. */
3747
+ class DotnetSettings implements IDotnetSettings {
3748
+
3749
+ /**
3750
+ * Constructs a new DotnetSettings.
3751
+ * @param [properties] Properties to set
3752
+ */
3753
+ constructor(properties?: google.api.IDotnetSettings);
3754
+
3755
+ /** DotnetSettings common. */
3756
+ public common?: (google.api.ICommonLanguageSettings|null);
3757
+
3758
+ /**
3759
+ * Creates a new DotnetSettings instance using the specified properties.
3760
+ * @param [properties] Properties to set
3761
+ * @returns DotnetSettings instance
3762
+ */
3763
+ public static create(properties?: google.api.IDotnetSettings): google.api.DotnetSettings;
3764
+
3765
+ /**
3766
+ * Encodes the specified DotnetSettings message. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
3767
+ * @param message DotnetSettings message or plain object to encode
3768
+ * @param [writer] Writer to encode to
3769
+ * @returns Writer
3770
+ */
3771
+ public static encode(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3772
+
3773
+ /**
3774
+ * Encodes the specified DotnetSettings message, length delimited. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
3775
+ * @param message DotnetSettings message or plain object to encode
3776
+ * @param [writer] Writer to encode to
3777
+ * @returns Writer
3778
+ */
3779
+ public static encodeDelimited(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3780
+
3781
+ /**
3782
+ * Decodes a DotnetSettings message from the specified reader or buffer.
3783
+ * @param reader Reader or buffer to decode from
3784
+ * @param [length] Message length if known beforehand
3785
+ * @returns DotnetSettings
3786
+ * @throws {Error} If the payload is not a reader or valid buffer
3787
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3788
+ */
3789
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.DotnetSettings;
3790
+
3791
+ /**
3792
+ * Decodes a DotnetSettings message from the specified reader or buffer, length delimited.
3793
+ * @param reader Reader or buffer to decode from
3794
+ * @returns DotnetSettings
3795
+ * @throws {Error} If the payload is not a reader or valid buffer
3796
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3797
+ */
3798
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.DotnetSettings;
3799
+
3800
+ /**
3801
+ * Verifies a DotnetSettings message.
3802
+ * @param message Plain object to verify
3803
+ * @returns `null` if valid, otherwise the reason why it is not
3804
+ */
3805
+ public static verify(message: { [k: string]: any }): (string|null);
3806
+
3807
+ /**
3808
+ * Creates a DotnetSettings message from a plain object. Also converts values to their respective internal types.
3809
+ * @param object Plain object
3810
+ * @returns DotnetSettings
3811
+ */
3812
+ public static fromObject(object: { [k: string]: any }): google.api.DotnetSettings;
3813
+
3814
+ /**
3815
+ * Creates a plain object from a DotnetSettings message. Also converts values to other types if specified.
3816
+ * @param message DotnetSettings
3817
+ * @param [options] Conversion options
3818
+ * @returns Plain object
3819
+ */
3820
+ public static toObject(message: google.api.DotnetSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
3821
+
3822
+ /**
3823
+ * Converts this DotnetSettings to JSON.
3824
+ * @returns JSON object
3825
+ */
3826
+ public toJSON(): { [k: string]: any };
3827
+
3828
+ /**
3829
+ * Gets the default type url for DotnetSettings
3830
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3831
+ * @returns The default type url
3832
+ */
3833
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3834
+ }
3835
+
3836
+ /** Properties of a RubySettings. */
3837
+ interface IRubySettings {
3838
+
3839
+ /** RubySettings common */
3840
+ common?: (google.api.ICommonLanguageSettings|null);
3841
+ }
3842
+
3843
+ /** Represents a RubySettings. */
3844
+ class RubySettings implements IRubySettings {
3845
+
3846
+ /**
3847
+ * Constructs a new RubySettings.
3848
+ * @param [properties] Properties to set
3849
+ */
3850
+ constructor(properties?: google.api.IRubySettings);
3851
+
3852
+ /** RubySettings common. */
3853
+ public common?: (google.api.ICommonLanguageSettings|null);
3854
+
3855
+ /**
3856
+ * Creates a new RubySettings instance using the specified properties.
3857
+ * @param [properties] Properties to set
3858
+ * @returns RubySettings instance
3859
+ */
3860
+ public static create(properties?: google.api.IRubySettings): google.api.RubySettings;
3861
+
3862
+ /**
3863
+ * Encodes the specified RubySettings message. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
3864
+ * @param message RubySettings message or plain object to encode
3865
+ * @param [writer] Writer to encode to
3866
+ * @returns Writer
3867
+ */
3868
+ public static encode(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
3869
+
3870
+ /**
3871
+ * Encodes the specified RubySettings message, length delimited. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
3872
+ * @param message RubySettings message or plain object to encode
3873
+ * @param [writer] Writer to encode to
3874
+ * @returns Writer
3875
+ */
3876
+ public static encodeDelimited(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
3877
+
3878
+ /**
3879
+ * Decodes a RubySettings message from the specified reader or buffer.
3880
+ * @param reader Reader or buffer to decode from
3881
+ * @param [length] Message length if known beforehand
3882
+ * @returns RubySettings
3883
+ * @throws {Error} If the payload is not a reader or valid buffer
3884
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3885
+ */
3886
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.RubySettings;
3887
+
3888
+ /**
3889
+ * Decodes a RubySettings message from the specified reader or buffer, length delimited.
3890
+ * @param reader Reader or buffer to decode from
3891
+ * @returns RubySettings
3892
+ * @throws {Error} If the payload is not a reader or valid buffer
3893
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3894
+ */
3895
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.RubySettings;
3896
+
3897
+ /**
3898
+ * Verifies a RubySettings message.
3899
+ * @param message Plain object to verify
3900
+ * @returns `null` if valid, otherwise the reason why it is not
3901
+ */
3902
+ public static verify(message: { [k: string]: any }): (string|null);
3903
+
3904
+ /**
3905
+ * Creates a RubySettings message from a plain object. Also converts values to their respective internal types.
3906
+ * @param object Plain object
3907
+ * @returns RubySettings
3908
+ */
3909
+ public static fromObject(object: { [k: string]: any }): google.api.RubySettings;
3910
+
3911
+ /**
3912
+ * Creates a plain object from a RubySettings message. Also converts values to other types if specified.
3913
+ * @param message RubySettings
3914
+ * @param [options] Conversion options
3915
+ * @returns Plain object
3916
+ */
3917
+ public static toObject(message: google.api.RubySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
3918
+
3919
+ /**
3920
+ * Converts this RubySettings to JSON.
3921
+ * @returns JSON object
3922
+ */
3923
+ public toJSON(): { [k: string]: any };
3924
+
3925
+ /**
3926
+ * Gets the default type url for RubySettings
3927
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3928
+ * @returns The default type url
3929
+ */
3930
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3931
+ }
3932
+
3933
+ /** Properties of a GoSettings. */
3934
+ interface IGoSettings {
3935
+
3936
+ /** GoSettings common */
3937
+ common?: (google.api.ICommonLanguageSettings|null);
3938
+ }
3939
+
3940
+ /** Represents a GoSettings. */
3941
+ class GoSettings implements IGoSettings {
3942
+
3943
+ /**
3944
+ * Constructs a new GoSettings.
3945
+ * @param [properties] Properties to set
3946
+ */
3947
+ constructor(properties?: google.api.IGoSettings);
3948
+
3949
+ /** GoSettings common. */
3950
+ public common?: (google.api.ICommonLanguageSettings|null);
3951
+
3952
+ /**
3953
+ * Creates a new GoSettings instance using the specified properties.
3954
+ * @param [properties] Properties to set
3955
+ * @returns GoSettings instance
3956
+ */
3957
+ public static create(properties?: google.api.IGoSettings): google.api.GoSettings;
3958
+
3959
+ /**
3960
+ * Encodes the specified GoSettings message. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
3961
+ * @param message GoSettings message or plain object to encode
3962
+ * @param [writer] Writer to encode to
3963
+ * @returns Writer
3964
+ */
3965
+ public static encode(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3966
+
3967
+ /**
3968
+ * Encodes the specified GoSettings message, length delimited. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
3969
+ * @param message GoSettings message or plain object to encode
3970
+ * @param [writer] Writer to encode to
3971
+ * @returns Writer
3972
+ */
3973
+ public static encodeDelimited(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
3974
+
3975
+ /**
3976
+ * Decodes a GoSettings message from the specified reader or buffer.
3977
+ * @param reader Reader or buffer to decode from
3978
+ * @param [length] Message length if known beforehand
3979
+ * @returns GoSettings
3980
+ * @throws {Error} If the payload is not a reader or valid buffer
3981
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3982
+ */
3983
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.GoSettings;
3984
+
3985
+ /**
3986
+ * Decodes a GoSettings message from the specified reader or buffer, length delimited.
3987
+ * @param reader Reader or buffer to decode from
3988
+ * @returns GoSettings
3989
+ * @throws {Error} If the payload is not a reader or valid buffer
3990
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3991
+ */
3992
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.GoSettings;
3993
+
3994
+ /**
3995
+ * Verifies a GoSettings message.
3996
+ * @param message Plain object to verify
3997
+ * @returns `null` if valid, otherwise the reason why it is not
3998
+ */
3999
+ public static verify(message: { [k: string]: any }): (string|null);
4000
+
4001
+ /**
4002
+ * Creates a GoSettings message from a plain object. Also converts values to their respective internal types.
4003
+ * @param object Plain object
4004
+ * @returns GoSettings
4005
+ */
4006
+ public static fromObject(object: { [k: string]: any }): google.api.GoSettings;
4007
+
4008
+ /**
4009
+ * Creates a plain object from a GoSettings message. Also converts values to other types if specified.
4010
+ * @param message GoSettings
4011
+ * @param [options] Conversion options
4012
+ * @returns Plain object
4013
+ */
4014
+ public static toObject(message: google.api.GoSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
4015
+
4016
+ /**
4017
+ * Converts this GoSettings to JSON.
4018
+ * @returns JSON object
4019
+ */
4020
+ public toJSON(): { [k: string]: any };
4021
+
4022
+ /**
4023
+ * Gets the default type url for GoSettings
4024
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4025
+ * @returns The default type url
4026
+ */
4027
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4028
+ }
4029
+
4030
+ /** Properties of a MethodSettings. */
4031
+ interface IMethodSettings {
4032
+
4033
+ /** MethodSettings selector */
4034
+ selector?: (string|null);
4035
+
4036
+ /** MethodSettings longRunning */
4037
+ longRunning?: (google.api.MethodSettings.ILongRunning|null);
4038
+ }
4039
+
4040
+ /** Represents a MethodSettings. */
4041
+ class MethodSettings implements IMethodSettings {
4042
+
4043
+ /**
4044
+ * Constructs a new MethodSettings.
4045
+ * @param [properties] Properties to set
4046
+ */
4047
+ constructor(properties?: google.api.IMethodSettings);
4048
+
4049
+ /** MethodSettings selector. */
4050
+ public selector: string;
4051
+
4052
+ /** MethodSettings longRunning. */
4053
+ public longRunning?: (google.api.MethodSettings.ILongRunning|null);
4054
+
4055
+ /**
4056
+ * Creates a new MethodSettings instance using the specified properties.
4057
+ * @param [properties] Properties to set
4058
+ * @returns MethodSettings instance
4059
+ */
4060
+ public static create(properties?: google.api.IMethodSettings): google.api.MethodSettings;
4061
+
4062
+ /**
4063
+ * Encodes the specified MethodSettings message. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
4064
+ * @param message MethodSettings message or plain object to encode
4065
+ * @param [writer] Writer to encode to
4066
+ * @returns Writer
4067
+ */
4068
+ public static encode(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
4069
+
4070
+ /**
4071
+ * Encodes the specified MethodSettings message, length delimited. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
4072
+ * @param message MethodSettings message or plain object to encode
4073
+ * @param [writer] Writer to encode to
4074
+ * @returns Writer
4075
+ */
4076
+ public static encodeDelimited(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
4077
+
4078
+ /**
4079
+ * Decodes a MethodSettings message from the specified reader or buffer.
4080
+ * @param reader Reader or buffer to decode from
4081
+ * @param [length] Message length if known beforehand
4082
+ * @returns MethodSettings
4083
+ * @throws {Error} If the payload is not a reader or valid buffer
4084
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4085
+ */
4086
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings;
4087
+
4088
+ /**
4089
+ * Decodes a MethodSettings message from the specified reader or buffer, length delimited.
4090
+ * @param reader Reader or buffer to decode from
4091
+ * @returns MethodSettings
4092
+ * @throws {Error} If the payload is not a reader or valid buffer
4093
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4094
+ */
4095
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings;
4096
+
4097
+ /**
4098
+ * Verifies a MethodSettings message.
4099
+ * @param message Plain object to verify
4100
+ * @returns `null` if valid, otherwise the reason why it is not
4101
+ */
4102
+ public static verify(message: { [k: string]: any }): (string|null);
4103
+
4104
+ /**
4105
+ * Creates a MethodSettings message from a plain object. Also converts values to their respective internal types.
4106
+ * @param object Plain object
4107
+ * @returns MethodSettings
4108
+ */
4109
+ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings;
4110
+
4111
+ /**
4112
+ * Creates a plain object from a MethodSettings message. Also converts values to other types if specified.
4113
+ * @param message MethodSettings
4114
+ * @param [options] Conversion options
4115
+ * @returns Plain object
4116
+ */
4117
+ public static toObject(message: google.api.MethodSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
4118
+
4119
+ /**
4120
+ * Converts this MethodSettings to JSON.
4121
+ * @returns JSON object
4122
+ */
4123
+ public toJSON(): { [k: string]: any };
4124
+
4125
+ /**
4126
+ * Gets the default type url for MethodSettings
4127
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4128
+ * @returns The default type url
4129
+ */
4130
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4131
+ }
4132
+
4133
+ namespace MethodSettings {
4134
+
4135
+ /** Properties of a LongRunning. */
4136
+ interface ILongRunning {
4137
+
4138
+ /** LongRunning initialPollDelay */
4139
+ initialPollDelay?: (google.protobuf.IDuration|null);
4140
+
4141
+ /** LongRunning pollDelayMultiplier */
4142
+ pollDelayMultiplier?: (number|null);
4143
+
4144
+ /** LongRunning maxPollDelay */
4145
+ maxPollDelay?: (google.protobuf.IDuration|null);
4146
+
4147
+ /** LongRunning totalPollTimeout */
4148
+ totalPollTimeout?: (google.protobuf.IDuration|null);
4149
+ }
4150
+
4151
+ /** Represents a LongRunning. */
4152
+ class LongRunning implements ILongRunning {
4153
+
4154
+ /**
4155
+ * Constructs a new LongRunning.
4156
+ * @param [properties] Properties to set
4157
+ */
4158
+ constructor(properties?: google.api.MethodSettings.ILongRunning);
4159
+
4160
+ /** LongRunning initialPollDelay. */
4161
+ public initialPollDelay?: (google.protobuf.IDuration|null);
4162
+
4163
+ /** LongRunning pollDelayMultiplier. */
4164
+ public pollDelayMultiplier: number;
4165
+
4166
+ /** LongRunning maxPollDelay. */
4167
+ public maxPollDelay?: (google.protobuf.IDuration|null);
4168
+
4169
+ /** LongRunning totalPollTimeout. */
4170
+ public totalPollTimeout?: (google.protobuf.IDuration|null);
4171
+
4172
+ /**
4173
+ * Creates a new LongRunning instance using the specified properties.
4174
+ * @param [properties] Properties to set
4175
+ * @returns LongRunning instance
4176
+ */
4177
+ public static create(properties?: google.api.MethodSettings.ILongRunning): google.api.MethodSettings.LongRunning;
4178
+
4179
+ /**
4180
+ * Encodes the specified LongRunning message. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
4181
+ * @param message LongRunning message or plain object to encode
4182
+ * @param [writer] Writer to encode to
4183
+ * @returns Writer
4184
+ */
4185
+ public static encode(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
4186
+
4187
+ /**
4188
+ * Encodes the specified LongRunning message, length delimited. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
4189
+ * @param message LongRunning message or plain object to encode
4190
+ * @param [writer] Writer to encode to
4191
+ * @returns Writer
4192
+ */
4193
+ public static encodeDelimited(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
4194
+
4195
+ /**
4196
+ * Decodes a LongRunning message from the specified reader or buffer.
4197
+ * @param reader Reader or buffer to decode from
4198
+ * @param [length] Message length if known beforehand
4199
+ * @returns LongRunning
4200
+ * @throws {Error} If the payload is not a reader or valid buffer
4201
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4202
+ */
4203
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings.LongRunning;
4204
+
4205
+ /**
4206
+ * Decodes a LongRunning message from the specified reader or buffer, length delimited.
4207
+ * @param reader Reader or buffer to decode from
4208
+ * @returns LongRunning
4209
+ * @throws {Error} If the payload is not a reader or valid buffer
4210
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4211
+ */
4212
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings.LongRunning;
4213
+
4214
+ /**
4215
+ * Verifies a LongRunning message.
4216
+ * @param message Plain object to verify
4217
+ * @returns `null` if valid, otherwise the reason why it is not
4218
+ */
4219
+ public static verify(message: { [k: string]: any }): (string|null);
4220
+
4221
+ /**
4222
+ * Creates a LongRunning message from a plain object. Also converts values to their respective internal types.
4223
+ * @param object Plain object
4224
+ * @returns LongRunning
4225
+ */
4226
+ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings.LongRunning;
4227
+
4228
+ /**
4229
+ * Creates a plain object from a LongRunning message. Also converts values to other types if specified.
4230
+ * @param message LongRunning
4231
+ * @param [options] Conversion options
4232
+ * @returns Plain object
4233
+ */
4234
+ public static toObject(message: google.api.MethodSettings.LongRunning, options?: $protobuf.IConversionOptions): { [k: string]: any };
4235
+
4236
+ /**
4237
+ * Converts this LongRunning to JSON.
4238
+ * @returns JSON object
4239
+ */
4240
+ public toJSON(): { [k: string]: any };
4241
+
4242
+ /**
4243
+ * Gets the default type url for LongRunning
4244
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4245
+ * @returns The default type url
4246
+ */
4247
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4248
+ }
4249
+ }
4250
+
4251
+ /** ClientLibraryOrganization enum. */
4252
+ enum ClientLibraryOrganization {
4253
+ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0,
4254
+ CLOUD = 1,
4255
+ ADS = 2,
4256
+ PHOTOS = 3,
4257
+ STREET_VIEW = 4
4258
+ }
4259
+
4260
+ /** ClientLibraryDestination enum. */
4261
+ enum ClientLibraryDestination {
4262
+ CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0,
4263
+ GITHUB = 10,
4264
+ PACKAGE_MANAGER = 20
4265
+ }
4266
+
4267
+ /** LaunchStage enum. */
4268
+ enum LaunchStage {
4269
+ LAUNCH_STAGE_UNSPECIFIED = 0,
4270
+ UNIMPLEMENTED = 6,
4271
+ PRELAUNCH = 7,
4272
+ EARLY_ACCESS = 1,
4273
+ ALPHA = 2,
4274
+ BETA = 3,
4275
+ GA = 4,
4276
+ DEPRECATED = 5
4277
+ }
2836
4278
  }
2837
4279
 
2838
4280
  /** Namespace protobuf. */
@@ -4676,6 +6118,9 @@ export namespace google {
4676
6118
  /** MessageOptions mapEntry */
4677
6119
  mapEntry?: (boolean|null);
4678
6120
 
6121
+ /** MessageOptions deprecatedLegacyJsonFieldConflicts */
6122
+ deprecatedLegacyJsonFieldConflicts?: (boolean|null);
6123
+
4679
6124
  /** MessageOptions uninterpretedOption */
4680
6125
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
4681
6126
 
@@ -4704,6 +6149,9 @@ export namespace google {
4704
6149
  /** MessageOptions mapEntry. */
4705
6150
  public mapEntry: boolean;
4706
6151
 
6152
+ /** MessageOptions deprecatedLegacyJsonFieldConflicts. */
6153
+ public deprecatedLegacyJsonFieldConflicts: boolean;
6154
+
4707
6155
  /** MessageOptions uninterpretedOption. */
4708
6156
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
4709
6157
 
@@ -4809,6 +6257,15 @@ export namespace google {
4809
6257
  /** FieldOptions weak */
4810
6258
  weak?: (boolean|null);
4811
6259
 
6260
+ /** FieldOptions debugRedact */
6261
+ debugRedact?: (boolean|null);
6262
+
6263
+ /** FieldOptions retention */
6264
+ retention?: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention|null);
6265
+
6266
+ /** FieldOptions target */
6267
+ target?: (google.protobuf.FieldOptions.OptionTargetType|keyof typeof google.protobuf.FieldOptions.OptionTargetType|null);
6268
+
4812
6269
  /** FieldOptions uninterpretedOption */
4813
6270
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
4814
6271
 
@@ -4849,6 +6306,15 @@ export namespace google {
4849
6306
  /** FieldOptions weak. */
4850
6307
  public weak: boolean;
4851
6308
 
6309
+ /** FieldOptions debugRedact. */
6310
+ public debugRedact: boolean;
6311
+
6312
+ /** FieldOptions retention. */
6313
+ public retention: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention);
6314
+
6315
+ /** FieldOptions target. */
6316
+ public target: (google.protobuf.FieldOptions.OptionTargetType|keyof typeof google.protobuf.FieldOptions.OptionTargetType);
6317
+
4852
6318
  /** FieldOptions uninterpretedOption. */
4853
6319
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
4854
6320
 
@@ -4945,6 +6411,27 @@ export namespace google {
4945
6411
  JS_STRING = 1,
4946
6412
  JS_NUMBER = 2
4947
6413
  }
6414
+
6415
+ /** OptionRetention enum. */
6416
+ enum OptionRetention {
6417
+ RETENTION_UNKNOWN = 0,
6418
+ RETENTION_RUNTIME = 1,
6419
+ RETENTION_SOURCE = 2
6420
+ }
6421
+
6422
+ /** OptionTargetType enum. */
6423
+ enum OptionTargetType {
6424
+ TARGET_TYPE_UNKNOWN = 0,
6425
+ TARGET_TYPE_FILE = 1,
6426
+ TARGET_TYPE_EXTENSION_RANGE = 2,
6427
+ TARGET_TYPE_MESSAGE = 3,
6428
+ TARGET_TYPE_FIELD = 4,
6429
+ TARGET_TYPE_ONEOF = 5,
6430
+ TARGET_TYPE_ENUM = 6,
6431
+ TARGET_TYPE_ENUM_ENTRY = 7,
6432
+ TARGET_TYPE_SERVICE = 8,
6433
+ TARGET_TYPE_METHOD = 9
6434
+ }
4948
6435
  }
4949
6436
 
4950
6437
  /** Properties of an OneofOptions. */
@@ -5053,6 +6540,9 @@ export namespace google {
5053
6540
  /** EnumOptions deprecated */
5054
6541
  deprecated?: (boolean|null);
5055
6542
 
6543
+ /** EnumOptions deprecatedLegacyJsonFieldConflicts */
6544
+ deprecatedLegacyJsonFieldConflicts?: (boolean|null);
6545
+
5056
6546
  /** EnumOptions uninterpretedOption */
5057
6547
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
5058
6548
  }
@@ -5072,6 +6562,9 @@ export namespace google {
5072
6562
  /** EnumOptions deprecated. */
5073
6563
  public deprecated: boolean;
5074
6564
 
6565
+ /** EnumOptions deprecatedLegacyJsonFieldConflicts. */
6566
+ public deprecatedLegacyJsonFieldConflicts: boolean;
6567
+
5075
6568
  /** EnumOptions uninterpretedOption. */
5076
6569
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
5077
6570
 
@@ -6287,206 +7780,206 @@ export namespace google {
6287
7780
  public static getTypeUrl(typeUrlPrefix?: string): string;
6288
7781
  }
6289
7782
 
6290
- /** Properties of an Any. */
6291
- interface IAny {
7783
+ /** Properties of a Duration. */
7784
+ interface IDuration {
6292
7785
 
6293
- /** Any type_url */
6294
- type_url?: (string|null);
7786
+ /** Duration seconds */
7787
+ seconds?: (number|Long|string|null);
6295
7788
 
6296
- /** Any value */
6297
- value?: (Uint8Array|string|null);
7789
+ /** Duration nanos */
7790
+ nanos?: (number|null);
6298
7791
  }
6299
7792
 
6300
- /** Represents an Any. */
6301
- class Any implements IAny {
7793
+ /** Represents a Duration. */
7794
+ class Duration implements IDuration {
6302
7795
 
6303
7796
  /**
6304
- * Constructs a new Any.
7797
+ * Constructs a new Duration.
6305
7798
  * @param [properties] Properties to set
6306
7799
  */
6307
- constructor(properties?: google.protobuf.IAny);
7800
+ constructor(properties?: google.protobuf.IDuration);
6308
7801
 
6309
- /** Any type_url. */
6310
- public type_url: string;
7802
+ /** Duration seconds. */
7803
+ public seconds: (number|Long|string);
6311
7804
 
6312
- /** Any value. */
6313
- public value: (Uint8Array|string);
7805
+ /** Duration nanos. */
7806
+ public nanos: number;
6314
7807
 
6315
7808
  /**
6316
- * Creates a new Any instance using the specified properties.
7809
+ * Creates a new Duration instance using the specified properties.
6317
7810
  * @param [properties] Properties to set
6318
- * @returns Any instance
7811
+ * @returns Duration instance
6319
7812
  */
6320
- public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
7813
+ public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
6321
7814
 
6322
7815
  /**
6323
- * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
6324
- * @param message Any message or plain object to encode
7816
+ * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
7817
+ * @param message Duration message or plain object to encode
6325
7818
  * @param [writer] Writer to encode to
6326
7819
  * @returns Writer
6327
7820
  */
6328
- public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
7821
+ public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
6329
7822
 
6330
7823
  /**
6331
- * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
6332
- * @param message Any message or plain object to encode
7824
+ * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
7825
+ * @param message Duration message or plain object to encode
6333
7826
  * @param [writer] Writer to encode to
6334
7827
  * @returns Writer
6335
7828
  */
6336
- public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
7829
+ public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
6337
7830
 
6338
7831
  /**
6339
- * Decodes an Any message from the specified reader or buffer.
7832
+ * Decodes a Duration message from the specified reader or buffer.
6340
7833
  * @param reader Reader or buffer to decode from
6341
7834
  * @param [length] Message length if known beforehand
6342
- * @returns Any
7835
+ * @returns Duration
6343
7836
  * @throws {Error} If the payload is not a reader or valid buffer
6344
7837
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6345
7838
  */
6346
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
7839
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration;
6347
7840
 
6348
7841
  /**
6349
- * Decodes an Any message from the specified reader or buffer, length delimited.
7842
+ * Decodes a Duration message from the specified reader or buffer, length delimited.
6350
7843
  * @param reader Reader or buffer to decode from
6351
- * @returns Any
7844
+ * @returns Duration
6352
7845
  * @throws {Error} If the payload is not a reader or valid buffer
6353
7846
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6354
7847
  */
6355
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
7848
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration;
6356
7849
 
6357
7850
  /**
6358
- * Verifies an Any message.
7851
+ * Verifies a Duration message.
6359
7852
  * @param message Plain object to verify
6360
7853
  * @returns `null` if valid, otherwise the reason why it is not
6361
7854
  */
6362
7855
  public static verify(message: { [k: string]: any }): (string|null);
6363
7856
 
6364
7857
  /**
6365
- * Creates an Any message from a plain object. Also converts values to their respective internal types.
7858
+ * Creates a Duration message from a plain object. Also converts values to their respective internal types.
6366
7859
  * @param object Plain object
6367
- * @returns Any
7860
+ * @returns Duration
6368
7861
  */
6369
- public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
7862
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
6370
7863
 
6371
7864
  /**
6372
- * Creates a plain object from an Any message. Also converts values to other types if specified.
6373
- * @param message Any
7865
+ * Creates a plain object from a Duration message. Also converts values to other types if specified.
7866
+ * @param message Duration
6374
7867
  * @param [options] Conversion options
6375
7868
  * @returns Plain object
6376
7869
  */
6377
- public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
7870
+ public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
6378
7871
 
6379
7872
  /**
6380
- * Converts this Any to JSON.
7873
+ * Converts this Duration to JSON.
6381
7874
  * @returns JSON object
6382
7875
  */
6383
7876
  public toJSON(): { [k: string]: any };
6384
7877
 
6385
7878
  /**
6386
- * Gets the default type url for Any
7879
+ * Gets the default type url for Duration
6387
7880
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6388
7881
  * @returns The default type url
6389
7882
  */
6390
7883
  public static getTypeUrl(typeUrlPrefix?: string): string;
6391
7884
  }
6392
7885
 
6393
- /** Properties of a Duration. */
6394
- interface IDuration {
7886
+ /** Properties of an Any. */
7887
+ interface IAny {
6395
7888
 
6396
- /** Duration seconds */
6397
- seconds?: (number|Long|string|null);
7889
+ /** Any type_url */
7890
+ type_url?: (string|null);
6398
7891
 
6399
- /** Duration nanos */
6400
- nanos?: (number|null);
7892
+ /** Any value */
7893
+ value?: (Uint8Array|string|null);
6401
7894
  }
6402
7895
 
6403
- /** Represents a Duration. */
6404
- class Duration implements IDuration {
7896
+ /** Represents an Any. */
7897
+ class Any implements IAny {
6405
7898
 
6406
7899
  /**
6407
- * Constructs a new Duration.
7900
+ * Constructs a new Any.
6408
7901
  * @param [properties] Properties to set
6409
7902
  */
6410
- constructor(properties?: google.protobuf.IDuration);
7903
+ constructor(properties?: google.protobuf.IAny);
6411
7904
 
6412
- /** Duration seconds. */
6413
- public seconds: (number|Long|string);
7905
+ /** Any type_url. */
7906
+ public type_url: string;
6414
7907
 
6415
- /** Duration nanos. */
6416
- public nanos: number;
7908
+ /** Any value. */
7909
+ public value: (Uint8Array|string);
6417
7910
 
6418
7911
  /**
6419
- * Creates a new Duration instance using the specified properties.
7912
+ * Creates a new Any instance using the specified properties.
6420
7913
  * @param [properties] Properties to set
6421
- * @returns Duration instance
7914
+ * @returns Any instance
6422
7915
  */
6423
- public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
7916
+ public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
6424
7917
 
6425
7918
  /**
6426
- * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
6427
- * @param message Duration message or plain object to encode
7919
+ * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
7920
+ * @param message Any message or plain object to encode
6428
7921
  * @param [writer] Writer to encode to
6429
7922
  * @returns Writer
6430
7923
  */
6431
- public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
7924
+ public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
6432
7925
 
6433
7926
  /**
6434
- * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
6435
- * @param message Duration message or plain object to encode
7927
+ * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
7928
+ * @param message Any message or plain object to encode
6436
7929
  * @param [writer] Writer to encode to
6437
7930
  * @returns Writer
6438
7931
  */
6439
- public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
7932
+ public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
6440
7933
 
6441
7934
  /**
6442
- * Decodes a Duration message from the specified reader or buffer.
7935
+ * Decodes an Any message from the specified reader or buffer.
6443
7936
  * @param reader Reader or buffer to decode from
6444
7937
  * @param [length] Message length if known beforehand
6445
- * @returns Duration
7938
+ * @returns Any
6446
7939
  * @throws {Error} If the payload is not a reader or valid buffer
6447
7940
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6448
7941
  */
6449
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration;
7942
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
6450
7943
 
6451
7944
  /**
6452
- * Decodes a Duration message from the specified reader or buffer, length delimited.
7945
+ * Decodes an Any message from the specified reader or buffer, length delimited.
6453
7946
  * @param reader Reader or buffer to decode from
6454
- * @returns Duration
7947
+ * @returns Any
6455
7948
  * @throws {Error} If the payload is not a reader or valid buffer
6456
7949
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6457
7950
  */
6458
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration;
7951
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
6459
7952
 
6460
7953
  /**
6461
- * Verifies a Duration message.
7954
+ * Verifies an Any message.
6462
7955
  * @param message Plain object to verify
6463
7956
  * @returns `null` if valid, otherwise the reason why it is not
6464
7957
  */
6465
7958
  public static verify(message: { [k: string]: any }): (string|null);
6466
7959
 
6467
7960
  /**
6468
- * Creates a Duration message from a plain object. Also converts values to their respective internal types.
7961
+ * Creates an Any message from a plain object. Also converts values to their respective internal types.
6469
7962
  * @param object Plain object
6470
- * @returns Duration
7963
+ * @returns Any
6471
7964
  */
6472
- public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
7965
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
6473
7966
 
6474
7967
  /**
6475
- * Creates a plain object from a Duration message. Also converts values to other types if specified.
6476
- * @param message Duration
7968
+ * Creates a plain object from an Any message. Also converts values to other types if specified.
7969
+ * @param message Any
6477
7970
  * @param [options] Conversion options
6478
7971
  * @returns Plain object
6479
7972
  */
6480
- public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
7973
+ public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
6481
7974
 
6482
7975
  /**
6483
- * Converts this Duration to JSON.
7976
+ * Converts this Any to JSON.
6484
7977
  * @returns JSON object
6485
7978
  */
6486
7979
  public toJSON(): { [k: string]: any };
6487
7980
 
6488
7981
  /**
6489
- * Gets the default type url for Duration
7982
+ * Gets the default type url for Any
6490
7983
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6491
7984
  * @returns The default type url
6492
7985
  */