@google-apps/chat 0.6.0 → 0.8.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.
@@ -10176,6 +10176,9 @@ export namespace google {
10176
10176
 
10177
10177
  /** RichLinkMetadata driveLinkData */
10178
10178
  driveLinkData?: (google.chat.v1.IDriveLinkData|null);
10179
+
10180
+ /** RichLinkMetadata chatSpaceLinkData */
10181
+ chatSpaceLinkData?: (google.chat.v1.IChatSpaceLinkData|null);
10179
10182
  }
10180
10183
 
10181
10184
  /** Represents a RichLinkMetadata. */
@@ -10196,8 +10199,11 @@ export namespace google {
10196
10199
  /** RichLinkMetadata driveLinkData. */
10197
10200
  public driveLinkData?: (google.chat.v1.IDriveLinkData|null);
10198
10201
 
10202
+ /** RichLinkMetadata chatSpaceLinkData. */
10203
+ public chatSpaceLinkData?: (google.chat.v1.IChatSpaceLinkData|null);
10204
+
10199
10205
  /** RichLinkMetadata data. */
10200
- public data?: "driveLinkData";
10206
+ public data?: ("driveLinkData"|"chatSpaceLinkData");
10201
10207
 
10202
10208
  /**
10203
10209
  * Creates a new RichLinkMetadata instance using the specified properties.
@@ -10282,7 +10288,8 @@ export namespace google {
10282
10288
  /** RichLinkType enum. */
10283
10289
  enum RichLinkType {
10284
10290
  RICH_LINK_TYPE_UNSPECIFIED = 0,
10285
- DRIVE_FILE = 1
10291
+ DRIVE_FILE = 1,
10292
+ CHAT_SPACE = 2
10286
10293
  }
10287
10294
  }
10288
10295
 
@@ -10389,6 +10396,115 @@ export namespace google {
10389
10396
  public static getTypeUrl(typeUrlPrefix?: string): string;
10390
10397
  }
10391
10398
 
10399
+ /** Properties of a ChatSpaceLinkData. */
10400
+ interface IChatSpaceLinkData {
10401
+
10402
+ /** ChatSpaceLinkData space */
10403
+ space?: (string|null);
10404
+
10405
+ /** ChatSpaceLinkData thread */
10406
+ thread?: (string|null);
10407
+
10408
+ /** ChatSpaceLinkData message */
10409
+ message?: (string|null);
10410
+ }
10411
+
10412
+ /** Represents a ChatSpaceLinkData. */
10413
+ class ChatSpaceLinkData implements IChatSpaceLinkData {
10414
+
10415
+ /**
10416
+ * Constructs a new ChatSpaceLinkData.
10417
+ * @param [properties] Properties to set
10418
+ */
10419
+ constructor(properties?: google.chat.v1.IChatSpaceLinkData);
10420
+
10421
+ /** ChatSpaceLinkData space. */
10422
+ public space: string;
10423
+
10424
+ /** ChatSpaceLinkData thread. */
10425
+ public thread: string;
10426
+
10427
+ /** ChatSpaceLinkData message. */
10428
+ public message: string;
10429
+
10430
+ /**
10431
+ * Creates a new ChatSpaceLinkData instance using the specified properties.
10432
+ * @param [properties] Properties to set
10433
+ * @returns ChatSpaceLinkData instance
10434
+ */
10435
+ public static create(properties?: google.chat.v1.IChatSpaceLinkData): google.chat.v1.ChatSpaceLinkData;
10436
+
10437
+ /**
10438
+ * Encodes the specified ChatSpaceLinkData message. Does not implicitly {@link google.chat.v1.ChatSpaceLinkData.verify|verify} messages.
10439
+ * @param message ChatSpaceLinkData message or plain object to encode
10440
+ * @param [writer] Writer to encode to
10441
+ * @returns Writer
10442
+ */
10443
+ public static encode(message: google.chat.v1.IChatSpaceLinkData, writer?: $protobuf.Writer): $protobuf.Writer;
10444
+
10445
+ /**
10446
+ * Encodes the specified ChatSpaceLinkData message, length delimited. Does not implicitly {@link google.chat.v1.ChatSpaceLinkData.verify|verify} messages.
10447
+ * @param message ChatSpaceLinkData message or plain object to encode
10448
+ * @param [writer] Writer to encode to
10449
+ * @returns Writer
10450
+ */
10451
+ public static encodeDelimited(message: google.chat.v1.IChatSpaceLinkData, writer?: $protobuf.Writer): $protobuf.Writer;
10452
+
10453
+ /**
10454
+ * Decodes a ChatSpaceLinkData message from the specified reader or buffer.
10455
+ * @param reader Reader or buffer to decode from
10456
+ * @param [length] Message length if known beforehand
10457
+ * @returns ChatSpaceLinkData
10458
+ * @throws {Error} If the payload is not a reader or valid buffer
10459
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10460
+ */
10461
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ChatSpaceLinkData;
10462
+
10463
+ /**
10464
+ * Decodes a ChatSpaceLinkData message from the specified reader or buffer, length delimited.
10465
+ * @param reader Reader or buffer to decode from
10466
+ * @returns ChatSpaceLinkData
10467
+ * @throws {Error} If the payload is not a reader or valid buffer
10468
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10469
+ */
10470
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ChatSpaceLinkData;
10471
+
10472
+ /**
10473
+ * Verifies a ChatSpaceLinkData message.
10474
+ * @param message Plain object to verify
10475
+ * @returns `null` if valid, otherwise the reason why it is not
10476
+ */
10477
+ public static verify(message: { [k: string]: any }): (string|null);
10478
+
10479
+ /**
10480
+ * Creates a ChatSpaceLinkData message from a plain object. Also converts values to their respective internal types.
10481
+ * @param object Plain object
10482
+ * @returns ChatSpaceLinkData
10483
+ */
10484
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.ChatSpaceLinkData;
10485
+
10486
+ /**
10487
+ * Creates a plain object from a ChatSpaceLinkData message. Also converts values to other types if specified.
10488
+ * @param message ChatSpaceLinkData
10489
+ * @param [options] Conversion options
10490
+ * @returns Plain object
10491
+ */
10492
+ public static toObject(message: google.chat.v1.ChatSpaceLinkData, options?: $protobuf.IConversionOptions): { [k: string]: any };
10493
+
10494
+ /**
10495
+ * Converts this ChatSpaceLinkData to JSON.
10496
+ * @returns JSON object
10497
+ */
10498
+ public toJSON(): { [k: string]: any };
10499
+
10500
+ /**
10501
+ * Gets the default type url for ChatSpaceLinkData
10502
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10503
+ * @returns The default type url
10504
+ */
10505
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10506
+ }
10507
+
10392
10508
  /** AnnotationType enum. */
