@replit/protocol 0.3.12 → 0.3.13

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