@replit/protocol 0.3.12 → 0.3.14

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 CHANGED
@@ -557,6 +557,12 @@ export namespace replit {
557
557
  /** Command nixModulesGetRegistryResponse */
558
558
  nixModulesGetRegistryResponse?: (replit.goval.api.NixModulesGetRegistryResponse|replit.goval.api.INixModulesGetRegistryResponse|null);
559
559
 
560
+ /** Command pid2Input */
561
+ pid2Input?: (replit.goval.api.pid2.ClientFrame|replit.goval.api.pid2.IClientFrame|null);
562
+
563
+ /** Command pid2Output */
564
+ pid2Output?: (replit.goval.api.pid2.ServerFrame|replit.goval.api.pid2.IServerFrame|null);
565
+
560
566
  /** Command ref */
561
567
  ref?: (string|null);
562
568
 
@@ -1119,6 +1125,12 @@ export namespace replit {
1119
1125
  /** Command nixModulesGetRegistryResponse. */
1120
1126
  public nixModulesGetRegistryResponse?: (replit.goval.api.NixModulesGetRegistryResponse|null);
1121
1127
 
1128
+ /** Command pid2Input. */
1129
+ public pid2Input?: (replit.goval.api.pid2.ClientFrame|null);
1130
+
1131
+ /** Command pid2Output. */
1132
+ public pid2Output?: (replit.goval.api.pid2.ServerFrame|null);
1133
+
1122
1134
  /** Command ref. */
1123
1135
  public ref: string;
1124
1136
 
@@ -1126,7 +1138,7 @@ export namespace replit {
1126
1138
  public traceInfo: { [k: string]: string };
1127
1139
 
1128
1140
  /** Command body. */
1129
- 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"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse");
1141
+ 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"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"pid2Input"|"pid2Output");
1130
1142
 
1131
1143
  /**
1132
1144
  * Creates a new Command instance using the specified properties.
@@ -20494,6 +20506,9 @@ export namespace replit {
20494
20506
 
20495
20507
  /** RunOption fileTypeAttrs */
20496
20508
  fileTypeAttrs?: (replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null);
20509
+
20510
+ /** RunOption interpreter */
20511
+ interpreter?: (boolean|null);
20497
20512
  }
20498
20513
 
20499
20514
  /** Represents a RunOption. */
@@ -20520,6 +20535,9 @@ export namespace replit {
20520
20535
  /** RunOption fileTypeAttrs. */
20521
20536
  public fileTypeAttrs?: (replit.goval.api.FileTypeAttrs|null);
20522
20537
 
20538
+ /** RunOption interpreter. */
20539
+ public interpreter: boolean;
20540
+
20523
20541
  /**
20524
20542
  * Creates a new RunOption instance using the specified properties.
20525
20543
  * @param [properties] Properties to set
@@ -24119,9 +24137,6 @@ export namespace replit {
24119
24137
 
24120
24138
  /** Restore replId */
24121
24139
  replId?: (string|null);
24122
-
24123
- /** Restore restoreReplId */
24124
- restoreReplId?: (string|null);
24125
24140
  }
24126
24141
 
24127
24142
  /** Represents a Restore. */
@@ -24136,9 +24151,6 @@ export namespace replit {
24136
24151
  /** Restore replId. */
24137
24152
  public replId: string;
24138
24153
 
24139
- /** Restore restoreReplId. */
24140
- public restoreReplId: string;
24141
-
24142
24154
  /**
24143
24155
  * Creates a new Restore instance using the specified properties.
24144
24156
  * @param [properties] Properties to set
@@ -26000,240 +26012,1318 @@ export namespace replit {
26000
26012
  */
26001
26013
  public toJSON(): { [k: string]: any };
26002
26014
  }
26003
- }
26004
- }
26005
- }
26006
26015
 
