7
7
import * as jspb from "google-protobuf" ;
8
8
import * as shared_pb from "./shared_pb" ;
9
9
import * as status_pb from "./status_pb" ;
10
+ import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb" ;
10
11
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb" ;
11
12
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb" ;
12
13
@@ -493,6 +494,21 @@ export namespace ReadResp {
493
494
494
495
export class CaughtUp extends jspb . Message {
495
496
497
+ hasTimestamp ( ) : boolean ;
498
+ clearTimestamp ( ) : void ;
499
+ getTimestamp ( ) : google_protobuf_timestamp_pb . Timestamp | undefined ;
500
+ setTimestamp ( value ?: google_protobuf_timestamp_pb . Timestamp ) : CaughtUp ;
501
+
502
+ hasStreamRevision ( ) : boolean ;
503
+ clearStreamRevision ( ) : void ;
504
+ getStreamRevision ( ) : string | undefined ;
505
+ setStreamRevision ( value : string ) : CaughtUp ;
506
+
507
+ hasPosition ( ) : boolean ;
508
+ clearPosition ( ) : void ;
509
+ getPosition ( ) : ReadResp . Position | undefined ;
510
+ setPosition ( value ?: ReadResp . Position ) : CaughtUp ;
511
+
496
512
serializeBinary ( ) : Uint8Array ;
497
513
toObject ( includeInstance ?: boolean ) : CaughtUp . AsObject ;
498
514
static toObject ( includeInstance : boolean , msg : CaughtUp ) : CaughtUp . AsObject ;
@@ -505,11 +521,29 @@ export namespace ReadResp {
505
521
506
522
export namespace CaughtUp {
507
523
export type AsObject = {
524
+ timestamp ?: google_protobuf_timestamp_pb . Timestamp . AsObject ,
525
+ streamRevision ?: string ,
526
+ position ?: ReadResp . Position . AsObject ,
508
527
}
509
528
}
510
529
511
530
export class FellBehind extends jspb . Message {
512
531
532
+ hasTimestamp ( ) : boolean ;
533
+ clearTimestamp ( ) : void ;
534
+ getTimestamp ( ) : google_protobuf_timestamp_pb . Timestamp | undefined ;
535
+ setTimestamp ( value ?: google_protobuf_timestamp_pb . Timestamp ) : FellBehind ;
536
+
537
+ hasStreamRevision ( ) : boolean ;
538
+ clearStreamRevision ( ) : void ;
539
+ getStreamRevision ( ) : string | undefined ;
540
+ setStreamRevision ( value : string ) : FellBehind ;
541
+
542
+ hasPosition ( ) : boolean ;
543
+ clearPosition ( ) : void ;
544
+ getPosition ( ) : ReadResp . Position | undefined ;
545
+ setPosition ( value ?: ReadResp . Position ) : FellBehind ;
546
+
513
547
serializeBinary ( ) : Uint8Array ;
514
548
toObject ( includeInstance ?: boolean ) : FellBehind . AsObject ;
515
549
static toObject ( includeInstance : boolean , msg : FellBehind ) : FellBehind . AsObject ;
@@ -522,6 +556,9 @@ export namespace ReadResp {
522
556
523
557
export namespace FellBehind {
524
558
export type AsObject = {
559
+ timestamp ?: google_protobuf_timestamp_pb . Timestamp . AsObject ,
560
+ streamRevision ?: string ,
561
+ position ?: ReadResp . Position . AsObject ,
525
562
}
526
563
}
527
564
@@ -656,6 +693,11 @@ export namespace ReadResp {
656
693
getPreparePosition ( ) : string ;
657
694
setPreparePosition ( value : string ) : Checkpoint ;
658
695
696
+ hasTimestamp ( ) : boolean ;
697
+ clearTimestamp ( ) : void ;
698
+ getTimestamp ( ) : google_protobuf_timestamp_pb . Timestamp | undefined ;
699
+ setTimestamp ( value ?: google_protobuf_timestamp_pb . Timestamp ) : Checkpoint ;
700
+
659
701
serializeBinary ( ) : Uint8Array ;
660
702
toObject ( includeInstance ?: boolean ) : Checkpoint . AsObject ;
661
703
static toObject ( includeInstance : boolean , msg : Checkpoint ) : Checkpoint . AsObject ;
@@ -667,6 +709,30 @@ export namespace ReadResp {
667
709
}
668
710
669
711
export namespace Checkpoint {
712
+ export type AsObject = {
713
+ commitPosition : string ,
714
+ preparePosition : string ,
715
+ timestamp ?: google_protobuf_timestamp_pb . Timestamp . AsObject ,
716
+ }
717
+ }
718
+
719
+ export class Position extends jspb . Message {
720
+ getCommitPosition ( ) : string ;
721
+ setCommitPosition ( value : string ) : Position ;
722
+ getPreparePosition ( ) : string ;
723
+ setPreparePosition ( value : string ) : Position ;
724
+
725
+ serializeBinary ( ) : Uint8Array ;
726
+ toObject ( includeInstance ?: boolean ) : Position . AsObject ;
727
+ static toObject ( includeInstance : boolean , msg : Position ) : Position . AsObject ;
728
+ static extensions : { [ key : number ] : jspb . ExtensionFieldInfo < jspb . Message > } ;
729
+ static extensionsBinary : { [ key : number ] : jspb . ExtensionFieldBinaryInfo < jspb . Message > } ;
730
+ static serializeBinaryToWriter ( message : Position , writer : jspb . BinaryWriter ) : void ;
731
+ static deserializeBinary ( bytes : Uint8Array ) : Position ;
732
+ static deserializeBinaryFromReader ( message : Position , reader : jspb . BinaryReader ) : Position ;
733
+ }
734
+
735
+ export namespace Position {
670
736
export type AsObject = {
671
737
commitPosition : string ,
672
738
preparePosition : string ,
@@ -1148,12 +1214,18 @@ export namespace BatchAppendReq {
1148
1214
getStreamExists ( ) : google_protobuf_empty_pb . Empty | undefined ;
1149
1215
setStreamExists ( value ?: google_protobuf_empty_pb . Empty ) : Options ;
1150
1216
1217
+ hasDeadline21100 ( ) : boolean ;
1218
+ clearDeadline21100 ( ) : void ;
1219
+ getDeadline21100 ( ) : google_protobuf_timestamp_pb . Timestamp | undefined ;
1220
+ setDeadline21100 ( value ?: google_protobuf_timestamp_pb . Timestamp ) : Options ;
1221
+
1151
1222
hasDeadline ( ) : boolean ;
1152
1223
clearDeadline ( ) : void ;
1153
- getDeadline ( ) : google_protobuf_timestamp_pb . Timestamp | undefined ;
1154
- setDeadline ( value ?: google_protobuf_timestamp_pb . Timestamp ) : Options ;
1224
+ getDeadline ( ) : google_protobuf_duration_pb . Duration | undefined ;
1225
+ setDeadline ( value ?: google_protobuf_duration_pb . Duration ) : Options ;
1155
1226
1156
1227
getExpectedStreamPositionCase ( ) : Options . ExpectedStreamPositionCase ;
1228
+ getDeadlineOptionCase ( ) : Options . DeadlineOptionCase ;
1157
1229
1158
1230
serializeBinary ( ) : Uint8Array ;
1159
1231
toObject ( includeInstance ?: boolean ) : Options . AsObject ;
@@ -1172,7 +1244,8 @@ export namespace BatchAppendReq {
1172
1244
noStream ?: google_protobuf_empty_pb . Empty . AsObject ,
1173
1245
any ?: google_protobuf_empty_pb . Empty . AsObject ,
1174
1246
streamExists ?: google_protobuf_empty_pb . Empty . AsObject ,
1175
- deadline ?: google_protobuf_timestamp_pb . Timestamp . AsObject ,
1247
+ deadline21100 ?: google_protobuf_timestamp_pb . Timestamp . AsObject ,
1248
+ deadline ?: google_protobuf_duration_pb . Duration . AsObject ,
1176
1249
}
1177
1250
1178
1251
export enum ExpectedStreamPositionCase {
@@ -1183,6 +1256,12 @@ export namespace BatchAppendReq {
1183
1256
STREAM_EXISTS = 5 ,
1184
1257
}
1185
1258
1259
+ export enum DeadlineOptionCase {
1260
+ DEADLINE_OPTION_NOT_SET = 0 ,
1261
+ DEADLINE_21_10_0 = 6 ,
1262
+ DEADLINE = 7 ,
1263
+ }
1264
+
1186
1265
}
1187
1266
1188
1267
export class ProposedMessage extends jspb . Message {
0 commit comments