@google-apps/chat 0.24.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -993,6 +993,7 @@ export namespace google {
993
993
  /** Edition enum. */
994
994
  enum Edition {
995
995
  EDITION_UNKNOWN = 0,
996
+ EDITION_LEGACY = 900,
996
997
  EDITION_PROTO2 = 998,
997
998
  EDITION_PROTO3 = 999,
998
999
  EDITION_2023 = 1000,
@@ -1023,6 +1024,9 @@ export namespace google {
1023
1024
  /** FileDescriptorProto weakDependency */
1024
1025
  weakDependency?: (number[]|null);
1025
1026
 
1027
+ /** FileDescriptorProto optionDependency */
1028
+ optionDependency?: (string[]|null);
1029
+
1026
1030
  /** FileDescriptorProto messageType */
1027
1031
  messageType?: (google.protobuf.IDescriptorProto[]|null);
1028
1032
 
@@ -1072,6 +1076,9 @@ export namespace google {
1072
1076
  /** FileDescriptorProto weakDependency. */
1073
1077
  public weakDependency: number[];
1074
1078
 
1079
+ /** FileDescriptorProto optionDependency. */
1080
+ public optionDependency: string[];
1081
+
1075
1082
  /** FileDescriptorProto messageType. */
1076
1083
  public messageType: google.protobuf.IDescriptorProto[];
1077
1084
 
@@ -1206,6 +1213,9 @@ export namespace google {
1206
1213
 
1207
1214
  /** DescriptorProto reservedName */
1208
1215
  reservedName?: (string[]|null);
1216
+
1217
+ /** DescriptorProto visibility */
1218
+ visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
1209
1219
  }
1210
1220
 
1211
1221
  /** Represents a DescriptorProto. */
@@ -1247,6 +1257,9 @@ export namespace google {
1247
1257
  /** DescriptorProto reservedName. */
1248
1258
  public reservedName: string[];
1249
1259
 
1260
+ /** DescriptorProto visibility. */
1261
+ public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
1262
+
1250
1263
  /**
1251
1264
  * Creates a new DescriptorProto instance using the specified properties.
1252
1265
  * @param [properties] Properties to set
@@ -2094,6 +2107,9 @@ export namespace google {
2094
2107
 
2095
2108
  /** EnumDescriptorProto reservedName */
2096
2109
  reservedName?: (string[]|null);
2110
+
2111
+ /** EnumDescriptorProto visibility */
2112
+ visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
2097
2113
  }
2098
2114
 
2099
2115
  /** Represents an EnumDescriptorProto. */
@@ -2120,6 +2136,9 @@ export namespace google {
2120
2136
  /** EnumDescriptorProto reservedName. */
2121
2137
  public reservedName: string[];
2122
2138
 
2139
+ /** EnumDescriptorProto visibility. */
2140
+ public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
2141
+
2123
2142
  /**
2124
2143
  * Creates a new EnumDescriptorProto instance using the specified properties.
2125
2144
  * @param [properties] Properties to set
@@ -3054,6 +3073,9 @@ export namespace google {
3054
3073
  /** FieldOptions features */
3055
3074
  features?: (google.protobuf.IFeatureSet|null);
3056
3075
 
3076
+ /** FieldOptions featureSupport */
3077
+ featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
3078
+
3057
3079
  /** FieldOptions uninterpretedOption */
3058
3080
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3059
3081
 
@@ -3112,6 +3134,9 @@ export namespace google {
3112
3134
  /** FieldOptions features. */
3113
3135
  public features?: (google.protobuf.IFeatureSet|null);
3114
3136
 
3137
+ /** FieldOptions featureSupport. */
3138
+ public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
3139
+
3115
3140
  /** FieldOptions uninterpretedOption. */
3116
3141
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3117
3142
 
@@ -3332,6 +3357,121 @@ export namespace google {
3332
3357
  */
3333
3358
  public static getTypeUrl(typeUrlPrefix?: string): string;
3334
3359
  }
3360
+
3361
+ /** Properties of a FeatureSupport. */
3362
+ interface IFeatureSupport {
3363
+
3364
+ /** FeatureSupport editionIntroduced */
3365
+ editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
3366
+
3367
+ /** FeatureSupport editionDeprecated */
3368
+ editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
3369
+
3370
+ /** FeatureSupport deprecationWarning */
3371
+ deprecationWarning?: (string|null);
3372
+
3373
+ /** FeatureSupport editionRemoved */
3374
+ editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
3375
+ }
3376
+
3377
+ /** Represents a FeatureSupport. */
3378
+ class FeatureSupport implements IFeatureSupport {
3379
+
3380
+ /**
3381
+ * Constructs a new FeatureSupport.
3382
+ * @param [properties] Properties to set
3383
+ */
3384
+ constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport);
3385
+
3386
+ /** FeatureSupport editionIntroduced. */
3387
+ public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
3388
+
3389
+ /** FeatureSupport editionDeprecated. */
3390
+ public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
3391
+
3392
+ /** FeatureSupport deprecationWarning. */
3393
+ public deprecationWarning: string;
3394
+
3395
+ /** FeatureSupport editionRemoved. */
3396
+ public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
3397
+
3398
+ /**
3399
+ * Creates a new FeatureSupport instance using the specified properties.
3400
+ * @param [properties] Properties to set
3401
+ * @returns FeatureSupport instance
3402
+ */
3403
+ public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport;
3404
+
3405
+ /**
3406
+ * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
3407
+ * @param message FeatureSupport message or plain object to encode
3408
+ * @param [writer] Writer to encode to
3409
+ * @returns Writer
3410
+ */
3411
+ public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
3412
+
3413
+ /**
3414
+ * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
3415
+ * @param message FeatureSupport message or plain object to encode
3416
+ * @param [writer] Writer to encode to
3417
+ * @returns Writer
3418
+ */
3419
+ public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
3420
+
3421
+ /**
3422
+ * Decodes a FeatureSupport message from the specified reader or buffer.
3423
+ * @param reader Reader or buffer to decode from
3424
+ * @param [length] Message length if known beforehand
3425
+ * @returns FeatureSupport
3426
+ * @throws {Error} If the payload is not a reader or valid buffer
3427
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3428
+ */
3429
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport;
3430
+
3431
+ /**
3432
+ * Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
3433
+ * @param reader Reader or buffer to decode from
3434
+ * @returns FeatureSupport
3435
+ * @throws {Error} If the payload is not a reader or valid buffer
3436
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3437
+ */
3438
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport;
3439
+
3440
+ /**
3441
+ * Verifies a FeatureSupport message.
3442
+ * @param message Plain object to verify
3443
+ * @returns `null` if valid, otherwise the reason why it is not
3444
+ */
3445
+ public static verify(message: { [k: string]: any }): (string|null);
3446
+
3447
+ /**
3448
+ * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
3449
+ * @param object Plain object
3450
+ * @returns FeatureSupport
3451
+ */
3452
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport;
3453
+
3454
+ /**
3455
+ * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified.
3456
+ * @param message FeatureSupport
3457
+ * @param [options] Conversion options
3458
+ * @returns Plain object
3459
+ */
3460
+ public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any };
3461
+
3462
+ /**
3463
+ * Converts this FeatureSupport to JSON.
3464
+ * @returns JSON object
3465
+ */
3466
+ public toJSON(): { [k: string]: any };
3467
+
3468
+ /**
3469
+ * Gets the default type url for FeatureSupport
3470
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3471
+ * @returns The default type url
3472
+ */
3473
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3474
+ }
3335
3475
  }
3336
3476
 
3337
3477
  /** Properties of an OneofOptions. */
@@ -3570,6 +3710,9 @@ export namespace google {
3570
3710
  /** EnumValueOptions debugRedact */
3571
3711
  debugRedact?: (boolean|null);
3572
3712
 
3713
+ /** EnumValueOptions featureSupport */
3714
+ featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
3715
+
3573
3716
  /** EnumValueOptions uninterpretedOption */
3574
3717
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3575
3718
  }
@@ -3592,6 +3735,9 @@ export namespace google {
3592
3735
  /** EnumValueOptions debugRedact. */
3593
3736
  public debugRedact: boolean;
3594
3737
 
3738
+ /** EnumValueOptions featureSupport. */
3739
+ public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
3740
+
3595
3741
  /** EnumValueOptions uninterpretedOption. */
3596
3742
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3597
3743
 
@@ -4181,6 +4327,12 @@ export namespace google {
4181
4327
 
4182
4328
  /** FeatureSet jsonFormat */
4183
4329
  jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
4330
+
4331
+ /** FeatureSet enforceNamingStyle */
4332
+ enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null);
4333
+
4334
+ /** FeatureSet defaultSymbolVisibility */
4335
+ defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null);
4184
4336
  }
4185
4337
 
4186
4338
  /** Represents a FeatureSet. */
@@ -4210,6 +4362,12 @@ export namespace google {
4210
4362
  /** FeatureSet jsonFormat. */
4211
4363
  public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
4212
4364
 
4365
+ /** FeatureSet enforceNamingStyle. */
4366
+ public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle);
4367
+
4368
+ /** FeatureSet defaultSymbolVisibility. */
4369
+ public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility);
4370
+
4213
4371
  /**
4214
4372
  * Creates a new FeatureSet instance using the specified properties.
4215
4373
  * @param [properties] Properties to set
@@ -4332,6 +4490,116 @@ export namespace google {
4332
4490
  ALLOW = 1,
4333
4491
  LEGACY_BEST_EFFORT = 2
4334
4492
  }
4493
+
4494
+ /** EnforceNamingStyle enum. */
4495
+ enum EnforceNamingStyle {
4496
+ ENFORCE_NAMING_STYLE_UNKNOWN = 0,
4497
+ STYLE2024 = 1,
4498
+ STYLE_LEGACY = 2
4499
+ }
4500
+
4501
+ /** Properties of a VisibilityFeature. */
4502
+ interface IVisibilityFeature {
4503
+ }
4504
+
4505
+ /** Represents a VisibilityFeature. */
4506
+ class VisibilityFeature implements IVisibilityFeature {
4507
+
4508
+ /**
4509
+ * Constructs a new VisibilityFeature.
4510
+ * @param [properties] Properties to set
4511
+ */
4512
+ constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature);
4513
+
4514
+ /**
4515
+ * Creates a new VisibilityFeature instance using the specified properties.
4516
+ * @param [properties] Properties to set
4517
+ * @returns VisibilityFeature instance
4518
+ */
4519
+ public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature;
4520
+
4521
+ /**
4522
+ * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
4523
+ * @param message VisibilityFeature message or plain object to encode
4524
+ * @param [writer] Writer to encode to
4525
+ * @returns Writer
4526
+ */
4527
+ public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
4528
+
4529
+ /**
4530
+ * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
4531
+ * @param message VisibilityFeature message or plain object to encode
4532
+ * @param [writer] Writer to encode to
4533
+ * @returns Writer
4534
+ */
4535
+ public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
4536
+
4537
+ /**
4538
+ * Decodes a VisibilityFeature message from the specified reader or buffer.
4539
+ * @param reader Reader or buffer to decode from
4540
+ * @param [length] Message length if known beforehand
4541
+ * @returns VisibilityFeature
4542
+ * @throws {Error} If the payload is not a reader or valid buffer
4543
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4544
+ */
4545
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature;
4546
+
4547
+ /**
4548
+ * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
4549
+ * @param reader Reader or buffer to decode from
4550
+ * @returns VisibilityFeature
4551
+ * @throws {Error} If the payload is not a reader or valid buffer
4552
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4553
+ */
4554
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature;
4555
+
4556
+ /**
4557
+ * Verifies a VisibilityFeature message.
4558
+ * @param message Plain object to verify
4559
+ * @returns `null` if valid, otherwise the reason why it is not
4560
+ */
4561
+ public static verify(message: { [k: string]: any }): (string|null);
4562
+
4563
+ /**
4564
+ * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
4565
+ * @param object Plain object
4566
+ * @returns VisibilityFeature
4567
+ */
4568
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature;
4569
+
4570
+ /**
4571
+ * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
4572
+ * @param message VisibilityFeature
4573
+ * @param [options] Conversion options
4574
+ * @returns Plain object
4575
+ */
4576
+ public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any };
4577
+
4578
+ /**
4579
+ * Converts this VisibilityFeature to JSON.
4580
+ * @returns JSON object
4581
+ */
4582
+ public toJSON(): { [k: string]: any };
4583
+
4584
+ /**
4585
+ * Gets the default type url for VisibilityFeature
4586
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4587
+ * @returns The default type url
4588
+ */
4589
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4590
+ }
4591
+
4592
+ namespace VisibilityFeature {
4593
+
4594
+ /** DefaultSymbolVisibility enum. */
4595
+ enum DefaultSymbolVisibility {
4596
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
4597
+ EXPORT_ALL = 1,
4598
+ EXPORT_TOP_LEVEL = 2,
4599
+ LOCAL_ALL = 3,
4600
+ STRICT = 4
4601
+ }
4602
+ }
4335
4603
  }
4336
4604
 
4337
4605
  /** Properties of a FeatureSetDefaults. */
@@ -4451,8 +4719,11 @@ export namespace google {
4451
4719
  /** FeatureSetEditionDefault edition */
4452
4720
  edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
4453
4721
 
4454
- /** FeatureSetEditionDefault features */
4455
- features?: (google.protobuf.IFeatureSet|null);
4722
+ /** FeatureSetEditionDefault overridableFeatures */
4723
+ overridableFeatures?: (google.protobuf.IFeatureSet|null);
4724
+
4725
+ /** FeatureSetEditionDefault fixedFeatures */
4726
+ fixedFeatures?: (google.protobuf.IFeatureSet|null);
4456
4727
  }
4457
4728
 
4458
4729
  /** Represents a FeatureSetEditionDefault. */