10393
10509
  enum AnnotationType {
10394
10510
  ANNOTATION_TYPE_UNSPECIFIED = 0,
@@ -11560,6 +11676,34 @@ export namespace google {
11560
11676
  * @returns Promise
11561
11677
  */
11562
11678
  public getThreadReadState(request: google.chat.v1.IGetThreadReadStateRequest): Promise<google.chat.v1.ThreadReadState>;
11679
+
11680
+ /**
11681
+ * Calls GetSpaceEvent.
11682
+ * @param request GetSpaceEventRequest message or plain object
11683
+ * @param callback Node-style callback called with the error, if any, and SpaceEvent
11684
+ */
11685
+ public getSpaceEvent(request: google.chat.v1.IGetSpaceEventRequest, callback: google.chat.v1.ChatService.GetSpaceEventCallback): void;
11686
+
11687
+ /**
11688
+ * Calls GetSpaceEvent.
11689
+ * @param request GetSpaceEventRequest message or plain object
11690
+ * @returns Promise
11691
+ */
11692
+ public getSpaceEvent(request: google.chat.v1.IGetSpaceEventRequest): Promise<google.chat.v1.SpaceEvent>;
11693
+
11694
+ /**
11695
+ * Calls ListSpaceEvents.
11696
+ * @param request ListSpaceEventsRequest message or plain object
11697
+ * @param callback Node-style callback called with the error, if any, and ListSpaceEventsResponse
11698
+ */
11699
+ public listSpaceEvents(request: google.chat.v1.IListSpaceEventsRequest, callback: google.chat.v1.ChatService.ListSpaceEventsCallback): void;
11700
+
11701
+ /**
11702
+ * Calls ListSpaceEvents.
11703
+ * @param request ListSpaceEventsRequest message or plain object
11704
+ * @returns Promise
11705
+ */
11706
+ public listSpaceEvents(request: google.chat.v1.IListSpaceEventsRequest): Promise<google.chat.v1.ListSpaceEventsResponse>;
11563
11707
  }
11564
11708
 
11565
11709
  namespace ChatService {
@@ -11745,6 +11889,20 @@ export namespace google {
11745
11889
  * @param [response] ThreadReadState
11746
11890
  */
11747
11891
  type GetThreadReadStateCallback = (error: (Error|null), response?: google.chat.v1.ThreadReadState) => void;
11892
+
11893
+ /**
11894
+ * Callback as used by {@link google.chat.v1.ChatService|getSpaceEvent}.
11895
+ * @param error Error, if any
11896
+ * @param [response] SpaceEvent
11897
+ */
11898
+ type GetSpaceEventCallback = (error: (Error|null), response?: google.chat.v1.SpaceEvent) => void;
11899
+
11900
+ /**
11901
+ * Callback as used by {@link google.chat.v1.ChatService|listSpaceEvents}.
11902
+ * @param error Error, if any
11903
+ * @param [response] ListSpaceEventsResponse
11904
+ */
11905
+ type ListSpaceEventsCallback = (error: (Error|null), response?: google.chat.v1.ListSpaceEventsResponse) => void;
11748
11906
  }
11749
11907
 
11750
11908
  /** Properties of a Membership. */
@@ -18855,6 +19013,2287 @@ export namespace google {
18855
19013
  HISTORY_ON = 2
18856
19014
  }
18857
19015
 
19016
+ /** Properties of a SpaceEvent. */
19017
+ interface ISpaceEvent {
19018
+
19019
+ /** SpaceEvent name */
19020
+ name?: (string|null);
19021
+
19022
+ /** SpaceEvent eventTime */
19023
+ eventTime?: (google.protobuf.ITimestamp|null);
19024
+
19025
+ /** SpaceEvent eventType */
19026
+ eventType?: (string|null);
19027
+
19028
+ /** SpaceEvent messageCreatedEventData */
19029
+ messageCreatedEventData?: (google.chat.v1.IMessageCreatedEventData|null);
19030
+
19031
+ /** SpaceEvent messageUpdatedEventData */
19032
+ messageUpdatedEventData?: (google.chat.v1.IMessageUpdatedEventData|null);
19033
+
19034
+ /** SpaceEvent messageDeletedEventData */
19035
+ messageDeletedEventData?: (google.chat.v1.IMessageDeletedEventData|null);
19036
+
19037
+ /** SpaceEvent messageBatchCreatedEventData */
19038
+ messageBatchCreatedEventData?: (google.chat.v1.IMessageBatchCreatedEventData|null);
19039
+
19040
+ /** SpaceEvent messageBatchUpdatedEventData */
19041
+ messageBatchUpdatedEventData?: (google.chat.v1.IMessageBatchUpdatedEventData|null);
19042
+
19043
+ /** SpaceEvent messageBatchDeletedEventData */
19044
+ messageBatchDeletedEventData?: (google.chat.v1.IMessageBatchDeletedEventData|null);
19045
+
19046
+ /** SpaceEvent spaceUpdatedEventData */
19047
+ spaceUpdatedEventData?: (google.chat.v1.ISpaceUpdatedEventData|null);
19048
+
19049
+ /** SpaceEvent spaceBatchUpdatedEventData */
19050
+ spaceBatchUpdatedEventData?: (google.chat.v1.ISpaceBatchUpdatedEventData|null);
19051
+
19052
+ /** SpaceEvent membershipCreatedEventData */
19053
+ membershipCreatedEventData?: (google.chat.v1.IMembershipCreatedEventData|null);
19054
+
19055
+ /** SpaceEvent membershipUpdatedEventData */
19056
+ membershipUpdatedEventData?: (google.chat.v1.IMembershipUpdatedEventData|null);
19057
+
19058
+ /** SpaceEvent membershipDeletedEventData */
19059
+ membershipDeletedEventData?: (google.chat.v1.IMembershipDeletedEventData|null);
19060
+
19061
+ /** SpaceEvent membershipBatchCreatedEventData */
19062
+ membershipBatchCreatedEventData?: (google.chat.v1.IMembershipBatchCreatedEventData|null);
19063
+
19064
+ /** SpaceEvent membershipBatchUpdatedEventData */
19065
+ membershipBatchUpdatedEventData?: (google.chat.v1.IMembershipBatchUpdatedEventData|null);
19066
+
19067
+ /** SpaceEvent membershipBatchDeletedEventData */
19068
+ membershipBatchDeletedEventData?: (google.chat.v1.IMembershipBatchDeletedEventData|null);
19069
+
19070
+ /** SpaceEvent reactionCreatedEventData */
19071
+ reactionCreatedEventData?: (google.chat.v1.IReactionCreatedEventData|null);
19072
+
19073
+ /** SpaceEvent reactionDeletedEventData */
19074
+ reactionDeletedEventData?: (google.chat.v1.IReactionDeletedEventData|null);
19075
+
19076
+ /** SpaceEvent reactionBatchCreatedEventData */
19077
+ reactionBatchCreatedEventData?: (google.chat.v1.IReactionBatchCreatedEventData|null);
19078
+
19079
+ /** SpaceEvent reactionBatchDeletedEventData */
19080
+ reactionBatchDeletedEventData?: (google.chat.v1.IReactionBatchDeletedEventData|null);
19081
+ }
19082
+
19083
+ /** Represents a SpaceEvent. */
19084
+ class SpaceEvent implements ISpaceEvent {
19085
+
19086
+ /**
19087
+ * Constructs a new SpaceEvent.
19088
+ * @param [properties] Properties to set
19089
+ */
19090
+ constructor(properties?: google.chat.v1.ISpaceEvent);
19091
+
19092
+ /** SpaceEvent name. */
19093
+ public name: string;
19094
+
19095
+ /** SpaceEvent eventTime. */
19096
+ public eventTime?: (google.protobuf.ITimestamp|null);
19097
+
19098
+ /** SpaceEvent eventType. */
19099
+ public eventType: string;
19100
+
19101
+ /** SpaceEvent messageCreatedEventData. */
19102
+ public messageCreatedEventData?: (google.chat.v1.IMessageCreatedEventData|null);
19103
+
19104
+ /** SpaceEvent messageUpdatedEventData. */
19105
+ public messageUpdatedEventData?: (google.chat.v1.IMessageUpdatedEventData|null);
19106
+
19107
+ /** SpaceEvent messageDeletedEventData. */
19108
+ public messageDeletedEventData?: (google.chat.v1.IMessageDeletedEventData|null);
19109
+
19110
+ /** SpaceEvent messageBatchCreatedEventData. */
19111
+ public messageBatchCreatedEventData?: (google.chat.v1.IMessageBatchCreatedEventData|null);
19112
+
19113
+ /** SpaceEvent messageBatchUpdatedEventData. */
19114
+ public messageBatchUpdatedEventData?: (google.chat.v1.IMessageBatchUpdatedEventData|null);
19115
+
19116
+ /** SpaceEvent messageBatchDeletedEventData. */
19117
+ public messageBatchDeletedEventData?: (google.chat.v1.IMessageBatchDeletedEventData|null);
19118
+
19119
+ /** SpaceEvent spaceUpdatedEventData. */
19120
+ public spaceUpdatedEventData?: (google.chat.v1.ISpaceUpdatedEventData|null);
19121
+
19122
+ /** SpaceEvent spaceBatchUpdatedEventData. */
19123
+ public spaceBatchUpdatedEventData?: (google.chat.v1.ISpaceBatchUpdatedEventData|null);
19124
+
19125
+ /** SpaceEvent membershipCreatedEventData. */
19126
+ public membershipCreatedEventData?: (google.chat.v1.IMembershipCreatedEventData|null);
19127
+
19128
+ /** SpaceEvent membershipUpdatedEventData. */
19129
+ public membershipUpdatedEventData?: (google.chat.v1.IMembershipUpdatedEventData|null);
19130
+
19131
+ /** SpaceEvent membershipDeletedEventData. */
19132
+ public membershipDeletedEventData?: (google.chat.v1.IMembershipDeletedEventData|null);
19133
+
19134
+ /** SpaceEvent membershipBatchCreatedEventData. */
19135
+ public membershipBatchCreatedEventData?: (google.chat.v1.IMembershipBatchCreatedEventData|null);
19136
+
19137
+ /** SpaceEvent membershipBatchUpdatedEventData. */
19138
+ public membershipBatchUpdatedEventData?: (google.chat.v1.IMembershipBatchUpdatedEventData|null);
19139
+
19140
+ /** SpaceEvent membershipBatchDeletedEventData. */
19141
+ public membershipBatchDeletedEventData?: (google.chat.v1.IMembershipBatchDeletedEventData|null);
19142
+
19143
+ /** SpaceEvent reactionCreatedEventData. */
19144
+ public reactionCreatedEventData?: (google.chat.v1.IReactionCreatedEventData|null);
19145
+
19146
+ /** SpaceEvent reactionDeletedEventData. */
19147
+ public reactionDeletedEventData?: (google.chat.v1.IReactionDeletedEventData|null);
19148
+
19149
+ /** SpaceEvent reactionBatchCreatedEventData. */
19150
+ public reactionBatchCreatedEventData?: (google.chat.v1.IReactionBatchCreatedEventData|null);
19151
+
19152
+ /** SpaceEvent reactionBatchDeletedEventData. */
19153
+ public reactionBatchDeletedEventData?: (google.chat.v1.IReactionBatchDeletedEventData|null);
19154
+
19155
+ /** SpaceEvent payload. */
19156
+ public payload?: ("messageCreatedEventData"|"messageUpdatedEventData"|"messageDeletedEventData"|"messageBatchCreatedEventData"|"messageBatchUpdatedEventData"|"messageBatchDeletedEventData"|"spaceUpdatedEventData"|"spaceBatchUpdatedEventData"|"membershipCreatedEventData"|"membershipUpdatedEventData"|"membershipDeletedEventData"|"membershipBatchCreatedEventData"|"membershipBatchUpdatedEventData"|"membershipBatchDeletedEventData"|"reactionCreatedEventData"|"reactionDeletedEventData"|"reactionBatchCreatedEventData"|"reactionBatchDeletedEventData");
19157
+
19158
+ /**
19159
+ * Creates a new SpaceEvent instance using the specified properties.
19160
+ * @param [properties] Properties to set
19161
+ * @returns SpaceEvent instance
19162
+ */
19163
+ public static create(properties?: google.chat.v1.ISpaceEvent): google.chat.v1.SpaceEvent;
19164
+
19165
+ /**
19166
+ * Encodes the specified SpaceEvent message. Does not implicitly {@link google.chat.v1.SpaceEvent.verify|verify} messages.
19167
+ * @param message SpaceEvent message or plain object to encode
19168
+ * @param [writer] Writer to encode to
19169
+ * @returns Writer
19170
+ */
19171
+ public static encode(message: google.chat.v1.ISpaceEvent, writer?: $protobuf.Writer): $protobuf.Writer;
19172
+
19173
+ /**
19174
+ * Encodes the specified SpaceEvent message, length delimited. Does not implicitly {@link google.chat.v1.SpaceEvent.verify|verify} messages.
19175
+ * @param message SpaceEvent message or plain object to encode
19176
+ * @param [writer] Writer to encode to
19177
+ * @returns Writer
19178
+ */
19179
+ public static encodeDelimited(message: google.chat.v1.ISpaceEvent, writer?: $protobuf.Writer): $protobuf.Writer;
19180
+
19181
+ /**
19182
+ * Decodes a SpaceEvent message from the specified reader or buffer.
19183
+ * @param reader Reader or buffer to decode from
19184
+ * @param [length] Message length if known beforehand
19185
+ * @returns SpaceEvent
19186
+ * @throws {Error} If the payload is not a reader or valid buffer
19187
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19188
+ */
19189
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.SpaceEvent;
19190
+
19191
+ /**
19192
+ * Decodes a SpaceEvent message from the specified reader or buffer, length delimited.
19193
+ * @param reader Reader or buffer to decode from
19194
+ * @returns SpaceEvent
19195
+ * @throws {Error} If the payload is not a reader or valid buffer
19196
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19197
+ */
19198
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.SpaceEvent;
19199
+
19200
+ /**
19201
+ * Verifies a SpaceEvent message.
19202
+ * @param message Plain object to verify
19203
+ * @returns `null` if valid, otherwise the reason why it is not
19204
+ */
19205
+ public static verify(message: { [k: string]: any }): (string|null);
19206
+
19207
+ /**
19208
+ * Creates a SpaceEvent message from a plain object. Also converts values to their respective internal types.
19209
+ * @param object Plain object
19210
+ * @returns SpaceEvent
19211
+ */
19212
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.SpaceEvent;
19213
+
19214
+ /**
19215
+ * Creates a plain object from a SpaceEvent message. Also converts values to other types if specified.
19216
+ * @param message SpaceEvent
19217
+ * @param [options] Conversion options
19218
+ * @returns Plain object
19219
+ */
19220
+ public static toObject(message: google.chat.v1.SpaceEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
19221
+
19222
+ /**
19223
+ * Converts this SpaceEvent to JSON.
19224
+ * @returns JSON object
19225
+ */
19226
+ public toJSON(): { [k: string]: any };
19227
+
19228
+ /**
19229
+ * Gets the default type url for SpaceEvent
19230
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
19231
+ * @returns The default type url
19232
+ */
19233
+ public static getTypeUrl(typeUrlPrefix?: string): string;
19234
+ }
19235
+
19236
+ /** Properties of a GetSpaceEventRequest. */
19237
+ interface IGetSpaceEventRequest {
19238
+
19239
+ /** GetSpaceEventRequest name */
19240
+ name?: (string|null);
19241
+ }
19242
+
19243
+ /** Represents a GetSpaceEventRequest. */
19244
+ class GetSpaceEventRequest implements IGetSpaceEventRequest {
19245
+
19246
+ /**
19247
+ * Constructs a new GetSpaceEventRequest.
19248
+ * @param [properties] Properties to set
19249
+ */
19250
+ constructor(properties?: google.chat.v1.IGetSpaceEventRequest);
19251
+
19252
+ /** GetSpaceEventRequest name. */
19253
+ public name: string;
19254
+
19255
+ /**
19256
+ * Creates a new GetSpaceEventRequest instance using the specified properties.
19257
+ * @param [properties] Properties to set
19258
+ * @returns GetSpaceEventRequest instance
19259
+ */
19260
+ public static create(properties?: google.chat.v1.IGetSpaceEventRequest): google.chat.v1.GetSpaceEventRequest;
19261
+
19262
+ /**
19263
+ * Encodes the specified GetSpaceEventRequest message. Does not implicitly {@link google.chat.v1.GetSpaceEventRequest.verify|verify} messages.
19264
+ * @param message GetSpaceEventRequest message or plain object to encode
19265
+ * @param [writer] Writer to encode to
19266
+ * @returns Writer
19267
+ */
19268
+ public static encode(message: google.chat.v1.IGetSpaceEventRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19269
+
19270
+ /**
19271
+ * Encodes the specified GetSpaceEventRequest message, length delimited. Does not implicitly {@link google.chat.v1.GetSpaceEventRequest.verify|verify} messages.
19272
+ * @param message GetSpaceEventRequest message or plain object to encode
19273
+ * @param [writer] Writer to encode to
19274
+ * @returns Writer
19275
+ */
19276
+ public static encodeDelimited(message: google.chat.v1.IGetSpaceEventRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19277
+
19278
+ /**
19279
+ * Decodes a GetSpaceEventRequest message from the specified reader or buffer.
19280
+ * @param reader Reader or buffer to decode from
19281
+ * @param [length] Message length if known beforehand
19282
+ * @returns GetSpaceEventRequest
19283
+ * @throws {Error} If the payload is not a reader or valid buffer
19284
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19285
+ */
19286
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.GetSpaceEventRequest;
19287
+
19288
+ /**
19289
+ * Decodes a GetSpaceEventRequest message from the specified reader or buffer, length delimited.
19290
+ * @param reader Reader or buffer to decode from
19291
+ * @returns GetSpaceEventRequest
19292
+ * @throws {Error} If the payload is not a reader or valid buffer
19293
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19294
+ */
19295
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.GetSpaceEventRequest;
19296
+
19297
+ /**
19298
+ * Verifies a GetSpaceEventRequest message.
19299
+ * @param message Plain object to verify
19300
+ * @returns `null` if valid, otherwise the reason why it is not
19301
+ */
19302
+ public static verify(message: { [k: string]: any }): (string|null);
19303
+
19304
+ /**
19305
+ * Creates a GetSpaceEventRequest message from a plain object. Also converts values to their respective internal types.
19306
+ * @param object Plain object
19307
+ * @returns GetSpaceEventRequest
19308
+ */
19309
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.GetSpaceEventRequest;
19310
+
19311
+ /**
19312
+ * Creates a plain object from a GetSpaceEventRequest message. Also converts values to other types if specified.
19313
+ * @param message GetSpaceEventRequest
19314
+ * @param [options] Conversion options
19315
+ * @returns Plain object
19316
+ */
19317
+ public static toObject(message: google.chat.v1.GetSpaceEventRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
19318
+
19319
+ /**
19320
+ * Converts this GetSpaceEventRequest to JSON.
19321
+ * @returns JSON object
19322
+ */
19323
+ public toJSON(): { [k: string]: any };
19324
+
19325
+ /**
19326
+ * Gets the default type url for GetSpaceEventRequest
19327
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
19328
+ * @returns The default type url
19329
+ */
19330
+ public static getTypeUrl(typeUrlPrefix?: string): string;
19331
+ }
19332
+
19333
+ /** Properties of a ListSpaceEventsRequest. */
19334
+ interface IListSpaceEventsRequest {
19335
+
19336
+ /** ListSpaceEventsRequest parent */
19337
+ parent?: (string|null);
19338
+
19339
+ /** ListSpaceEventsRequest pageSize */
19340
+ pageSize?: (number|null);
19341
+
19342
+ /** ListSpaceEventsRequest pageToken */
19343
+ pageToken?: (string|null);
19344
+
19345
+ /** ListSpaceEventsRequest filter */
19346
+ filter?: (string|null);
19347
+ }
19348
+
19349
+ /** Represents a ListSpaceEventsRequest. */
19350
+ class ListSpaceEventsRequest implements IListSpaceEventsRequest {
19351
+
19352
+ /**
19353
+ * Constructs a new ListSpaceEventsRequest.
19354
+ * @param [properties] Properties to set
19355
+ */
19356
+ constructor(properties?: google.chat.v1.IListSpaceEventsRequest);
19357
+
19358
+ /** ListSpaceEventsRequest parent. */
19359
+ public parent: string;
19360
+
19361
+ /** ListSpaceEventsRequest pageSize. */
19362
+ public pageSize: number;
19363
+
19364
+ /** ListSpaceEventsRequest pageToken. */
19365
+ public pageToken: string;
19366
+
19367
+ /** ListSpaceEventsRequest filter. */
19368
+ public filter: string;
19369
+
19370
+ /**
19371
+ * Creates a new ListSpaceEventsRequest instance using the specified properties.
19372
+ * @param [properties] Properties to set
19373
+ * @returns ListSpaceEventsRequest instance
19374
+ */
19375
+ public static create(properties?: google.chat.v1.IListSpaceEventsRequest): google.chat.v1.ListSpaceEventsRequest;
19376
+
19377
+ /**
19378
+ * Encodes the specified ListSpaceEventsRequest message. Does not implicitly {@link google.chat.v1.ListSpaceEventsRequest.verify|verify} messages.
19379
+ * @param message ListSpaceEventsRequest message or plain object to encode
19380
+ * @param [writer] Writer to encode to
19381
+ * @returns Writer
19382
+ */
19383
+ public static encode(message: google.chat.v1.IListSpaceEventsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19384
+
19385
+ /**
19386
+ * Encodes the specified ListSpaceEventsRequest message, length delimited. Does not implicitly {@link google.chat.v1.ListSpaceEventsRequest.verify|verify} messages.
19387
+ * @param message ListSpaceEventsRequest message or plain object to encode
19388
+ * @param [writer] Writer to encode to
19389
+ * @returns Writer
19390
+ */
19391
+ public static encodeDelimited(message: google.chat.v1.IListSpaceEventsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19392
+
19393
+ /**
19394
+ * Decodes a ListSpaceEventsRequest message from the specified reader or buffer.
19395
+ * @param reader Reader or buffer to decode from
19396
+ * @param [length] Message length if known beforehand
19397
+ * @returns ListSpaceEventsRequest
19398
+ * @throws {Error} If the payload is not a reader or valid buffer
19399
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19400
+ */
19401
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ListSpaceEventsRequest;
19402
+
19403
+ /**
19404
+ * Decodes a ListSpaceEventsRequest message from the specified reader or buffer, length delimited.
19405
+ * @param reader Reader or buffer to decode from
19406
+ * @returns ListSpaceEventsRequest
19407
+ * @throws {Error} If the payload is not a reader or valid buffer
19408
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19409
+ */
19410
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ListSpaceEventsRequest;
19411
+
19412
+ /**
19413
+ * Verifies a ListSpaceEventsRequest message.
19414
+ * @param message Plain object to verify
19415
+ * @returns `null` if valid, otherwise the reason why it is not
19416
+ */
19417
+ public static verify(message: { [k: string]: any }): (string|null);
19418
+
19419
+ /**
19420
+ * Creates a ListSpaceEventsRequest message from a plain object. Also converts values to their respective internal types.
19421
+ * @param object Plain object
19422
+ * @returns ListSpaceEventsRequest
19423
+ */
19424
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.ListSpaceEventsRequest;
19425
+
19426
+ /**
19427
+ * Creates a plain object from a ListSpaceEventsRequest message. Also converts values to other types if specified.
19428
+ * @param message ListSpaceEventsRequest
19429
+ * @param [options] Conversion options
19430
+ * @returns Plain object
19431
+ */
19432
+ public static toObject(message: google.chat.v1.ListSpaceEventsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
19433
+
19434
+ /**
19435
+ * Converts this ListSpaceEventsRequest to JSON.
19436
+ * @returns JSON object
19437
+ */
19438
+ public toJSON(): { [k: string]: any };
19439
+
19440
+ /**
19441
+ * Gets the default type url for ListSpaceEventsRequest
19442
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
19443
+ * @returns The default type url
19444
+ */
19445
+ public static getTypeUrl(typeUrlPrefix?: string): string;
19446
+ }
19447
+
19448
+ /** Properties of a ListSpaceEventsResponse. */
19449
+ interface IListSpaceEventsResponse {
19450
+
19451
+ /** ListSpaceEventsResponse spaceEvents */
19452
+ spaceEvents?: (google.chat.v1.ISpaceEvent[]|null);
19453
+
19454
+ /** ListSpaceEventsResponse nextPageToken */
19455
+ nextPageToken?: (string|null);
19456
+ }
19457
+
19458
+ /** Represents a ListSpaceEventsResponse. */
19459
+ class ListSpaceEventsResponse implements IListSpaceEventsResponse {
19460
+
19461
+ /**
19462
+ * Constructs a new ListSpaceEventsResponse.
19463
+ * @param [properties] Properties to set
19464
+ */
19465
+ constructor(properties?: google.chat.v1.IListSpaceEventsResponse);
19466
+
19467
+ /** ListSpaceEventsResponse spaceEvents. */
19468
+ public spaceEvents: google.chat.v1.ISpaceEvent[];
19469
+
19470
+ /** ListSpaceEventsResponse nextPageToken. */
19471
+ public nextPageToken: string;
19472
+
19473
+ /**
19474
+ * Creates a new ListSpaceEventsResponse instance using the specified properties.
19475
+ * @param [properties] Properties to set
19476
+ * @returns ListSpaceEventsResponse instance
19477
+ */
19478
+ public static create(properties?: google.chat.v1.IListSpaceEventsResponse): google.chat.v1.ListSpaceEventsResponse;
19479
+
19480
+ /**
19481
+ * Encodes the specified ListSpaceEventsResponse message. Does not implicitly {@link google.chat.v1.ListSpaceEventsResponse.verify|verify} messages.
19482
+ * @param message ListSpaceEventsResponse message or plain object to encode
19483
+ * @param [writer] Writer to encode to
19484
+ * @returns Writer
19485
+ */
19486
+ public static encode(message: google.chat.v1.IListSpaceEventsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19487
+
19488
+ /**
19489
+ * Encodes the specified ListSpaceEventsResponse message, length delimited. Does not implicitly {@link google.chat.v1.ListSpaceEventsResponse.verify|verify} messages.
19490
+ * @param message ListSpaceEventsResponse message or plain object to encode
19491
+ * @param [writer] Writer to encode to
19492
+ * @returns Writer
19493
+ */
19494
+ public static encodeDelimited(message: google.chat.v1.IListSpaceEventsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19495
+
19496
+ /**
19497
+ * Decodes a ListSpaceEventsResponse message from the specified reader or buffer.
19498
+ * @param reader Reader or buffer to decode from
19499
+ * @param [length] Message length if known beforehand
19500
+ * @returns ListSpaceEventsResponse
19501
+ * @throws {Error} If the payload is not a reader or valid buffer
19502
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19503
+ */
19504
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ListSpaceEventsResponse;
19505
+
19506
+ /**
19507
+ * Decodes a ListSpaceEventsResponse message from the specified reader or buffer, length delimited.
19508
+ * @param reader Reader or buffer to decode from
19509
+ * @returns ListSpaceEventsResponse
19510
+ * @throws {Error} If the payload is not a reader or valid buffer
19511
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19512
+ */
19513
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ListSpaceEventsResponse;
19514
+
19515
+ /**
19516
+ * Verifies a ListSpaceEventsResponse message.
19517
+ * @param message Plain object to verify
19518
+ * @returns `null` if valid, otherwise the reason why it is not
19519
+ */
19520
+ public static verify(message: { [k: string]: any }): (string|null);
19521
+
19522
+ /**
19523
+ * Creates a ListSpaceEventsResponse message from a plain object. Also converts values to their respective internal types.
19524
+ * @param object Plain object
19525
+ * @returns ListSpaceEventsResponse
19526
+ */
19527
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.ListSpaceEventsResponse;
19528
+
19529
+ /**
19530
+ * Creates a plain object from a ListSpaceEventsResponse message. Also converts values to other types if specified.
19531
+ * @param message ListSpaceEventsResponse
19532
+ * @param [options] Conversion options
19533
+ * @returns Plain object
19534
+ */
19535
+ public static toObject(message: google.chat.v1.ListSpaceEventsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
19536
+
19537
+ /**
19538
+ * Converts this ListSpaceEventsResponse to JSON.
19539
+ * @returns JSON object
19540
+ */
19541
+ public toJSON(): { [k: string]: any };
19542
+
19543
+ /**
19544
+ * Gets the default type url for ListSpaceEventsResponse
19545
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
19546
+ * @returns The default type url
19547
+ */
19548
+ public static getTypeUrl(typeUrlPrefix?: string): string;
19549
+ }
19550
+
19551
+ /** Properties of a MembershipCreatedEventData. */
19552
+ interface IMembershipCreatedEventData {
19553
+
19554
+ /** MembershipCreatedEventData membership */
19555
+ membership?: (google.chat.v1.IMembership|null);
19556
+ }
19557
+
19558
+ /** Represents a MembershipCreatedEventData. */
19559
+ class MembershipCreatedEventData implements IMembershipCreatedEventData {
19560
+
19561
+ /**
19562
+ * Constructs a new MembershipCreatedEventData.
19563
+ * @param [properties] Properties to set
19564
+ */
19565
+ constructor(properties?: google.chat.v1.IMembershipCreatedEventData);
19566
+
19567
+ /** MembershipCreatedEventData membership. */
19568
+ public membership?: (google.chat.v1.IMembership|null);
19569
+
19570
+ /**
19571
+ * Creates a new MembershipCreatedEventData instance using the specified properties.
19572
+ * @param [properties] Properties to set
19573
+ * @returns MembershipCreatedEventData instance
19574
+ */
19575
+ public static create(properties?: google.chat.v1.IMembershipCreatedEventData): google.chat.v1.MembershipCreatedEventData;
19576
+
19577
+ /**
19578
+ * Encodes the specified MembershipCreatedEventData message. Does not implicitly {@link google.chat.v1.MembershipCreatedEventData.verify|verify} messages.
19579
+ * @param message MembershipCreatedEventData message or plain object to encode
19580
+ * @param [writer] Writer to encode to
19581
+ * @returns Writer
19582
+ */
19583
+ public static encode(message: google.chat.v1.IMembershipCreatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
19584
+
19585
+ /**
19586
+ * Encodes the specified MembershipCreatedEventData message, length delimited. Does not implicitly {@link google.chat.v1.MembershipCreatedEventData.verify|verify} messages.
19587
+ * @param message MembershipCreatedEventData message or plain object to encode
19588
+ * @param [writer] Writer to encode to
19589
+ * @returns Writer
19590
+ */
19591
+ public static encodeDelimited(message: google.chat.v1.IMembershipCreatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
19592
+
19593
+ /**
19594
+ * Decodes a MembershipCreatedEventData message from the specified reader or buffer.
19595
+ * @param reader Reader or buffer to decode from
19596
+ * @param [length] Message length if known beforehand
19597
+ * @returns MembershipCreatedEventData
19598
+ * @throws {Error} If the payload is not a reader or valid buffer
19599
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19600
+ */
19601
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MembershipCreatedEventData;
19602
+
19603
+ /**
19604
+ * Decodes a MembershipCreatedEventData message from the specified reader or buffer, length delimited.
19605
+ * @param reader Reader or buffer to decode from
19606
+ * @returns MembershipCreatedEventData
19607
+ * @throws {Error} If the payload is not a reader or valid buffer
19608
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19609
+ */
19610
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MembershipCreatedEventData;
19611
+
19612
+ /**
19613
+ * Verifies a MembershipCreatedEventData message.
19614
+ * @param message Plain object to verify
19615
+ * @returns `null` if valid, otherwise the reason why it is not
19616
+ */
19617
+ public static verify(message: { [k: string]: any }): (string|null);
19618
+
19619
+ /**
19620
+ * Creates a MembershipCreatedEventData message from a plain object. Also converts values to their respective internal types.
19621
+ * @param object Plain object
19622
+ * @returns MembershipCreatedEventData
19623
+ */
19624
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MembershipCreatedEventData;
19625
+
19626
+ /**
19627
+ * Creates a plain object from a MembershipCreatedEventData message. Also converts values to other types if specified.
19628
+ * @param message MembershipCreatedEventData
19629
+ * @param [options] Conversion options
19630
+ * @returns Plain object
19631
+ */
19632
+ public static toObject(message: google.chat.v1.MembershipCreatedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
19633
+
19634
+ /**
19635
+ * Converts this MembershipCreatedEventData to JSON.
19636
+ * @returns JSON object
19637
+ */
19638
+ public toJSON(): { [k: string]: any };
19639
+
19640
+ /**
19641
+ * Gets the default type url for MembershipCreatedEventData
19642
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
19643
+ * @returns The default type url
19644
+ */
19645
+ public static getTypeUrl(typeUrlPrefix?: string): string;
19646
+ }
19647
+
19648
+ /** Properties of a MembershipDeletedEventData. */
19649
+ interface IMembershipDeletedEventData {
19650
+
19651
+ /** MembershipDeletedEventData membership */
19652
+ membership?: (google.chat.v1.IMembership|null);
19653
+ }
19654
+
19655
+ /** Represents a MembershipDeletedEventData. */
19656
+ class MembershipDeletedEventData implements IMembershipDeletedEventData {
19657
+
19658
+ /**
19659
+ * Constructs a new MembershipDeletedEventData.
19660
+ * @param [properties] Properties to set
19661
+ */
19662
+ constructor(properties?: google.chat.v1.IMembershipDeletedEventData);
19663
+
19664
+ /** MembershipDeletedEventData membership. */
19665
+ public membership?: (google.chat.v1.IMembership|null);
19666
+
19667
+ /**
19668
+ * Creates a new MembershipDeletedEventData instance using the specified properties.
19669
+ * @param [properties] Properties to set
19670
+ * @returns MembershipDeletedEventData instance
19671
+ */
19672
+ public static create(properties?: google.chat.v1.IMembershipDeletedEventData): google.chat.v1.MembershipDeletedEventData;
19673
+
19674
+ /**
19675
+ * Encodes the specified MembershipDeletedEventData message. Does not implicitly {@link google.chat.v1.MembershipDeletedEventData.verify|verify} messages.
19676
+ * @param message MembershipDeletedEventData message or plain object to encode
19677
+ * @param [writer] Writer to encode to
19678
+ * @returns Writer
19679
+ */
19680
+ public static encode(message: google.chat.v1.IMembershipDeletedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
19681
+
19682
+ /**
19683
+ * Encodes the specified MembershipDeletedEventData message, length delimited. Does not implicitly {@link google.chat.v1.MembershipDeletedEventData.verify|verify} messages.
19684
+ * @param message MembershipDeletedEventData message or plain object to encode
19685
+ * @param [writer] Writer to encode to
19686
+ * @returns Writer
19687
+ */
19688
+ public static encodeDelimited(message: google.chat.v1.IMembershipDeletedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
19689
+
19690
+ /**
19691
+ * Decodes a MembershipDeletedEventData message from the specified reader or buffer.
19692
+ * @param reader Reader or buffer to decode from
19693
+ * @param [length] Message length if known beforehand
19694
+ * @returns MembershipDeletedEventData
19695
+ * @throws {Error} If the payload is not a reader or valid buffer
19696
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19697
+ */
19698
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MembershipDeletedEventData;
19699
+
19700
+ /**
19701
+ * Decodes a MembershipDeletedEventData message from the specified reader or buffer, length delimited.
19702
+ * @param reader Reader or buffer to decode from
19703
+ * @returns MembershipDeletedEventData
19704
+ * @throws {Error} If the payload is not a reader or valid buffer
19705
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19706
+ */
19707
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MembershipDeletedEventData;
19708
+
19709
+ /**
19710
+ * Verifies a MembershipDeletedEventData message.
19711
+ * @param message Plain object to verify
19712
+ * @returns `null` if valid, otherwise the reason why it is not
19713
+ */
19714
+ public static verify(message: { [k: string]: any }): (string|null);
19715
+
19716
+ /**
19717
+ * Creates a MembershipDeletedEventData message from a plain object. Also converts values to their respective internal types.
19718
+ * @param object Plain object
19719
+ * @returns MembershipDeletedEventData
19720
+ */
19721
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MembershipDeletedEventData;
19722
+
19723
+ /**
19724
+ * Creates a plain object from a MembershipDeletedEventData message. Also converts values to other types if specified.
19725
+ * @param message MembershipDeletedEventData
19726
+ * @param [options] Conversion options
19727
+ * @returns Plain object
19728
+ */
19729
+ public static toObject(message: google.chat.v1.MembershipDeletedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
19730
+
19731
+ /**
19732
+ * Converts this MembershipDeletedEventData to JSON.
19733
+ * @returns JSON object
19734
+ */
19735
+ public toJSON(): { [k: string]: any };
19736
+
19737
+ /**
19738
+ * Gets the default type url for MembershipDeletedEventData
19739
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
19740
+ * @returns The default type url
19741
+ */
19742
+ public static getTypeUrl(typeUrlPrefix?: string): string;
19743
+ }
19744
+
19745
+ /** Properties of a MembershipUpdatedEventData. */
19746
+ interface IMembershipUpdatedEventData {
19747
+
19748
+ /** MembershipUpdatedEventData membership */
19749
+ membership?: (google.chat.v1.IMembership|null);
19750
+ }
19751
+
19752
+ /** Represents a MembershipUpdatedEventData. */
19753
+ class MembershipUpdatedEventData implements IMembershipUpdatedEventData {
19754
+
19755
+ /**
19756
+ * Constructs a new MembershipUpdatedEventData.
19757
+ * @param [properties] Properties to set
19758
+ */
19759
+ constructor(properties?: google.chat.v1.IMembershipUpdatedEventData);
19760
+
19761
+ /** MembershipUpdatedEventData membership. */
19762
+ public membership?: (google.chat.v1.IMembership|null);
19763
+
19764
+ /**
19765
+ * Creates a new MembershipUpdatedEventData instance using the specified properties.
19766
+ * @param [properties] Properties to set
19767
+ * @returns MembershipUpdatedEventData instance
19768
+ */
19769
+ public static create(properties?: google.chat.v1.IMembershipUpdatedEventData): google.chat.v1.MembershipUpdatedEventData;
19770
+
19771
+ /**
19772
+ * Encodes the specified MembershipUpdatedEventData message. Does not implicitly {@link google.chat.v1.MembershipUpdatedEventData.verify|verify} messages.
19773
+ * @param message MembershipUpdatedEventData message or plain object to encode
19774
+ * @param [writer] Writer to encode to
19775
+ * @returns Writer
19776
+ */
19777
+ public static encode(message: google.chat.v1.IMembershipUpdatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
19778
+
19779
+ /**
19780
+ * Encodes the specified MembershipUpdatedEventData message, length delimited. Does not implicitly {@link google.chat.v1.MembershipUpdatedEventData.verify|verify} messages.
19781
+ * @param message MembershipUpdatedEventData message or plain object to encode
19782
+ * @param [writer] Writer to encode to
19783
+ * @returns Writer
19784
+ */
19785
+ public static encodeDelimited(message: google.chat.v1.IMembershipUpdatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
19786
+
19787
+ /**
19788
+ * Decodes a MembershipUpdatedEventData message from the specified reader or buffer.
19789
+ * @param reader Reader or buffer to decode from
19790
+ * @param [length] Message length if known beforehand
19791
+ * @returns MembershipUpdatedEventData
19792
+ * @throws {Error} If the payload is not a reader or valid buffer
19793
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19794
+ */
19795
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MembershipUpdatedEventData;
19796
+
19797
+ /**
19798
+ * Decodes a MembershipUpdatedEventData message from the specified reader or buffer, length delimited.
19799
+ * @param reader Reader or buffer to decode from
19800
+ * @returns MembershipUpdatedEventData
19801
+ * @throws {Error} If the payload is not a reader or valid buffer
19802
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19803
+ */
19804
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MembershipUpdatedEventData;
19805
+
19806
+ /**
19807
+ * Verifies a MembershipUpdatedEventData message.
19808
+ * @param message Plain object to verify
19809
+ * @returns `null` if valid, otherwise the reason why it is not
19810
+ */
19811
+ public static verify(message: { [k: string]: any }): (string|null);
19812
+
19813
+ /**
19814
+ * Creates a MembershipUpdatedEventData message from a plain object. Also converts values to their respective internal types.
19815
+ * @param object Plain object
19816
+ * @returns MembershipUpdatedEventData
19817
+ */
19818
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MembershipUpdatedEventData;
19819
+
19820
+ /**
19821
+ * Creates a plain object from a MembershipUpdatedEventData message. Also converts values to other types if specified.
19822
+ * @param message MembershipUpdatedEventData
19823
+ * @param [options] Conversion options
19824
+ * @returns Plain object
19825
+ */
19826
+ public static toObject(message: google.chat.v1.MembershipUpdatedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
19827
+
19828
+ /**
19829
+ * Converts this MembershipUpdatedEventData to JSON.
19830
+ * @returns JSON object
19831
+ */
19832
+ public toJSON(): { [k: string]: any };
19833
+
19834
+ /**
19835
+ * Gets the default type url for MembershipUpdatedEventData
19836
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
19837
+ * @returns The default type url
19838
+ */
19839
+ public static getTypeUrl(typeUrlPrefix?: string): string;
19840
+ }
19841
+
19842
+ /** Properties of a MembershipBatchCreatedEventData. */
19843
+ interface IMembershipBatchCreatedEventData {
19844
+
19845
+ /** MembershipBatchCreatedEventData memberships */
19846
+ memberships?: (google.chat.v1.IMembershipCreatedEventData[]|null);
19847
+ }
19848
+
19849
+ /** Represents a MembershipBatchCreatedEventData. */
19850
+ class MembershipBatchCreatedEventData implements IMembershipBatchCreatedEventData {
19851
+
19852
+ /**
19853
+ * Constructs a new MembershipBatchCreatedEventData.
19854
+ * @param [properties] Properties to set
19855
+ */
19856
+ constructor(properties?: google.chat.v1.IMembershipBatchCreatedEventData);
19857
+
19858
+ /** MembershipBatchCreatedEventData memberships. */
19859
+ public memberships: google.chat.v1.IMembershipCreatedEventData[];
19860
+
19861
+ /**
19862
+ * Creates a new MembershipBatchCreatedEventData instance using the specified properties.
19863
+ * @param [properties] Properties to set
19864
+ * @returns MembershipBatchCreatedEventData instance
19865
+ */
19866
+ public static create(properties?: google.chat.v1.IMembershipBatchCreatedEventData): google.chat.v1.MembershipBatchCreatedEventData;
19867
+
19868
+ /**
19869
+ * Encodes the specified MembershipBatchCreatedEventData message. Does not implicitly {@link google.chat.v1.MembershipBatchCreatedEventData.verify|verify} messages.
19870
+ * @param message MembershipBatchCreatedEventData message or plain object to encode
19871
+ * @param [writer] Writer to encode to
19872
+ * @returns Writer
19873
+ */
19874
+ public static encode(message: google.chat.v1.IMembershipBatchCreatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
19875
+
19876
+ /**
19877
+ * Encodes the specified MembershipBatchCreatedEventData message, length delimited. Does not implicitly {@link google.chat.v1.MembershipBatchCreatedEventData.verify|verify} messages.
19878
+ * @param message MembershipBatchCreatedEventData message or plain object to encode
19879
+ * @param [writer] Writer to encode to
19880
+ * @returns Writer
19881
+ */
19882
+ public static encodeDelimited(message: google.chat.v1.IMembershipBatchCreatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
19883
+
19884
+ /**
19885
+ * Decodes a MembershipBatchCreatedEventData message from the specified reader or buffer.
19886
+ * @param reader Reader or buffer to decode from
19887
+ * @param [length] Message length if known beforehand
19888
+ * @returns MembershipBatchCreatedEventData
19889
+ * @throws {Error} If the payload is not a reader or valid buffer
19890
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19891
+ */
19892
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MembershipBatchCreatedEventData;
19893
+
19894
+ /**
19895
+ * Decodes a MembershipBatchCreatedEventData message from the specified reader or buffer, length delimited.
19896
+ * @param reader Reader or buffer to decode from
19897
+ * @returns MembershipBatchCreatedEventData
19898
+ * @throws {Error} If the payload is not a reader or valid buffer
19899
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19900
+ */
19901
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MembershipBatchCreatedEventData;
19902
+
19903
+ /**
19904
+ * Verifies a MembershipBatchCreatedEventData message.
19905
+ * @param message Plain object to verify
19906
+ * @returns `null` if valid, otherwise the reason why it is not
19907
+ */
19908
+ public static verify(message: { [k: string]: any }): (string|null);
19909
+
19910
+ /**
19911
+ * Creates a MembershipBatchCreatedEventData message from a plain object. Also converts values to their respective internal types.
19912
+ * @param object Plain object
19913
+ * @returns MembershipBatchCreatedEventData
19914
+ */
19915
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MembershipBatchCreatedEventData;
19916
+
19917
+ /**
19918
+ * Creates a plain object from a MembershipBatchCreatedEventData message. Also converts values to other types if specified.
19919
+ * @param message MembershipBatchCreatedEventData
19920
+ * @param [options] Conversion options
19921
+ * @returns Plain object
19922
+ */
19923
+ public static toObject(message: google.chat.v1.MembershipBatchCreatedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
19924
+
19925
+ /**
19926
+ * Converts this MembershipBatchCreatedEventData to JSON.
19927
+ * @returns JSON object
19928
+ */
19929
+ public toJSON(): { [k: string]: any };
19930
+
19931
+ /**
19932
+ * Gets the default type url for MembershipBatchCreatedEventData
19933
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
19934
+ * @returns The default type url
19935
+ */
19936
+ public static getTypeUrl(typeUrlPrefix?: string): string;
19937
+ }
19938
+
19939
+ /** Properties of a MembershipBatchUpdatedEventData. */
19940
+ interface IMembershipBatchUpdatedEventData {
19941
+
19942
+ /** MembershipBatchUpdatedEventData memberships */
19943
+ memberships?: (google.chat.v1.IMembershipUpdatedEventData[]|null);
19944
+ }
19945
+
19946
+ /** Represents a MembershipBatchUpdatedEventData. */
19947
+ class MembershipBatchUpdatedEventData implements IMembershipBatchUpdatedEventData {
19948
+
19949
+ /**
19950
+ * Constructs a new MembershipBatchUpdatedEventData.
19951
+ * @param [properties] Properties to set
19952
+ */
19953
+ constructor(properties?: google.chat.v1.IMembershipBatchUpdatedEventData);
19954
+
19955
+ /** MembershipBatchUpdatedEventData memberships. */
19956
+ public memberships: google.chat.v1.IMembershipUpdatedEventData[];
19957
+
19958
+ /**
19959
+ * Creates a new MembershipBatchUpdatedEventData instance using the specified properties.
19960
+ * @param [properties] Properties to set
19961
+ * @returns MembershipBatchUpdatedEventData instance
19962
+ */
19963
+ public static create(properties?: google.chat.v1.IMembershipBatchUpdatedEventData): google.chat.v1.MembershipBatchUpdatedEventData;
19964
+
19965
+ /**
19966
+ * Encodes the specified MembershipBatchUpdatedEventData message. Does not implicitly {@link google.chat.v1.MembershipBatchUpdatedEventData.verify|verify} messages.
19967
+ * @param message MembershipBatchUpdatedEventData message or plain object to encode
19968
+ * @param [writer] Writer to encode to
19969
+ * @returns Writer
19970
+ */
19971
+ public static encode(message: google.chat.v1.IMembershipBatchUpdatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
19972
+
19973
+ /**
19974
+ * Encodes the specified MembershipBatchUpdatedEventData message, length delimited. Does not implicitly {@link google.chat.v1.MembershipBatchUpdatedEventData.verify|verify} messages.
19975
+ * @param message MembershipBatchUpdatedEventData message or plain object to encode
19976
+ * @param [writer] Writer to encode to
19977
+ * @returns Writer
19978
+ */
19979
+ public static encodeDelimited(message: google.chat.v1.IMembershipBatchUpdatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
19980
+
19981
+ /**
19982
+ * Decodes a MembershipBatchUpdatedEventData message from the specified reader or buffer.
19983
+ * @param reader Reader or buffer to decode from
19984
+ * @param [length] Message length if known beforehand
19985
+ * @returns MembershipBatchUpdatedEventData
19986
+ * @throws {Error} If the payload is not a reader or valid buffer
19987
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19988
+ */
19989
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MembershipBatchUpdatedEventData;
19990
+
19991
+ /**
19992
+ * Decodes a MembershipBatchUpdatedEventData message from the specified reader or buffer, length delimited.
19993
+ * @param reader Reader or buffer to decode from
19994
+ * @returns MembershipBatchUpdatedEventData
19995
+ * @throws {Error} If the payload is not a reader or valid buffer
19996
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19997
+ */
19998
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MembershipBatchUpdatedEventData;
19999
+
20000
+ /**
20001
+ * Verifies a MembershipBatchUpdatedEventData message.
20002
+ * @param message Plain object to verify
20003
+ * @returns `null` if valid, otherwise the reason why it is not
20004
+ */
20005
+ public static verify(message: { [k: string]: any }): (string|null);
20006
+
20007
+ /**
20008
+ * Creates a MembershipBatchUpdatedEventData message from a plain object. Also converts values to their respective internal types.
20009
+ * @param object Plain object
20010
+ * @returns MembershipBatchUpdatedEventData
20011
+ */
20012
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MembershipBatchUpdatedEventData;
20013
+
20014
+ /**
20015
+ * Creates a plain object from a MembershipBatchUpdatedEventData message. Also converts values to other types if specified.
20016
+ * @param message MembershipBatchUpdatedEventData
20017
+ * @param [options] Conversion options
20018
+ * @returns Plain object
20019
+ */
20020
+ public static toObject(message: google.chat.v1.MembershipBatchUpdatedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
20021
+
20022
+ /**
20023
+ * Converts this MembershipBatchUpdatedEventData to JSON.
20024
+ * @returns JSON object
20025
+ */
20026
+ public toJSON(): { [k: string]: any };
20027
+
20028
+ /**
20029
+ * Gets the default type url for MembershipBatchUpdatedEventData
20030
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20031
+ * @returns The default type url
20032
+ */
20033
+ public static getTypeUrl(typeUrlPrefix?: string): string;
20034
+ }
20035
+
20036
+ /** Properties of a MembershipBatchDeletedEventData. */
20037
+ interface IMembershipBatchDeletedEventData {
20038
+
20039
+ /** MembershipBatchDeletedEventData memberships */
20040
+ memberships?: (google.chat.v1.IMembershipDeletedEventData[]|null);
20041
+ }
20042
+
20043
+ /** Represents a MembershipBatchDeletedEventData. */
20044
+ class MembershipBatchDeletedEventData implements IMembershipBatchDeletedEventData {
20045
+
20046
+ /**
20047
+ * Constructs a new MembershipBatchDeletedEventData.
20048
+ * @param [properties] Properties to set
20049
+ */
20050
+ constructor(properties?: google.chat.v1.IMembershipBatchDeletedEventData);
20051
+
20052
+ /** MembershipBatchDeletedEventData memberships. */
20053
+ public memberships: google.chat.v1.IMembershipDeletedEventData[];
20054
+
20055
+ /**
20056
+ * Creates a new MembershipBatchDeletedEventData instance using the specified properties.
20057
+ * @param [properties] Properties to set
20058
+ * @returns MembershipBatchDeletedEventData instance
20059
+ */
20060
+ public static create(properties?: google.chat.v1.IMembershipBatchDeletedEventData): google.chat.v1.MembershipBatchDeletedEventData;
20061
+
20062
+ /**
20063
+ * Encodes the specified MembershipBatchDeletedEventData message. Does not implicitly {@link google.chat.v1.MembershipBatchDeletedEventData.verify|verify} messages.
20064
+ * @param message MembershipBatchDeletedEventData message or plain object to encode
20065
+ * @param [writer] Writer to encode to
20066
+ * @returns Writer
20067
+ */
20068
+ public static encode(message: google.chat.v1.IMembershipBatchDeletedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20069
+
20070
+ /**
20071
+ * Encodes the specified MembershipBatchDeletedEventData message, length delimited. Does not implicitly {@link google.chat.v1.MembershipBatchDeletedEventData.verify|verify} messages.
20072
+ * @param message MembershipBatchDeletedEventData message or plain object to encode
20073
+ * @param [writer] Writer to encode to
20074
+ * @returns Writer
20075
+ */
20076
+ public static encodeDelimited(message: google.chat.v1.IMembershipBatchDeletedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20077
+
20078
+ /**
20079
+ * Decodes a MembershipBatchDeletedEventData message from the specified reader or buffer.
20080
+ * @param reader Reader or buffer to decode from
20081
+ * @param [length] Message length if known beforehand
20082
+ * @returns MembershipBatchDeletedEventData
20083
+ * @throws {Error} If the payload is not a reader or valid buffer
20084
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20085
+ */
20086
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MembershipBatchDeletedEventData;
20087
+
20088
+ /**
20089
+ * Decodes a MembershipBatchDeletedEventData message from the specified reader or buffer, length delimited.
20090
+ * @param reader Reader or buffer to decode from
20091
+ * @returns MembershipBatchDeletedEventData
20092
+ * @throws {Error} If the payload is not a reader or valid buffer
20093
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20094
+ */
20095
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MembershipBatchDeletedEventData;
20096
+
20097
+ /**
20098
+ * Verifies a MembershipBatchDeletedEventData message.
20099
+ * @param message Plain object to verify
20100
+ * @returns `null` if valid, otherwise the reason why it is not
20101
+ */
20102
+ public static verify(message: { [k: string]: any }): (string|null);
20103
+
20104
+ /**
20105
+ * Creates a MembershipBatchDeletedEventData message from a plain object. Also converts values to their respective internal types.
20106
+ * @param object Plain object
20107
+ * @returns MembershipBatchDeletedEventData
20108
+ */
20109
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MembershipBatchDeletedEventData;
20110
+
20111
+ /**
20112
+ * Creates a plain object from a MembershipBatchDeletedEventData message. Also converts values to other types if specified.
20113
+ * @param message MembershipBatchDeletedEventData
20114
+ * @param [options] Conversion options
20115
+ * @returns Plain object
20116
+ */
20117
+ public static toObject(message: google.chat.v1.MembershipBatchDeletedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
20118
+
20119
+ /**
20120
+ * Converts this MembershipBatchDeletedEventData to JSON.
20121
+ * @returns JSON object
20122
+ */
20123
+ public toJSON(): { [k: string]: any };
20124
+
20125
+ /**
20126
+ * Gets the default type url for MembershipBatchDeletedEventData
20127
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20128
+ * @returns The default type url
20129
+ */
20130
+ public static getTypeUrl(typeUrlPrefix?: string): string;
20131
+ }
20132
+
20133
+ /** Properties of a MessageCreatedEventData. */
20134
+ interface IMessageCreatedEventData {
20135
+
20136
+ /** MessageCreatedEventData message */
20137
+ message?: (google.chat.v1.IMessage|null);
20138
+ }
20139
+
20140
+ /** Represents a MessageCreatedEventData. */
20141
+ class MessageCreatedEventData implements IMessageCreatedEventData {
20142
+
20143
+ /**
20144
+ * Constructs a new MessageCreatedEventData.
20145
+ * @param [properties] Properties to set
20146
+ */
20147
+ constructor(properties?: google.chat.v1.IMessageCreatedEventData);
20148
+
20149
+ /** MessageCreatedEventData message. */
20150
+ public message?: (google.chat.v1.IMessage|null);
20151
+
20152
+ /**
20153
+ * Creates a new MessageCreatedEventData instance using the specified properties.
20154
+ * @param [properties] Properties to set
20155
+ * @returns MessageCreatedEventData instance
20156
+ */
20157
+ public static create(properties?: google.chat.v1.IMessageCreatedEventData): google.chat.v1.MessageCreatedEventData;
20158
+
20159
+ /**
20160
+ * Encodes the specified MessageCreatedEventData message. Does not implicitly {@link google.chat.v1.MessageCreatedEventData.verify|verify} messages.
20161
+ * @param message MessageCreatedEventData message or plain object to encode
20162
+ * @param [writer] Writer to encode to
20163
+ * @returns Writer
20164
+ */
20165
+ public static encode(message: google.chat.v1.IMessageCreatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20166
+
20167
+ /**
20168
+ * Encodes the specified MessageCreatedEventData message, length delimited. Does not implicitly {@link google.chat.v1.MessageCreatedEventData.verify|verify} messages.
20169
+ * @param message MessageCreatedEventData message or plain object to encode
20170
+ * @param [writer] Writer to encode to
20171
+ * @returns Writer
20172
+ */
20173
+ public static encodeDelimited(message: google.chat.v1.IMessageCreatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20174
+
20175
+ /**
20176
+ * Decodes a MessageCreatedEventData message from the specified reader or buffer.
20177
+ * @param reader Reader or buffer to decode from
20178
+ * @param [length] Message length if known beforehand
20179
+ * @returns MessageCreatedEventData
20180
+ * @throws {Error} If the payload is not a reader or valid buffer
20181
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20182
+ */
20183
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MessageCreatedEventData;
20184
+
20185
+ /**
20186
+ * Decodes a MessageCreatedEventData message from the specified reader or buffer, length delimited.
20187
+ * @param reader Reader or buffer to decode from
20188
+ * @returns MessageCreatedEventData
20189
+ * @throws {Error} If the payload is not a reader or valid buffer
20190
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20191
+ */
20192
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MessageCreatedEventData;
20193
+
20194
+ /**
20195
+ * Verifies a MessageCreatedEventData message.
20196
+ * @param message Plain object to verify
20197
+ * @returns `null` if valid, otherwise the reason why it is not
20198
+ */
20199
+ public static verify(message: { [k: string]: any }): (string|null);
20200
+
20201
+ /**
20202
+ * Creates a MessageCreatedEventData message from a plain object. Also converts values to their respective internal types.
20203
+ * @param object Plain object
20204
+ * @returns MessageCreatedEventData
20205
+ */
20206
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MessageCreatedEventData;
20207
+
20208
+ /**
20209
+ * Creates a plain object from a MessageCreatedEventData message. Also converts values to other types if specified.
20210
+ * @param message MessageCreatedEventData
20211
+ * @param [options] Conversion options
20212
+ * @returns Plain object
20213
+ */
20214
+ public static toObject(message: google.chat.v1.MessageCreatedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
20215
+
20216
+ /**
20217
+ * Converts this MessageCreatedEventData to JSON.
20218
+ * @returns JSON object
20219
+ */
20220
+ public toJSON(): { [k: string]: any };
20221
+
20222
+ /**
20223
+ * Gets the default type url for MessageCreatedEventData
20224
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20225
+ * @returns The default type url
20226
+ */
20227
+ public static getTypeUrl(typeUrlPrefix?: string): string;
20228
+ }
20229
+
20230
+ /** Properties of a MessageUpdatedEventData. */
20231
+ interface IMessageUpdatedEventData {
20232
+
20233
+ /** MessageUpdatedEventData message */
20234
+ message?: (google.chat.v1.IMessage|null);
20235
+ }
20236
+
20237
+ /** Represents a MessageUpdatedEventData. */
20238
+ class MessageUpdatedEventData implements IMessageUpdatedEventData {
20239
+
20240
+ /**
20241
+ * Constructs a new MessageUpdatedEventData.
20242
+ * @param [properties] Properties to set
20243
+ */
20244
+ constructor(properties?: google.chat.v1.IMessageUpdatedEventData);
20245
+
20246
+ /** MessageUpdatedEventData message. */
20247
+ public message?: (google.chat.v1.IMessage|null);
20248
+
20249
+ /**
20250
+ * Creates a new MessageUpdatedEventData instance using the specified properties.
20251
+ * @param [properties] Properties to set
20252
+ * @returns MessageUpdatedEventData instance
20253
+ */
20254
+ public static create(properties?: google.chat.v1.IMessageUpdatedEventData): google.chat.v1.MessageUpdatedEventData;
20255
+
20256
+ /**
20257
+ * Encodes the specified MessageUpdatedEventData message. Does not implicitly {@link google.chat.v1.MessageUpdatedEventData.verify|verify} messages.
20258
+ * @param message MessageUpdatedEventData message or plain object to encode
20259
+ * @param [writer] Writer to encode to
20260
+ * @returns Writer
20261
+ */
20262
+ public static encode(message: google.chat.v1.IMessageUpdatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20263
+
20264
+ /**
20265
+ * Encodes the specified MessageUpdatedEventData message, length delimited. Does not implicitly {@link google.chat.v1.MessageUpdatedEventData.verify|verify} messages.
20266
+ * @param message MessageUpdatedEventData message or plain object to encode
20267
+ * @param [writer] Writer to encode to
20268
+ * @returns Writer
20269
+ */
20270
+ public static encodeDelimited(message: google.chat.v1.IMessageUpdatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20271
+
20272
+ /**
20273
+ * Decodes a MessageUpdatedEventData message from the specified reader or buffer.
20274
+ * @param reader Reader or buffer to decode from
20275
+ * @param [length] Message length if known beforehand
20276
+ * @returns MessageUpdatedEventData
20277
+ * @throws {Error} If the payload is not a reader or valid buffer
20278
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20279
+ */
20280
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MessageUpdatedEventData;
20281
+
20282
+ /**
20283
+ * Decodes a MessageUpdatedEventData message from the specified reader or buffer, length delimited.
20284
+ * @param reader Reader or buffer to decode from
20285
+ * @returns MessageUpdatedEventData
20286
+ * @throws {Error} If the payload is not a reader or valid buffer
20287
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20288
+ */
20289
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MessageUpdatedEventData;
20290
+
20291
+ /**
20292
+ * Verifies a MessageUpdatedEventData message.
20293
+ * @param message Plain object to verify
20294
+ * @returns `null` if valid, otherwise the reason why it is not
20295
+ */
20296
+ public static verify(message: { [k: string]: any }): (string|null);
20297
+
20298
+ /**
20299
+ * Creates a MessageUpdatedEventData message from a plain object. Also converts values to their respective internal types.
20300
+ * @param object Plain object
20301
+ * @returns MessageUpdatedEventData
20302
+ */
20303
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MessageUpdatedEventData;
20304
+
20305
+ /**
20306
+ * Creates a plain object from a MessageUpdatedEventData message. Also converts values to other types if specified.
20307
+ * @param message MessageUpdatedEventData
20308
+ * @param [options] Conversion options
20309
+ * @returns Plain object
20310
+ */
20311
+ public static toObject(message: google.chat.v1.MessageUpdatedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
20312
+
20313
+ /**
20314
+ * Converts this MessageUpdatedEventData to JSON.
20315
+ * @returns JSON object
20316
+ */
20317
+ public toJSON(): { [k: string]: any };
20318
+
20319
+ /**
20320
+ * Gets the default type url for MessageUpdatedEventData
20321
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20322
+ * @returns The default type url
20323
+ */
20324
+ public static getTypeUrl(typeUrlPrefix?: string): string;
20325
+ }
20326
+
20327
+ /** Properties of a MessageDeletedEventData. */
20328
+ interface IMessageDeletedEventData {
20329
+
20330
+ /** MessageDeletedEventData message */
20331
+ message?: (google.chat.v1.IMessage|null);
20332
+ }
20333
+
20334
+ /** Represents a MessageDeletedEventData. */
20335
+ class MessageDeletedEventData implements IMessageDeletedEventData {
20336
+
20337
+ /**
20338
+ * Constructs a new MessageDeletedEventData.
20339
+ * @param [properties] Properties to set
20340
+ */
20341
+ constructor(properties?: google.chat.v1.IMessageDeletedEventData);
20342
+
20343
+ /** MessageDeletedEventData message. */
20344
+ public message?: (google.chat.v1.IMessage|null);
20345
+
20346
+ /**
20347
+ * Creates a new MessageDeletedEventData instance using the specified properties.
20348
+ * @param [properties] Properties to set
20349
+ * @returns MessageDeletedEventData instance
20350
+ */
20351
+ public static create(properties?: google.chat.v1.IMessageDeletedEventData): google.chat.v1.MessageDeletedEventData;
20352
+
20353
+ /**
20354
+ * Encodes the specified MessageDeletedEventData message. Does not implicitly {@link google.chat.v1.MessageDeletedEventData.verify|verify} messages.
20355
+ * @param message MessageDeletedEventData message or plain object to encode
20356
+ * @param [writer] Writer to encode to
20357
+ * @returns Writer
20358
+ */
20359
+ public static encode(message: google.chat.v1.IMessageDeletedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20360
+
20361
+ /**
20362
+ * Encodes the specified MessageDeletedEventData message, length delimited. Does not implicitly {@link google.chat.v1.MessageDeletedEventData.verify|verify} messages.
20363
+ * @param message MessageDeletedEventData message or plain object to encode
20364
+ * @param [writer] Writer to encode to
20365
+ * @returns Writer
20366
+ */
20367
+ public static encodeDelimited(message: google.chat.v1.IMessageDeletedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20368
+
20369
+ /**
20370
+ * Decodes a MessageDeletedEventData message from the specified reader or buffer.
20371
+ * @param reader Reader or buffer to decode from
20372
+ * @param [length] Message length if known beforehand
20373
+ * @returns MessageDeletedEventData
20374
+ * @throws {Error} If the payload is not a reader or valid buffer
20375
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20376
+ */
20377
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MessageDeletedEventData;
20378
+
20379
+ /**
20380
+ * Decodes a MessageDeletedEventData message from the specified reader or buffer, length delimited.
20381
+ * @param reader Reader or buffer to decode from
20382
+ * @returns MessageDeletedEventData
20383
+ * @throws {Error} If the payload is not a reader or valid buffer
20384
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20385
+ */
20386
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MessageDeletedEventData;
20387
+
20388
+ /**
20389
+ * Verifies a MessageDeletedEventData message.
20390
+ * @param message Plain object to verify
20391
+ * @returns `null` if valid, otherwise the reason why it is not
20392
+ */
20393
+ public static verify(message: { [k: string]: any }): (string|null);
20394
+
20395
+ /**
20396
+ * Creates a MessageDeletedEventData message from a plain object. Also converts values to their respective internal types.
20397
+ * @param object Plain object
20398
+ * @returns MessageDeletedEventData
20399
+ */
20400
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MessageDeletedEventData;
20401
+
20402
+ /**
20403
+ * Creates a plain object from a MessageDeletedEventData message. Also converts values to other types if specified.
20404
+ * @param message MessageDeletedEventData
20405
+ * @param [options] Conversion options
20406
+ * @returns Plain object
20407
+ */
20408
+ public static toObject(message: google.chat.v1.MessageDeletedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
20409
+
20410
+ /**
20411
+ * Converts this MessageDeletedEventData to JSON.
20412
+ * @returns JSON object
20413
+ */
20414
+ public toJSON(): { [k: string]: any };
20415
+
20416
+ /**
20417
+ * Gets the default type url for MessageDeletedEventData
20418
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20419
+ * @returns The default type url
20420
+ */
20421
+ public static getTypeUrl(typeUrlPrefix?: string): string;
20422
+ }
20423
+
20424
+ /** Properties of a MessageBatchCreatedEventData. */
20425
+ interface IMessageBatchCreatedEventData {
20426
+
20427
+ /** MessageBatchCreatedEventData messages */
20428
+ messages?: (google.chat.v1.IMessageCreatedEventData[]|null);
20429
+ }
20430
+
20431
+ /** Represents a MessageBatchCreatedEventData. */
20432
+ class MessageBatchCreatedEventData implements IMessageBatchCreatedEventData {
20433
+
20434
+ /**
20435
+ * Constructs a new MessageBatchCreatedEventData.
20436
+ * @param [properties] Properties to set
20437
+ */
20438
+ constructor(properties?: google.chat.v1.IMessageBatchCreatedEventData);
20439
+
20440
+ /** MessageBatchCreatedEventData messages. */
20441
+ public messages: google.chat.v1.IMessageCreatedEventData[];
20442
+
20443
+ /**
20444
+ * Creates a new MessageBatchCreatedEventData instance using the specified properties.
20445
+ * @param [properties] Properties to set
20446
+ * @returns MessageBatchCreatedEventData instance
20447
+ */
20448
+ public static create(properties?: google.chat.v1.IMessageBatchCreatedEventData): google.chat.v1.MessageBatchCreatedEventData;
20449
+
20450
+ /**
20451
+ * Encodes the specified MessageBatchCreatedEventData message. Does not implicitly {@link google.chat.v1.MessageBatchCreatedEventData.verify|verify} messages.
20452
+ * @param message MessageBatchCreatedEventData message or plain object to encode
20453
+ * @param [writer] Writer to encode to
20454
+ * @returns Writer
20455
+ */
20456
+ public static encode(message: google.chat.v1.IMessageBatchCreatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20457
+
20458
+ /**
20459
+ * Encodes the specified MessageBatchCreatedEventData message, length delimited. Does not implicitly {@link google.chat.v1.MessageBatchCreatedEventData.verify|verify} messages.
20460
+ * @param message MessageBatchCreatedEventData message or plain object to encode
20461
+ * @param [writer] Writer to encode to
20462
+ * @returns Writer
20463
+ */
20464
+ public static encodeDelimited(message: google.chat.v1.IMessageBatchCreatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20465
+
20466
+ /**
20467
+ * Decodes a MessageBatchCreatedEventData message from the specified reader or buffer.
20468
+ * @param reader Reader or buffer to decode from
20469
+ * @param [length] Message length if known beforehand
20470
+ * @returns MessageBatchCreatedEventData
20471
+ * @throws {Error} If the payload is not a reader or valid buffer
20472
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20473
+ */
20474
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MessageBatchCreatedEventData;
20475
+
20476
+ /**
20477
+ * Decodes a MessageBatchCreatedEventData message from the specified reader or buffer, length delimited.
20478
+ * @param reader Reader or buffer to decode from
20479
+ * @returns MessageBatchCreatedEventData
20480
+ * @throws {Error} If the payload is not a reader or valid buffer
20481
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20482
+ */
20483
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MessageBatchCreatedEventData;
20484
+
20485
+ /**
20486
+ * Verifies a MessageBatchCreatedEventData message.
20487
+ * @param message Plain object to verify
20488
+ * @returns `null` if valid, otherwise the reason why it is not
20489
+ */
20490
+ public static verify(message: { [k: string]: any }): (string|null);
20491
+
20492
+ /**
20493
+ * Creates a MessageBatchCreatedEventData message from a plain object. Also converts values to their respective internal types.
20494
+ * @param object Plain object
20495
+ * @returns MessageBatchCreatedEventData
20496
+ */
20497
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MessageBatchCreatedEventData;
20498
+
20499
+ /**
20500
+ * Creates a plain object from a MessageBatchCreatedEventData message. Also converts values to other types if specified.
20501
+ * @param message MessageBatchCreatedEventData
20502
+ * @param [options] Conversion options
20503
+ * @returns Plain object
20504
+ */
20505
+ public static toObject(message: google.chat.v1.MessageBatchCreatedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
20506
+
20507
+ /**
20508
+ * Converts this MessageBatchCreatedEventData to JSON.
20509
+ * @returns JSON object
20510
+ */
20511
+ public toJSON(): { [k: string]: any };
20512
+
20513
+ /**
20514
+ * Gets the default type url for MessageBatchCreatedEventData
20515
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20516
+ * @returns The default type url
20517
+ */
20518
+ public static getTypeUrl(typeUrlPrefix?: string): string;
20519
+ }
20520
+
20521
+ /** Properties of a MessageBatchUpdatedEventData. */
20522
+ interface IMessageBatchUpdatedEventData {
20523
+
20524
+ /** MessageBatchUpdatedEventData messages */
20525
+ messages?: (google.chat.v1.IMessageUpdatedEventData[]|null);
20526
+ }
20527
+
20528
+ /** Represents a MessageBatchUpdatedEventData. */
20529
+ class MessageBatchUpdatedEventData implements IMessageBatchUpdatedEventData {
20530
+
20531
+ /**
20532
+ * Constructs a new MessageBatchUpdatedEventData.
20533
+ * @param [properties] Properties to set
20534
+ */
20535
+ constructor(properties?: google.chat.v1.IMessageBatchUpdatedEventData);
20536
+
20537
+ /** MessageBatchUpdatedEventData messages. */
20538
+ public messages: google.chat.v1.IMessageUpdatedEventData[];
20539
+
20540
+ /**
20541
+ * Creates a new MessageBatchUpdatedEventData instance using the specified properties.
20542
+ * @param [properties] Properties to set
20543
+ * @returns MessageBatchUpdatedEventData instance
20544
+ */
20545
+ public static create(properties?: google.chat.v1.IMessageBatchUpdatedEventData): google.chat.v1.MessageBatchUpdatedEventData;
20546
+
20547
+ /**
20548
+ * Encodes the specified MessageBatchUpdatedEventData message. Does not implicitly {@link google.chat.v1.MessageBatchUpdatedEventData.verify|verify} messages.
20549
+ * @param message MessageBatchUpdatedEventData message or plain object to encode
20550
+ * @param [writer] Writer to encode to
20551
+ * @returns Writer
20552
+ */
20553
+ public static encode(message: google.chat.v1.IMessageBatchUpdatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20554
+
20555
+ /**
20556
+ * Encodes the specified MessageBatchUpdatedEventData message, length delimited. Does not implicitly {@link google.chat.v1.MessageBatchUpdatedEventData.verify|verify} messages.
20557
+ * @param message MessageBatchUpdatedEventData message or plain object to encode
20558
+ * @param [writer] Writer to encode to
20559
+ * @returns Writer
20560
+ */
20561
+ public static encodeDelimited(message: google.chat.v1.IMessageBatchUpdatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20562
+
20563
+ /**
20564
+ * Decodes a MessageBatchUpdatedEventData message from the specified reader or buffer.
20565
+ * @param reader Reader or buffer to decode from
20566
+ * @param [length] Message length if known beforehand
20567
+ * @returns MessageBatchUpdatedEventData
20568
+ * @throws {Error} If the payload is not a reader or valid buffer
20569
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20570
+ */
20571
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MessageBatchUpdatedEventData;
20572
+
20573
+ /**
20574
+ * Decodes a MessageBatchUpdatedEventData message from the specified reader or buffer, length delimited.
20575
+ * @param reader Reader or buffer to decode from
20576
+ * @returns MessageBatchUpdatedEventData
20577
+ * @throws {Error} If the payload is not a reader or valid buffer
20578
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20579
+ */
20580
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MessageBatchUpdatedEventData;
20581
+
20582
+ /**
20583
+ * Verifies a MessageBatchUpdatedEventData message.
20584
+ * @param message Plain object to verify
20585
+ * @returns `null` if valid, otherwise the reason why it is not
20586
+ */
20587
+ public static verify(message: { [k: string]: any }): (string|null);
20588
+
20589
+ /**
20590
+ * Creates a MessageBatchUpdatedEventData message from a plain object. Also converts values to their respective internal types.
20591
+ * @param object Plain object
20592
+ * @returns MessageBatchUpdatedEventData
20593
+ */
20594
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MessageBatchUpdatedEventData;
20595
+
20596
+ /**
20597
+ * Creates a plain object from a MessageBatchUpdatedEventData message. Also converts values to other types if specified.
20598
+ * @param message MessageBatchUpdatedEventData
20599
+ * @param [options] Conversion options
20600
+ * @returns Plain object
20601
+ */
20602
+ public static toObject(message: google.chat.v1.MessageBatchUpdatedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
20603
+
20604
+ /**
20605
+ * Converts this MessageBatchUpdatedEventData to JSON.
20606
+ * @returns JSON object
20607
+ */
20608
+ public toJSON(): { [k: string]: any };
20609
+
20610
+ /**
20611
+ * Gets the default type url for MessageBatchUpdatedEventData
20612
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20613
+ * @returns The default type url
20614
+ */
20615
+ public static getTypeUrl(typeUrlPrefix?: string): string;
20616
+ }
20617
+
20618
+ /** Properties of a MessageBatchDeletedEventData. */
20619
+ interface IMessageBatchDeletedEventData {
20620
+
20621
+ /** MessageBatchDeletedEventData messages */
20622
+ messages?: (google.chat.v1.IMessageDeletedEventData[]|null);
20623
+ }
20624
+
20625
+ /** Represents a MessageBatchDeletedEventData. */
20626
+ class MessageBatchDeletedEventData implements IMessageBatchDeletedEventData {
20627
+
20628
+ /**
20629
+ * Constructs a new MessageBatchDeletedEventData.
20630
+ * @param [properties] Properties to set
20631
+ */
20632
+ constructor(properties?: google.chat.v1.IMessageBatchDeletedEventData);
20633
+
20634
+ /** MessageBatchDeletedEventData messages. */
20635
+ public messages: google.chat.v1.IMessageDeletedEventData[];
20636
+
20637
+ /**
20638
+ * Creates a new MessageBatchDeletedEventData instance using the specified properties.
20639
+ * @param [properties] Properties to set
20640
+ * @returns MessageBatchDeletedEventData instance
20641
+ */
20642
+ public static create(properties?: google.chat.v1.IMessageBatchDeletedEventData): google.chat.v1.MessageBatchDeletedEventData;
20643
+
20644
+ /**
20645
+ * Encodes the specified MessageBatchDeletedEventData message. Does not implicitly {@link google.chat.v1.MessageBatchDeletedEventData.verify|verify} messages.
20646
+ * @param message MessageBatchDeletedEventData message or plain object to encode
20647
+ * @param [writer] Writer to encode to
20648
+ * @returns Writer
20649
+ */
20650
+ public static encode(message: google.chat.v1.IMessageBatchDeletedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20651
+
20652
+ /**
20653
+ * Encodes the specified MessageBatchDeletedEventData message, length delimited. Does not implicitly {@link google.chat.v1.MessageBatchDeletedEventData.verify|verify} messages.
20654
+ * @param message MessageBatchDeletedEventData message or plain object to encode
20655
+ * @param [writer] Writer to encode to
20656
+ * @returns Writer
20657
+ */
20658
+ public static encodeDelimited(message: google.chat.v1.IMessageBatchDeletedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20659
+
20660
+ /**
20661
+ * Decodes a MessageBatchDeletedEventData message from the specified reader or buffer.
20662
+ * @param reader Reader or buffer to decode from
20663
+ * @param [length] Message length if known beforehand
20664
+ * @returns MessageBatchDeletedEventData
20665
+ * @throws {Error} If the payload is not a reader or valid buffer
20666
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20667
+ */
20668
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MessageBatchDeletedEventData;
20669
+
20670
+ /**
20671
+ * Decodes a MessageBatchDeletedEventData message from the specified reader or buffer, length delimited.
20672
+ * @param reader Reader or buffer to decode from
20673
+ * @returns MessageBatchDeletedEventData
20674
+ * @throws {Error} If the payload is not a reader or valid buffer
20675
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20676
+ */
20677
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MessageBatchDeletedEventData;
20678
+
20679
+ /**
20680
+ * Verifies a MessageBatchDeletedEventData message.
20681
+ * @param message Plain object to verify
20682
+ * @returns `null` if valid, otherwise the reason why it is not
20683
+ */
20684
+ public static verify(message: { [k: string]: any }): (string|null);
20685
+
20686
+ /**
20687
+ * Creates a MessageBatchDeletedEventData message from a plain object. Also converts values to their respective internal types.
20688
+ * @param object Plain object
20689
+ * @returns MessageBatchDeletedEventData
20690
+ */
20691
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MessageBatchDeletedEventData;
20692
+
20693
+ /**
20694
+ * Creates a plain object from a MessageBatchDeletedEventData message. Also converts values to other types if specified.
20695
+ * @param message MessageBatchDeletedEventData
20696
+ * @param [options] Conversion options
20697
+ * @returns Plain object
20698
+ */
20699
+ public static toObject(message: google.chat.v1.MessageBatchDeletedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
20700
+
20701
+ /**
20702
+ * Converts this MessageBatchDeletedEventData to JSON.
20703
+ * @returns JSON object
20704
+ */
20705
+ public toJSON(): { [k: string]: any };
20706
+
20707
+ /**
20708
+ * Gets the default type url for MessageBatchDeletedEventData
20709
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20710
+ * @returns The default type url
20711
+ */
20712
+ public static getTypeUrl(typeUrlPrefix?: string): string;
20713
+ }
20714
+
20715
+ /** Properties of a SpaceUpdatedEventData. */
20716
+ interface ISpaceUpdatedEventData {
20717
+
20718
+ /** SpaceUpdatedEventData space */
20719
+ space?: (google.chat.v1.ISpace|null);
20720
+ }
20721
+
20722
+ /** Represents a SpaceUpdatedEventData. */
20723
+ class SpaceUpdatedEventData implements ISpaceUpdatedEventData {
20724
+
20725
+ /**
20726
+ * Constructs a new SpaceUpdatedEventData.
20727
+ * @param [properties] Properties to set
20728
+ */
20729
+ constructor(properties?: google.chat.v1.ISpaceUpdatedEventData);
20730
+
20731
+ /** SpaceUpdatedEventData space. */
20732
+ public space?: (google.chat.v1.ISpace|null);
20733
+
20734
+ /**
20735
+ * Creates a new SpaceUpdatedEventData instance using the specified properties.
20736
+ * @param [properties] Properties to set
20737
+ * @returns SpaceUpdatedEventData instance
20738
+ */
20739
+ public static create(properties?: google.chat.v1.ISpaceUpdatedEventData): google.chat.v1.SpaceUpdatedEventData;
20740
+
20741
+ /**
20742
+ * Encodes the specified SpaceUpdatedEventData message. Does not implicitly {@link google.chat.v1.SpaceUpdatedEventData.verify|verify} messages.
20743
+ * @param message SpaceUpdatedEventData message or plain object to encode
20744
+ * @param [writer] Writer to encode to
20745
+ * @returns Writer
20746
+ */
20747
+ public static encode(message: google.chat.v1.ISpaceUpdatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20748
+
20749
+ /**
20750
+ * Encodes the specified SpaceUpdatedEventData message, length delimited. Does not implicitly {@link google.chat.v1.SpaceUpdatedEventData.verify|verify} messages.
20751
+ * @param message SpaceUpdatedEventData message or plain object to encode
20752
+ * @param [writer] Writer to encode to
20753
+ * @returns Writer
20754
+ */
20755
+ public static encodeDelimited(message: google.chat.v1.ISpaceUpdatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20756
+
20757
+ /**
20758
+ * Decodes a SpaceUpdatedEventData message from the specified reader or buffer.
20759
+ * @param reader Reader or buffer to decode from
20760
+ * @param [length] Message length if known beforehand
20761
+ * @returns SpaceUpdatedEventData
20762
+ * @throws {Error} If the payload is not a reader or valid buffer
20763
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20764
+ */
20765
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.SpaceUpdatedEventData;
20766
+
20767
+ /**
20768
+ * Decodes a SpaceUpdatedEventData message from the specified reader or buffer, length delimited.
20769
+ * @param reader Reader or buffer to decode from
20770
+ * @returns SpaceUpdatedEventData
20771
+ * @throws {Error} If the payload is not a reader or valid buffer
20772
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20773
+ */
20774
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.SpaceUpdatedEventData;
20775
+
20776
+ /**
20777
+ * Verifies a SpaceUpdatedEventData message.
20778
+ * @param message Plain object to verify
20779
+ * @returns `null` if valid, otherwise the reason why it is not
20780
+ */
20781
+ public static verify(message: { [k: string]: any }): (string|null);
20782
+
20783
+ /**
20784
+ * Creates a SpaceUpdatedEventData message from a plain object. Also converts values to their respective internal types.
20785
+ * @param object Plain object
20786
+ * @returns SpaceUpdatedEventData
20787
+ */
20788
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.SpaceUpdatedEventData;
20789
+
20790
+ /**
20791
+ * Creates a plain object from a SpaceUpdatedEventData message. Also converts values to other types if specified.
20792
+ * @param message SpaceUpdatedEventData
20793
+ * @param [options] Conversion options
20794
+ * @returns Plain object
20795
+ */
20796
+ public static toObject(message: google.chat.v1.SpaceUpdatedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
20797
+
20798
+ /**
20799
+ * Converts this SpaceUpdatedEventData to JSON.
20800
+ * @returns JSON object
20801
+ */
20802
+ public toJSON(): { [k: string]: any };
20803
+
20804
+ /**
20805
+ * Gets the default type url for SpaceUpdatedEventData
20806
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20807
+ * @returns The default type url
20808
+ */
20809
+ public static getTypeUrl(typeUrlPrefix?: string): string;
20810
+ }
20811
+
20812
+ /** Properties of a SpaceBatchUpdatedEventData. */
20813
+ interface ISpaceBatchUpdatedEventData {
20814
+
20815
+ /** SpaceBatchUpdatedEventData spaces */
20816
+ spaces?: (google.chat.v1.ISpaceUpdatedEventData[]|null);
20817
+ }
20818
+
20819
+ /** Represents a SpaceBatchUpdatedEventData. */
20820
+ class SpaceBatchUpdatedEventData implements ISpaceBatchUpdatedEventData {
20821
+
20822
+ /**
20823
+ * Constructs a new SpaceBatchUpdatedEventData.
20824
+ * @param [properties] Properties to set
20825
+ */
20826
+ constructor(properties?: google.chat.v1.ISpaceBatchUpdatedEventData);
20827
+
20828
+ /** SpaceBatchUpdatedEventData spaces. */
20829
+ public spaces: google.chat.v1.ISpaceUpdatedEventData[];
20830
+
20831
+ /**
20832
+ * Creates a new SpaceBatchUpdatedEventData instance using the specified properties.
20833
+ * @param [properties] Properties to set
20834
+ * @returns SpaceBatchUpdatedEventData instance
20835
+ */
20836
+ public static create(properties?: google.chat.v1.ISpaceBatchUpdatedEventData): google.chat.v1.SpaceBatchUpdatedEventData;
20837
+
20838
+ /**
20839
+ * Encodes the specified SpaceBatchUpdatedEventData message. Does not implicitly {@link google.chat.v1.SpaceBatchUpdatedEventData.verify|verify} messages.
20840
+ * @param message SpaceBatchUpdatedEventData message or plain object to encode
20841
+ * @param [writer] Writer to encode to
20842
+ * @returns Writer
20843
+ */
20844
+ public static encode(message: google.chat.v1.ISpaceBatchUpdatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20845
+
20846
+ /**
20847
+ * Encodes the specified SpaceBatchUpdatedEventData message, length delimited. Does not implicitly {@link google.chat.v1.SpaceBatchUpdatedEventData.verify|verify} messages.
20848
+ * @param message SpaceBatchUpdatedEventData message or plain object to encode
20849
+ * @param [writer] Writer to encode to
20850
+ * @returns Writer
20851
+ */
20852
+ public static encodeDelimited(message: google.chat.v1.ISpaceBatchUpdatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20853
+
20854
+ /**
20855
+ * Decodes a SpaceBatchUpdatedEventData message from the specified reader or buffer.
20856
+ * @param reader Reader or buffer to decode from
20857
+ * @param [length] Message length if known beforehand
20858
+ * @returns SpaceBatchUpdatedEventData
20859
+ * @throws {Error} If the payload is not a reader or valid buffer
20860
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20861
+ */
20862
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.SpaceBatchUpdatedEventData;
20863
+
20864
+ /**
20865
+ * Decodes a SpaceBatchUpdatedEventData message from the specified reader or buffer, length delimited.
20866
+ * @param reader Reader or buffer to decode from
20867
+ * @returns SpaceBatchUpdatedEventData
20868
+ * @throws {Error} If the payload is not a reader or valid buffer
20869
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20870
+ */
20871
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.SpaceBatchUpdatedEventData;
20872
+
20873
+ /**
20874
+ * Verifies a SpaceBatchUpdatedEventData message.
20875
+ * @param message Plain object to verify
20876
+ * @returns `null` if valid, otherwise the reason why it is not
20877
+ */
20878
+ public static verify(message: { [k: string]: any }): (string|null);
20879
+
20880
+ /**
20881
+ * Creates a SpaceBatchUpdatedEventData message from a plain object. Also converts values to their respective internal types.
20882
+ * @param object Plain object
20883
+ * @returns SpaceBatchUpdatedEventData
20884
+ */
20885
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.SpaceBatchUpdatedEventData;
20886
+
20887
+ /**
20888
+ * Creates a plain object from a SpaceBatchUpdatedEventData message. Also converts values to other types if specified.
20889
+ * @param message SpaceBatchUpdatedEventData
20890
+ * @param [options] Conversion options
20891
+ * @returns Plain object
20892
+ */
20893
+ public static toObject(message: google.chat.v1.SpaceBatchUpdatedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
20894
+
20895
+ /**
20896
+ * Converts this SpaceBatchUpdatedEventData to JSON.
20897
+ * @returns JSON object
20898
+ */
20899
+ public toJSON(): { [k: string]: any };
20900
+
20901
+ /**
20902
+ * Gets the default type url for SpaceBatchUpdatedEventData
20903
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20904
+ * @returns The default type url
20905
+ */
20906
+ public static getTypeUrl(typeUrlPrefix?: string): string;
20907
+ }
20908
+
20909
+ /** Properties of a ReactionCreatedEventData. */
20910
+ interface IReactionCreatedEventData {
20911
+
20912
+ /** ReactionCreatedEventData reaction */
20913
+ reaction?: (google.chat.v1.IReaction|null);
20914
+ }
20915
+
20916
+ /** Represents a ReactionCreatedEventData. */
20917
+ class ReactionCreatedEventData implements IReactionCreatedEventData {
20918
+
20919
+ /**
20920
+ * Constructs a new ReactionCreatedEventData.
20921
+ * @param [properties] Properties to set
20922
+ */
20923
+ constructor(properties?: google.chat.v1.IReactionCreatedEventData);
20924
+
20925
+ /** ReactionCreatedEventData reaction. */
20926
+ public reaction?: (google.chat.v1.IReaction|null);
20927
+
20928
+ /**
20929
+ * Creates a new ReactionCreatedEventData instance using the specified properties.
20930
+ * @param [properties] Properties to set
20931
+ * @returns ReactionCreatedEventData instance
20932
+ */
20933
+ public static create(properties?: google.chat.v1.IReactionCreatedEventData): google.chat.v1.ReactionCreatedEventData;
20934
+
20935
+ /**
20936
+ * Encodes the specified ReactionCreatedEventData message. Does not implicitly {@link google.chat.v1.ReactionCreatedEventData.verify|verify} messages.
20937
+ * @param message ReactionCreatedEventData message or plain object to encode
20938
+ * @param [writer] Writer to encode to
20939
+ * @returns Writer
20940
+ */
20941
+ public static encode(message: google.chat.v1.IReactionCreatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20942
+
20943
+ /**
20944
+ * Encodes the specified ReactionCreatedEventData message, length delimited. Does not implicitly {@link google.chat.v1.ReactionCreatedEventData.verify|verify} messages.
20945
+ * @param message ReactionCreatedEventData message or plain object to encode
20946
+ * @param [writer] Writer to encode to
20947
+ * @returns Writer
20948
+ */
20949
+ public static encodeDelimited(message: google.chat.v1.IReactionCreatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
20950
+
20951
+ /**
20952
+ * Decodes a ReactionCreatedEventData message from the specified reader or buffer.
20953
+ * @param reader Reader or buffer to decode from
20954
+ * @param [length] Message length if known beforehand
20955
+ * @returns ReactionCreatedEventData
20956
+ * @throws {Error} If the payload is not a reader or valid buffer
20957
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20958
+ */
20959
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ReactionCreatedEventData;
20960
+
20961
+ /**
20962
+ * Decodes a ReactionCreatedEventData message from the specified reader or buffer, length delimited.
20963
+ * @param reader Reader or buffer to decode from
20964
+ * @returns ReactionCreatedEventData
20965
+ * @throws {Error} If the payload is not a reader or valid buffer
20966
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20967
+ */
20968
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ReactionCreatedEventData;
20969
+
20970
+ /**
20971
+ * Verifies a ReactionCreatedEventData message.
20972
+ * @param message Plain object to verify
20973
+ * @returns `null` if valid, otherwise the reason why it is not
20974
+ */
20975
+ public static verify(message: { [k: string]: any }): (string|null);
20976
+
20977
+ /**
20978
+ * Creates a ReactionCreatedEventData message from a plain object. Also converts values to their respective internal types.
20979
+ * @param object Plain object
20980
+ * @returns ReactionCreatedEventData
20981
+ */
20982
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.ReactionCreatedEventData;
20983
+
20984
+ /**
20985
+ * Creates a plain object from a ReactionCreatedEventData message. Also converts values to other types if specified.
20986
+ * @param message ReactionCreatedEventData
20987
+ * @param [options] Conversion options
20988
+ * @returns Plain object
20989
+ */
20990
+ public static toObject(message: google.chat.v1.ReactionCreatedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
20991
+
20992
+ /**
20993
+ * Converts this ReactionCreatedEventData to JSON.
20994
+ * @returns JSON object
20995
+ */
20996
+ public toJSON(): { [k: string]: any };
20997
+
20998
+ /**
20999
+ * Gets the default type url for ReactionCreatedEventData
21000
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
21001
+ * @returns The default type url
21002
+ */
21003
+ public static getTypeUrl(typeUrlPrefix?: string): string;
21004
+ }
21005
+
21006
+ /** Properties of a ReactionDeletedEventData. */
21007
+ interface IReactionDeletedEventData {
21008
+
21009
+ /** ReactionDeletedEventData reaction */
21010
+ reaction?: (google.chat.v1.IReaction|null);
21011
+ }
21012
+
21013
+ /** Represents a ReactionDeletedEventData. */
21014
+ class ReactionDeletedEventData implements IReactionDeletedEventData {
21015
+
21016
+ /**
21017
+ * Constructs a new ReactionDeletedEventData.
21018
+ * @param [properties] Properties to set
21019
+ */
21020
+ constructor(properties?: google.chat.v1.IReactionDeletedEventData);
21021
+
21022
+ /** ReactionDeletedEventData reaction. */
21023
+ public reaction?: (google.chat.v1.IReaction|null);
21024
+
21025
+ /**
21026
+ * Creates a new ReactionDeletedEventData instance using the specified properties.
21027
+ * @param [properties] Properties to set
21028
+ * @returns ReactionDeletedEventData instance
21029
+ */
21030
+ public static create(properties?: google.chat.v1.IReactionDeletedEventData): google.chat.v1.ReactionDeletedEventData;
21031
+
21032
+ /**
21033
+ * Encodes the specified ReactionDeletedEventData message. Does not implicitly {@link google.chat.v1.ReactionDeletedEventData.verify|verify} messages.
21034
+ * @param message ReactionDeletedEventData message or plain object to encode
21035
+ * @param [writer] Writer to encode to
21036
+ * @returns Writer
21037
+ */
21038
+ public static encode(message: google.chat.v1.IReactionDeletedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
21039
+
21040
+ /**
21041
+ * Encodes the specified ReactionDeletedEventData message, length delimited. Does not implicitly {@link google.chat.v1.ReactionDeletedEventData.verify|verify} messages.
21042
+ * @param message ReactionDeletedEventData message or plain object to encode
21043
+ * @param [writer] Writer to encode to
21044
+ * @returns Writer
21045
+ */
21046
+ public static encodeDelimited(message: google.chat.v1.IReactionDeletedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
21047
+
21048
+ /**
21049
+ * Decodes a ReactionDeletedEventData message from the specified reader or buffer.
21050
+ * @param reader Reader or buffer to decode from
21051
+ * @param [length] Message length if known beforehand
21052
+ * @returns ReactionDeletedEventData
21053
+ * @throws {Error} If the payload is not a reader or valid buffer
21054
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21055
+ */
21056
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ReactionDeletedEventData;
21057
+
21058
+ /**
21059
+ * Decodes a ReactionDeletedEventData message from the specified reader or buffer, length delimited.
21060
+ * @param reader Reader or buffer to decode from
21061
+ * @returns ReactionDeletedEventData
21062
+ * @throws {Error} If the payload is not a reader or valid buffer
21063
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21064
+ */
21065
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ReactionDeletedEventData;
21066
+
21067
+ /**
21068
+ * Verifies a ReactionDeletedEventData message.
21069
+ * @param message Plain object to verify
21070
+ * @returns `null` if valid, otherwise the reason why it is not
21071
+ */
21072
+ public static verify(message: { [k: string]: any }): (string|null);
21073
+
21074
+ /**
21075
+ * Creates a ReactionDeletedEventData message from a plain object. Also converts values to their respective internal types.
21076
+ * @param object Plain object
21077
+ * @returns ReactionDeletedEventData
21078
+ */
21079
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.ReactionDeletedEventData;
21080
+
21081
+ /**
21082
+ * Creates a plain object from a ReactionDeletedEventData message. Also converts values to other types if specified.
21083
+ * @param message ReactionDeletedEventData
21084
+ * @param [options] Conversion options
21085
+ * @returns Plain object
21086
+ */
21087
+ public static toObject(message: google.chat.v1.ReactionDeletedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
21088
+
21089
+ /**
21090
+ * Converts this ReactionDeletedEventData to JSON.
21091
+ * @returns JSON object
21092
+ */
21093
+ public toJSON(): { [k: string]: any };
21094
+
21095
+ /**
21096
+ * Gets the default type url for ReactionDeletedEventData
21097
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
21098
+ * @returns The default type url
21099
+ */
21100
+ public static getTypeUrl(typeUrlPrefix?: string): string;
21101
+ }
21102
+
21103
+ /** Properties of a ReactionBatchCreatedEventData. */
21104
+ interface IReactionBatchCreatedEventData {
21105
+
21106
+ /** ReactionBatchCreatedEventData reactions */
21107
+ reactions?: (google.chat.v1.IReactionCreatedEventData[]|null);
21108
+ }
21109
+
21110
+ /** Represents a ReactionBatchCreatedEventData. */
21111
+ class ReactionBatchCreatedEventData implements IReactionBatchCreatedEventData {
21112
+
21113
+ /**
21114
+ * Constructs a new ReactionBatchCreatedEventData.
21115
+ * @param [properties] Properties to set
21116
+ */
21117
+ constructor(properties?: google.chat.v1.IReactionBatchCreatedEventData);
21118
+
21119
+ /** ReactionBatchCreatedEventData reactions. */
21120
+ public reactions: google.chat.v1.IReactionCreatedEventData[];
21121
+
21122
+ /**
21123
+ * Creates a new ReactionBatchCreatedEventData instance using the specified properties.
21124
+ * @param [properties] Properties to set
21125
+ * @returns ReactionBatchCreatedEventData instance
21126
+ */
21127
+ public static create(properties?: google.chat.v1.IReactionBatchCreatedEventData): google.chat.v1.ReactionBatchCreatedEventData;
21128
+
21129
+ /**
21130
+ * Encodes the specified ReactionBatchCreatedEventData message. Does not implicitly {@link google.chat.v1.ReactionBatchCreatedEventData.verify|verify} messages.
21131
+ * @param message ReactionBatchCreatedEventData message or plain object to encode
21132
+ * @param [writer] Writer to encode to
21133
+ * @returns Writer
21134
+ */
21135
+ public static encode(message: google.chat.v1.IReactionBatchCreatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
21136
+
21137
+ /**
21138
+ * Encodes the specified ReactionBatchCreatedEventData message, length delimited. Does not implicitly {@link google.chat.v1.ReactionBatchCreatedEventData.verify|verify} messages.
21139
+ * @param message ReactionBatchCreatedEventData message or plain object to encode
21140
+ * @param [writer] Writer to encode to
21141
+ * @returns Writer
21142
+ */
21143
+ public static encodeDelimited(message: google.chat.v1.IReactionBatchCreatedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
21144
+
21145
+ /**
21146
+ * Decodes a ReactionBatchCreatedEventData message from the specified reader or buffer.
21147
+ * @param reader Reader or buffer to decode from
21148
+ * @param [length] Message length if known beforehand
21149
+ * @returns ReactionBatchCreatedEventData
21150
+ * @throws {Error} If the payload is not a reader or valid buffer
21151
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21152
+ */
21153
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ReactionBatchCreatedEventData;
21154
+
21155
+ /**
21156
+ * Decodes a ReactionBatchCreatedEventData message from the specified reader or buffer, length delimited.
21157
+ * @param reader Reader or buffer to decode from
21158
+ * @returns ReactionBatchCreatedEventData
21159
+ * @throws {Error} If the payload is not a reader or valid buffer
21160
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21161
+ */
21162
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ReactionBatchCreatedEventData;
21163
+
21164
+ /**
21165
+ * Verifies a ReactionBatchCreatedEventData message.
21166
+ * @param message Plain object to verify
21167
+ * @returns `null` if valid, otherwise the reason why it is not
21168
+ */
21169
+ public static verify(message: { [k: string]: any }): (string|null);
21170
+
21171
+ /**
21172
+ * Creates a ReactionBatchCreatedEventData message from a plain object. Also converts values to their respective internal types.
21173
+ * @param object Plain object
21174
+ * @returns ReactionBatchCreatedEventData
21175
+ */
21176
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.ReactionBatchCreatedEventData;
21177
+
21178
+ /**
21179
+ * Creates a plain object from a ReactionBatchCreatedEventData message. Also converts values to other types if specified.
21180
+ * @param message ReactionBatchCreatedEventData
21181
+ * @param [options] Conversion options
21182
+ * @returns Plain object
21183
+ */
21184
+ public static toObject(message: google.chat.v1.ReactionBatchCreatedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
21185
+
21186
+ /**
21187
+ * Converts this ReactionBatchCreatedEventData to JSON.
21188
+ * @returns JSON object
21189
+ */
21190
+ public toJSON(): { [k: string]: any };
21191
+
21192
+ /**
21193
+ * Gets the default type url for ReactionBatchCreatedEventData
21194
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
21195
+ * @returns The default type url
21196
+ */
21197
+ public static getTypeUrl(typeUrlPrefix?: string): string;
21198
+ }
21199
+
21200
+ /** Properties of a ReactionBatchDeletedEventData. */
21201
+ interface IReactionBatchDeletedEventData {
21202
+
21203
+ /** ReactionBatchDeletedEventData reactions */
21204
+ reactions?: (google.chat.v1.IReactionDeletedEventData[]|null);
21205
+ }
21206
+
21207
+ /** Represents a ReactionBatchDeletedEventData. */
21208
+ class ReactionBatchDeletedEventData implements IReactionBatchDeletedEventData {
21209
+
21210
+ /**
21211
+ * Constructs a new ReactionBatchDeletedEventData.
21212
+ * @param [properties] Properties to set
21213
+ */
21214
+ constructor(properties?: google.chat.v1.IReactionBatchDeletedEventData);
21215
+
21216
+ /** ReactionBatchDeletedEventData reactions. */
21217
+ public reactions: google.chat.v1.IReactionDeletedEventData[];
21218
+
21219
+ /**
21220
+ * Creates a new ReactionBatchDeletedEventData instance using the specified properties.
21221
+ * @param [properties] Properties to set
21222
+ * @returns ReactionBatchDeletedEventData instance
21223
+ */
21224
+ public static create(properties?: google.chat.v1.IReactionBatchDeletedEventData): google.chat.v1.ReactionBatchDeletedEventData;
21225
+
21226
+ /**
21227
+ * Encodes the specified ReactionBatchDeletedEventData message. Does not implicitly {@link google.chat.v1.ReactionBatchDeletedEventData.verify|verify} messages.
21228
+ * @param message ReactionBatchDeletedEventData message or plain object to encode
21229
+ * @param [writer] Writer to encode to
21230
+ * @returns Writer
21231
+ */
21232
+ public static encode(message: google.chat.v1.IReactionBatchDeletedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
21233
+
21234
+ /**
21235
+ * Encodes the specified ReactionBatchDeletedEventData message, length delimited. Does not implicitly {@link google.chat.v1.ReactionBatchDeletedEventData.verify|verify} messages.
21236
+ * @param message ReactionBatchDeletedEventData message or plain object to encode
21237
+ * @param [writer] Writer to encode to
21238
+ * @returns Writer
21239
+ */
21240
+ public static encodeDelimited(message: google.chat.v1.IReactionBatchDeletedEventData, writer?: $protobuf.Writer): $protobuf.Writer;
21241
+
21242
+ /**
21243
+ * Decodes a ReactionBatchDeletedEventData message from the specified reader or buffer.
21244
+ * @param reader Reader or buffer to decode from
21245
+ * @param [length] Message length if known beforehand
21246
+ * @returns ReactionBatchDeletedEventData
21247
+ * @throws {Error} If the payload is not a reader or valid buffer
21248
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21249
+ */
21250
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ReactionBatchDeletedEventData;
21251
+
21252
+ /**
21253
+ * Decodes a ReactionBatchDeletedEventData message from the specified reader or buffer, length delimited.
21254
+ * @param reader Reader or buffer to decode from
21255
+ * @returns ReactionBatchDeletedEventData
21256
+ * @throws {Error} If the payload is not a reader or valid buffer
21257
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21258
+ */
21259
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ReactionBatchDeletedEventData;
21260
+
21261
+ /**
21262
+ * Verifies a ReactionBatchDeletedEventData message.
21263
+ * @param message Plain object to verify
21264
+ * @returns `null` if valid, otherwise the reason why it is not
21265
+ */
21266
+ public static verify(message: { [k: string]: any }): (string|null);
21267
+
21268
+ /**
21269
+ * Creates a ReactionBatchDeletedEventData message from a plain object. Also converts values to their respective internal types.
21270
+ * @param object Plain object
21271
+ * @returns ReactionBatchDeletedEventData
21272
+ */
21273
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.ReactionBatchDeletedEventData;
21274
+
21275
+ /**
21276
+ * Creates a plain object from a ReactionBatchDeletedEventData message. Also converts values to other types if specified.
21277
+ * @param message ReactionBatchDeletedEventData
21278
+ * @param [options] Conversion options
21279
+ * @returns Plain object
21280
+ */
21281
+ public static toObject(message: google.chat.v1.ReactionBatchDeletedEventData, options?: $protobuf.IConversionOptions): { [k: string]: any };
21282
+
21283
+ /**
21284
+ * Converts this ReactionBatchDeletedEventData to JSON.
21285
+ * @returns JSON object
21286
+ */
21287
+ public toJSON(): { [k: string]: any };
21288
+
21289
+ /**
21290
+ * Gets the default type url for ReactionBatchDeletedEventData
21291
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
21292
+ * @returns The default type url
21293
+ */
21294
+ public static getTypeUrl(typeUrlPrefix?: string): string;
21295
+ }
21296
+
18858
21297
  /** Properties of a SpaceReadState. */
18859
21298
  interface ISpaceReadState {
18860
21299