@replit/protocol 0.2.76 → 0.2.77
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/main/index.d.ts +308 -2
- package/main/index.js +745 -4
- package/main/index.js.flow +434 -1
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -77,6 +77,9 @@ export namespace replit {
|
|
|
77
77
|
/** Command log */
|
|
78
78
|
log?: (string|null);
|
|
79
79
|
|
|
80
|
+
/** Command record */
|
|
81
|
+
record?: (string|null);
|
|
82
|
+
|
|
80
83
|
/** Command saneTerm */
|
|
81
84
|
saneTerm?: (replit.goval.api.SaneTerm|replit.goval.api.ISaneTerm|null);
|
|
82
85
|
|
|
@@ -582,6 +585,9 @@ export namespace replit {
|
|
|
582
585
|
/** Command log. */
|
|
583
586
|
public log?: (string|null);
|
|
584
587
|
|
|
588
|
+
/** Command record. */
|
|
589
|
+
public record?: (string|null);
|
|
590
|
+
|
|
585
591
|
/** Command saneTerm. */
|
|
586
592
|
public saneTerm?: (replit.goval.api.SaneTerm|null);
|
|
587
593
|
|
|
@@ -1012,7 +1018,7 @@ export namespace replit {
|
|
|
1012
1018
|
public traceInfo: { [k: string]: string };
|
|
1013
1019
|
|
|
1014
1020
|
/** Command body. */
|
|
1015
|
-
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse");
|
|
1021
|
+
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"record"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse");
|
|
1016
1022
|
|
|
1017
1023
|
/**
|
|
1018
1024
|
* Creates a new Command instance using the specified properties.
|
|
@@ -17940,6 +17946,114 @@ export namespace replit {
|
|
|
17940
17946
|
public toJSON(): { [k: string]: any };
|
|
17941
17947
|
}
|
|
17942
17948
|
|
|
17949
|
+
/** Properties of a ReplLogMessage. */
|
|
17950
|
+
interface IReplLogMessage {
|
|
17951
|
+
|
|
17952
|
+
/** ReplLogMessage timestamp */
|
|
17953
|
+
timestamp?: (google.protobuf.Timestamp|google.protobuf.ITimestamp|null);
|
|
17954
|
+
|
|
17955
|
+
/** ReplLogMessage replId */
|
|
17956
|
+
replId?: (string|null);
|
|
17957
|
+
|
|
17958
|
+
/** ReplLogMessage logLine */
|
|
17959
|
+
logLine?: (string|null);
|
|
17960
|
+
|
|
17961
|
+
/** ReplLogMessage userName */
|
|
17962
|
+
userName?: (string|null);
|
|
17963
|
+
}
|
|
17964
|
+
|
|
17965
|
+
/** Represents a ReplLogMessage. */
|
|
17966
|
+
class ReplLogMessage {
|
|
17967
|
+
|
|
17968
|
+
/**
|
|
17969
|
+
* Constructs a new ReplLogMessage.
|
|
17970
|
+
* @param [properties] Properties to set
|
|
17971
|
+
*/
|
|
17972
|
+
private constructor(properties?: replit.goval.api.IReplLogMessage);
|
|
17973
|
+
|
|
17974
|
+
/** ReplLogMessage timestamp. */
|
|
17975
|
+
public timestamp?: (google.protobuf.Timestamp|null);
|
|
17976
|
+
|
|
17977
|
+
/** ReplLogMessage replId. */
|
|
17978
|
+
public replId: string;
|
|
17979
|
+
|
|
17980
|
+
/** ReplLogMessage logLine. */
|
|
17981
|
+
public logLine: string;
|
|
17982
|
+
|
|
17983
|
+
/** ReplLogMessage userName. */
|
|
17984
|
+
public userName: string;
|
|
17985
|
+
|
|
17986
|
+
/**
|
|
17987
|
+
* Creates a new ReplLogMessage instance using the specified properties.
|
|
17988
|
+
* @param [properties] Properties to set
|
|
17989
|
+
* @returns ReplLogMessage instance
|
|
17990
|
+
*/
|
|
17991
|
+
public static create(properties?: replit.goval.api.IReplLogMessage): replit.goval.api.ReplLogMessage;
|
|
17992
|
+
|
|
17993
|
+
/**
|
|
17994
|
+
* Encodes the specified ReplLogMessage message. Does not implicitly {@link replit.goval.api.ReplLogMessage.verify|verify} messages.
|
|
17995
|
+
* @param message ReplLogMessage message or plain object to encode
|
|
17996
|
+
* @param [writer] Writer to encode to
|
|
17997
|
+
* @returns Writer
|
|
17998
|
+
*/
|
|
17999
|
+
public static encode(message: replit.goval.api.ReplLogMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18000
|
+
|
|
18001
|
+
/**
|
|
18002
|
+
* Encodes the specified ReplLogMessage message, length delimited. Does not implicitly {@link replit.goval.api.ReplLogMessage.verify|verify} messages.
|
|
18003
|
+
* @param message ReplLogMessage message or plain object to encode
|
|
18004
|
+
* @param [writer] Writer to encode to
|
|
18005
|
+
* @returns Writer
|
|
18006
|
+
*/
|
|
18007
|
+
public static encodeDelimited(message: replit.goval.api.ReplLogMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18008
|
+
|
|
18009
|
+
/**
|
|
18010
|
+
* Decodes a ReplLogMessage message from the specified reader or buffer.
|
|
18011
|
+
* @param reader Reader or buffer to decode from
|
|
18012
|
+
* @param [length] Message length if known beforehand
|
|
18013
|
+
* @returns ReplLogMessage
|
|
18014
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18015
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18016
|
+
*/
|
|
18017
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplLogMessage;
|
|
18018
|
+
|
|
18019
|
+
/**
|
|
18020
|
+
* Decodes a ReplLogMessage message from the specified reader or buffer, length delimited.
|
|
18021
|
+
* @param reader Reader or buffer to decode from
|
|
18022
|
+
* @returns ReplLogMessage
|
|
18023
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18024
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18025
|
+
*/
|
|
18026
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplLogMessage;
|
|
18027
|
+
|
|
18028
|
+
/**
|
|
18029
|
+
* Verifies a ReplLogMessage message.
|
|
18030
|
+
* @param message Plain object to verify
|
|
18031
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
18032
|
+
*/
|
|
18033
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
18034
|
+
|
|
18035
|
+
/**
|
|
18036
|
+
* Creates a ReplLogMessage message from a plain object. Also converts values to their respective internal types.
|
|
18037
|
+
* @param object Plain object
|
|
18038
|
+
* @returns ReplLogMessage
|
|
18039
|
+
*/
|
|
18040
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplLogMessage;
|
|
18041
|
+
|
|
18042
|
+
/**
|
|
18043
|
+
* Creates a plain object from a ReplLogMessage message. Also converts values to other types if specified.
|
|
18044
|
+
* @param message ReplLogMessage
|
|
18045
|
+
* @param [options] Conversion options
|
|
18046
|
+
* @returns Plain object
|
|
18047
|
+
*/
|
|
18048
|
+
public static toObject(message: replit.goval.api.ReplLogMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18049
|
+
|
|
18050
|
+
/**
|
|
18051
|
+
* Converts this ReplLogMessage to JSON.
|
|
18052
|
+
* @returns JSON object
|
|
18053
|
+
*/
|
|
18054
|
+
public toJSON(): { [k: string]: any };
|
|
18055
|
+
}
|
|
18056
|
+
|
|
17943
18057
|
/** Properties of a ReplToken. */
|
|
17944
18058
|
interface IReplToken {
|
|
17945
18059
|
|
|
@@ -19924,6 +20038,9 @@ export namespace replit {
|
|
|
19924
20038
|
|
|
19925
20039
|
/** GovalCommand updateMetadata */
|
|
19926
20040
|
updateMetadata?: (replit.goval.api.repl.Metadata|replit.goval.api.repl.IMetadata|null);
|
|
20041
|
+
|
|
20042
|
+
/** GovalCommand partialUpdateMetadata */
|
|
20043
|
+
partialUpdateMetadata?: (replit.goval.api.PartialUpdateMetadata|replit.goval.api.IPartialUpdateMetadata|null);
|
|
19927
20044
|
}
|
|
19928
20045
|
|
|
19929
20046
|
/** Represents a GovalCommand. */
|
|
@@ -19938,8 +20055,11 @@ export namespace replit {
|
|
|
19938
20055
|
/** GovalCommand updateMetadata. */
|
|
19939
20056
|
public updateMetadata?: (replit.goval.api.repl.Metadata|null);
|
|
19940
20057
|
|
|
20058
|
+
/** GovalCommand partialUpdateMetadata. */
|
|
20059
|
+
public partialUpdateMetadata?: (replit.goval.api.PartialUpdateMetadata|null);
|
|
20060
|
+
|
|
19941
20061
|
/** GovalCommand command. */
|
|
19942
|
-
public command?: "updateMetadata";
|
|
20062
|
+
public command?: ("updateMetadata"|"partialUpdateMetadata");
|
|
19943
20063
|
|
|
19944
20064
|
/**
|
|
19945
20065
|
* Creates a new GovalCommand instance using the specified properties.
|
|
@@ -20012,6 +20132,102 @@ export namespace replit {
|
|
|
20012
20132
|
public toJSON(): { [k: string]: any };
|
|
20013
20133
|
}
|
|
20014
20134
|
|
|
20135
|
+
/** Properties of a PartialUpdateMetadata. */
|
|
20136
|
+
interface IPartialUpdateMetadata {
|
|
20137
|
+
|
|
20138
|
+
/** PartialUpdateMetadata fieldMask */
|
|
20139
|
+
fieldMask?: (google.protobuf.FieldMask|google.protobuf.IFieldMask|null);
|
|
20140
|
+
|
|
20141
|
+
/** PartialUpdateMetadata updateMetadata */
|
|
20142
|
+
updateMetadata?: (replit.goval.api.repl.Metadata|replit.goval.api.repl.IMetadata|null);
|
|
20143
|
+
}
|
|
20144
|
+
|
|
20145
|
+
/** Represents a PartialUpdateMetadata. */
|
|
20146
|
+
class PartialUpdateMetadata {
|
|
20147
|
+
|
|
20148
|
+
/**
|
|
20149
|
+
* Constructs a new PartialUpdateMetadata.
|
|
20150
|
+
* @param [properties] Properties to set
|
|
20151
|
+
*/
|
|
20152
|
+
private constructor(properties?: replit.goval.api.IPartialUpdateMetadata);
|
|
20153
|
+
|
|
20154
|
+
/** PartialUpdateMetadata fieldMask. */
|
|
20155
|
+
public fieldMask?: (google.protobuf.FieldMask|null);
|
|
20156
|
+
|
|
20157
|
+
/** PartialUpdateMetadata updateMetadata. */
|
|
20158
|
+
public updateMetadata?: (replit.goval.api.repl.Metadata|null);
|
|
20159
|
+
|
|
20160
|
+
/**
|
|
20161
|
+
* Creates a new PartialUpdateMetadata instance using the specified properties.
|
|
20162
|
+
* @param [properties] Properties to set
|
|
20163
|
+
* @returns PartialUpdateMetadata instance
|
|
20164
|
+
*/
|
|
20165
|
+
public static create(properties?: replit.goval.api.IPartialUpdateMetadata): replit.goval.api.PartialUpdateMetadata;
|
|
20166
|
+
|
|
20167
|
+
/**
|
|
20168
|
+
* Encodes the specified PartialUpdateMetadata message. Does not implicitly {@link replit.goval.api.PartialUpdateMetadata.verify|verify} messages.
|
|
20169
|
+
* @param message PartialUpdateMetadata message or plain object to encode
|
|
20170
|
+
* @param [writer] Writer to encode to
|
|
20171
|
+
* @returns Writer
|
|
20172
|
+
*/
|
|
20173
|
+
public static encode(message: replit.goval.api.PartialUpdateMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20174
|
+
|
|
20175
|
+
/**
|
|
20176
|
+
* Encodes the specified PartialUpdateMetadata message, length delimited. Does not implicitly {@link replit.goval.api.PartialUpdateMetadata.verify|verify} messages.
|
|
20177
|
+
* @param message PartialUpdateMetadata message or plain object to encode
|
|
20178
|
+
* @param [writer] Writer to encode to
|
|
20179
|
+
* @returns Writer
|
|
20180
|
+
*/
|
|
20181
|
+
public static encodeDelimited(message: replit.goval.api.PartialUpdateMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20182
|
+
|
|
20183
|
+
/**
|
|
20184
|
+
* Decodes a PartialUpdateMetadata message from the specified reader or buffer.
|
|
20185
|
+
* @param reader Reader or buffer to decode from
|
|
20186
|
+
* @param [length] Message length if known beforehand
|
|
20187
|
+
* @returns PartialUpdateMetadata
|
|
20188
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20189
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20190
|
+
*/
|
|
20191
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.PartialUpdateMetadata;
|
|
20192
|
+
|
|
20193
|
+
/**
|
|
20194
|
+
* Decodes a PartialUpdateMetadata message from the specified reader or buffer, length delimited.
|
|
20195
|
+
* @param reader Reader or buffer to decode from
|
|
20196
|
+
* @returns PartialUpdateMetadata
|
|
20197
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20198
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20199
|
+
*/
|
|
20200
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.PartialUpdateMetadata;
|
|
20201
|
+
|
|
20202
|
+
/**
|
|
20203
|
+
* Verifies a PartialUpdateMetadata message.
|
|
20204
|
+
* @param message Plain object to verify
|
|
20205
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20206
|
+
*/
|
|
20207
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20208
|
+
|
|
20209
|
+
/**
|
|
20210
|
+
* Creates a PartialUpdateMetadata message from a plain object. Also converts values to their respective internal types.
|
|
20211
|
+
* @param object Plain object
|
|
20212
|
+
* @returns PartialUpdateMetadata
|
|
20213
|
+
*/
|
|
20214
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.PartialUpdateMetadata;
|
|
20215
|
+
|
|
20216
|
+
/**
|
|
20217
|
+
* Creates a plain object from a PartialUpdateMetadata message. Also converts values to other types if specified.
|
|
20218
|
+
* @param message PartialUpdateMetadata
|
|
20219
|
+
* @param [options] Conversion options
|
|
20220
|
+
* @returns Plain object
|
|
20221
|
+
*/
|
|
20222
|
+
public static toObject(message: replit.goval.api.PartialUpdateMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20223
|
+
|
|
20224
|
+
/**
|
|
20225
|
+
* Converts this PartialUpdateMetadata to JSON.
|
|
20226
|
+
* @returns JSON object
|
|
20227
|
+
*/
|
|
20228
|
+
public toJSON(): { [k: string]: any };
|
|
20229
|
+
}
|
|
20230
|
+
|
|
20015
20231
|
/** Properties of a Restore. */
|
|
20016
20232
|
interface IRestore {
|
|
20017
20233
|
|
|
@@ -21286,6 +21502,96 @@ export namespace google {
|
|
|
21286
21502
|
*/
|
|
21287
21503
|
public toJSON(): { [k: string]: any };
|
|
21288
21504
|
}
|
|
21505
|
+
|
|
21506
|
+
/** Properties of a FieldMask. */
|
|
21507
|
+
interface IFieldMask {
|
|
21508
|
+
|
|
21509
|
+
/** FieldMask paths */
|
|
21510
|
+
paths?: (string[]|null);
|
|
21511
|
+
}
|
|
21512
|
+
|
|
21513
|
+
/** Represents a FieldMask. */
|
|
21514
|
+
class FieldMask {
|
|
21515
|
+
|
|
21516
|
+
/**
|
|
21517
|
+
* Constructs a new FieldMask.
|
|
21518
|
+
* @param [properties] Properties to set
|
|
21519
|
+
*/
|
|
21520
|
+
private constructor(properties?: google.protobuf.IFieldMask);
|
|
21521
|
+
|
|
21522
|
+
/** FieldMask paths. */
|
|
21523
|
+
public paths: string[];
|
|
21524
|
+
|
|
21525
|
+
/**
|
|
21526
|
+
* Creates a new FieldMask instance using the specified properties.
|
|
21527
|
+
* @param [properties] Properties to set
|
|
21528
|
+
* @returns FieldMask instance
|
|
21529
|
+
*/
|
|
21530
|
+
public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
|
|
21531
|
+
|
|
21532
|
+
/**
|
|
21533
|
+
* Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
|
|
21534
|
+
* @param message FieldMask message or plain object to encode
|
|
21535
|
+
* @param [writer] Writer to encode to
|
|
21536
|
+
* @returns Writer
|
|
21537
|
+
*/
|
|
21538
|
+
public static encode(message: google.protobuf.FieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
21539
|
+
|
|
21540
|
+
/**
|
|
21541
|
+
* Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
|
|
21542
|
+
* @param message FieldMask message or plain object to encode
|
|
21543
|
+
* @param [writer] Writer to encode to
|
|
21544
|
+
* @returns Writer
|
|
21545
|
+
*/
|
|
21546
|
+
public static encodeDelimited(message: google.protobuf.FieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
21547
|
+
|
|
21548
|
+
/**
|
|
21549
|
+
* Decodes a FieldMask message from the specified reader or buffer.
|
|
21550
|
+
* @param reader Reader or buffer to decode from
|
|
21551
|
+
* @param [length] Message length if known beforehand
|
|
21552
|
+
* @returns FieldMask
|
|
21553
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21554
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21555
|
+
*/
|
|
21556
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask;
|
|
21557
|
+
|
|
21558
|
+
/**
|
|
21559
|
+
* Decodes a FieldMask message from the specified reader or buffer, length delimited.
|
|
21560
|
+
* @param reader Reader or buffer to decode from
|
|
21561
|
+
* @returns FieldMask
|
|
21562
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21563
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21564
|
+
*/
|
|
21565
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask;
|
|
21566
|
+
|
|
21567
|
+
/**
|
|
21568
|
+
* Verifies a FieldMask message.
|
|
21569
|
+
* @param message Plain object to verify
|
|
21570
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
21571
|
+
*/
|
|
21572
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
21573
|
+
|
|
21574
|
+
/**
|
|
21575
|
+
* Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
|
|
21576
|
+
* @param object Plain object
|
|
21577
|
+
* @returns FieldMask
|
|
21578
|
+
*/
|
|
21579
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
|
|
21580
|
+
|
|
21581
|
+
/**
|
|
21582
|
+
* Creates a plain object from a FieldMask message. Also converts values to other types if specified.
|
|
21583
|
+
* @param message FieldMask
|
|
21584
|
+
* @param [options] Conversion options
|
|
21585
|
+
* @returns Plain object
|
|
21586
|
+
*/
|
|
21587
|
+
public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
21588
|
+
|
|
21589
|
+
/**
|
|
21590
|
+
* Converts this FieldMask to JSON.
|
|
21591
|
+
* @returns JSON object
|
|
21592
|
+
*/
|
|
21593
|
+
public toJSON(): { [k: string]: any };
|
|
21594
|
+
}
|
|
21289
21595
|
}
|
|
21290
21596
|
}
|
|
21291
21597
|
import api = replit.goval.api; export { api };
|