@@ -4467,8 +4738,11 @@ export namespace google {
4467
4738
  /** FeatureSetEditionDefault edition. */
4468
4739
  public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
4469
4740
 
4470
- /** FeatureSetEditionDefault features. */
4471
- public features?: (google.protobuf.IFeatureSet|null);
4741
+ /** FeatureSetEditionDefault overridableFeatures. */
4742
+ public overridableFeatures?: (google.protobuf.IFeatureSet|null);
4743
+
4744
+ /** FeatureSetEditionDefault fixedFeatures. */
4745
+ public fixedFeatures?: (google.protobuf.IFeatureSet|null);
4472
4746
 
4473
4747
  /**
4474
4748
  * Creates a new FeatureSetEditionDefault instance using the specified properties.
@@ -5001,6 +5275,13 @@ export namespace google {
5001
5275
  }
5002
5276
  }
5003
5277
 
5278
+ /** SymbolVisibility enum. */
5279
+ enum SymbolVisibility {
5280
+ VISIBILITY_UNSET = 0,
5281
+ VISIBILITY_LOCAL = 1,
5282
+ VISIBILITY_EXPORT = 2
5283
+ }
5284
+
5004
5285
  /** Properties of a Duration. */
5005
5286
  interface IDuration {
5006
5287
 
@@ -14229,118 +14510,1081 @@ export namespace google {
14229
14510
  }
14230
14511
  }
14231
14512
 
14232
- /** Represents a ChatService */
14233
- class ChatService extends $protobuf.rpc.Service {
14513
+ /** Properties of an Audience. */
14514
+ interface IAudience {
14234
14515
 
14235
- /**
14236
- * Constructs a new ChatService service.
14237
- * @param rpcImpl RPC implementation
14238
- * @param [requestDelimited=false] Whether requests are length-delimited
14239
- * @param [responseDelimited=false] Whether responses are length-delimited
14240
- */
14241
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
14516
+ /** Audience name */
14517
+ name?: (string|null);
14518
+ }
14242
14519
 
14243
- /**
14244
- * Creates new ChatService service using the specified rpc implementation.
14245
- * @param rpcImpl RPC implementation
14246
- * @param [requestDelimited=false] Whether requests are length-delimited
14247
- * @param [responseDelimited=false] Whether responses are length-delimited
14248
- * @returns RPC service. Useful where requests and/or responses are streamed.
14249
- */
14250
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ChatService;
14520
+ /** Represents an Audience. */
14521
+ class Audience implements IAudience {
14251
14522
 
14252
14523
  /**
14253
- * Calls CreateMessage.
14254
- * @param request CreateMessageRequest message or plain object
14255
- * @param callback Node-style callback called with the error, if any, and Message
14524
+ * Constructs a new Audience.
14525
+ * @param [properties] Properties to set
14256
14526
  */
14257
- public createMessage(request: google.chat.v1.ICreateMessageRequest, callback: google.chat.v1.ChatService.CreateMessageCallback): void;
14527
+ constructor(properties?: google.chat.v1.IAudience);
14258
14528
 
14259
- /**
14260
- * Calls CreateMessage.
14261
- * @param request CreateMessageRequest message or plain object
14262
- * @returns Promise
14263
- */
14264
- public createMessage(request: google.chat.v1.ICreateMessageRequest): Promise<google.chat.v1.Message>;
14529
+ /** Audience name. */
14530
+ public name: string;
14265
14531
 
14266
14532
  /**
14267
- * Calls ListMessages.
14268
- * @param request ListMessagesRequest message or plain object
14269
- * @param callback Node-style callback called with the error, if any, and ListMessagesResponse
14533
+ * Creates a new Audience instance using the specified properties.
14534
+ * @param [properties] Properties to set
14535
+ * @returns Audience instance
14270
14536
  */
14271
- public listMessages(request: google.chat.v1.IListMessagesRequest, callback: google.chat.v1.ChatService.ListMessagesCallback): void;
14537
+ public static create(properties?: google.chat.v1.IAudience): google.chat.v1.Audience;
14272
14538
 
14273
14539
  /**
14274
- * Calls ListMessages.
14275
- * @param request ListMessagesRequest message or plain object
14276
- * @returns Promise
14540
+ * Encodes the specified Audience message. Does not implicitly {@link google.chat.v1.Audience.verify|verify} messages.
14541
+ * @param message Audience message or plain object to encode
14542
+ * @param [writer] Writer to encode to
14543
+ * @returns Writer
14277
14544
  */
14278
- public listMessages(request: google.chat.v1.IListMessagesRequest): Promise<google.chat.v1.ListMessagesResponse>;
14545
+ public static encode(message: google.chat.v1.IAudience, writer?: $protobuf.Writer): $protobuf.Writer;
14279
14546
 
14280
14547
  /**
14281
- * Calls ListMemberships.
14282
- * @param request ListMembershipsRequest message or plain object
14283
- * @param callback Node-style callback called with the error, if any, and ListMembershipsResponse
14548
+ * Encodes the specified Audience message, length delimited. Does not implicitly {@link google.chat.v1.Audience.verify|verify} messages.
14549
+ * @param message Audience message or plain object to encode
14550
+ * @param [writer] Writer to encode to
14551
+ * @returns Writer
14284
14552
  */
14285
- public listMemberships(request: google.chat.v1.IListMembershipsRequest, callback: google.chat.v1.ChatService.ListMembershipsCallback): void;
14553
+ public static encodeDelimited(message: google.chat.v1.IAudience, writer?: $protobuf.Writer): $protobuf.Writer;
14286
14554
 
14287
14555
  /**
14288
- * Calls ListMemberships.
14289
- * @param request ListMembershipsRequest message or plain object
14290
- * @returns Promise
14556
+ * Decodes an Audience message from the specified reader or buffer.
14557
+ * @param reader Reader or buffer to decode from
14558
+ * @param [length] Message length if known beforehand
14559
+ * @returns Audience
14560
+ * @throws {Error} If the payload is not a reader or valid buffer
14561
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14291
14562
  */
14292
- public listMemberships(request: google.chat.v1.IListMembershipsRequest): Promise<google.chat.v1.ListMembershipsResponse>;
14563
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.Audience;
14293
14564
 
14294
14565
  /**
14295
- * Calls GetMembership.
14296
- * @param request GetMembershipRequest message or plain object
14297
- * @param callback Node-style callback called with the error, if any, and Membership
14566
+ * Decodes an Audience message from the specified reader or buffer, length delimited.
14567
+ * @param reader Reader or buffer to decode from
14568
+ * @returns Audience
14569
+ * @throws {Error} If the payload is not a reader or valid buffer
14570
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14298
14571
  */
14299
- public getMembership(request: google.chat.v1.IGetMembershipRequest, callback: google.chat.v1.ChatService.GetMembershipCallback): void;
14572
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.Audience;
14300
14573
 
14301
14574
  /**
14302
- * Calls GetMembership.
14303
- * @param request GetMembershipRequest message or plain object
14304
- * @returns Promise
14575
+ * Verifies an Audience message.
14576
+ * @param message Plain object to verify
14577
+ * @returns `null` if valid, otherwise the reason why it is not
14305
14578
  */
14306
- public getMembership(request: google.chat.v1.IGetMembershipRequest): Promise<google.chat.v1.Membership>;
14579
+ public static verify(message: { [k: string]: any }): (string|null);
14307
14580
 
14308
14581
  /**
14309
- * Calls GetMessage.
14310
- * @param request GetMessageRequest message or plain object
14311
- * @param callback Node-style callback called with the error, if any, and Message
14582
+ * Creates an Audience message from a plain object. Also converts values to their respective internal types.
14583
+ * @param object Plain object
14584
+ * @returns Audience
14312
14585
  */
14313
- public getMessage(request: google.chat.v1.IGetMessageRequest, callback: google.chat.v1.ChatService.GetMessageCallback): void;
14586
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.Audience;
14314
14587
 
14315
14588
  /**
14316
- * Calls GetMessage.
14317
- * @param request GetMessageRequest message or plain object
14318
- * @returns Promise
14589
+ * Creates a plain object from an Audience message. Also converts values to other types if specified.
14590
+ * @param message Audience
14591
+ * @param [options] Conversion options
14592
+ * @returns Plain object
14319
14593
  */
14320
- public getMessage(request: google.chat.v1.IGetMessageRequest): Promise<google.chat.v1.Message>;
14594
+ public static toObject(message: google.chat.v1.Audience, options?: $protobuf.IConversionOptions): { [k: string]: any };
14321
14595
 
14322
14596
  /**
14323
- * Calls UpdateMessage.
14324
- * @param request UpdateMessageRequest message or plain object
14325
- * @param callback Node-style callback called with the error, if any, and Message
14597
+ * Converts this Audience to JSON.
14598
+ * @returns JSON object
14326
14599
  */
14327
- public updateMessage(request: google.chat.v1.IUpdateMessageRequest, callback: google.chat.v1.ChatService.UpdateMessageCallback): void;
14600
+ public toJSON(): { [k: string]: any };
14328
14601
 
14329
14602
  /**
14330
- * Calls UpdateMessage.
14331
- * @param request UpdateMessageRequest message or plain object
14332
- * @returns Promise
14603
+ * Gets the default type url for Audience
14604
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14605
+ * @returns The default type url
14333
14606
  */
14334
- public updateMessage(request: google.chat.v1.IUpdateMessageRequest): Promise<google.chat.v1.Message>;
14607
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14608
+ }
14335
14609
 
14336
- /**
14337
- * Calls DeleteMessage.
14338
- * @param request DeleteMessageRequest message or plain object
14339
- * @param callback Node-style callback called with the error, if any, and Empty
14340
- */
14341
- public deleteMessage(request: google.chat.v1.IDeleteMessageRequest, callback: google.chat.v1.ChatService.DeleteMessageCallback): void;
14610
+ /** Properties of an Availability. */
14611
+ interface IAvailability {
14342
14612
 
14343
- /**
14613
+ /** Availability name */
14614
+ name?: (string|null);
14615
+
14616
+ /** Availability state */
14617
+ state?: (google.chat.v1.Availability.State|keyof typeof google.chat.v1.Availability.State|null);
14618
+
14619
+ /** Availability doNotDisturbMetadata */
14620
+ doNotDisturbMetadata?: (google.chat.v1.IDoNotDisturbMetadata|null);
14621
+
14622
+ /** Availability customStatus */
14623
+ customStatus?: (google.chat.v1.ICustomStatus|null);
14624
+ }
14625
+
14626
+ /** Represents an Availability. */
14627
+ class Availability implements IAvailability {
14628
+
14629
+ /**
14630
+ * Constructs a new Availability.
14631
+ * @param [properties] Properties to set
14632
+ */
14633
+ constructor(properties?: google.chat.v1.IAvailability);
14634
+
14635
+ /** Availability name. */
14636
+ public name: string;
14637
+
14638
+ /** Availability state. */
14639
+ public state: (google.chat.v1.Availability.State|keyof typeof google.chat.v1.Availability.State);
14640
+
14641
+ /** Availability doNotDisturbMetadata. */
14642
+ public doNotDisturbMetadata?: (google.chat.v1.IDoNotDisturbMetadata|null);
14643
+
14644
+ /** Availability customStatus. */
14645
+ public customStatus?: (google.chat.v1.ICustomStatus|null);
14646
+
14647
+ /** Availability stateMetadata. */
14648
+ public stateMetadata?: "doNotDisturbMetadata";
14649
+
14650
+ /**
14651
+ * Creates a new Availability instance using the specified properties.
14652
+ * @param [properties] Properties to set
14653
+ * @returns Availability instance
14654
+ */
14655
+ public static create(properties?: google.chat.v1.IAvailability): google.chat.v1.Availability;
14656
+
14657
+ /**
14658
+ * Encodes the specified Availability message. Does not implicitly {@link google.chat.v1.Availability.verify|verify} messages.
14659
+ * @param message Availability message or plain object to encode
14660
+ * @param [writer] Writer to encode to
14661
+ * @returns Writer
14662
+ */
14663
+ public static encode(message: google.chat.v1.IAvailability, writer?: $protobuf.Writer): $protobuf.Writer;
14664
+
14665
+ /**
14666
+ * Encodes the specified Availability message, length delimited. Does not implicitly {@link google.chat.v1.Availability.verify|verify} messages.
14667
+ * @param message Availability message or plain object to encode
14668
+ * @param [writer] Writer to encode to
14669
+ * @returns Writer
14670
+ */
14671
+ public static encodeDelimited(message: google.chat.v1.IAvailability, writer?: $protobuf.Writer): $protobuf.Writer;
14672
+
14673
+ /**
14674
+ * Decodes an Availability message from the specified reader or buffer.
14675
+ * @param reader Reader or buffer to decode from
14676
+ * @param [length] Message length if known beforehand
14677
+ * @returns Availability
14678
+ * @throws {Error} If the payload is not a reader or valid buffer
14679
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14680
+ */
14681
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.Availability;
14682
+
14683
+ /**
14684
+ * Decodes an Availability message from the specified reader or buffer, length delimited.
14685
+ * @param reader Reader or buffer to decode from
14686
+ * @returns Availability
14687
+ * @throws {Error} If the payload is not a reader or valid buffer
14688
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14689
+ */
14690
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.Availability;
14691
+
14692
+ /**
14693
+ * Verifies an Availability message.
14694
+ * @param message Plain object to verify
14695
+ * @returns `null` if valid, otherwise the reason why it is not
14696
+ */
14697
+ public static verify(message: { [k: string]: any }): (string|null);
14698
+
14699
+ /**
14700
+ * Creates an Availability message from a plain object. Also converts values to their respective internal types.
14701
+ * @param object Plain object
14702
+ * @returns Availability
14703
+ */
14704
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.Availability;
14705
+
14706
+ /**
14707
+ * Creates a plain object from an Availability message. Also converts values to other types if specified.
14708
+ * @param message Availability
14709
+ * @param [options] Conversion options
14710
+ * @returns Plain object
14711
+ */
14712
+ public static toObject(message: google.chat.v1.Availability, options?: $protobuf.IConversionOptions): { [k: string]: any };
14713
+
14714
+ /**
14715
+ * Converts this Availability to JSON.
14716
+ * @returns JSON object
14717
+ */
14718
+ public toJSON(): { [k: string]: any };
14719
+
14720
+ /**
14721
+ * Gets the default type url for Availability
14722
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14723
+ * @returns The default type url
14724
+ */
14725
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14726
+ }
14727
+
14728
+ namespace Availability {
14729
+
14730
+ /** State enum. */
14731
+ enum State {
14732
+ STATE_UNSPECIFIED = 0,
14733
+ ACTIVE = 1,
14734
+ IDLE = 2,
14735
+ AWAY = 3,
14736
+ DO_NOT_DISTURB = 4
14737
+ }
14738
+ }
14739
+
14740
+ /** Properties of a CustomStatus. */
14741
+ interface ICustomStatus {
14742
+
14743
+ /** CustomStatus text */
14744
+ text?: (string|null);
14745
+
14746
+ /** CustomStatus emoji */
14747
+ emoji?: (google.chat.v1.IEmoji|null);
14748
+
14749
+ /** CustomStatus expireTime */
14750
+ expireTime?: (google.protobuf.ITimestamp|null);
14751
+
14752
+ /** CustomStatus ttl */
14753
+ ttl?: (google.protobuf.IDuration|null);
14754
+ }
14755
+
14756
+ /** Represents a CustomStatus. */
14757
+ class CustomStatus implements ICustomStatus {
14758
+
14759
+ /**
14760
+ * Constructs a new CustomStatus.
14761
+ * @param [properties] Properties to set
14762
+ */
14763
+ constructor(properties?: google.chat.v1.ICustomStatus);
14764
+
14765
+ /** CustomStatus text. */
14766
+ public text: string;
14767
+
14768
+ /** CustomStatus emoji. */
14769
+ public emoji?: (google.chat.v1.IEmoji|null);
14770
+
14771
+ /** CustomStatus expireTime. */
14772
+ public expireTime?: (google.protobuf.ITimestamp|null);
14773
+
14774
+ /** CustomStatus ttl. */
14775
+ public ttl?: (google.protobuf.IDuration|null);
14776
+
14777
+ /** CustomStatus expiration. */
14778
+ public expiration?: ("expireTime"|"ttl");
14779
+
14780
+ /**
14781
+ * Creates a new CustomStatus instance using the specified properties.
14782
+ * @param [properties] Properties to set
14783
+ * @returns CustomStatus instance
14784
+ */
14785
+ public static create(properties?: google.chat.v1.ICustomStatus): google.chat.v1.CustomStatus;
14786
+
14787
+ /**
14788
+ * Encodes the specified CustomStatus message. Does not implicitly {@link google.chat.v1.CustomStatus.verify|verify} messages.
14789
+ * @param message CustomStatus message or plain object to encode
14790
+ * @param [writer] Writer to encode to
14791
+ * @returns Writer
14792
+ */
14793
+ public static encode(message: google.chat.v1.ICustomStatus, writer?: $protobuf.Writer): $protobuf.Writer;
14794
+
14795
+ /**
14796
+ * Encodes the specified CustomStatus message, length delimited. Does not implicitly {@link google.chat.v1.CustomStatus.verify|verify} messages.
14797
+ * @param message CustomStatus message or plain object to encode
14798
+ * @param [writer] Writer to encode to
14799
+ * @returns Writer
14800
+ */
14801
+ public static encodeDelimited(message: google.chat.v1.ICustomStatus, writer?: $protobuf.Writer): $protobuf.Writer;
14802
+
14803
+ /**
14804
+ * Decodes a CustomStatus message from the specified reader or buffer.
14805
+ * @param reader Reader or buffer to decode from
14806
+ * @param [length] Message length if known beforehand
14807
+ * @returns CustomStatus
14808
+ * @throws {Error} If the payload is not a reader or valid buffer
14809
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14810
+ */
14811
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.CustomStatus;
14812
+
14813
+ /**
14814
+ * Decodes a CustomStatus message from the specified reader or buffer, length delimited.
14815
+ * @param reader Reader or buffer to decode from
14816
+ * @returns CustomStatus
14817
+ * @throws {Error} If the payload is not a reader or valid buffer
14818
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14819
+ */
14820
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.CustomStatus;
14821
+
14822
+ /**
14823
+ * Verifies a CustomStatus message.
14824
+ * @param message Plain object to verify
14825
+ * @returns `null` if valid, otherwise the reason why it is not
14826
+ */
14827
+ public static verify(message: { [k: string]: any }): (string|null);
14828
+
14829
+ /**
14830
+ * Creates a CustomStatus message from a plain object. Also converts values to their respective internal types.
14831
+ * @param object Plain object
14832
+ * @returns CustomStatus
14833
+ */
14834
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.CustomStatus;
14835
+
14836
+ /**
14837
+ * Creates a plain object from a CustomStatus message. Also converts values to other types if specified.
14838
+ * @param message CustomStatus
14839
+ * @param [options] Conversion options
14840
+ * @returns Plain object
14841
+ */
14842
+ public static toObject(message: google.chat.v1.CustomStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
14843
+
14844
+ /**
14845
+ * Converts this CustomStatus to JSON.
14846
+ * @returns JSON object
14847
+ */
14848
+ public toJSON(): { [k: string]: any };
14849
+
14850
+ /**
14851
+ * Gets the default type url for CustomStatus
14852
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14853
+ * @returns The default type url
14854
+ */
14855
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14856
+ }
14857
+
14858
+ /** Properties of a DoNotDisturbMetadata. */
14859
+ interface IDoNotDisturbMetadata {
14860
+
14861
+ /** DoNotDisturbMetadata expirationTime */
14862
+ expirationTime?: (google.protobuf.ITimestamp|null);
14863
+ }
14864
+
14865
+ /** Represents a DoNotDisturbMetadata. */
14866
+ class DoNotDisturbMetadata implements IDoNotDisturbMetadata {
14867
+
14868
+ /**
14869
+ * Constructs a new DoNotDisturbMetadata.
14870
+ * @param [properties] Properties to set
14871
+ */
14872
+ constructor(properties?: google.chat.v1.IDoNotDisturbMetadata);
14873
+
14874
+ /** DoNotDisturbMetadata expirationTime. */
14875
+ public expirationTime?: (google.protobuf.ITimestamp|null);
14876
+
14877
+ /**
14878
+ * Creates a new DoNotDisturbMetadata instance using the specified properties.
14879
+ * @param [properties] Properties to set
14880
+ * @returns DoNotDisturbMetadata instance
14881
+ */
14882
+ public static create(properties?: google.chat.v1.IDoNotDisturbMetadata): google.chat.v1.DoNotDisturbMetadata;
14883
+
14884
+ /**
14885
+ * Encodes the specified DoNotDisturbMetadata message. Does not implicitly {@link google.chat.v1.DoNotDisturbMetadata.verify|verify} messages.
14886
+ * @param message DoNotDisturbMetadata message or plain object to encode
14887
+ * @param [writer] Writer to encode to
14888
+ * @returns Writer
14889
+ */
14890
+ public static encode(message: google.chat.v1.IDoNotDisturbMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
14891
+
14892
+ /**
14893
+ * Encodes the specified DoNotDisturbMetadata message, length delimited. Does not implicitly {@link google.chat.v1.DoNotDisturbMetadata.verify|verify} messages.
14894
+ * @param message DoNotDisturbMetadata message or plain object to encode
14895
+ * @param [writer] Writer to encode to
14896
+ * @returns Writer
14897
+ */
14898
+ public static encodeDelimited(message: google.chat.v1.IDoNotDisturbMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
14899
+
14900
+ /**
14901
+ * Decodes a DoNotDisturbMetadata message from the specified reader or buffer.
14902
+ * @param reader Reader or buffer to decode from
14903
+ * @param [length] Message length if known beforehand
14904
+ * @returns DoNotDisturbMetadata
14905
+ * @throws {Error} If the payload is not a reader or valid buffer
14906
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14907
+ */
14908
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.DoNotDisturbMetadata;
14909
+
14910
+ /**
14911
+ * Decodes a DoNotDisturbMetadata message from the specified reader or buffer, length delimited.
14912
+ * @param reader Reader or buffer to decode from
14913
+ * @returns DoNotDisturbMetadata
14914
+ * @throws {Error} If the payload is not a reader or valid buffer
14915
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14916
+ */
14917
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.DoNotDisturbMetadata;
14918
+
14919
+ /**
14920
+ * Verifies a DoNotDisturbMetadata message.
14921
+ * @param message Plain object to verify
14922
+ * @returns `null` if valid, otherwise the reason why it is not
14923
+ */
14924
+ public static verify(message: { [k: string]: any }): (string|null);
14925
+
14926
+ /**
14927
+ * Creates a DoNotDisturbMetadata message from a plain object. Also converts values to their respective internal types.
14928
+ * @param object Plain object
14929
+ * @returns DoNotDisturbMetadata
14930
+ */
14931
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.DoNotDisturbMetadata;
14932
+
14933
+ /**
14934
+ * Creates a plain object from a DoNotDisturbMetadata message. Also converts values to other types if specified.
14935
+ * @param message DoNotDisturbMetadata
14936
+ * @param [options] Conversion options
14937
+ * @returns Plain object
14938
+ */
14939
+ public static toObject(message: google.chat.v1.DoNotDisturbMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
14940
+
14941
+ /**
14942
+ * Converts this DoNotDisturbMetadata to JSON.
14943
+ * @returns JSON object
14944
+ */
14945
+ public toJSON(): { [k: string]: any };
14946
+
14947
+ /**
14948
+ * Gets the default type url for DoNotDisturbMetadata
14949
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14950
+ * @returns The default type url
14951
+ */
14952
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14953
+ }
14954
+
14955
+ /** Properties of a GetAvailabilityRequest. */
14956
+ interface IGetAvailabilityRequest {
14957
+
14958
+ /** GetAvailabilityRequest name */
14959
+ name?: (string|null);
14960
+ }
14961
+
14962
+ /** Represents a GetAvailabilityRequest. */
14963
+ class GetAvailabilityRequest implements IGetAvailabilityRequest {
14964
+
14965
+ /**
14966
+ * Constructs a new GetAvailabilityRequest.
14967
+ * @param [properties] Properties to set
14968
+ */
14969
+ constructor(properties?: google.chat.v1.IGetAvailabilityRequest);
14970
+
14971
+ /** GetAvailabilityRequest name. */
14972
+ public name: string;
14973
+
14974
+ /**
14975
+ * Creates a new GetAvailabilityRequest instance using the specified properties.
14976
+ * @param [properties] Properties to set
14977
+ * @returns GetAvailabilityRequest instance
14978
+ */
14979
+ public static create(properties?: google.chat.v1.IGetAvailabilityRequest): google.chat.v1.GetAvailabilityRequest;
14980
+
14981
+ /**
14982
+ * Encodes the specified GetAvailabilityRequest message. Does not implicitly {@link google.chat.v1.GetAvailabilityRequest.verify|verify} messages.
14983
+ * @param message GetAvailabilityRequest message or plain object to encode
14984
+ * @param [writer] Writer to encode to
14985
+ * @returns Writer
14986
+ */
14987
+ public static encode(message: google.chat.v1.IGetAvailabilityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14988
+
14989
+ /**
14990
+ * Encodes the specified GetAvailabilityRequest message, length delimited. Does not implicitly {@link google.chat.v1.GetAvailabilityRequest.verify|verify} messages.
14991
+ * @param message GetAvailabilityRequest message or plain object to encode
14992
+ * @param [writer] Writer to encode to
14993
+ * @returns Writer
14994
+ */
14995
+ public static encodeDelimited(message: google.chat.v1.IGetAvailabilityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14996
+
14997
+ /**
14998
+ * Decodes a GetAvailabilityRequest message from the specified reader or buffer.
14999
+ * @param reader Reader or buffer to decode from
15000
+ * @param [length] Message length if known beforehand
15001
+ * @returns GetAvailabilityRequest
15002
+ * @throws {Error} If the payload is not a reader or valid buffer
15003
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15004
+ */
15005
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.GetAvailabilityRequest;
15006
+
15007
+ /**
15008
+ * Decodes a GetAvailabilityRequest message from the specified reader or buffer, length delimited.
15009
+ * @param reader Reader or buffer to decode from
15010
+ * @returns GetAvailabilityRequest
15011
+ * @throws {Error} If the payload is not a reader or valid buffer
15012
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15013
+ */
15014
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.GetAvailabilityRequest;
15015
+
15016
+ /**
15017
+ * Verifies a GetAvailabilityRequest message.
15018
+ * @param message Plain object to verify
15019
+ * @returns `null` if valid, otherwise the reason why it is not
15020
+ */
15021
+ public static verify(message: { [k: string]: any }): (string|null);
15022
+
15023
+ /**
15024
+ * Creates a GetAvailabilityRequest message from a plain object. Also converts values to their respective internal types.
15025
+ * @param object Plain object
15026
+ * @returns GetAvailabilityRequest
15027
+ */
15028
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.GetAvailabilityRequest;
15029
+
15030
+ /**
15031
+ * Creates a plain object from a GetAvailabilityRequest message. Also converts values to other types if specified.
15032
+ * @param message GetAvailabilityRequest
15033
+ * @param [options] Conversion options
15034
+ * @returns Plain object
15035
+ */
15036
+ public static toObject(message: google.chat.v1.GetAvailabilityRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
15037
+
15038
+ /**
15039
+ * Converts this GetAvailabilityRequest to JSON.
15040
+ * @returns JSON object
15041
+ */
15042
+ public toJSON(): { [k: string]: any };
15043
+
15044
+ /**
15045
+ * Gets the default type url for GetAvailabilityRequest
15046
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15047
+ * @returns The default type url
15048
+ */
15049
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15050
+ }
15051
+
15052
+ /** Properties of an UpdateAvailabilityRequest. */
15053
+ interface IUpdateAvailabilityRequest {
15054
+
15055
+ /** UpdateAvailabilityRequest availability */
15056
+ availability?: (google.chat.v1.IAvailability|null);
15057
+
15058
+ /** UpdateAvailabilityRequest updateMask */
15059
+ updateMask?: (google.protobuf.IFieldMask|null);
15060
+ }
15061
+
15062
+ /** Represents an UpdateAvailabilityRequest. */
15063
+ class UpdateAvailabilityRequest implements IUpdateAvailabilityRequest {
15064
+
15065
+ /**
15066
+ * Constructs a new UpdateAvailabilityRequest.
15067
+ * @param [properties] Properties to set
15068
+ */
15069
+ constructor(properties?: google.chat.v1.IUpdateAvailabilityRequest);
15070
+
15071
+ /** UpdateAvailabilityRequest availability. */
15072
+ public availability?: (google.chat.v1.IAvailability|null);
15073
+
15074
+ /** UpdateAvailabilityRequest updateMask. */
15075
+ public updateMask?: (google.protobuf.IFieldMask|null);
15076
+
15077
+ /**
15078
+ * Creates a new UpdateAvailabilityRequest instance using the specified properties.
15079
+ * @param [properties] Properties to set
15080
+ * @returns UpdateAvailabilityRequest instance
15081
+ */
15082
+ public static create(properties?: google.chat.v1.IUpdateAvailabilityRequest): google.chat.v1.UpdateAvailabilityRequest;
15083
+
15084
+ /**
15085
+ * Encodes the specified UpdateAvailabilityRequest message. Does not implicitly {@link google.chat.v1.UpdateAvailabilityRequest.verify|verify} messages.
15086
+ * @param message UpdateAvailabilityRequest message or plain object to encode
15087
+ * @param [writer] Writer to encode to
15088
+ * @returns Writer
15089
+ */
15090
+ public static encode(message: google.chat.v1.IUpdateAvailabilityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15091
+
15092
+ /**
15093
+ * Encodes the specified UpdateAvailabilityRequest message, length delimited. Does not implicitly {@link google.chat.v1.UpdateAvailabilityRequest.verify|verify} messages.
15094
+ * @param message UpdateAvailabilityRequest message or plain object to encode
15095
+ * @param [writer] Writer to encode to
15096
+ * @returns Writer
15097
+ */
15098
+ public static encodeDelimited(message: google.chat.v1.IUpdateAvailabilityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15099
+
15100
+ /**
15101
+ * Decodes an UpdateAvailabilityRequest message from the specified reader or buffer.
15102
+ * @param reader Reader or buffer to decode from
15103
+ * @param [length] Message length if known beforehand
15104
+ * @returns UpdateAvailabilityRequest
15105
+ * @throws {Error} If the payload is not a reader or valid buffer
15106
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15107
+ */
15108
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.UpdateAvailabilityRequest;
15109
+
15110
+ /**
15111
+ * Decodes an UpdateAvailabilityRequest message from the specified reader or buffer, length delimited.
15112
+ * @param reader Reader or buffer to decode from
15113
+ * @returns UpdateAvailabilityRequest
15114
+ * @throws {Error} If the payload is not a reader or valid buffer
15115
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15116
+ */
15117
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.UpdateAvailabilityRequest;
15118
+
15119
+ /**
15120
+ * Verifies an UpdateAvailabilityRequest message.
15121
+ * @param message Plain object to verify
15122
+ * @returns `null` if valid, otherwise the reason why it is not
15123
+ */
15124
+ public static verify(message: { [k: string]: any }): (string|null);
15125
+
15126
+ /**
15127
+ * Creates an UpdateAvailabilityRequest message from a plain object. Also converts values to their respective internal types.
15128
+ * @param object Plain object
15129
+ * @returns UpdateAvailabilityRequest
15130
+ */
15131
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.UpdateAvailabilityRequest;
15132
+
15133
+ /**
15134
+ * Creates a plain object from an UpdateAvailabilityRequest message. Also converts values to other types if specified.
15135
+ * @param message UpdateAvailabilityRequest
15136
+ * @param [options] Conversion options
15137
+ * @returns Plain object
15138
+ */
15139
+ public static toObject(message: google.chat.v1.UpdateAvailabilityRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
15140
+
15141
+ /**
15142
+ * Converts this UpdateAvailabilityRequest to JSON.
15143
+ * @returns JSON object
15144
+ */
15145
+ public toJSON(): { [k: string]: any };
15146
+
15147
+ /**
15148
+ * Gets the default type url for UpdateAvailabilityRequest
15149
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15150
+ * @returns The default type url
15151
+ */
15152
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15153
+ }
15154
+
15155
+ /** Properties of a MarkAsActiveRequest. */
15156
+ interface IMarkAsActiveRequest {
15157
+
15158
+ /** MarkAsActiveRequest name */
15159
+ name?: (string|null);
15160
+
15161
+ /** MarkAsActiveRequest expireTime */
15162
+ expireTime?: (google.protobuf.ITimestamp|null);
15163
+
15164
+ /** MarkAsActiveRequest ttl */
15165
+ ttl?: (google.protobuf.IDuration|null);
15166
+ }
15167
+
15168
+ /** Represents a MarkAsActiveRequest. */
15169
+ class MarkAsActiveRequest implements IMarkAsActiveRequest {
15170
+
15171
+ /**
15172
+ * Constructs a new MarkAsActiveRequest.
15173
+ * @param [properties] Properties to set
15174
+ */
15175
+ constructor(properties?: google.chat.v1.IMarkAsActiveRequest);
15176
+
15177
+ /** MarkAsActiveRequest name. */
15178
+ public name: string;
15179
+
15180
+ /** MarkAsActiveRequest expireTime. */
15181
+ public expireTime?: (google.protobuf.ITimestamp|null);
15182
+
15183
+ /** MarkAsActiveRequest ttl. */
15184
+ public ttl?: (google.protobuf.IDuration|null);
15185
+
15186
+ /** MarkAsActiveRequest expiration. */
15187
+ public expiration?: ("expireTime"|"ttl");
15188
+
15189
+ /**
15190
+ * Creates a new MarkAsActiveRequest instance using the specified properties.
15191
+ * @param [properties] Properties to set
15192
+ * @returns MarkAsActiveRequest instance
15193
+ */
15194
+ public static create(properties?: google.chat.v1.IMarkAsActiveRequest): google.chat.v1.MarkAsActiveRequest;
15195
+
15196
+ /**
15197
+ * Encodes the specified MarkAsActiveRequest message. Does not implicitly {@link google.chat.v1.MarkAsActiveRequest.verify|verify} messages.
15198
+ * @param message MarkAsActiveRequest message or plain object to encode
15199
+ * @param [writer] Writer to encode to
15200
+ * @returns Writer
15201
+ */
15202
+ public static encode(message: google.chat.v1.IMarkAsActiveRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15203
+
15204
+ /**
15205
+ * Encodes the specified MarkAsActiveRequest message, length delimited. Does not implicitly {@link google.chat.v1.MarkAsActiveRequest.verify|verify} messages.
15206
+ * @param message MarkAsActiveRequest message or plain object to encode
15207
+ * @param [writer] Writer to encode to
15208
+ * @returns Writer
15209
+ */
15210
+ public static encodeDelimited(message: google.chat.v1.IMarkAsActiveRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15211
+
15212
+ /**
15213
+ * Decodes a MarkAsActiveRequest message from the specified reader or buffer.
15214
+ * @param reader Reader or buffer to decode from
15215
+ * @param [length] Message length if known beforehand
15216
+ * @returns MarkAsActiveRequest
15217
+ * @throws {Error} If the payload is not a reader or valid buffer
15218
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15219
+ */
15220
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MarkAsActiveRequest;
15221
+
15222
+ /**
15223
+ * Decodes a MarkAsActiveRequest message from the specified reader or buffer, length delimited.
15224
+ * @param reader Reader or buffer to decode from
15225
+ * @returns MarkAsActiveRequest
15226
+ * @throws {Error} If the payload is not a reader or valid buffer
15227
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15228
+ */
15229
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MarkAsActiveRequest;
15230
+
15231
+ /**
15232
+ * Verifies a MarkAsActiveRequest message.
15233
+ * @param message Plain object to verify
15234
+ * @returns `null` if valid, otherwise the reason why it is not
15235
+ */
15236
+ public static verify(message: { [k: string]: any }): (string|null);
15237
+
15238
+ /**
15239
+ * Creates a MarkAsActiveRequest message from a plain object. Also converts values to their respective internal types.
15240
+ * @param object Plain object
15241
+ * @returns MarkAsActiveRequest
15242
+ */
15243
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MarkAsActiveRequest;
15244
+
15245
+ /**
15246
+ * Creates a plain object from a MarkAsActiveRequest message. Also converts values to other types if specified.
15247
+ * @param message MarkAsActiveRequest
15248
+ * @param [options] Conversion options
15249
+ * @returns Plain object
15250
+ */
15251
+ public static toObject(message: google.chat.v1.MarkAsActiveRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
15252
+
15253
+ /**
15254
+ * Converts this MarkAsActiveRequest to JSON.
15255
+ * @returns JSON object
15256
+ */
15257
+ public toJSON(): { [k: string]: any };
15258
+
15259
+ /**
15260
+ * Gets the default type url for MarkAsActiveRequest
15261
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15262
+ * @returns The default type url
15263
+ */
15264
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15265
+ }
15266
+
15267
+ /** Properties of a MarkAsAwayRequest. */
15268
+ interface IMarkAsAwayRequest {
15269
+
15270
+ /** MarkAsAwayRequest name */
15271
+ name?: (string|null);
15272
+ }
15273
+
15274
+ /** Represents a MarkAsAwayRequest. */
15275
+ class MarkAsAwayRequest implements IMarkAsAwayRequest {
15276
+
15277
+ /**
15278
+ * Constructs a new MarkAsAwayRequest.
15279
+ * @param [properties] Properties to set
15280
+ */
15281
+ constructor(properties?: google.chat.v1.IMarkAsAwayRequest);
15282
+
15283
+ /** MarkAsAwayRequest name. */
15284
+ public name: string;
15285
+
15286
+ /**
15287
+ * Creates a new MarkAsAwayRequest instance using the specified properties.
15288
+ * @param [properties] Properties to set
15289
+ * @returns MarkAsAwayRequest instance
15290
+ */
15291
+ public static create(properties?: google.chat.v1.IMarkAsAwayRequest): google.chat.v1.MarkAsAwayRequest;
15292
+
15293
+ /**
15294
+ * Encodes the specified MarkAsAwayRequest message. Does not implicitly {@link google.chat.v1.MarkAsAwayRequest.verify|verify} messages.
15295
+ * @param message MarkAsAwayRequest message or plain object to encode
15296
+ * @param [writer] Writer to encode to
15297
+ * @returns Writer
15298
+ */
15299
+ public static encode(message: google.chat.v1.IMarkAsAwayRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15300
+
15301
+ /**
15302
+ * Encodes the specified MarkAsAwayRequest message, length delimited. Does not implicitly {@link google.chat.v1.MarkAsAwayRequest.verify|verify} messages.
15303
+ * @param message MarkAsAwayRequest message or plain object to encode
15304
+ * @param [writer] Writer to encode to
15305
+ * @returns Writer
15306
+ */
15307
+ public static encodeDelimited(message: google.chat.v1.IMarkAsAwayRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15308
+
15309
+ /**
15310
+ * Decodes a MarkAsAwayRequest message from the specified reader or buffer.
15311
+ * @param reader Reader or buffer to decode from
15312
+ * @param [length] Message length if known beforehand
15313
+ * @returns MarkAsAwayRequest
15314
+ * @throws {Error} If the payload is not a reader or valid buffer
15315
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15316
+ */
15317
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MarkAsAwayRequest;
15318
+
15319
+ /**
15320
+ * Decodes a MarkAsAwayRequest message from the specified reader or buffer, length delimited.
15321
+ * @param reader Reader or buffer to decode from
15322
+ * @returns MarkAsAwayRequest
15323
+ * @throws {Error} If the payload is not a reader or valid buffer
15324
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15325
+ */
15326
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MarkAsAwayRequest;
15327
+
15328
+ /**
15329
+ * Verifies a MarkAsAwayRequest message.
15330
+ * @param message Plain object to verify
15331
+ * @returns `null` if valid, otherwise the reason why it is not
15332
+ */
15333
+ public static verify(message: { [k: string]: any }): (string|null);
15334
+
15335
+ /**
15336
+ * Creates a MarkAsAwayRequest message from a plain object. Also converts values to their respective internal types.
15337
+ * @param object Plain object
15338
+ * @returns MarkAsAwayRequest
15339
+ */
15340
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MarkAsAwayRequest;
15341
+
15342
+ /**
15343
+ * Creates a plain object from a MarkAsAwayRequest message. Also converts values to other types if specified.
15344
+ * @param message MarkAsAwayRequest
15345
+ * @param [options] Conversion options
15346
+ * @returns Plain object
15347
+ */
15348
+ public static toObject(message: google.chat.v1.MarkAsAwayRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
15349
+
15350
+ /**
15351
+ * Converts this MarkAsAwayRequest to JSON.
15352
+ * @returns JSON object
15353
+ */
15354
+ public toJSON(): { [k: string]: any };
15355
+
15356
+ /**
15357
+ * Gets the default type url for MarkAsAwayRequest
15358
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15359
+ * @returns The default type url
15360
+ */
15361
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15362
+ }
15363
+
15364
+ /** Properties of a MarkAsDoNotDisturbRequest. */
15365
+ interface IMarkAsDoNotDisturbRequest {
15366
+
15367
+ /** MarkAsDoNotDisturbRequest name */
15368
+ name?: (string|null);
15369
+
15370
+ /** MarkAsDoNotDisturbRequest expireTime */
15371
+ expireTime?: (google.protobuf.ITimestamp|null);
15372
+
15373
+ /** MarkAsDoNotDisturbRequest ttl */
15374
+ ttl?: (google.protobuf.IDuration|null);
15375
+ }
15376
+
15377
+ /** Represents a MarkAsDoNotDisturbRequest. */
15378
+ class MarkAsDoNotDisturbRequest implements IMarkAsDoNotDisturbRequest {
15379
+
15380
+ /**
15381
+ * Constructs a new MarkAsDoNotDisturbRequest.
15382
+ * @param [properties] Properties to set
15383
+ */
15384
+ constructor(properties?: google.chat.v1.IMarkAsDoNotDisturbRequest);
15385
+
15386
+ /** MarkAsDoNotDisturbRequest name. */
15387
+ public name: string;
15388
+
15389
+ /** MarkAsDoNotDisturbRequest expireTime. */
15390
+ public expireTime?: (google.protobuf.ITimestamp|null);
15391
+
15392
+ /** MarkAsDoNotDisturbRequest ttl. */
15393
+ public ttl?: (google.protobuf.IDuration|null);
15394
+
15395
+ /** MarkAsDoNotDisturbRequest expiration. */
15396
+ public expiration?: ("expireTime"|"ttl");
15397
+
15398
+ /**
15399
+ * Creates a new MarkAsDoNotDisturbRequest instance using the specified properties.
15400
+ * @param [properties] Properties to set
15401
+ * @returns MarkAsDoNotDisturbRequest instance
15402
+ */
15403
+ public static create(properties?: google.chat.v1.IMarkAsDoNotDisturbRequest): google.chat.v1.MarkAsDoNotDisturbRequest;
15404
+
15405
+ /**
15406
+ * Encodes the specified MarkAsDoNotDisturbRequest message. Does not implicitly {@link google.chat.v1.MarkAsDoNotDisturbRequest.verify|verify} messages.
15407
+ * @param message MarkAsDoNotDisturbRequest message or plain object to encode
15408
+ * @param [writer] Writer to encode to
15409
+ * @returns Writer
15410
+ */
15411
+ public static encode(message: google.chat.v1.IMarkAsDoNotDisturbRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15412
+
15413
+ /**
15414
+ * Encodes the specified MarkAsDoNotDisturbRequest message, length delimited. Does not implicitly {@link google.chat.v1.MarkAsDoNotDisturbRequest.verify|verify} messages.
15415
+ * @param message MarkAsDoNotDisturbRequest message or plain object to encode
15416
+ * @param [writer] Writer to encode to
15417
+ * @returns Writer
15418
+ */
15419
+ public static encodeDelimited(message: google.chat.v1.IMarkAsDoNotDisturbRequest, writer?: $protobuf.Writer): $protobuf.Writer;
15420
+
15421
+ /**
15422
+ * Decodes a MarkAsDoNotDisturbRequest message from the specified reader or buffer.
15423
+ * @param reader Reader or buffer to decode from
15424
+ * @param [length] Message length if known beforehand
15425
+ * @returns MarkAsDoNotDisturbRequest
15426
+ * @throws {Error} If the payload is not a reader or valid buffer
15427
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15428
+ */
15429
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MarkAsDoNotDisturbRequest;
15430
+
15431
+ /**
15432
+ * Decodes a MarkAsDoNotDisturbRequest message from the specified reader or buffer, length delimited.
15433
+ * @param reader Reader or buffer to decode from
15434
+ * @returns MarkAsDoNotDisturbRequest
15435
+ * @throws {Error} If the payload is not a reader or valid buffer
15436
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15437
+ */
15438
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MarkAsDoNotDisturbRequest;
15439
+
15440
+ /**
15441
+ * Verifies a MarkAsDoNotDisturbRequest message.
15442
+ * @param message Plain object to verify
15443
+ * @returns `null` if valid, otherwise the reason why it is not
15444
+ */
15445
+ public static verify(message: { [k: string]: any }): (string|null);
15446
+
15447
+ /**
15448
+ * Creates a MarkAsDoNotDisturbRequest message from a plain object. Also converts values to their respective internal types.
15449
+ * @param object Plain object
15450
+ * @returns MarkAsDoNotDisturbRequest
15451
+ */
15452
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MarkAsDoNotDisturbRequest;
15453
+
15454
+ /**
15455
+ * Creates a plain object from a MarkAsDoNotDisturbRequest message. Also converts values to other types if specified.
15456
+ * @param message MarkAsDoNotDisturbRequest
15457
+ * @param [options] Conversion options
15458
+ * @returns Plain object
15459
+ */
15460
+ public static toObject(message: google.chat.v1.MarkAsDoNotDisturbRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
15461
+
15462
+ /**
15463
+ * Converts this MarkAsDoNotDisturbRequest to JSON.
15464
+ * @returns JSON object
15465
+ */
15466
+ public toJSON(): { [k: string]: any };
15467
+
15468
+ /**
15469
+ * Gets the default type url for MarkAsDoNotDisturbRequest
15470
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15471
+ * @returns The default type url
15472
+ */
15473
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15474
+ }
15475
+
15476
+ /** Represents a ChatService */
15477
+ class ChatService extends $protobuf.rpc.Service {
15478
+
15479
+ /**
15480
+ * Constructs a new ChatService service.
15481
+ * @param rpcImpl RPC implementation
15482
+ * @param [requestDelimited=false] Whether requests are length-delimited
15483
+ * @param [responseDelimited=false] Whether responses are length-delimited
15484
+ */
15485
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
15486
+
15487
+ /**
15488
+ * Creates new ChatService service using the specified rpc implementation.
15489
+ * @param rpcImpl RPC implementation
15490
+ * @param [requestDelimited=false] Whether requests are length-delimited
15491
+ * @param [responseDelimited=false] Whether responses are length-delimited
15492
+ * @returns RPC service. Useful where requests and/or responses are streamed.
15493
+ */
15494
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ChatService;
15495
+
15496
+ /**
15497
+ * Calls CreateMessage.
15498
+ * @param request CreateMessageRequest message or plain object
15499
+ * @param callback Node-style callback called with the error, if any, and Message
15500
+ */
15501
+ public createMessage(request: google.chat.v1.ICreateMessageRequest, callback: google.chat.v1.ChatService.CreateMessageCallback): void;
15502
+
15503
+ /**
15504
+ * Calls CreateMessage.
15505
+ * @param request CreateMessageRequest message or plain object
15506
+ * @returns Promise
15507
+ */
15508
+ public createMessage(request: google.chat.v1.ICreateMessageRequest): Promise<google.chat.v1.Message>;
15509
+
15510
+ /**
15511
+ * Calls ListMessages.
15512
+ * @param request ListMessagesRequest message or plain object
15513
+ * @param callback Node-style callback called with the error, if any, and ListMessagesResponse
15514
+ */
15515
+ public listMessages(request: google.chat.v1.IListMessagesRequest, callback: google.chat.v1.ChatService.ListMessagesCallback): void;
15516
+
15517
+ /**
15518
+ * Calls ListMessages.
15519
+ * @param request ListMessagesRequest message or plain object
15520
+ * @returns Promise
15521
+ */
15522
+ public listMessages(request: google.chat.v1.IListMessagesRequest): Promise<google.chat.v1.ListMessagesResponse>;
15523
+
15524
+ /**
15525
+ * Calls ListMemberships.
15526
+ * @param request ListMembershipsRequest message or plain object
15527
+ * @param callback Node-style callback called with the error, if any, and ListMembershipsResponse
15528
+ */
15529
+ public listMemberships(request: google.chat.v1.IListMembershipsRequest, callback: google.chat.v1.ChatService.ListMembershipsCallback): void;
15530
+
15531
+ /**
15532
+ * Calls ListMemberships.
15533
+ * @param request ListMembershipsRequest message or plain object
15534
+ * @returns Promise
15535
+ */
15536
+ public listMemberships(request: google.chat.v1.IListMembershipsRequest): Promise<google.chat.v1.ListMembershipsResponse>;
15537
+
15538
+ /**
15539
+ * Calls GetMembership.
15540
+ * @param request GetMembershipRequest message or plain object
15541
+ * @param callback Node-style callback called with the error, if any, and Membership
15542
+ */
15543
+ public getMembership(request: google.chat.v1.IGetMembershipRequest, callback: google.chat.v1.ChatService.GetMembershipCallback): void;
15544
+
15545
+ /**
15546
+ * Calls GetMembership.
15547
+ * @param request GetMembershipRequest message or plain object
15548
+ * @returns Promise
15549
+ */
15550
+ public getMembership(request: google.chat.v1.IGetMembershipRequest): Promise<google.chat.v1.Membership>;
15551
+
15552
+ /**
15553
+ * Calls GetMessage.
15554
+ * @param request GetMessageRequest message or plain object
15555
+ * @param callback Node-style callback called with the error, if any, and Message
15556
+ */
15557
+ public getMessage(request: google.chat.v1.IGetMessageRequest, callback: google.chat.v1.ChatService.GetMessageCallback): void;
15558
+
15559
+ /**
15560
+ * Calls GetMessage.
15561
+ * @param request GetMessageRequest message or plain object
15562
+ * @returns Promise
15563
+ */
15564
+ public getMessage(request: google.chat.v1.IGetMessageRequest): Promise<google.chat.v1.Message>;
15565
+
15566
+ /**
15567
+ * Calls UpdateMessage.
15568
+ * @param request UpdateMessageRequest message or plain object
15569
+ * @param callback Node-style callback called with the error, if any, and Message
15570
+ */
15571
+ public updateMessage(request: google.chat.v1.IUpdateMessageRequest, callback: google.chat.v1.ChatService.UpdateMessageCallback): void;
15572
+
15573
+ /**
15574
+ * Calls UpdateMessage.
15575
+ * @param request UpdateMessageRequest message or plain object
15576
+ * @returns Promise
15577
+ */
15578
+ public updateMessage(request: google.chat.v1.IUpdateMessageRequest): Promise<google.chat.v1.Message>;
15579
+
15580
+ /**
15581
+ * Calls DeleteMessage.
15582
+ * @param request DeleteMessageRequest message or plain object
15583
+ * @param callback Node-style callback called with the error, if any, and Empty
15584
+ */
15585
+ public deleteMessage(request: google.chat.v1.IDeleteMessageRequest, callback: google.chat.v1.ChatService.DeleteMessageCallback): void;
15586
+
15587
+ /**
14344
15588
  * Calls DeleteMessage.
14345
15589
  * @param request DeleteMessageRequest message or plain object
14346
15590
  * @returns Promise
@@ -14697,6 +15941,76 @@ export namespace google {
14697
15941
  */
14698
15942
  public getThreadReadState(request: google.chat.v1.IGetThreadReadStateRequest): Promise<google.chat.v1.ThreadReadState>;
14699
15943
 
15944
+ /**
15945
+ * Calls GetAvailability.
15946
+ * @param request GetAvailabilityRequest message or plain object
15947
+ * @param callback Node-style callback called with the error, if any, and Availability
15948
+ */
15949
+ public getAvailability(request: google.chat.v1.IGetAvailabilityRequest, callback: google.chat.v1.ChatService.GetAvailabilityCallback): void;
15950
+
15951
+ /**
15952
+ * Calls GetAvailability.
15953
+ * @param request GetAvailabilityRequest message or plain object
15954
+ * @returns Promise
15955
+ */
15956
+ public getAvailability(request: google.chat.v1.IGetAvailabilityRequest): Promise<google.chat.v1.Availability>;
15957
+
15958
+ /**
15959
+ * Calls MarkAsActive.
15960
+ * @param request MarkAsActiveRequest message or plain object
15961
+ * @param callback Node-style callback called with the error, if any, and Availability
15962
+ */
15963
+ public markAsActive(request: google.chat.v1.IMarkAsActiveRequest, callback: google.chat.v1.ChatService.MarkAsActiveCallback): void;
15964
+
15965
+ /**
15966
+ * Calls MarkAsActive.
15967
+ * @param request MarkAsActiveRequest message or plain object
15968
+ * @returns Promise
15969
+ */
15970
+ public markAsActive(request: google.chat.v1.IMarkAsActiveRequest): Promise<google.chat.v1.Availability>;
15971
+
15972
+ /**
15973
+ * Calls MarkAsAway.
15974
+ * @param request MarkAsAwayRequest message or plain object
15975
+ * @param callback Node-style callback called with the error, if any, and Availability
15976
+ */
15977
+ public markAsAway(request: google.chat.v1.IMarkAsAwayRequest, callback: google.chat.v1.ChatService.MarkAsAwayCallback): void;
15978
+
15979
+ /**
15980
+ * Calls MarkAsAway.
15981
+ * @param request MarkAsAwayRequest message or plain object
15982
+ * @returns Promise
15983
+ */
15984
+ public markAsAway(request: google.chat.v1.IMarkAsAwayRequest): Promise<google.chat.v1.Availability>;
15985
+
15986
+ /**
15987
+ * Calls MarkAsDoNotDisturb.
15988
+ * @param request MarkAsDoNotDisturbRequest message or plain object
15989
+ * @param callback Node-style callback called with the error, if any, and Availability
15990
+ */
15991
+ public markAsDoNotDisturb(request: google.chat.v1.IMarkAsDoNotDisturbRequest, callback: google.chat.v1.ChatService.MarkAsDoNotDisturbCallback): void;
15992
+
15993
+ /**
15994
+ * Calls MarkAsDoNotDisturb.
15995
+ * @param request MarkAsDoNotDisturbRequest message or plain object
15996
+ * @returns Promise
15997
+ */
15998
+ public markAsDoNotDisturb(request: google.chat.v1.IMarkAsDoNotDisturbRequest): Promise<google.chat.v1.Availability>;
15999
+
16000
+ /**
16001
+ * Calls UpdateAvailability.
16002
+ * @param request UpdateAvailabilityRequest message or plain object
16003
+ * @param callback Node-style callback called with the error, if any, and Availability
16004
+ */
16005
+ public updateAvailability(request: google.chat.v1.IUpdateAvailabilityRequest, callback: google.chat.v1.ChatService.UpdateAvailabilityCallback): void;
16006
+
16007
+ /**
16008
+ * Calls UpdateAvailability.
16009
+ * @param request UpdateAvailabilityRequest message or plain object
16010
+ * @returns Promise
16011
+ */
16012
+ public updateAvailability(request: google.chat.v1.IUpdateAvailabilityRequest): Promise<google.chat.v1.Availability>;
16013
+
14700
16014
  /**
14701
16015
  * Calls GetSpaceEvent.
14702
16016
  * @param request GetSpaceEventRequest message or plain object
@@ -15041,42 +16355,77 @@ export namespace google {
15041
16355
  * @param error Error, if any
15042
16356
  * @param [response] CustomEmoji
15043
16357
  */
15044
- type GetCustomEmojiCallback = (error: (Error|null), response?: google.chat.v1.CustomEmoji) => void;
16358
+ type GetCustomEmojiCallback = (error: (Error|null), response?: google.chat.v1.CustomEmoji) => void;
16359
+
16360
+ /**
16361
+ * Callback as used by {@link google.chat.v1.ChatService|listCustomEmojis}.
16362
+ * @param error Error, if any
16363
+ * @param [response] ListCustomEmojisResponse
16364
+ */
16365
+ type ListCustomEmojisCallback = (error: (Error|null), response?: google.chat.v1.ListCustomEmojisResponse) => void;
16366
+
16367
+ /**
16368
+ * Callback as used by {@link google.chat.v1.ChatService|deleteCustomEmoji}.
16369
+ * @param error Error, if any
16370
+ * @param [response] Empty
16371
+ */
16372
+ type DeleteCustomEmojiCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
16373
+
16374
+ /**
16375
+ * Callback as used by {@link google.chat.v1.ChatService|getSpaceReadState}.
16376
+ * @param error Error, if any
16377
+ * @param [response] SpaceReadState
16378
+ */
16379
+ type GetSpaceReadStateCallback = (error: (Error|null), response?: google.chat.v1.SpaceReadState) => void;
16380
+
16381
+ /**
16382
+ * Callback as used by {@link google.chat.v1.ChatService|updateSpaceReadState}.
16383
+ * @param error Error, if any
16384
+ * @param [response] SpaceReadState
16385
+ */
16386
+ type UpdateSpaceReadStateCallback = (error: (Error|null), response?: google.chat.v1.SpaceReadState) => void;
16387
+
16388
+ /**
16389
+ * Callback as used by {@link google.chat.v1.ChatService|getThreadReadState}.
16390
+ * @param error Error, if any
16391
+ * @param [response] ThreadReadState
16392
+ */
16393
+ type GetThreadReadStateCallback = (error: (Error|null), response?: google.chat.v1.ThreadReadState) => void;
15045
16394
 
15046
16395
  /**
15047
- * Callback as used by {@link google.chat.v1.ChatService|listCustomEmojis}.
16396
+ * Callback as used by {@link google.chat.v1.ChatService|getAvailability}.
15048
16397
  * @param error Error, if any
15049
- * @param [response] ListCustomEmojisResponse
16398
+ * @param [response] Availability
15050
16399
  */
15051
- type ListCustomEmojisCallback = (error: (Error|null), response?: google.chat.v1.ListCustomEmojisResponse) => void;
16400
+ type GetAvailabilityCallback = (error: (Error|null), response?: google.chat.v1.Availability) => void;
15052
16401
 
15053
16402
  /**
15054
- * Callback as used by {@link google.chat.v1.ChatService|deleteCustomEmoji}.
16403
+ * Callback as used by {@link google.chat.v1.ChatService|markAsActive}.
15055
16404
  * @param error Error, if any
15056
- * @param [response] Empty
16405
+ * @param [response] Availability
15057
16406
  */
15058
- type DeleteCustomEmojiCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
16407
+ type MarkAsActiveCallback = (error: (Error|null), response?: google.chat.v1.Availability) => void;
15059
16408
 
15060
16409
  /**
15061
- * Callback as used by {@link google.chat.v1.ChatService|getSpaceReadState}.
16410
+ * Callback as used by {@link google.chat.v1.ChatService|markAsAway}.
15062
16411
  * @param error Error, if any
15063
- * @param [response] SpaceReadState
16412
+ * @param [response] Availability
15064
16413
  */
15065
- type GetSpaceReadStateCallback = (error: (Error|null), response?: google.chat.v1.SpaceReadState) => void;
16414
+ type MarkAsAwayCallback = (error: (Error|null), response?: google.chat.v1.Availability) => void;
15066
16415
 
15067
16416
  /**
15068
- * Callback as used by {@link google.chat.v1.ChatService|updateSpaceReadState}.
16417
+ * Callback as used by {@link google.chat.v1.ChatService|markAsDoNotDisturb}.
15069
16418
  * @param error Error, if any
15070
- * @param [response] SpaceReadState
16419
+ * @param [response] Availability
15071
16420
  */
15072
- type UpdateSpaceReadStateCallback = (error: (Error|null), response?: google.chat.v1.SpaceReadState) => void;
16421
+ type MarkAsDoNotDisturbCallback = (error: (Error|null), response?: google.chat.v1.Availability) => void;
15073
16422
 
15074
16423
  /**
15075
- * Callback as used by {@link google.chat.v1.ChatService|getThreadReadState}.
16424
+ * Callback as used by {@link google.chat.v1.ChatService|updateAvailability}.
15076
16425
  * @param error Error, if any
15077
- * @param [response] ThreadReadState
16426
+ * @param [response] Availability
15078
16427
  */
15079
- type GetThreadReadStateCallback = (error: (Error|null), response?: google.chat.v1.ThreadReadState) => void;
16428
+ type UpdateAvailabilityCallback = (error: (Error|null), response?: google.chat.v1.Availability) => void;
15080
16429
 
15081
16430
  /**
15082
16431
  * Callback as used by {@link google.chat.v1.ChatService|getSpaceEvent}.
@@ -16544,7 +17893,8 @@ export namespace google {
16544
17893
  /** QuoteType enum. */
16545
17894
  enum QuoteType {
16546
17895
  QUOTE_TYPE_UNSPECIFIED = 0,
16547
- REPLY = 1
17896
+ REPLY = 1,
17897
+ FORWARD = 2
16548
17898
  }
16549
17899
  }
16550
17900
 
@@ -20951,116 +22301,422 @@ export namespace google {
20951
22301
  /** Properties of an AccessSettings. */
20952
22302
  interface IAccessSettings {
20953
22303
 
20954
- /** AccessSettings accessState */
20955
- accessState?: (google.chat.v1.Space.AccessSettings.AccessState|keyof typeof google.chat.v1.Space.AccessSettings.AccessState|null);
22304
+ /** AccessSettings accessState */
22305
+ accessState?: (google.chat.v1.Space.AccessSettings.AccessState|keyof typeof google.chat.v1.Space.AccessSettings.AccessState|null);
22306
+
22307
+ /** AccessSettings audience */
22308
+ audience?: (string|null);
22309
+
22310
+ /** AccessSettings accessPermissionSettings */
22311
+ accessPermissionSettings?: (google.chat.v1.Space.IAccessPermissionSettings|null);
22312
+ }
22313
+
22314
+ /** Represents an AccessSettings. */
22315
+ class AccessSettings implements IAccessSettings {
22316
+
22317
+ /**
22318
+ * Constructs a new AccessSettings.
22319
+ * @param [properties] Properties to set
22320
+ */
22321
+ constructor(properties?: google.chat.v1.Space.IAccessSettings);
22322
+
22323
+ /** AccessSettings accessState. */
22324
+ public accessState: (google.chat.v1.Space.AccessSettings.AccessState|keyof typeof google.chat.v1.Space.AccessSettings.AccessState);
22325
+
22326
+ /** AccessSettings audience. */
22327
+ public audience: string;
22328
+
22329
+ /** AccessSettings accessPermissionSettings. */
22330
+ public accessPermissionSettings?: (google.chat.v1.Space.IAccessPermissionSettings|null);
22331
+
22332
+ /**
22333
+ * Creates a new AccessSettings instance using the specified properties.
22334
+ * @param [properties] Properties to set
22335
+ * @returns AccessSettings instance
22336
+ */
22337
+ public static create(properties?: google.chat.v1.Space.IAccessSettings): google.chat.v1.Space.AccessSettings;
22338
+
22339
+ /**
22340
+ * Encodes the specified AccessSettings message. Does not implicitly {@link google.chat.v1.Space.AccessSettings.verify|verify} messages.
22341
+ * @param message AccessSettings message or plain object to encode
22342
+ * @param [writer] Writer to encode to
22343
+ * @returns Writer
22344
+ */
22345
+ public static encode(message: google.chat.v1.Space.IAccessSettings, writer?: $protobuf.Writer): $protobuf.Writer;
22346
+
22347
+ /**
22348
+ * Encodes the specified AccessSettings message, length delimited. Does not implicitly {@link google.chat.v1.Space.AccessSettings.verify|verify} messages.
22349
+ * @param message AccessSettings message or plain object to encode
22350
+ * @param [writer] Writer to encode to
22351
+ * @returns Writer
22352
+ */
22353
+ public static encodeDelimited(message: google.chat.v1.Space.IAccessSettings, writer?: $protobuf.Writer): $protobuf.Writer;
22354
+
22355
+ /**
22356
+ * Decodes an AccessSettings message from the specified reader or buffer.
22357
+ * @param reader Reader or buffer to decode from
22358
+ * @param [length] Message length if known beforehand
22359
+ * @returns AccessSettings
22360
+ * @throws {Error} If the payload is not a reader or valid buffer
22361
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22362
+ */
22363
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.Space.AccessSettings;
22364
+
22365
+ /**
22366
+ * Decodes an AccessSettings message from the specified reader or buffer, length delimited.
22367
+ * @param reader Reader or buffer to decode from
22368
+ * @returns AccessSettings
22369
+ * @throws {Error} If the payload is not a reader or valid buffer
22370
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22371
+ */
22372
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.Space.AccessSettings;
22373
+
22374
+ /**
22375
+ * Verifies an AccessSettings message.
22376
+ * @param message Plain object to verify
22377
+ * @returns `null` if valid, otherwise the reason why it is not
22378
+ */
22379
+ public static verify(message: { [k: string]: any }): (string|null);
22380
+
22381
+ /**
22382
+ * Creates an AccessSettings message from a plain object. Also converts values to their respective internal types.
22383
+ * @param object Plain object
22384
+ * @returns AccessSettings
22385
+ */
22386
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.Space.AccessSettings;
22387
+
22388
+ /**
22389
+ * Creates a plain object from an AccessSettings message. Also converts values to other types if specified.
22390
+ * @param message AccessSettings
22391
+ * @param [options] Conversion options
22392
+ * @returns Plain object
22393
+ */
22394
+ public static toObject(message: google.chat.v1.Space.AccessSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
22395
+
22396
+ /**
22397
+ * Converts this AccessSettings to JSON.
22398
+ * @returns JSON object
22399
+ */
22400
+ public toJSON(): { [k: string]: any };
22401
+
22402
+ /**
22403
+ * Gets the default type url for AccessSettings
22404
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
22405
+ * @returns The default type url
22406
+ */
22407
+ public static getTypeUrl(typeUrlPrefix?: string): string;
22408
+ }
22409
+
22410
+ namespace AccessSettings {
22411
+
22412
+ /** AccessState enum. */
22413
+ enum AccessState {
22414
+ ACCESS_STATE_UNSPECIFIED = 0,
22415
+ PRIVATE = 1,
22416
+ DISCOVERABLE = 2
22417
+ }
22418
+ }
22419
+
22420
+ /** Properties of an AccessPermissionSettings. */
22421
+ interface IAccessPermissionSettings {
22422
+
22423
+ /** AccessPermissionSettings discoverSpaceSetting */
22424
+ discoverSpaceSetting?: (google.chat.v1.Space.IAccessPermissionSetting|null);
22425
+
22426
+ /** AccessPermissionSettings joinSpaceSetting */
22427
+ joinSpaceSetting?: (google.chat.v1.Space.IAccessPermissionSetting|null);
22428
+ }
22429
+
22430
+ /** Represents an AccessPermissionSettings. */
22431
+ class AccessPermissionSettings implements IAccessPermissionSettings {
22432
+
22433
+ /**
22434
+ * Constructs a new AccessPermissionSettings.
22435
+ * @param [properties] Properties to set
22436
+ */
22437
+ constructor(properties?: google.chat.v1.Space.IAccessPermissionSettings);
22438
+
22439
+ /** AccessPermissionSettings discoverSpaceSetting. */
22440
+ public discoverSpaceSetting?: (google.chat.v1.Space.IAccessPermissionSetting|null);
22441
+
22442
+ /** AccessPermissionSettings joinSpaceSetting. */
22443
+ public joinSpaceSetting?: (google.chat.v1.Space.IAccessPermissionSetting|null);
22444
+
22445
+ /**
22446
+ * Creates a new AccessPermissionSettings instance using the specified properties.
22447
+ * @param [properties] Properties to set
22448
+ * @returns AccessPermissionSettings instance
22449
+ */
22450
+ public static create(properties?: google.chat.v1.Space.IAccessPermissionSettings): google.chat.v1.Space.AccessPermissionSettings;
22451
+
22452
+ /**
22453
+ * Encodes the specified AccessPermissionSettings message. Does not implicitly {@link google.chat.v1.Space.AccessPermissionSettings.verify|verify} messages.
22454
+ * @param message AccessPermissionSettings message or plain object to encode
22455
+ * @param [writer] Writer to encode to
22456
+ * @returns Writer
22457
+ */
22458
+ public static encode(message: google.chat.v1.Space.IAccessPermissionSettings, writer?: $protobuf.Writer): $protobuf.Writer;
22459
+
22460
+ /**
22461
+ * Encodes the specified AccessPermissionSettings message, length delimited. Does not implicitly {@link google.chat.v1.Space.AccessPermissionSettings.verify|verify} messages.
22462
+ * @param message AccessPermissionSettings message or plain object to encode
22463
+ * @param [writer] Writer to encode to
22464
+ * @returns Writer
22465
+ */
22466
+ public static encodeDelimited(message: google.chat.v1.Space.IAccessPermissionSettings, writer?: $protobuf.Writer): $protobuf.Writer;
22467
+
22468
+ /**
22469
+ * Decodes an AccessPermissionSettings message from the specified reader or buffer.
22470
+ * @param reader Reader or buffer to decode from
22471
+ * @param [length] Message length if known beforehand
22472
+ * @returns AccessPermissionSettings
22473
+ * @throws {Error} If the payload is not a reader or valid buffer
22474
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22475
+ */
22476
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.Space.AccessPermissionSettings;
22477
+
22478
+ /**
22479
+ * Decodes an AccessPermissionSettings message from the specified reader or buffer, length delimited.
22480
+ * @param reader Reader or buffer to decode from
22481
+ * @returns AccessPermissionSettings
22482
+ * @throws {Error} If the payload is not a reader or valid buffer
22483
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22484
+ */
22485
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.Space.AccessPermissionSettings;
22486
+
22487
+ /**
22488
+ * Verifies an AccessPermissionSettings message.
22489
+ * @param message Plain object to verify
22490
+ * @returns `null` if valid, otherwise the reason why it is not
22491
+ */
22492
+ public static verify(message: { [k: string]: any }): (string|null);
22493
+
22494
+ /**
22495
+ * Creates an AccessPermissionSettings message from a plain object. Also converts values to their respective internal types.
22496
+ * @param object Plain object
22497
+ * @returns AccessPermissionSettings
22498
+ */
22499
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.Space.AccessPermissionSettings;
22500
+
22501
+ /**
22502
+ * Creates a plain object from an AccessPermissionSettings message. Also converts values to other types if specified.
22503
+ * @param message AccessPermissionSettings
22504
+ * @param [options] Conversion options
22505
+ * @returns Plain object
22506
+ */
22507
+ public static toObject(message: google.chat.v1.Space.AccessPermissionSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
22508
+
22509
+ /**
22510
+ * Converts this AccessPermissionSettings to JSON.
22511
+ * @returns JSON object
22512
+ */
22513
+ public toJSON(): { [k: string]: any };
22514
+
22515
+ /**
22516
+ * Gets the default type url for AccessPermissionSettings
22517
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
22518
+ * @returns The default type url
22519
+ */
22520
+ public static getTypeUrl(typeUrlPrefix?: string): string;
22521
+ }
22522
+
22523
+ /** Properties of an AccessPermissionSetting. */
22524
+ interface IAccessPermissionSetting {
22525
+
22526
+ /** AccessPermissionSetting principals */
22527
+ principals?: (google.chat.v1.Space.IPrincipal[]|null);
22528
+ }
22529
+
22530
+ /** Represents an AccessPermissionSetting. */
22531
+ class AccessPermissionSetting implements IAccessPermissionSetting {
22532
+
22533
+ /**
22534
+ * Constructs a new AccessPermissionSetting.
22535
+ * @param [properties] Properties to set
22536
+ */
22537
+ constructor(properties?: google.chat.v1.Space.IAccessPermissionSetting);
22538
+
22539
+ /** AccessPermissionSetting principals. */
22540
+ public principals: google.chat.v1.Space.IPrincipal[];
22541
+
22542
+ /**
22543
+ * Creates a new AccessPermissionSetting instance using the specified properties.
22544
+ * @param [properties] Properties to set
22545
+ * @returns AccessPermissionSetting instance
22546
+ */
22547
+ public static create(properties?: google.chat.v1.Space.IAccessPermissionSetting): google.chat.v1.Space.AccessPermissionSetting;
22548
+
22549
+ /**
22550
+ * Encodes the specified AccessPermissionSetting message. Does not implicitly {@link google.chat.v1.Space.AccessPermissionSetting.verify|verify} messages.
22551
+ * @param message AccessPermissionSetting message or plain object to encode
22552
+ * @param [writer] Writer to encode to
22553
+ * @returns Writer
22554
+ */
22555
+ public static encode(message: google.chat.v1.Space.IAccessPermissionSetting, writer?: $protobuf.Writer): $protobuf.Writer;
22556
+
22557
+ /**
22558
+ * Encodes the specified AccessPermissionSetting message, length delimited. Does not implicitly {@link google.chat.v1.Space.AccessPermissionSetting.verify|verify} messages.
22559
+ * @param message AccessPermissionSetting message or plain object to encode
22560
+ * @param [writer] Writer to encode to
22561
+ * @returns Writer
22562
+ */
22563
+ public static encodeDelimited(message: google.chat.v1.Space.IAccessPermissionSetting, writer?: $protobuf.Writer): $protobuf.Writer;
22564
+
22565
+ /**
22566
+ * Decodes an AccessPermissionSetting message from the specified reader or buffer.
22567
+ * @param reader Reader or buffer to decode from
22568
+ * @param [length] Message length if known beforehand
22569
+ * @returns AccessPermissionSetting
22570
+ * @throws {Error} If the payload is not a reader or valid buffer
22571
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22572
+ */
22573
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.Space.AccessPermissionSetting;
22574
+
22575
+ /**
22576
+ * Decodes an AccessPermissionSetting message from the specified reader or buffer, length delimited.
22577
+ * @param reader Reader or buffer to decode from
22578
+ * @returns AccessPermissionSetting
22579
+ * @throws {Error} If the payload is not a reader or valid buffer
22580
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22581
+ */
22582
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.Space.AccessPermissionSetting;
22583
+
22584
+ /**
22585
+ * Verifies an AccessPermissionSetting message.
22586
+ * @param message Plain object to verify
22587
+ * @returns `null` if valid, otherwise the reason why it is not
22588
+ */
22589
+ public static verify(message: { [k: string]: any }): (string|null);
22590
+
22591
+ /**
22592
+ * Creates an AccessPermissionSetting message from a plain object. Also converts values to their respective internal types.
22593
+ * @param object Plain object
22594
+ * @returns AccessPermissionSetting
22595
+ */
22596
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.Space.AccessPermissionSetting;
22597
+
22598
+ /**
22599
+ * Creates a plain object from an AccessPermissionSetting message. Also converts values to other types if specified.
22600
+ * @param message AccessPermissionSetting
22601
+ * @param [options] Conversion options
22602
+ * @returns Plain object
22603
+ */
22604
+ public static toObject(message: google.chat.v1.Space.AccessPermissionSetting, options?: $protobuf.IConversionOptions): { [k: string]: any };
22605
+
22606
+ /**
22607
+ * Converts this AccessPermissionSetting to JSON.
22608
+ * @returns JSON object
22609
+ */
22610
+ public toJSON(): { [k: string]: any };
22611
+
22612
+ /**
22613
+ * Gets the default type url for AccessPermissionSetting
22614
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
22615
+ * @returns The default type url
22616
+ */
22617
+ public static getTypeUrl(typeUrlPrefix?: string): string;
22618
+ }
22619
+
22620
+ /** Properties of a Principal. */
22621
+ interface IPrincipal {
20956
22622
 
20957
- /** AccessSettings audience */
20958
- audience?: (string|null);
22623
+ /** Principal audience */
22624
+ audience?: (google.chat.v1.IAudience|null);
20959
22625
  }
20960
22626
 
20961
- /** Represents an AccessSettings. */
20962
- class AccessSettings implements IAccessSettings {
22627
+ /** Represents a Principal. */
22628
+ class Principal implements IPrincipal {
20963
22629
 
20964
22630
  /**
20965
- * Constructs a new AccessSettings.
22631
+ * Constructs a new Principal.
20966
22632
  * @param [properties] Properties to set
20967
22633
  */
20968
- constructor(properties?: google.chat.v1.Space.IAccessSettings);
22634
+ constructor(properties?: google.chat.v1.Space.IPrincipal);
20969
22635
 
20970
- /** AccessSettings accessState. */
20971
- public accessState: (google.chat.v1.Space.AccessSettings.AccessState|keyof typeof google.chat.v1.Space.AccessSettings.AccessState);
22636
+ /** Principal audience. */
22637
+ public audience?: (google.chat.v1.IAudience|null);
20972
22638
 
20973
- /** AccessSettings audience. */
20974
- public audience: string;
22639
+ /** Principal principalType. */
22640
+ public principalType?: "audience";
20975
22641
 
20976
22642
  /**
20977
- * Creates a new AccessSettings instance using the specified properties.
22643
+ * Creates a new Principal instance using the specified properties.
20978
22644
  * @param [properties] Properties to set
20979
- * @returns AccessSettings instance
22645
+ * @returns Principal instance
20980
22646
  */
20981
- public static create(properties?: google.chat.v1.Space.IAccessSettings): google.chat.v1.Space.AccessSettings;
22647
+ public static create(properties?: google.chat.v1.Space.IPrincipal): google.chat.v1.Space.Principal;
20982
22648
 
20983
22649
  /**
20984
- * Encodes the specified AccessSettings message. Does not implicitly {@link google.chat.v1.Space.AccessSettings.verify|verify} messages.
20985
- * @param message AccessSettings message or plain object to encode
22650
+ * Encodes the specified Principal message. Does not implicitly {@link google.chat.v1.Space.Principal.verify|verify} messages.
22651
+ * @param message Principal message or plain object to encode
20986
22652
  * @param [writer] Writer to encode to
20987
22653
  * @returns Writer
20988
22654
  */
20989
- public static encode(message: google.chat.v1.Space.IAccessSettings, writer?: $protobuf.Writer): $protobuf.Writer;
22655
+ public static encode(message: google.chat.v1.Space.IPrincipal, writer?: $protobuf.Writer): $protobuf.Writer;
20990
22656
 
20991
22657
  /**
20992
- * Encodes the specified AccessSettings message, length delimited. Does not implicitly {@link google.chat.v1.Space.AccessSettings.verify|verify} messages.
20993
- * @param message AccessSettings message or plain object to encode
22658
+ * Encodes the specified Principal message, length delimited. Does not implicitly {@link google.chat.v1.Space.Principal.verify|verify} messages.
22659
+ * @param message Principal message or plain object to encode
20994
22660
  * @param [writer] Writer to encode to
20995
22661
  * @returns Writer
20996
22662
  */
20997
- public static encodeDelimited(message: google.chat.v1.Space.IAccessSettings, writer?: $protobuf.Writer): $protobuf.Writer;
22663
+ public static encodeDelimited(message: google.chat.v1.Space.IPrincipal, writer?: $protobuf.Writer): $protobuf.Writer;
20998
22664
 
20999
22665
  /**
21000
- * Decodes an AccessSettings message from the specified reader or buffer.
22666
+ * Decodes a Principal message from the specified reader or buffer.
21001
22667
  * @param reader Reader or buffer to decode from
21002
22668
  * @param [length] Message length if known beforehand
21003
- * @returns AccessSettings
22669
+ * @returns Principal
21004
22670
  * @throws {Error} If the payload is not a reader or valid buffer
21005
22671
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
21006
22672
  */
21007
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.Space.AccessSettings;
22673
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.Space.Principal;
21008
22674
 
21009
22675
  /**
21010
- * Decodes an AccessSettings message from the specified reader or buffer, length delimited.
22676
+ * Decodes a Principal message from the specified reader or buffer, length delimited.
21011
22677
  * @param reader Reader or buffer to decode from
21012
- * @returns AccessSettings
22678
+ * @returns Principal
21013
22679
  * @throws {Error} If the payload is not a reader or valid buffer
21014
22680
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
21015
22681
  */
21016
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.Space.AccessSettings;
22682
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.Space.Principal;
21017
22683
 
21018
22684
  /**
21019
- * Verifies an AccessSettings message.
22685
+ * Verifies a Principal message.
21020
22686
  * @param message Plain object to verify
21021
22687
  * @returns `null` if valid, otherwise the reason why it is not
21022
22688
  */
21023
22689
  public static verify(message: { [k: string]: any }): (string|null);
21024
22690
 
21025
22691
  /**
21026
- * Creates an AccessSettings message from a plain object. Also converts values to their respective internal types.
22692
+ * Creates a Principal message from a plain object. Also converts values to their respective internal types.
21027
22693
  * @param object Plain object
21028
- * @returns AccessSettings
22694
+ * @returns Principal
21029
22695
  */
21030
- public static fromObject(object: { [k: string]: any }): google.chat.v1.Space.AccessSettings;
22696
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.Space.Principal;
21031
22697
 
21032
22698
  /**
21033
- * Creates a plain object from an AccessSettings message. Also converts values to other types if specified.
21034
- * @param message AccessSettings
22699
+ * Creates a plain object from a Principal message. Also converts values to other types if specified.
22700
+ * @param message Principal
21035
22701
  * @param [options] Conversion options
21036
22702
  * @returns Plain object
21037
22703
  */
21038
- public static toObject(message: google.chat.v1.Space.AccessSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
22704
+ public static toObject(message: google.chat.v1.Space.Principal, options?: $protobuf.IConversionOptions): { [k: string]: any };
21039
22705
 
21040
22706
  /**
21041
- * Converts this AccessSettings to JSON.
22707
+ * Converts this Principal to JSON.
21042
22708
  * @returns JSON object
21043
22709
  */
21044
22710
  public toJSON(): { [k: string]: any };
21045
22711
 
21046
22712
  /**
21047
- * Gets the default type url for AccessSettings
22713
+ * Gets the default type url for Principal
21048
22714
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
21049
22715
  * @returns The default type url
21050
22716
  */
21051
22717
  public static getTypeUrl(typeUrlPrefix?: string): string;
21052
22718
  }
21053
22719
 
21054
- namespace AccessSettings {
21055
-
21056
- /** AccessState enum. */
21057
- enum AccessState {
21058
- ACCESS_STATE_UNSPECIFIED = 0,
21059
- PRIVATE = 1,
21060
- DISCOVERABLE = 2
21061
- }
21062
- }
21063
-
21064
22720
  /** PredefinedPermissionSettings enum. */
21065
22721
  enum PredefinedPermissionSettings {
21066
22722
  PREDEFINED_PERMISSION_SETTINGS_UNSPECIFIED = 0,
@@ -27606,6 +29262,9 @@ export namespace google {
27606
29262
 
27607
29263
  /** FieldInfo format */
27608
29264
  format?: (google.api.FieldInfo.Format|keyof typeof google.api.FieldInfo.Format|null);
29265
+
29266
+ /** FieldInfo referencedTypes */
29267
+ referencedTypes?: (google.api.ITypeReference[]|null);
27609
29268
  }
27610
29269
 
27611
29270
  /** Represents a FieldInfo. */
@@ -27620,6 +29279,9 @@ export namespace google {
27620
29279
  /** FieldInfo format. */
27621
29280
  public format: (google.api.FieldInfo.Format|keyof typeof google.api.FieldInfo.Format);
27622
29281
 
29282
+ /** FieldInfo referencedTypes. */
29283
+ public referencedTypes: google.api.ITypeReference[];
29284
+
27623
29285
  /**
27624
29286
  * Creates a new FieldInfo instance using the specified properties.
27625
29287
  * @param [properties] Properties to set
@@ -27710,6 +29372,103 @@ export namespace google {
27710
29372
  }
27711
29373
  }
27712
29374
 
29375
+ /** Properties of a TypeReference. */
29376
+ interface ITypeReference {
29377
+
29378
+ /** TypeReference typeName */
29379
+ typeName?: (string|null);
29380
+ }
29381
+
29382
+ /** Represents a TypeReference. */
29383
+ class TypeReference implements ITypeReference {
29384
+
29385
+ /**
29386
+ * Constructs a new TypeReference.
29387
+ * @param [properties] Properties to set
29388
+ */
29389
+ constructor(properties?: google.api.ITypeReference);
29390
+
29391
+ /** TypeReference typeName. */
29392
+ public typeName: string;
29393
+
29394
+ /**
29395
+ * Creates a new TypeReference instance using the specified properties.
29396
+ * @param [properties] Properties to set
29397
+ * @returns TypeReference instance
29398
+ */
29399
+ public static create(properties?: google.api.ITypeReference): google.api.TypeReference;
29400
+
29401
+ /**
29402
+ * Encodes the specified TypeReference message. Does not implicitly {@link google.api.TypeReference.verify|verify} messages.
29403
+ * @param message TypeReference message or plain object to encode
29404
+ * @param [writer] Writer to encode to
29405
+ * @returns Writer
29406
+ */
29407
+ public static encode(message: google.api.ITypeReference, writer?: $protobuf.Writer): $protobuf.Writer;
29408
+
29409
+ /**
29410
+ * Encodes the specified TypeReference message, length delimited. Does not implicitly {@link google.api.TypeReference.verify|verify} messages.
29411
+ * @param message TypeReference message or plain object to encode
29412
+ * @param [writer] Writer to encode to
29413
+ * @returns Writer
29414
+ */
29415
+ public static encodeDelimited(message: google.api.ITypeReference, writer?: $protobuf.Writer): $protobuf.Writer;
29416
+
29417
+ /**
29418
+ * Decodes a TypeReference message from the specified reader or buffer.
29419
+ * @param reader Reader or buffer to decode from
29420
+ * @param [length] Message length if known beforehand
29421
+ * @returns TypeReference
29422
+ * @throws {Error} If the payload is not a reader or valid buffer
29423
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29424
+ */
29425
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.TypeReference;
29426
+
29427
+ /**
29428
+ * Decodes a TypeReference message from the specified reader or buffer, length delimited.
29429
+ * @param reader Reader or buffer to decode from
29430
+ * @returns TypeReference
29431
+ * @throws {Error} If the payload is not a reader or valid buffer
29432
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29433
+ */
29434
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.TypeReference;
29435
+
29436
+ /**
29437
+ * Verifies a TypeReference message.
29438
+ * @param message Plain object to verify
29439
+ * @returns `null` if valid, otherwise the reason why it is not
29440
+ */
29441
+ public static verify(message: { [k: string]: any }): (string|null);
29442
+
29443
+ /**
29444
+ * Creates a TypeReference message from a plain object. Also converts values to their respective internal types.
29445
+ * @param object Plain object
29446
+ * @returns TypeReference
29447
+ */
29448
+ public static fromObject(object: { [k: string]: any }): google.api.TypeReference;
29449
+
29450
+ /**
29451
+ * Creates a plain object from a TypeReference message. Also converts values to other types if specified.
29452
+ * @param message TypeReference
29453
+ * @param [options] Conversion options
29454
+ * @returns Plain object
29455
+ */
29456
+ public static toObject(message: google.api.TypeReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
29457
+
29458
+ /**
29459
+ * Converts this TypeReference to JSON.
29460
+ * @returns JSON object
29461
+ */
29462
+ public toJSON(): { [k: string]: any };
29463
+
29464
+ /**
29465
+ * Gets the default type url for TypeReference
29466
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
29467
+ * @returns The default type url
29468
+ */
29469
+ public static getTypeUrl(typeUrlPrefix?: string): string;
29470
+ }
29471
+
27713
29472
  /** Properties of a Http. */
27714
29473
  interface IHttp {
27715
29474
 
@@ -28078,6 +29837,9 @@ export namespace google {
28078
29837
 
28079
29838
  /** CommonLanguageSettings destinations */
28080
29839
  destinations?: (google.api.ClientLibraryDestination[]|null);
29840
+
29841
+ /** CommonLanguageSettings selectiveGapicGeneration */
29842
+ selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
28081
29843
  }
28082
29844
 
28083
29845
  /** Represents a CommonLanguageSettings. */
@@ -28095,6 +29857,9 @@ export namespace google {
28095
29857
  /** CommonLanguageSettings destinations. */
28096
29858
  public destinations: google.api.ClientLibraryDestination[];
28097
29859
 
29860
+ /** CommonLanguageSettings selectiveGapicGeneration. */
29861
+ public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
29862
+
28098
29863
  /**
28099
29864
  * Creates a new CommonLanguageSettings instance using the specified properties.
28100
29865
  * @param [properties] Properties to set
@@ -28795,6 +30560,9 @@ export namespace google {
28795
30560
 
28796
30561
  /** PythonSettings common */
28797
30562
  common?: (google.api.ICommonLanguageSettings|null);
30563
+
30564
+ /** PythonSettings experimentalFeatures */
30565
+ experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
28798
30566
  }
28799
30567
 
28800
30568
  /** Represents a PythonSettings. */
@@ -28809,6 +30577,9 @@ export namespace google {
28809
30577
  /** PythonSettings common. */
28810
30578
  public common?: (google.api.ICommonLanguageSettings|null);
28811
30579
 
30580
+ /** PythonSettings experimentalFeatures. */
30581
+ public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
30582
+
28812
30583
  /**
28813
30584
  * Creates a new PythonSettings instance using the specified properties.
28814
30585
  * @param [properties] Properties to set
@@ -28887,6 +30658,118 @@ export namespace google {
28887
30658
  public static getTypeUrl(typeUrlPrefix?: string): string;
28888
30659
  }
28889
30660
 
30661
+ namespace PythonSettings {
30662
+
30663
+ /** Properties of an ExperimentalFeatures. */
30664
+ interface IExperimentalFeatures {
30665
+
30666
+ /** ExperimentalFeatures restAsyncIoEnabled */
30667
+ restAsyncIoEnabled?: (boolean|null);
30668
+
30669
+ /** ExperimentalFeatures protobufPythonicTypesEnabled */
30670
+ protobufPythonicTypesEnabled?: (boolean|null);
30671
+
30672
+ /** ExperimentalFeatures unversionedPackageDisabled */
30673
+ unversionedPackageDisabled?: (boolean|null);
30674
+ }
30675
+
30676
+ /** Represents an ExperimentalFeatures. */
30677
+ class ExperimentalFeatures implements IExperimentalFeatures {
30678
+
30679
+ /**
30680
+ * Constructs a new ExperimentalFeatures.
30681
+ * @param [properties] Properties to set
30682
+ */
30683
+ constructor(properties?: google.api.PythonSettings.IExperimentalFeatures);
30684
+
30685
+ /** ExperimentalFeatures restAsyncIoEnabled. */
30686
+ public restAsyncIoEnabled: boolean;
30687
+
30688
+ /** ExperimentalFeatures protobufPythonicTypesEnabled. */
30689
+ public protobufPythonicTypesEnabled: boolean;
30690
+
30691
+ /** ExperimentalFeatures unversionedPackageDisabled. */
30692
+ public unversionedPackageDisabled: boolean;
30693
+
30694
+ /**
30695
+ * Creates a new ExperimentalFeatures instance using the specified properties.
30696
+ * @param [properties] Properties to set
30697
+ * @returns ExperimentalFeatures instance
30698
+ */
30699
+ public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures;
30700
+
30701
+ /**
30702
+ * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
30703
+ * @param message ExperimentalFeatures message or plain object to encode
30704
+ * @param [writer] Writer to encode to
30705
+ * @returns Writer
30706
+ */
30707
+ public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
30708
+
30709
+ /**
30710
+ * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
30711
+ * @param message ExperimentalFeatures message or plain object to encode
30712
+ * @param [writer] Writer to encode to
30713
+ * @returns Writer
30714
+ */
30715
+ public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
30716
+
30717
+ /**
30718
+ * Decodes an ExperimentalFeatures message from the specified reader or buffer.
30719
+ * @param reader Reader or buffer to decode from
30720
+ * @param [length] Message length if known beforehand
30721
+ * @returns ExperimentalFeatures
30722
+ * @throws {Error} If the payload is not a reader or valid buffer
30723
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30724
+ */
30725
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures;
30726
+
30727
+ /**
30728
+ * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
30729
+ * @param reader Reader or buffer to decode from
30730
+ * @returns ExperimentalFeatures
30731
+ * @throws {Error} If the payload is not a reader or valid buffer
30732
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30733
+ */
30734
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures;
30735
+
30736
+ /**
30737
+ * Verifies an ExperimentalFeatures message.
30738
+ * @param message Plain object to verify
30739
+ * @returns `null` if valid, otherwise the reason why it is not
30740
+ */
30741
+ public static verify(message: { [k: string]: any }): (string|null);
30742
+
30743
+ /**
30744
+ * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
30745
+ * @param object Plain object
30746
+ * @returns ExperimentalFeatures
30747
+ */
30748
+ public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures;
30749
+
30750
+ /**
30751
+ * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
30752
+ * @param message ExperimentalFeatures
30753
+ * @param [options] Conversion options
30754
+ * @returns Plain object
30755
+ */
30756
+ public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any };
30757
+
30758
+ /**
30759
+ * Converts this ExperimentalFeatures to JSON.
30760
+ * @returns JSON object
30761
+ */
30762
+ public toJSON(): { [k: string]: any };
30763
+
30764
+ /**
30765
+ * Gets the default type url for ExperimentalFeatures
30766
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
30767
+ * @returns The default type url
30768
+ */
30769
+ public static getTypeUrl(typeUrlPrefix?: string): string;
30770
+ }
30771
+ }
30772
+
28890
30773
  /** Properties of a NodeSettings. */
28891
30774
  interface INodeSettings {
28892
30775
 
@@ -29213,6 +31096,9 @@ export namespace google {
29213
31096
 
29214
31097
  /** GoSettings common */
29215
31098
  common?: (google.api.ICommonLanguageSettings|null);
31099
+
31100
+ /** GoSettings renamedServices */
31101
+ renamedServices?: ({ [k: string]: string }|null);
29216
31102
  }
29217
31103
 
29218
31104
  /** Represents a GoSettings. */
@@ -29227,6 +31113,9 @@ export namespace google {
29227
31113
  /** GoSettings common. */
29228
31114
  public common?: (google.api.ICommonLanguageSettings|null);
29229
31115
 
31116
+ /** GoSettings renamedServices. */
31117
+ public renamedServices: { [k: string]: string };
31118
+
29230
31119
  /**
29231
31120
  * Creates a new GoSettings instance using the specified properties.
29232
31121
  * @param [properties] Properties to set
@@ -29551,6 +31440,109 @@ export namespace google {
29551
31440
  PACKAGE_MANAGER = 20
29552
31441
  }
29553
31442
 
31443
+ /** Properties of a SelectiveGapicGeneration. */
31444
+ interface ISelectiveGapicGeneration {
31445
+
31446
+ /** SelectiveGapicGeneration methods */
31447
+ methods?: (string[]|null);
31448
+
31449
+ /** SelectiveGapicGeneration generateOmittedAsInternal */
31450
+ generateOmittedAsInternal?: (boolean|null);
31451
+ }
31452
+
31453
+ /** Represents a SelectiveGapicGeneration. */
31454
+ class SelectiveGapicGeneration implements ISelectiveGapicGeneration {
31455
+
31456
+ /**
31457
+ * Constructs a new SelectiveGapicGeneration.
31458
+ * @param [properties] Properties to set
31459
+ */
31460
+ constructor(properties?: google.api.ISelectiveGapicGeneration);
31461
+
31462
+ /** SelectiveGapicGeneration methods. */
31463
+ public methods: string[];
31464
+
31465
+ /** SelectiveGapicGeneration generateOmittedAsInternal. */
31466
+ public generateOmittedAsInternal: boolean;
31467
+
31468
+ /**
31469
+ * Creates a new SelectiveGapicGeneration instance using the specified properties.
31470
+ * @param [properties] Properties to set
31471
+ * @returns SelectiveGapicGeneration instance
31472
+ */
31473
+ public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration;
31474
+
31475
+ /**
31476
+ * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
31477
+ * @param message SelectiveGapicGeneration message or plain object to encode
31478
+ * @param [writer] Writer to encode to
31479
+ * @returns Writer
31480
+ */
31481
+ public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
31482
+
31483
+ /**
31484
+ * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
31485
+ * @param message SelectiveGapicGeneration message or plain object to encode
31486
+ * @param [writer] Writer to encode to
31487
+ * @returns Writer
31488
+ */
31489
+ public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
31490
+
31491
+ /**
31492
+ * Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
31493
+ * @param reader Reader or buffer to decode from
31494
+ * @param [length] Message length if known beforehand
31495
+ * @returns SelectiveGapicGeneration
31496
+ * @throws {Error} If the payload is not a reader or valid buffer
31497
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31498
+ */
31499
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration;
31500
+
31501
+ /**
31502
+ * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
31503
+ * @param reader Reader or buffer to decode from
31504
+ * @returns SelectiveGapicGeneration
31505
+ * @throws {Error} If the payload is not a reader or valid buffer
31506
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31507
+ */
31508
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration;
31509
+
31510
+ /**
31511
+ * Verifies a SelectiveGapicGeneration message.
31512
+ * @param message Plain object to verify
31513
+ * @returns `null` if valid, otherwise the reason why it is not
31514
+ */
31515
+ public static verify(message: { [k: string]: any }): (string|null);
31516
+
31517
+ /**
31518
+ * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
31519
+ * @param object Plain object
31520
+ * @returns SelectiveGapicGeneration
31521
+ */
31522
+ public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration;
31523
+
31524
+ /**
31525
+ * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
31526
+ * @param message SelectiveGapicGeneration
31527
+ * @param [options] Conversion options
31528
+ * @returns Plain object
31529
+ */
31530
+ public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any };
31531
+
31532
+ /**
31533
+ * Converts this SelectiveGapicGeneration to JSON.
31534
+ * @returns JSON object
31535
+ */
31536
+ public toJSON(): { [k: string]: any };
31537
+
31538
+ /**
31539
+ * Gets the default type url for SelectiveGapicGeneration
31540
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
31541
+ * @returns The default type url
31542
+ */
31543
+ public static getTypeUrl(typeUrlPrefix?: string): string;
31544
+ }
31545
+
29554
31546
  /** LaunchStage enum. */
29555
31547
  enum LaunchStage {
29556
31548
  LAUNCH_STAGE_UNSPECIFIED = 0,