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