26007
- /** Namespace google. */
26008
- export namespace google {
26016
+ /** Namespace pid2. */
26017
+ namespace pid2 {
26009
26018
 
26010
- /** Namespace protobuf. */
26011
- namespace protobuf {
26019
+ /** Properties of a ClientFrame. */
26020
+ interface IClientFrame {
26012
26021
 
26013
- /** Properties of a Timestamp. */
26014
- interface ITimestamp {
26022
+ /** ClientFrame sessionId */
26023
+ sessionId?: (number|null);
26015
26024
 
26016
- /** Timestamp seconds */
26017
- seconds?: (number|null);
26025
+ /** ClientFrame unaryCall */
26026
+ unaryCall?: (replit.goval.api.pid2.UnaryCallRequest|replit.goval.api.pid2.IUnaryCallRequest|null);
26018
26027
 
26019
- /** Timestamp nanos */
26020
- nanos?: (number|null);
26021
- }
26028
+ /** ClientFrame streamCall */
26029
+ streamCall?: (replit.goval.api.pid2.StreamCallRequest|replit.goval.api.pid2.IStreamCallRequest|null);
26022
26030
 
26023
- /** Represents a Timestamp. */
26024
- class Timestamp {
26031
+ /** ClientFrame streamContinuation */
26032
+ streamContinuation?: (replit.goval.api.pid2.StreamContinuationRequest|replit.goval.api.pid2.IStreamContinuationRequest|null);
26025
26033
 
26026
- /**
26027
- * Constructs a new Timestamp.
26028
- * @param [properties] Properties to set
26029
- */
26030
- private constructor(properties?: google.protobuf.ITimestamp);
26034
+ /** ClientFrame streamCancel */
26035
+ streamCancel?: (replit.goval.api.pid2.StreamCancelRequest|replit.goval.api.pid2.IStreamCancelRequest|null);
26031
26036
 
26032
- /** Timestamp seconds. */
26033
- public seconds: number;
26037
+ /** ClientFrame ping */
26038
+ ping?: (replit.goval.api.pid2.Ping|replit.goval.api.pid2.IPing|null);
26039
+ }
26034
26040
 
26035
- /** Timestamp nanos. */
26036
- public nanos: number;
26041
+ /** Represents a ClientFrame. */
26042
+ class ClientFrame {
26037
26043
 
26038
- /**
26039
- * Creates a new Timestamp instance using the specified properties.
26040
- * @param [properties] Properties to set
26041
- * @returns Timestamp instance
26042
- */
26043
- public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
26044
+ /**
26045
+ * Constructs a new ClientFrame.
26046
+ * @param [properties] Properties to set
26047
+ */
26048
+ private constructor(properties?: replit.goval.api.pid2.IClientFrame);
26044
26049
 
26045
- /**
26046
- * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
26047
- * @param message Timestamp message or plain object to encode
26048
- * @param [writer] Writer to encode to
26049
- * @returns Writer
26050
- */
26051
- public static encode(message: google.protobuf.Timestamp, writer?: $protobuf.Writer): $protobuf.Writer;
26050
+ /** ClientFrame sessionId. */
26051
+ public sessionId: number;
26052
26052
 
26053
- /**
26054
- * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
26055
- * @param message Timestamp message or plain object to encode
26056
- * @param [writer] Writer to encode to
26057
- * @returns Writer
26058
- */
26059
- public static encodeDelimited(message: google.protobuf.Timestamp, writer?: $protobuf.Writer): $protobuf.Writer;
26053
+ /** ClientFrame unaryCall. */
26054
+ public unaryCall?: (replit.goval.api.pid2.UnaryCallRequest|null);
26060
26055
 
26061
- /**
26062
- * Decodes a Timestamp message from the specified reader or buffer.
26063
- * @param reader Reader or buffer to decode from
26064
- * @param [length] Message length if known beforehand
26065
- * @returns Timestamp
26066
- * @throws {Error} If the payload is not a reader or valid buffer
26067
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
26068
- */
26069
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
26056
+ /** ClientFrame streamCall. */
26057
+ public streamCall?: (replit.goval.api.pid2.StreamCallRequest|null);
26070
26058
 
26071
- /**
26072
- * Decodes a Timestamp message from the specified reader or buffer, length delimited.
26073
- * @param reader Reader or buffer to decode from
26074
- * @returns Timestamp
26075
- * @throws {Error} If the payload is not a reader or valid buffer
26076
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
26077
- */
26078
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
26059
+ /** ClientFrame streamContinuation. */
26060
+ public streamContinuation?: (replit.goval.api.pid2.StreamContinuationRequest|null);
26079
26061
 
26080
- /**
26081
- * Verifies a Timestamp message.
26082
- * @param message Plain object to verify
26083
- * @returns `null` if valid, otherwise the reason why it is not
26084
- */
26085
- public static verify(message: { [k: string]: any }): (string|null);
26062
+ /** ClientFrame streamCancel. */
26063
+ public streamCancel?: (replit.goval.api.pid2.StreamCancelRequest|null);
26086
26064
 
26087
- /**
26088
- * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
26089
- * @param object Plain object
26090
- * @returns Timestamp
26091
- */
26092
- public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
26065
+ /** ClientFrame ping. */
26066
+ public ping?: (replit.goval.api.pid2.Ping|null);
26093
26067
 
26094
- /**
26095
- * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
26096
- * @param message Timestamp
26097
- * @param [options] Conversion options
26098
- * @returns Plain object
26099
- */
26100
- public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
26068
+ /** ClientFrame body. */
26069
+ public body?: ("unaryCall"|"streamCall"|"streamContinuation"|"streamCancel"|"ping");
26101
26070
 
26102
- /**
26103
- * Converts this Timestamp to JSON.
26104
- * @returns JSON object
26105
- */
26106
- public toJSON(): { [k: string]: any };
26107
- }
26071
+ /**
26072
+ * Creates a new ClientFrame instance using the specified properties.
26073
+ * @param [properties] Properties to set
26074
+ * @returns ClientFrame instance
26075
+ */
26076
+ public static create(properties?: replit.goval.api.pid2.IClientFrame): replit.goval.api.pid2.ClientFrame;
26108
26077
 
26109
- /** Properties of a Struct. */
26110
- interface IStruct {
26078
+ /**
26079
+ * Encodes the specified ClientFrame message. Does not implicitly {@link replit.goval.api.pid2.ClientFrame.verify|verify} messages.
26080
+ * @param message ClientFrame message or plain object to encode
26081
+ * @param [writer] Writer to encode to
26082
+ * @returns Writer
26083
+ */
26084
+ public static encode(message: replit.goval.api.pid2.ClientFrame, writer?: $protobuf.Writer): $protobuf.Writer;
26111
26085
 
26112
- /** Struct fields */
26113
- fields?: ({ [k: string]: (google.protobuf.Value|google.protobuf.IValue) }|null);
26114
- }
26086
+ /**
26087
+ * Encodes the specified ClientFrame message, length delimited. Does not implicitly {@link replit.goval.api.pid2.ClientFrame.verify|verify} messages.
26088
+ * @param message ClientFrame message or plain object to encode
26089
+ * @param [writer] Writer to encode to
26090
+ * @returns Writer
26091
+ */
26092
+ public static encodeDelimited(message: replit.goval.api.pid2.ClientFrame, writer?: $protobuf.Writer): $protobuf.Writer;
26115
26093
 
26116
- /** Represents a Struct. */
26117
- class Struct {
26094
+ /**
26095
+ * Decodes a ClientFrame message from the specified reader or buffer.
26096
+ * @param reader Reader or buffer to decode from
26097
+ * @param [length] Message length if known beforehand
26098
+ * @returns ClientFrame
26099
+ * @throws {Error} If the payload is not a reader or valid buffer
26100
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26101
+ */
26102
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.ClientFrame;
26118
26103
 
26119
- /**
26120
- * Constructs a new Struct.
26121
- * @param [properties] Properties to set
26122
- */
26123
- private constructor(properties?: google.protobuf.IStruct);
26104
+ /**
26105
+ * Decodes a ClientFrame message from the specified reader or buffer, length delimited.
26106
+ * @param reader Reader or buffer to decode from
26107
+ * @returns ClientFrame
26108
+ * @throws {Error} If the payload is not a reader or valid buffer
26109
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26110
+ */
26111
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.ClientFrame;
26124
26112
 
26125
- /** Struct fields. */
26126
- public fields: { [k: string]: google.protobuf.Value };
26113
+ /**
26114
+ * Verifies a ClientFrame message.
26115
+ * @param message Plain object to verify
26116
+ * @returns `null` if valid, otherwise the reason why it is not
26117
+ */
26118
+ public static verify(message: { [k: string]: any }): (string|null);
26127
26119
 
26128
- /**
26129
- * Creates a new Struct instance using the specified properties.
26130
- * @param [properties] Properties to set
26131
- * @returns Struct instance
26132
- */
26133
- public static create(properties?: google.protobuf.IStruct): google.protobuf.Struct;
26120
+ /**
26121
+ * Creates a ClientFrame message from a plain object. Also converts values to their respective internal types.
26122
+ * @param object Plain object
26123
+ * @returns ClientFrame
26124
+ */
26125
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.ClientFrame;
26134
26126
 
26135
- /**
26136
- * Encodes the specified Struct message. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
26137
- * @param message Struct message or plain object to encode
26138
- * @param [writer] Writer to encode to
26139
- * @returns Writer
26140
- */
26141
- public static encode(message: google.protobuf.Struct, writer?: $protobuf.Writer): $protobuf.Writer;
26127
+ /**
26128
+ * Creates a plain object from a ClientFrame message. Also converts values to other types if specified.
26129
+ * @param message ClientFrame
26130
+ * @param [options] Conversion options
26131
+ * @returns Plain object
26132
+ */
26133
+ public static toObject(message: replit.goval.api.pid2.ClientFrame, options?: $protobuf.IConversionOptions): { [k: string]: any };
26142
26134
 
26143
- /**
26144
- * Encodes the specified Struct message, length delimited. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
26145
- * @param message Struct message or plain object to encode
26146
- * @param [writer] Writer to encode to
26147
- * @returns Writer
26148
- */
26149
- public static encodeDelimited(message: google.protobuf.Struct, writer?: $protobuf.Writer): $protobuf.Writer;
26135
+ /**
26136
+ * Converts this ClientFrame to JSON.
26137
+ * @returns JSON object
26138
+ */
26139
+ public toJSON(): { [k: string]: any };
26140
+ }
26150
26141
 
26151
- /**
26152
- * Decodes a Struct message from the specified reader or buffer.
26153
- * @param reader Reader or buffer to decode from
26154
- * @param [length] Message length if known beforehand
26155
- * @returns Struct
26156
- * @throws {Error} If the payload is not a reader or valid buffer
26157
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
26158
- */
26159
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Struct;
26142
+ /** Properties of a ServerFrame. */
26143
+ interface IServerFrame {
26160
26144
 
26161
- /**
26162
- * Decodes a Struct message from the specified reader or buffer, length delimited.
26163
- * @param reader Reader or buffer to decode from
26164
- * @returns Struct
26165
- * @throws {Error} If the payload is not a reader or valid buffer
26166
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
26167
- */
26168
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Struct;
26145
+ /** ServerFrame sessionId */
26146
+ sessionId?: (number|null);
26169
26147
 
26170
- /**
26171
- * Verifies a Struct message.
26172
- * @param message Plain object to verify
26173
- * @returns `null` if valid, otherwise the reason why it is not
26174
- */
26175
- public static verify(message: { [k: string]: any }): (string|null);
26148
+ /** ServerFrame unaryCall */
26149
+ unaryCall?: (replit.goval.api.pid2.UnaryCallResponse|replit.goval.api.pid2.IUnaryCallResponse|null);
26176
26150
 
26177
- /**
26178
- * Creates a Struct message from a plain object. Also converts values to their respective internal types.
26179
- * @param object Plain object
26180
- * @returns Struct
26181
- */
26182
- public static fromObject(object: { [k: string]: any }): google.protobuf.Struct;
26151
+ /** ServerFrame streamContinuation */
26152
+ streamContinuation?: (replit.goval.api.pid2.StreamContinuationResponse|replit.goval.api.pid2.IStreamContinuationResponse|null);
26183
26153
 
26184
- /**
26185
- * Creates a plain object from a Struct message. Also converts values to other types if specified.
26186
- * @param message Struct
26187
- * @param [options] Conversion options
26188
- * @returns Plain object
26189
- */
26190
- public static toObject(message: google.protobuf.Struct, options?: $protobuf.IConversionOptions): { [k: string]: any };
26154
+ /** ServerFrame goaway */
26155
+ goaway?: (replit.goval.api.pid2.Error|replit.goval.api.pid2.IError|null);
26191
26156
 
26192
- /**
26193
- * Converts this Struct to JSON.
26194
- * @returns JSON object
26195
- */
26196
- public toJSON(): { [k: string]: any };
26197
- }
26157
+ /** ServerFrame ping */
26158
+ ping?: (replit.goval.api.pid2.Ping|replit.goval.api.pid2.IPing|null);
26159
+ }
26198
26160
 
26199
- /** Properties of a Value. */
26200
- interface IValue {
26161
+ /** Represents a ServerFrame. */
26162
+ class ServerFrame {
26201
26163
 
26202
- /** Value nullValue */
26203
- nullValue?: (google.protobuf.NullValue|null);
26164
+ /**
26165
+ * Constructs a new ServerFrame.
26166
+ * @param [properties] Properties to set
26167
+ */
26168
+ private constructor(properties?: replit.goval.api.pid2.IServerFrame);
26204
26169
 
26205
- /** Value numberValue */
26206
- numberValue?: (number|null);
26170
+ /** ServerFrame sessionId. */
26171
+ public sessionId: number;
26207
26172
 
26208
- /** Value stringValue */
26209
- stringValue?: (string|null);
26173
+ /** ServerFrame unaryCall. */
26174
+ public unaryCall?: (replit.goval.api.pid2.UnaryCallResponse|null);
26210
26175
 
26211
- /** Value boolValue */
26212
- boolValue?: (boolean|null);
26176
+ /** ServerFrame streamContinuation. */
26177
+ public streamContinuation?: (replit.goval.api.pid2.StreamContinuationResponse|null);
26213
26178
 
26214
- /** Value structValue */
26215
- structValue?: (google.protobuf.Struct|google.protobuf.IStruct|null);
26179
+ /** ServerFrame goaway. */
26180
+ public goaway?: (replit.goval.api.pid2.Error|null);
26216
26181
 
26217
- /** Value listValue */
26218
- listValue?: (google.protobuf.ListValue|google.protobuf.IListValue|null);
26219
- }
26182
+ /** ServerFrame ping. */
26183
+ public ping?: (replit.goval.api.pid2.Ping|null);
26220
26184
 
26221
- /** Represents a Value. */
26222
- class Value {
26185
+ /** ServerFrame body. */
26186
+ public body?: ("unaryCall"|"streamContinuation"|"goaway"|"ping");
26223
26187
 
26224
- /**
26225
- * Constructs a new Value.
26226
- * @param [properties] Properties to set
26227
- */
26228
- private constructor(properties?: google.protobuf.IValue);
26188
+ /**
26189
+ * Creates a new ServerFrame instance using the specified properties.
26190
+ * @param [properties] Properties to set
26191
+ * @returns ServerFrame instance
26192
+ */
26193
+ public static create(properties?: replit.goval.api.pid2.IServerFrame): replit.goval.api.pid2.ServerFrame;
26229
26194
 
26230
- /** Value nullValue. */
26231
- public nullValue?: (google.protobuf.NullValue|null);
26195
+ /**
26196
+ * Encodes the specified ServerFrame message. Does not implicitly {@link replit.goval.api.pid2.ServerFrame.verify|verify} messages.
26197
+ * @param message ServerFrame message or plain object to encode
26198
+ * @param [writer] Writer to encode to
26199
+ * @returns Writer
26200
+ */
26201
+ public static encode(message: replit.goval.api.pid2.ServerFrame, writer?: $protobuf.Writer): $protobuf.Writer;
26232
26202
 
26233
- /** Value numberValue. */
26234
- public numberValue?: (number|null);
26203
+ /**
26204
+ * Encodes the specified ServerFrame message, length delimited. Does not implicitly {@link replit.goval.api.pid2.ServerFrame.verify|verify} messages.
26205
+ * @param message ServerFrame message or plain object to encode
26206
+ * @param [writer] Writer to encode to
26207
+ * @returns Writer
26208
+ */
26209
+ public static encodeDelimited(message: replit.goval.api.pid2.ServerFrame, writer?: $protobuf.Writer): $protobuf.Writer;
26235
26210
 
26236
- /** Value stringValue. */
26211
+ /**
26212
+ * Decodes a ServerFrame message from the specified reader or buffer.
26213
+ * @param reader Reader or buffer to decode from
26214
+ * @param [length] Message length if known beforehand
26215
+ * @returns ServerFrame
26216
+ * @throws {Error} If the payload is not a reader or valid buffer
26217
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26218
+ */
26219
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.ServerFrame;
26220
+
26221
+ /**
26222
+ * Decodes a ServerFrame message from the specified reader or buffer, length delimited.
26223
+ * @param reader Reader or buffer to decode from
26224
+ * @returns ServerFrame
26225
+ * @throws {Error} If the payload is not a reader or valid buffer
26226
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26227
+ */
26228
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.ServerFrame;
26229
+
26230
+ /**
26231
+ * Verifies a ServerFrame message.
26232
+ * @param message Plain object to verify
26233
+ * @returns `null` if valid, otherwise the reason why it is not
26234
+ */
26235
+ public static verify(message: { [k: string]: any }): (string|null);
26236
+
26237
+ /**
26238
+ * Creates a ServerFrame message from a plain object. Also converts values to their respective internal types.
26239
+ * @param object Plain object
26240
+ * @returns ServerFrame
26241
+ */
26242
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.ServerFrame;
26243
+
26244
+ /**
26245
+ * Creates a plain object from a ServerFrame message. Also converts values to other types if specified.
26246
+ * @param message ServerFrame
26247
+ * @param [options] Conversion options
26248
+ * @returns Plain object
26249
+ */
26250
+ public static toObject(message: replit.goval.api.pid2.ServerFrame, options?: $protobuf.IConversionOptions): { [k: string]: any };
26251
+
26252
+ /**
26253
+ * Converts this ServerFrame to JSON.
26254
+ * @returns JSON object
26255
+ */
26256
+ public toJSON(): { [k: string]: any };
26257
+ }
26258
+
26259
+ /** Properties of an UnaryCallRequest. */
26260
+ interface IUnaryCallRequest {
26261
+
26262
+ /** UnaryCallRequest streamId */
26263
+ streamId?: (number|null);
26264
+
26265
+ /** UnaryCallRequest service */
26266
+ service?: (string|null);
26267
+
26268
+ /** UnaryCallRequest method */
26269
+ method?: (string|null);
26270
+
26271
+ /** UnaryCallRequest request */
26272
+ request?: (google.protobuf.Any|google.protobuf.IAny|null);
26273
+ }
26274
+
26275
+ /** Represents an UnaryCallRequest. */
26276
+ class UnaryCallRequest {
26277
+
26278
+ /**
26279
+ * Constructs a new UnaryCallRequest.
26280
+ * @param [properties] Properties to set
26281
+ */
26282
+ private constructor(properties?: replit.goval.api.pid2.IUnaryCallRequest);
26283
+
26284
+ /** UnaryCallRequest streamId. */
26285
+ public streamId: number;
26286
+
26287
+ /** UnaryCallRequest service. */
26288
+ public service: string;
26289
+
26290
+ /** UnaryCallRequest method. */
26291
+ public method: string;
26292
+
26293
+ /** UnaryCallRequest request. */
26294
+ public request?: (google.protobuf.Any|null);
26295
+
26296
+ /**
26297
+ * Creates a new UnaryCallRequest instance using the specified properties.
26298
+ * @param [properties] Properties to set
26299
+ * @returns UnaryCallRequest instance
26300
+ */
26301
+ public static create(properties?: replit.goval.api.pid2.IUnaryCallRequest): replit.goval.api.pid2.UnaryCallRequest;
26302
+
26303
+ /**
26304
+ * Encodes the specified UnaryCallRequest message. Does not implicitly {@link replit.goval.api.pid2.UnaryCallRequest.verify|verify} messages.
26305
+ * @param message UnaryCallRequest message or plain object to encode
26306
+ * @param [writer] Writer to encode to
26307
+ * @returns Writer
26308
+ */
26309
+ public static encode(message: replit.goval.api.pid2.UnaryCallRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26310
+
26311
+ /**
26312
+ * Encodes the specified UnaryCallRequest message, length delimited. Does not implicitly {@link replit.goval.api.pid2.UnaryCallRequest.verify|verify} messages.
26313
+ * @param message UnaryCallRequest message or plain object to encode
26314
+ * @param [writer] Writer to encode to
26315
+ * @returns Writer
26316
+ */
26317
+ public static encodeDelimited(message: replit.goval.api.pid2.UnaryCallRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26318
+
26319
+ /**
26320
+ * Decodes an UnaryCallRequest message from the specified reader or buffer.
26321
+ * @param reader Reader or buffer to decode from
26322
+ * @param [length] Message length if known beforehand
26323
+ * @returns UnaryCallRequest
26324
+ * @throws {Error} If the payload is not a reader or valid buffer
26325
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26326
+ */
26327
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.UnaryCallRequest;
26328
+
26329
+ /**
26330
+ * Decodes an UnaryCallRequest message from the specified reader or buffer, length delimited.
26331
+ * @param reader Reader or buffer to decode from
26332
+ * @returns UnaryCallRequest
26333
+ * @throws {Error} If the payload is not a reader or valid buffer
26334
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26335
+ */
26336
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.UnaryCallRequest;
26337
+
26338
+ /**
26339
+ * Verifies an UnaryCallRequest message.
26340
+ * @param message Plain object to verify
26341
+ * @returns `null` if valid, otherwise the reason why it is not
26342
+ */
26343
+ public static verify(message: { [k: string]: any }): (string|null);
26344
+
26345
+ /**
26346
+ * Creates an UnaryCallRequest message from a plain object. Also converts values to their respective internal types.
26347
+ * @param object Plain object
26348
+ * @returns UnaryCallRequest
26349
+ */
26350
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.UnaryCallRequest;
26351
+
26352
+ /**
26353
+ * Creates a plain object from an UnaryCallRequest message. Also converts values to other types if specified.
26354
+ * @param message UnaryCallRequest
26355
+ * @param [options] Conversion options
26356
+ * @returns Plain object
26357
+ */
26358
+ public static toObject(message: replit.goval.api.pid2.UnaryCallRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
26359
+
26360
+ /**
26361
+ * Converts this UnaryCallRequest to JSON.
26362
+ * @returns JSON object
26363
+ */
26364
+ public toJSON(): { [k: string]: any };
26365
+ }
26366
+
26367
+ /** Properties of a StreamCallRequest. */
26368
+ interface IStreamCallRequest {
26369
+
26370
+ /** StreamCallRequest streamId */
26371
+ streamId?: (number|null);
26372
+
26373
+ /** StreamCallRequest service */
26374
+ service?: (string|null);
26375
+
26376
+ /** StreamCallRequest method */
26377
+ method?: (string|null);
26378
+
26379
+ /** StreamCallRequest header */
26380
+ header?: (google.protobuf.Any|google.protobuf.IAny|null);
26381
+ }
26382
+
26383
+ /** Represents a StreamCallRequest. */
26384
+ class StreamCallRequest {
26385
+
26386
+ /**
26387
+ * Constructs a new StreamCallRequest.
26388
+ * @param [properties] Properties to set
26389
+ */
26390
+ private constructor(properties?: replit.goval.api.pid2.IStreamCallRequest);
26391
+
26392
+ /** StreamCallRequest streamId. */
26393
+ public streamId: number;
26394
+
26395
+ /** StreamCallRequest service. */
26396
+ public service: string;
26397
+
26398
+ /** StreamCallRequest method. */
26399
+ public method: string;
26400
+
26401
+ /** StreamCallRequest header. */
26402
+ public header?: (google.protobuf.Any|null);
26403
+
26404
+ /**
26405
+ * Creates a new StreamCallRequest instance using the specified properties.
26406
+ * @param [properties] Properties to set
26407
+ * @returns StreamCallRequest instance
26408
+ */
26409
+ public static create(properties?: replit.goval.api.pid2.IStreamCallRequest): replit.goval.api.pid2.StreamCallRequest;
26410
+
26411
+ /**
26412
+ * Encodes the specified StreamCallRequest message. Does not implicitly {@link replit.goval.api.pid2.StreamCallRequest.verify|verify} messages.
26413
+ * @param message StreamCallRequest message or plain object to encode
26414
+ * @param [writer] Writer to encode to
26415
+ * @returns Writer
26416
+ */
26417
+ public static encode(message: replit.goval.api.pid2.StreamCallRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26418
+
26419
+ /**
26420
+ * Encodes the specified StreamCallRequest message, length delimited. Does not implicitly {@link replit.goval.api.pid2.StreamCallRequest.verify|verify} messages.
26421
+ * @param message StreamCallRequest message or plain object to encode
26422
+ * @param [writer] Writer to encode to
26423
+ * @returns Writer
26424
+ */
26425
+ public static encodeDelimited(message: replit.goval.api.pid2.StreamCallRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26426
+
26427
+ /**
26428
+ * Decodes a StreamCallRequest message from the specified reader or buffer.
26429
+ * @param reader Reader or buffer to decode from
26430
+ * @param [length] Message length if known beforehand
26431
+ * @returns StreamCallRequest
26432
+ * @throws {Error} If the payload is not a reader or valid buffer
26433
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26434
+ */
26435
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.StreamCallRequest;
26436
+
26437
+ /**
26438
+ * Decodes a StreamCallRequest message from the specified reader or buffer, length delimited.
26439
+ * @param reader Reader or buffer to decode from
26440
+ * @returns StreamCallRequest
26441
+ * @throws {Error} If the payload is not a reader or valid buffer
26442
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26443
+ */
26444
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.StreamCallRequest;
26445
+
26446
+ /**
26447
+ * Verifies a StreamCallRequest message.
26448
+ * @param message Plain object to verify
26449
+ * @returns `null` if valid, otherwise the reason why it is not
26450
+ */
26451
+ public static verify(message: { [k: string]: any }): (string|null);
26452
+
26453
+ /**
26454
+ * Creates a StreamCallRequest message from a plain object. Also converts values to their respective internal types.
26455
+ * @param object Plain object
26456
+ * @returns StreamCallRequest
26457
+ */
26458
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.StreamCallRequest;
26459
+
26460
+ /**
26461
+ * Creates a plain object from a StreamCallRequest message. Also converts values to other types if specified.
26462
+ * @param message StreamCallRequest
26463
+ * @param [options] Conversion options
26464
+ * @returns Plain object
26465
+ */
26466
+ public static toObject(message: replit.goval.api.pid2.StreamCallRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
26467
+
26468
+ /**
26469
+ * Converts this StreamCallRequest to JSON.
26470
+ * @returns JSON object
26471
+ */
26472
+ public toJSON(): { [k: string]: any };
26473
+ }
26474
+
26475
+ /** Properties of a StreamContinuationRequest. */
26476
+ interface IStreamContinuationRequest {
26477
+
26478
+ /** StreamContinuationRequest streamId */
26479
+ streamId?: (number|null);
26480
+
26481
+ /** StreamContinuationRequest streamEnd */
26482
+ streamEnd?: (boolean|null);
26483
+
26484
+ /** StreamContinuationRequest request */
26485
+ request?: (google.protobuf.Any|google.protobuf.IAny|null);
26486
+ }
26487
+
26488
+ /** Represents a StreamContinuationRequest. */
26489
+ class StreamContinuationRequest {
26490
+
26491
+ /**
26492
+ * Constructs a new StreamContinuationRequest.
26493
+ * @param [properties] Properties to set
26494
+ */
26495
+ private constructor(properties?: replit.goval.api.pid2.IStreamContinuationRequest);
26496
+
26497
+ /** StreamContinuationRequest streamId. */
26498
+ public streamId: number;
26499
+
26500
+ /** StreamContinuationRequest streamEnd. */
26501
+ public streamEnd: boolean;
26502
+
26503
+ /** StreamContinuationRequest request. */
26504
+ public request?: (google.protobuf.Any|null);
26505
+
26506
+ /**
26507
+ * Creates a new StreamContinuationRequest instance using the specified properties.
26508
+ * @param [properties] Properties to set
26509
+ * @returns StreamContinuationRequest instance
26510
+ */
26511
+ public static create(properties?: replit.goval.api.pid2.IStreamContinuationRequest): replit.goval.api.pid2.StreamContinuationRequest;
26512
+
26513
+ /**
26514
+ * Encodes the specified StreamContinuationRequest message. Does not implicitly {@link replit.goval.api.pid2.StreamContinuationRequest.verify|verify} messages.
26515
+ * @param message StreamContinuationRequest message or plain object to encode
26516
+ * @param [writer] Writer to encode to
26517
+ * @returns Writer
26518
+ */
26519
+ public static encode(message: replit.goval.api.pid2.StreamContinuationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26520
+
26521
+ /**
26522
+ * Encodes the specified StreamContinuationRequest message, length delimited. Does not implicitly {@link replit.goval.api.pid2.StreamContinuationRequest.verify|verify} messages.
26523
+ * @param message StreamContinuationRequest message or plain object to encode
26524
+ * @param [writer] Writer to encode to
26525
+ * @returns Writer
26526
+ */
26527
+ public static encodeDelimited(message: replit.goval.api.pid2.StreamContinuationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26528
+
26529
+ /**
26530
+ * Decodes a StreamContinuationRequest message from the specified reader or buffer.
26531
+ * @param reader Reader or buffer to decode from
26532
+ * @param [length] Message length if known beforehand
26533
+ * @returns StreamContinuationRequest
26534
+ * @throws {Error} If the payload is not a reader or valid buffer
26535
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26536
+ */
26537
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.StreamContinuationRequest;
26538
+
26539
+ /**
26540
+ * Decodes a StreamContinuationRequest message from the specified reader or buffer, length delimited.
26541
+ * @param reader Reader or buffer to decode from
26542
+ * @returns StreamContinuationRequest
26543
+ * @throws {Error} If the payload is not a reader or valid buffer
26544
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26545
+ */
26546
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.StreamContinuationRequest;
26547
+
26548
+ /**
26549
+ * Verifies a StreamContinuationRequest message.
26550
+ * @param message Plain object to verify
26551
+ * @returns `null` if valid, otherwise the reason why it is not
26552
+ */
26553
+ public static verify(message: { [k: string]: any }): (string|null);
26554
+
26555
+ /**
26556
+ * Creates a StreamContinuationRequest message from a plain object. Also converts values to their respective internal types.
26557
+ * @param object Plain object
26558
+ * @returns StreamContinuationRequest
26559
+ */
26560
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.StreamContinuationRequest;
26561
+
26562
+ /**
26563
+ * Creates a plain object from a StreamContinuationRequest message. Also converts values to other types if specified.
26564
+ * @param message StreamContinuationRequest
26565
+ * @param [options] Conversion options
26566
+ * @returns Plain object
26567
+ */
26568
+ public static toObject(message: replit.goval.api.pid2.StreamContinuationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
26569
+
26570
+ /**
26571
+ * Converts this StreamContinuationRequest to JSON.
26572
+ * @returns JSON object
26573
+ */
26574
+ public toJSON(): { [k: string]: any };
26575
+ }
26576
+
26577
+ /** Properties of a StreamCancelRequest. */
26578
+ interface IStreamCancelRequest {
26579
+
26580
+ /** StreamCancelRequest streamId */
26581
+ streamId?: (number|null);
26582
+ }
26583
+
26584
+ /** Represents a StreamCancelRequest. */
26585
+ class StreamCancelRequest {
26586
+
26587
+ /**
26588
+ * Constructs a new StreamCancelRequest.
26589
+ * @param [properties] Properties to set
26590
+ */
26591
+ private constructor(properties?: replit.goval.api.pid2.IStreamCancelRequest);
26592
+
26593
+ /** StreamCancelRequest streamId. */
26594
+ public streamId: number;
26595
+
26596
+ /**
26597
+ * Creates a new StreamCancelRequest instance using the specified properties.
26598
+ * @param [properties] Properties to set
26599
+ * @returns StreamCancelRequest instance
26600
+ */
26601
+ public static create(properties?: replit.goval.api.pid2.IStreamCancelRequest): replit.goval.api.pid2.StreamCancelRequest;
26602
+
26603
+ /**
26604
+ * Encodes the specified StreamCancelRequest message. Does not implicitly {@link replit.goval.api.pid2.StreamCancelRequest.verify|verify} messages.
26605
+ * @param message StreamCancelRequest message or plain object to encode
26606
+ * @param [writer] Writer to encode to
26607
+ * @returns Writer
26608
+ */
26609
+ public static encode(message: replit.goval.api.pid2.StreamCancelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26610
+
26611
+ /**
26612
+ * Encodes the specified StreamCancelRequest message, length delimited. Does not implicitly {@link replit.goval.api.pid2.StreamCancelRequest.verify|verify} messages.
26613
+ * @param message StreamCancelRequest message or plain object to encode
26614
+ * @param [writer] Writer to encode to
26615
+ * @returns Writer
26616
+ */
26617
+ public static encodeDelimited(message: replit.goval.api.pid2.StreamCancelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26618
+
26619
+ /**
26620
+ * Decodes a StreamCancelRequest message from the specified reader or buffer.
26621
+ * @param reader Reader or buffer to decode from
26622
+ * @param [length] Message length if known beforehand
26623
+ * @returns StreamCancelRequest
26624
+ * @throws {Error} If the payload is not a reader or valid buffer
26625
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26626
+ */
26627
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.StreamCancelRequest;
26628
+
26629
+ /**
26630
+ * Decodes a StreamCancelRequest message from the specified reader or buffer, length delimited.
26631
+ * @param reader Reader or buffer to decode from
26632
+ * @returns StreamCancelRequest
26633
+ * @throws {Error} If the payload is not a reader or valid buffer
26634
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26635
+ */
26636
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.StreamCancelRequest;
26637
+
26638
+ /**
26639
+ * Verifies a StreamCancelRequest message.
26640
+ * @param message Plain object to verify
26641
+ * @returns `null` if valid, otherwise the reason why it is not
26642
+ */
26643
+ public static verify(message: { [k: string]: any }): (string|null);
26644
+
26645
+ /**
26646
+ * Creates a StreamCancelRequest message from a plain object. Also converts values to their respective internal types.
26647
+ * @param object Plain object
26648
+ * @returns StreamCancelRequest
26649
+ */
26650
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.StreamCancelRequest;
26651
+
26652
+ /**
26653
+ * Creates a plain object from a StreamCancelRequest message. Also converts values to other types if specified.
26654
+ * @param message StreamCancelRequest
26655
+ * @param [options] Conversion options
26656
+ * @returns Plain object
26657
+ */
26658
+ public static toObject(message: replit.goval.api.pid2.StreamCancelRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
26659
+
26660
+ /**
26661
+ * Converts this StreamCancelRequest to JSON.
26662
+ * @returns JSON object
26663
+ */
26664
+ public toJSON(): { [k: string]: any };
26665
+ }
26666
+
26667
+ /** Properties of an UnaryCallResponse. */
26668
+ interface IUnaryCallResponse {
26669
+
26670
+ /** UnaryCallResponse streamId */
26671
+ streamId?: (number|null);
26672
+
26673
+ /** UnaryCallResponse response */
26674
+ response?: (google.protobuf.Any|google.protobuf.IAny|null);
26675
+
26676
+ /** UnaryCallResponse error */
26677
+ error?: (replit.goval.api.pid2.Error|replit.goval.api.pid2.IError|null);
26678
+ }
26679
+
26680
+ /** Represents an UnaryCallResponse. */
26681
+ class UnaryCallResponse {
26682
+
26683
+ /**
26684
+ * Constructs a new UnaryCallResponse.
26685
+ * @param [properties] Properties to set
26686
+ */
26687
+ private constructor(properties?: replit.goval.api.pid2.IUnaryCallResponse);
26688
+
26689
+ /** UnaryCallResponse streamId. */
26690
+ public streamId: number;
26691
+
26692
+ /** UnaryCallResponse response. */
26693
+ public response?: (google.protobuf.Any|null);
26694
+
26695
+ /** UnaryCallResponse error. */
26696
+ public error?: (replit.goval.api.pid2.Error|null);
26697
+
26698
+ /** UnaryCallResponse body. */
26699
+ public body?: ("response"|"error");
26700
+
26701
+ /**
26702
+ * Creates a new UnaryCallResponse instance using the specified properties.
26703
+ * @param [properties] Properties to set
26704
+ * @returns UnaryCallResponse instance
26705
+ */
26706
+ public static create(properties?: replit.goval.api.pid2.IUnaryCallResponse): replit.goval.api.pid2.UnaryCallResponse;
26707
+
26708
+ /**
26709
+ * Encodes the specified UnaryCallResponse message. Does not implicitly {@link replit.goval.api.pid2.UnaryCallResponse.verify|verify} messages.
26710
+ * @param message UnaryCallResponse message or plain object to encode
26711
+ * @param [writer] Writer to encode to
26712
+ * @returns Writer
26713
+ */
26714
+ public static encode(message: replit.goval.api.pid2.UnaryCallResponse, writer?: $protobuf.Writer): $protobuf.Writer;
26715
+
26716
+ /**
26717
+ * Encodes the specified UnaryCallResponse message, length delimited. Does not implicitly {@link replit.goval.api.pid2.UnaryCallResponse.verify|verify} messages.
26718
+ * @param message UnaryCallResponse message or plain object to encode
26719
+ * @param [writer] Writer to encode to
26720
+ * @returns Writer
26721
+ */
26722
+ public static encodeDelimited(message: replit.goval.api.pid2.UnaryCallResponse, writer?: $protobuf.Writer): $protobuf.Writer;
26723
+
26724
+ /**
26725
+ * Decodes an UnaryCallResponse message from the specified reader or buffer.
26726
+ * @param reader Reader or buffer to decode from
26727
+ * @param [length] Message length if known beforehand
26728
+ * @returns UnaryCallResponse
26729
+ * @throws {Error} If the payload is not a reader or valid buffer
26730
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26731
+ */
26732
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.UnaryCallResponse;
26733
+
26734
+ /**
26735
+ * Decodes an UnaryCallResponse message from the specified reader or buffer, length delimited.
26736
+ * @param reader Reader or buffer to decode from
26737
+ * @returns UnaryCallResponse
26738
+ * @throws {Error} If the payload is not a reader or valid buffer
26739
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26740
+ */
26741
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.UnaryCallResponse;
26742
+
26743
+ /**
26744
+ * Verifies an UnaryCallResponse message.
26745
+ * @param message Plain object to verify
26746
+ * @returns `null` if valid, otherwise the reason why it is not
26747
+ */
26748
+ public static verify(message: { [k: string]: any }): (string|null);
26749
+
26750
+ /**
26751
+ * Creates an UnaryCallResponse message from a plain object. Also converts values to their respective internal types.
26752
+ * @param object Plain object
26753
+ * @returns UnaryCallResponse
26754
+ */
26755
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.UnaryCallResponse;
26756
+
26757
+ /**
26758
+ * Creates a plain object from an UnaryCallResponse message. Also converts values to other types if specified.
26759
+ * @param message UnaryCallResponse
26760
+ * @param [options] Conversion options
26761
+ * @returns Plain object
26762
+ */
26763
+ public static toObject(message: replit.goval.api.pid2.UnaryCallResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
26764
+
26765
+ /**
26766
+ * Converts this UnaryCallResponse to JSON.
26767
+ * @returns JSON object
26768
+ */
26769
+ public toJSON(): { [k: string]: any };
26770
+ }
26771
+
26772
+ /** Properties of a StreamContinuationResponse. */
26773
+ interface IStreamContinuationResponse {
26774
+
26775
+ /** StreamContinuationResponse streamId */
26776
+ streamId?: (number|null);
26777
+
26778
+ /** StreamContinuationResponse streamEnd */
26779
+ streamEnd?: (boolean|null);
26780
+
26781
+ /** StreamContinuationResponse response */
26782
+ response?: (google.protobuf.Any|google.protobuf.IAny|null);
26783
+
26784
+ /** StreamContinuationResponse error */
26785
+ error?: (replit.goval.api.pid2.Error|replit.goval.api.pid2.IError|null);
26786
+ }
26787
+
26788
+ /** Represents a StreamContinuationResponse. */
26789
+ class StreamContinuationResponse {
26790
+
26791
+ /**
26792
+ * Constructs a new StreamContinuationResponse.
26793
+ * @param [properties] Properties to set
26794
+ */
26795
+ private constructor(properties?: replit.goval.api.pid2.IStreamContinuationResponse);
26796
+
26797
+ /** StreamContinuationResponse streamId. */
26798
+ public streamId: number;
26799
+
26800
+ /** StreamContinuationResponse streamEnd. */
26801
+ public streamEnd: boolean;
26802
+
26803
+ /** StreamContinuationResponse response. */
26804
+ public response?: (google.protobuf.Any|null);
26805
+
26806
+ /** StreamContinuationResponse error. */
26807
+ public error?: (replit.goval.api.pid2.Error|null);
26808
+
26809
+ /** StreamContinuationResponse body. */
26810
+ public body?: ("response"|"error");
26811
+
26812
+ /**
26813
+ * Creates a new StreamContinuationResponse instance using the specified properties.
26814
+ * @param [properties] Properties to set
26815
+ * @returns StreamContinuationResponse instance
26816
+ */
26817
+ public static create(properties?: replit.goval.api.pid2.IStreamContinuationResponse): replit.goval.api.pid2.StreamContinuationResponse;
26818
+
26819
+ /**
26820
+ * Encodes the specified StreamContinuationResponse message. Does not implicitly {@link replit.goval.api.pid2.StreamContinuationResponse.verify|verify} messages.
26821
+ * @param message StreamContinuationResponse message or plain object to encode
26822
+ * @param [writer] Writer to encode to
26823
+ * @returns Writer
26824
+ */
26825
+ public static encode(message: replit.goval.api.pid2.StreamContinuationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
26826
+
26827
+ /**
26828
+ * Encodes the specified StreamContinuationResponse message, length delimited. Does not implicitly {@link replit.goval.api.pid2.StreamContinuationResponse.verify|verify} messages.
26829
+ * @param message StreamContinuationResponse message or plain object to encode
26830
+ * @param [writer] Writer to encode to
26831
+ * @returns Writer
26832
+ */
26833
+ public static encodeDelimited(message: replit.goval.api.pid2.StreamContinuationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
26834
+
26835
+ /**
26836
+ * Decodes a StreamContinuationResponse message from the specified reader or buffer.
26837
+ * @param reader Reader or buffer to decode from
26838
+ * @param [length] Message length if known beforehand
26839
+ * @returns StreamContinuationResponse
26840
+ * @throws {Error} If the payload is not a reader or valid buffer
26841
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26842
+ */
26843
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.StreamContinuationResponse;
26844
+
26845
+ /**
26846
+ * Decodes a StreamContinuationResponse message from the specified reader or buffer, length delimited.
26847
+ * @param reader Reader or buffer to decode from
26848
+ * @returns StreamContinuationResponse
26849
+ * @throws {Error} If the payload is not a reader or valid buffer
26850
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26851
+ */
26852
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.StreamContinuationResponse;
26853
+
26854
+ /**
26855
+ * Verifies a StreamContinuationResponse message.
26856
+ * @param message Plain object to verify
26857
+ * @returns `null` if valid, otherwise the reason why it is not
26858
+ */
26859
+ public static verify(message: { [k: string]: any }): (string|null);
26860
+
26861
+ /**
26862
+ * Creates a StreamContinuationResponse message from a plain object. Also converts values to their respective internal types.
26863
+ * @param object Plain object
26864
+ * @returns StreamContinuationResponse
26865
+ */
26866
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.StreamContinuationResponse;
26867
+
26868
+ /**
26869
+ * Creates a plain object from a StreamContinuationResponse message. Also converts values to other types if specified.
26870
+ * @param message StreamContinuationResponse
26871
+ * @param [options] Conversion options
26872
+ * @returns Plain object
26873
+ */
26874
+ public static toObject(message: replit.goval.api.pid2.StreamContinuationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
26875
+
26876
+ /**
26877
+ * Converts this StreamContinuationResponse to JSON.
26878
+ * @returns JSON object
26879
+ */
26880
+ public toJSON(): { [k: string]: any };
26881
+ }
26882
+
26883
+ /** Properties of an Error. */
26884
+ interface IError {
26885
+
26886
+ /** Error code */
26887
+ code?: (replit.goval.api.pid2.Error.Code|null);
26888
+
26889
+ /** Error message */
26890
+ message?: (string|null);
26891
+ }
26892
+
26893
+ /** Represents an Error. */
26894
+ class Error {
26895
+
26896
+ /**
26897
+ * Constructs a new Error.
26898
+ * @param [properties] Properties to set
26899
+ */
26900
+ private constructor(properties?: replit.goval.api.pid2.IError);
26901
+
26902
+ /** Error code. */
26903
+ public code: replit.goval.api.pid2.Error.Code;
26904
+
26905
+ /** Error message. */
26906
+ public message: string;
26907
+
26908
+ /**
26909
+ * Creates a new Error instance using the specified properties.
26910
+ * @param [properties] Properties to set
26911
+ * @returns Error instance
26912
+ */
26913
+ public static create(properties?: replit.goval.api.pid2.IError): replit.goval.api.pid2.Error;
26914
+
26915
+ /**
26916
+ * Encodes the specified Error message. Does not implicitly {@link replit.goval.api.pid2.Error.verify|verify} messages.
26917
+ * @param message Error message or plain object to encode
26918
+ * @param [writer] Writer to encode to
26919
+ * @returns Writer
26920
+ */
26921
+ public static encode(message: replit.goval.api.pid2.Error, writer?: $protobuf.Writer): $protobuf.Writer;
26922
+
26923
+ /**
26924
+ * Encodes the specified Error message, length delimited. Does not implicitly {@link replit.goval.api.pid2.Error.verify|verify} messages.
26925
+ * @param message Error message or plain object to encode
26926
+ * @param [writer] Writer to encode to
26927
+ * @returns Writer
26928
+ */
26929
+ public static encodeDelimited(message: replit.goval.api.pid2.Error, writer?: $protobuf.Writer): $protobuf.Writer;
26930
+
26931
+ /**
26932
+ * Decodes an Error message from the specified reader or buffer.
26933
+ * @param reader Reader or buffer to decode from
26934
+ * @param [length] Message length if known beforehand
26935
+ * @returns Error
26936
+ * @throws {Error} If the payload is not a reader or valid buffer
26937
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26938
+ */
26939
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.Error;
26940
+
26941
+ /**
26942
+ * Decodes an Error message from the specified reader or buffer, length delimited.
26943
+ * @param reader Reader or buffer to decode from
26944
+ * @returns Error
26945
+ * @throws {Error} If the payload is not a reader or valid buffer
26946
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26947
+ */
26948
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.Error;
26949
+
26950
+ /**
26951
+ * Verifies an Error message.
26952
+ * @param message Plain object to verify
26953
+ * @returns `null` if valid, otherwise the reason why it is not
26954
+ */
26955
+ public static verify(message: { [k: string]: any }): (string|null);
26956
+
26957
+ /**
26958
+ * Creates an Error message from a plain object. Also converts values to their respective internal types.
26959
+ * @param object Plain object
26960
+ * @returns Error
26961
+ */
26962
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.Error;
26963
+
26964
+ /**
26965
+ * Creates a plain object from an Error message. Also converts values to other types if specified.
26966
+ * @param message Error
26967
+ * @param [options] Conversion options
26968
+ * @returns Plain object
26969
+ */
26970
+ public static toObject(message: replit.goval.api.pid2.Error, options?: $protobuf.IConversionOptions): { [k: string]: any };
26971
+
26972
+ /**
26973
+ * Converts this Error to JSON.
26974
+ * @returns JSON object
26975
+ */
26976
+ public toJSON(): { [k: string]: any };
26977
+ }
26978
+
26979
+ namespace Error {
26980
+
26981
+ /** Code enum. */
26982
+ enum Code {
26983
+ OK = 0,
26984
+ CANCELED = 1,
26985
+ UNKNOWN = 2,
26986
+ INVALID_ARGUMENT = 3,
26987
+ DEADLINE_EXCEEDED = 4,
26988
+ NOT_FOUND = 5,
26989
+ ALREADY_EXISTS = 6,
26990
+ PERMISSION_DENIED = 7,
26991
+ RESOURCE_EXHAUSTED = 8,
26992
+ FAILED_PRECONDITION = 9,
26993
+ ABORTED = 10,
26994
+ OUT_OF_RANGE = 11,
26995
+ UNIMPLEMENTED = 12,
26996
+ INTERNAL = 13,
26997
+ UNAVAILABLE = 14,
26998
+ DATA_LOSS = 15,
26999
+ UNAUTHENTICATED = 16
27000
+ }
27001
+ }
27002
+
27003
+ /** Properties of a Ping. */
27004
+ interface IPing {
27005
+
27006
+ /** Ping nonce */
27007
+ nonce?: (number|null);
27008
+ }
27009
+
27010
+ /** Represents a Ping. */
27011
+ class Ping {
27012
+
27013
+ /**
27014
+ * Constructs a new Ping.
27015
+ * @param [properties] Properties to set
27016
+ */
27017
+ private constructor(properties?: replit.goval.api.pid2.IPing);
27018
+
27019
+ /** Ping nonce. */
27020
+ public nonce: number;
27021
+
27022
+ /**
27023
+ * Creates a new Ping instance using the specified properties.
27024
+ * @param [properties] Properties to set
27025
+ * @returns Ping instance
27026
+ */
27027
+ public static create(properties?: replit.goval.api.pid2.IPing): replit.goval.api.pid2.Ping;
27028
+
27029
+ /**
27030
+ * Encodes the specified Ping message. Does not implicitly {@link replit.goval.api.pid2.Ping.verify|verify} messages.
27031
+ * @param message Ping message or plain object to encode
27032
+ * @param [writer] Writer to encode to
27033
+ * @returns Writer
27034
+ */
27035
+ public static encode(message: replit.goval.api.pid2.Ping, writer?: $protobuf.Writer): $protobuf.Writer;
27036
+
27037
+ /**
27038
+ * Encodes the specified Ping message, length delimited. Does not implicitly {@link replit.goval.api.pid2.Ping.verify|verify} messages.
27039
+ * @param message Ping message or plain object to encode
27040
+ * @param [writer] Writer to encode to
27041
+ * @returns Writer
27042
+ */
27043
+ public static encodeDelimited(message: replit.goval.api.pid2.Ping, writer?: $protobuf.Writer): $protobuf.Writer;
27044
+
27045
+ /**
27046
+ * Decodes a Ping message from the specified reader or buffer.
27047
+ * @param reader Reader or buffer to decode from
27048
+ * @param [length] Message length if known beforehand
27049
+ * @returns Ping
27050
+ * @throws {Error} If the payload is not a reader or valid buffer
27051
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27052
+ */
27053
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.Ping;
27054
+
27055
+ /**
27056
+ * Decodes a Ping message from the specified reader or buffer, length delimited.
27057
+ * @param reader Reader or buffer to decode from
27058
+ * @returns Ping
27059
+ * @throws {Error} If the payload is not a reader or valid buffer
27060
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27061
+ */
27062
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.Ping;
27063
+
27064
+ /**
27065
+ * Verifies a Ping message.
27066
+ * @param message Plain object to verify
27067
+ * @returns `null` if valid, otherwise the reason why it is not
27068
+ */
27069
+ public static verify(message: { [k: string]: any }): (string|null);
27070
+
27071
+ /**
27072
+ * Creates a Ping message from a plain object. Also converts values to their respective internal types.
27073
+ * @param object Plain object
27074
+ * @returns Ping
27075
+ */
27076
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.Ping;
27077
+
27078
+ /**
27079
+ * Creates a plain object from a Ping message. Also converts values to other types if specified.
27080
+ * @param message Ping
27081
+ * @param [options] Conversion options
27082
+ * @returns Plain object
27083
+ */
27084
+ public static toObject(message: replit.goval.api.pid2.Ping, options?: $protobuf.IConversionOptions): { [k: string]: any };
27085
+
27086
+ /**
27087
+ * Converts this Ping to JSON.
27088
+ * @returns JSON object
27089
+ */
27090
+ public toJSON(): { [k: string]: any };
27091
+ }
27092
+ }
27093
+ }
27094
+ }
27095
+ }
27096
+
27097
+ /** Namespace google. */
27098
+ export namespace google {
27099
+
27100
+ /** Namespace protobuf. */
27101
+ namespace protobuf {
27102
+
27103
+ /** Properties of a Timestamp. */
27104
+ interface ITimestamp {
27105
+
27106
+ /** Timestamp seconds */
27107
+ seconds?: (number|null);
27108
+
27109
+ /** Timestamp nanos */
27110
+ nanos?: (number|null);
27111
+ }
27112
+
27113
+ /** Represents a Timestamp. */
27114
+ class Timestamp {
27115
+
27116
+ /**
27117
+ * Constructs a new Timestamp.
27118
+ * @param [properties] Properties to set
27119
+ */
27120
+ private constructor(properties?: google.protobuf.ITimestamp);
27121
+
27122
+ /** Timestamp seconds. */
27123
+ public seconds: number;
27124
+
27125
+ /** Timestamp nanos. */
27126
+ public nanos: number;
27127
+
27128
+ /**
27129
+ * Creates a new Timestamp instance using the specified properties.
27130
+ * @param [properties] Properties to set
27131
+ * @returns Timestamp instance
27132
+ */
27133
+ public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
27134
+
27135
+ /**
27136
+ * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
27137
+ * @param message Timestamp message or plain object to encode
27138
+ * @param [writer] Writer to encode to
27139
+ * @returns Writer
27140
+ */
27141
+ public static encode(message: google.protobuf.Timestamp, writer?: $protobuf.Writer): $protobuf.Writer;
27142
+
27143
+ /**
27144
+ * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
27145
+ * @param message Timestamp message or plain object to encode
27146
+ * @param [writer] Writer to encode to
27147
+ * @returns Writer
27148
+ */
27149
+ public static encodeDelimited(message: google.protobuf.Timestamp, writer?: $protobuf.Writer): $protobuf.Writer;
27150
+
27151
+ /**
27152
+ * Decodes a Timestamp message from the specified reader or buffer.
27153
+ * @param reader Reader or buffer to decode from
27154
+ * @param [length] Message length if known beforehand
27155
+ * @returns Timestamp
27156
+ * @throws {Error} If the payload is not a reader or valid buffer
27157
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27158
+ */
27159
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
27160
+
27161
+ /**
27162
+ * Decodes a Timestamp message from the specified reader or buffer, length delimited.
27163
+ * @param reader Reader or buffer to decode from
27164
+ * @returns Timestamp
27165
+ * @throws {Error} If the payload is not a reader or valid buffer
27166
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27167
+ */
27168
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
27169
+
27170
+ /**
27171
+ * Verifies a Timestamp message.
27172
+ * @param message Plain object to verify
27173
+ * @returns `null` if valid, otherwise the reason why it is not
27174
+ */
27175
+ public static verify(message: { [k: string]: any }): (string|null);
27176
+
27177
+ /**
27178
+ * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
27179
+ * @param object Plain object
27180
+ * @returns Timestamp
27181
+ */
27182
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
27183
+
27184
+ /**
27185
+ * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
27186
+ * @param message Timestamp
27187
+ * @param [options] Conversion options
27188
+ * @returns Plain object
27189
+ */
27190
+ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
27191
+
27192
+ /**
27193
+ * Converts this Timestamp to JSON.
27194
+ * @returns JSON object
27195
+ */
27196
+ public toJSON(): { [k: string]: any };
27197
+ }
27198
+
27199
+ /** Properties of a Struct. */
27200
+ interface IStruct {
27201
+
27202
+ /** Struct fields */
27203
+ fields?: ({ [k: string]: (google.protobuf.Value|google.protobuf.IValue) }|null);
27204
+ }
27205
+
27206
+ /** Represents a Struct. */
27207
+ class Struct {
27208
+
27209
+ /**
27210
+ * Constructs a new Struct.
27211
+ * @param [properties] Properties to set
27212
+ */
27213
+ private constructor(properties?: google.protobuf.IStruct);
27214
+
27215
+ /** Struct fields. */
27216
+ public fields: { [k: string]: google.protobuf.Value };
27217
+
27218
+ /**
27219
+ * Creates a new Struct instance using the specified properties.
27220
+ * @param [properties] Properties to set
27221
+ * @returns Struct instance
27222
+ */
27223
+ public static create(properties?: google.protobuf.IStruct): google.protobuf.Struct;
27224
+
27225
+ /**
27226
+ * Encodes the specified Struct message. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
27227
+ * @param message Struct message or plain object to encode
27228
+ * @param [writer] Writer to encode to
27229
+ * @returns Writer
27230
+ */
27231
+ public static encode(message: google.protobuf.Struct, writer?: $protobuf.Writer): $protobuf.Writer;
27232
+
27233
+ /**
27234
+ * Encodes the specified Struct message, length delimited. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
27235
+ * @param message Struct message or plain object to encode
27236
+ * @param [writer] Writer to encode to
27237
+ * @returns Writer
27238
+ */
27239
+ public static encodeDelimited(message: google.protobuf.Struct, writer?: $protobuf.Writer): $protobuf.Writer;
27240
+
27241
+ /**
27242
+ * Decodes a Struct message from the specified reader or buffer.
27243
+ * @param reader Reader or buffer to decode from
27244
+ * @param [length] Message length if known beforehand
27245
+ * @returns Struct
27246
+ * @throws {Error} If the payload is not a reader or valid buffer
27247
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27248
+ */
27249
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Struct;
27250
+
27251
+ /**
27252
+ * Decodes a Struct message from the specified reader or buffer, length delimited.
27253
+ * @param reader Reader or buffer to decode from
27254
+ * @returns Struct
27255
+ * @throws {Error} If the payload is not a reader or valid buffer
27256
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27257
+ */
27258
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Struct;
27259
+
27260
+ /**
27261
+ * Verifies a Struct message.
27262
+ * @param message Plain object to verify
27263
+ * @returns `null` if valid, otherwise the reason why it is not
27264
+ */
27265
+ public static verify(message: { [k: string]: any }): (string|null);
27266
+
27267
+ /**
27268
+ * Creates a Struct message from a plain object. Also converts values to their respective internal types.
27269
+ * @param object Plain object
27270
+ * @returns Struct
27271
+ */
27272
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Struct;
27273
+
27274
+ /**
27275
+ * Creates a plain object from a Struct message. Also converts values to other types if specified.
27276
+ * @param message Struct
27277
+ * @param [options] Conversion options
27278
+ * @returns Plain object
27279
+ */
27280
+ public static toObject(message: google.protobuf.Struct, options?: $protobuf.IConversionOptions): { [k: string]: any };
27281
+
27282
+ /**
27283
+ * Converts this Struct to JSON.
27284
+ * @returns JSON object
27285
+ */
27286
+ public toJSON(): { [k: string]: any };
27287
+ }
27288
+
27289
+ /** Properties of a Value. */
27290
+ interface IValue {
27291
+
27292
+ /** Value nullValue */
27293
+ nullValue?: (google.protobuf.NullValue|null);
27294
+
27295
+ /** Value numberValue */
27296
+ numberValue?: (number|null);
27297
+
27298
+ /** Value stringValue */
27299
+ stringValue?: (string|null);
27300
+
27301
+ /** Value boolValue */
27302
+ boolValue?: (boolean|null);
27303
+
27304
+ /** Value structValue */
27305
+ structValue?: (google.protobuf.Struct|google.protobuf.IStruct|null);
27306
+
27307
+ /** Value listValue */
27308
+ listValue?: (google.protobuf.ListValue|google.protobuf.IListValue|null);
27309
+ }
27310
+
27311
+ /** Represents a Value. */
27312
+ class Value {
27313
+
27314
+ /**
27315
+ * Constructs a new Value.
27316
+ * @param [properties] Properties to set
27317
+ */
27318
+ private constructor(properties?: google.protobuf.IValue);
27319
+
27320
+ /** Value nullValue. */
27321
+ public nullValue?: (google.protobuf.NullValue|null);
27322
+
27323
+ /** Value numberValue. */
27324
+ public numberValue?: (number|null);
27325
+
27326
+ /** Value stringValue. */
26237
27327
  public stringValue?: (string|null);
26238
27328
 
26239
27329
  /** Value boolValue. */
@@ -26503,6 +27593,102 @@ export namespace google {
26503
27593
  */
26504
27594
  public toJSON(): { [k: string]: any };
26505
27595
  }
27596
+
27597
+ /** Properties of an Any. */
27598
+ interface IAny {
27599
+
27600
+ /** Any type_url */
27601
+ type_url?: (string|null);
27602
+
27603
+ /** Any value */
27604
+ value?: (Uint8Array|null);
27605
+ }
27606
+
27607
+ /** Represents an Any. */
27608
+ class Any {
27609
+
27610
+ /**
27611
+ * Constructs a new Any.
27612
+ * @param [properties] Properties to set
27613
+ */
27614
+ private constructor(properties?: google.protobuf.IAny);
27615
+
27616
+ /** Any type_url. */
27617
+ public type_url: string;
27618
+
27619
+ /** Any value. */
27620
+ public value: Uint8Array;
27621
+
27622
+ /**
27623
+ * Creates a new Any instance using the specified properties.
27624
+ * @param [properties] Properties to set
27625
+ * @returns Any instance
27626
+ */
27627
+ public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
27628
+
27629
+ /**
27630
+ * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
27631
+ * @param message Any message or plain object to encode
27632
+ * @param [writer] Writer to encode to
27633
+ * @returns Writer
27634
+ */
27635
+ public static encode(message: google.protobuf.Any, writer?: $protobuf.Writer): $protobuf.Writer;
27636
+
27637
+ /**
27638
+ * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
27639
+ * @param message Any message or plain object to encode
27640
+ * @param [writer] Writer to encode to
27641
+ * @returns Writer
27642
+ */
27643
+ public static encodeDelimited(message: google.protobuf.Any, writer?: $protobuf.Writer): $protobuf.Writer;
27644
+
27645
+ /**
27646
+ * Decodes an Any message from the specified reader or buffer.
27647
+ * @param reader Reader or buffer to decode from
27648
+ * @param [length] Message length if known beforehand
27649
+ * @returns Any
27650
+ * @throws {Error} If the payload is not a reader or valid buffer
27651
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27652
+ */
27653
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
27654
+
27655
+ /**
27656
+ * Decodes an Any message from the specified reader or buffer, length delimited.
27657
+ * @param reader Reader or buffer to decode from
27658
+ * @returns Any
27659
+ * @throws {Error} If the payload is not a reader or valid buffer
27660
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27661
+ */
27662
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
27663
+
27664
+ /**
27665
+ * Verifies an Any message.
27666
+ * @param message Plain object to verify
27667
+ * @returns `null` if valid, otherwise the reason why it is not
27668
+ */
27669
+ public static verify(message: { [k: string]: any }): (string|null);
27670
+
27671
+ /**
27672
+ * Creates an Any message from a plain object. Also converts values to their respective internal types.
27673
+ * @param object Plain object
27674
+ * @returns Any
27675
+ */
27676
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
27677
+
27678
+ /**
27679
+ * Creates a plain object from an Any message. Also converts values to other types if specified.
27680
+ * @param message Any
27681
+ * @param [options] Conversion options
27682
+ * @returns Plain object
27683
+ */
27684
+ public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
27685
+
27686
+ /**
27687
+ * Converts this Any to JSON.
27688
+ * @returns JSON object
27689
+ */
27690
+ public toJSON(): { [k: string]: any };
27691
+ }
26506
27692
  }
26507
27693
  }
26508
27694
  import api = replit.goval.api; export { api };