@@ -105,6 +105,25 @@ public boolean getMutateRowsRateLimit() {
105
105
return mutateRowsRateLimit_ ;
106
106
}
107
107
108
+ public static final int LAST_SCANNED_ROW_RESPONSES_FIELD_NUMBER = 4 ;
109
+ private boolean lastScannedRowResponses_ = false ;
110
+ /**
111
+ *
112
+ *
113
+ * <pre>
114
+ * Notify the server that the client supports the last_scanned_row field
115
+ * in ReadRowsResponse for long-running sparse scans.
116
+ * </pre>
117
+ *
118
+ * <code>bool last_scanned_row_responses = 4;</code>
119
+ *
120
+ * @return The lastScannedRowResponses.
121
+ */
122
+ @ java .lang .Override
123
+ public boolean getLastScannedRowResponses () {
124
+ return lastScannedRowResponses_ ;
125
+ }
126
+
108
127
private byte memoizedIsInitialized = -1 ;
109
128
110
129
@ java .lang .Override
@@ -125,6 +144,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
125
144
if (mutateRowsRateLimit_ != false ) {
126
145
output .writeBool (3 , mutateRowsRateLimit_ );
127
146
}
147
+ if (lastScannedRowResponses_ != false ) {
148
+ output .writeBool (4 , lastScannedRowResponses_ );
149
+ }
128
150
getUnknownFields ().writeTo (output );
129
151
}
130
152
@@ -140,6 +162,9 @@ public int getSerializedSize() {
140
162
if (mutateRowsRateLimit_ != false ) {
141
163
size += com .google .protobuf .CodedOutputStream .computeBoolSize (3 , mutateRowsRateLimit_ );
142
164
}
165
+ if (lastScannedRowResponses_ != false ) {
166
+ size += com .google .protobuf .CodedOutputStream .computeBoolSize (4 , lastScannedRowResponses_ );
167
+ }
143
168
size += getUnknownFields ().getSerializedSize ();
144
169
memoizedSize = size ;
145
170
return size ;
@@ -157,6 +182,7 @@ public boolean equals(final java.lang.Object obj) {
157
182
158
183
if (getReverseScans () != other .getReverseScans ()) return false ;
159
184
if (getMutateRowsRateLimit () != other .getMutateRowsRateLimit ()) return false ;
185
+ if (getLastScannedRowResponses () != other .getLastScannedRowResponses ()) return false ;
160
186
if (!getUnknownFields ().equals (other .getUnknownFields ())) return false ;
161
187
return true ;
162
188
}
@@ -172,6 +198,8 @@ public int hashCode() {
172
198
hash = (53 * hash ) + com .google .protobuf .Internal .hashBoolean (getReverseScans ());
173
199
hash = (37 * hash ) + MUTATE_ROWS_RATE_LIMIT_FIELD_NUMBER ;
174
200
hash = (53 * hash ) + com .google .protobuf .Internal .hashBoolean (getMutateRowsRateLimit ());
201
+ hash = (37 * hash ) + LAST_SCANNED_ROW_RESPONSES_FIELD_NUMBER ;
202
+ hash = (53 * hash ) + com .google .protobuf .Internal .hashBoolean (getLastScannedRowResponses ());
175
203
hash = (29 * hash ) + getUnknownFields ().hashCode ();
176
204
memoizedHashCode = hash ;
177
205
return hash ;
@@ -319,6 +347,7 @@ public Builder clear() {
319
347
bitField0_ = 0 ;
320
348
reverseScans_ = false ;
321
349
mutateRowsRateLimit_ = false ;
350
+ lastScannedRowResponses_ = false ;
322
351
return this ;
323
352
}
324
353
@@ -360,6 +389,9 @@ private void buildPartial0(com.google.bigtable.v2.FeatureFlags result) {
360
389
if (((from_bitField0_ & 0x00000002 ) != 0 )) {
361
390
result .mutateRowsRateLimit_ = mutateRowsRateLimit_ ;
362
391
}
392
+ if (((from_bitField0_ & 0x00000004 ) != 0 )) {
393
+ result .lastScannedRowResponses_ = lastScannedRowResponses_ ;
394
+ }
363
395
}
364
396
365
397
@ java .lang .Override
@@ -413,6 +445,9 @@ public Builder mergeFrom(com.google.bigtable.v2.FeatureFlags other) {
413
445
if (other .getMutateRowsRateLimit () != false ) {
414
446
setMutateRowsRateLimit (other .getMutateRowsRateLimit ());
415
447
}
448
+ if (other .getLastScannedRowResponses () != false ) {
449
+ setLastScannedRowResponses (other .getLastScannedRowResponses ());
450
+ }
416
451
this .mergeUnknownFields (other .getUnknownFields ());
417
452
onChanged ();
418
453
return this ;
@@ -451,6 +486,12 @@ public Builder mergeFrom(
451
486
bitField0_ |= 0x00000002 ;
452
487
break ;
453
488
} // case 24
489
+ case 32 :
490
+ {
491
+ lastScannedRowResponses_ = input .readBool ();
492
+ bitField0_ |= 0x00000004 ;
493
+ break ;
494
+ } // case 32
454
495
default :
455
496
{
456
497
if (!super .parseUnknownField (input , extensionRegistry , tag )) {
@@ -582,6 +623,62 @@ public Builder clearMutateRowsRateLimit() {
582
623
return this ;
583
624
}
584
625
626
+ private boolean lastScannedRowResponses_ ;
627
+ /**
628
+ *
629
+ *
630
+ * <pre>
631
+ * Notify the server that the client supports the last_scanned_row field
632
+ * in ReadRowsResponse for long-running sparse scans.
633
+ * </pre>
634
+ *
635
+ * <code>bool last_scanned_row_responses = 4;</code>
636
+ *
637
+ * @return The lastScannedRowResponses.
638
+ */
639
+ @ java .lang .Override
640
+ public boolean getLastScannedRowResponses () {
641
+ return lastScannedRowResponses_ ;
642
+ }
643
+ /**
644
+ *
645
+ *
646
+ * <pre>
647
+ * Notify the server that the client supports the last_scanned_row field
648
+ * in ReadRowsResponse for long-running sparse scans.
649
+ * </pre>
650
+ *
651
+ * <code>bool last_scanned_row_responses = 4;</code>
652
+ *
653
+ * @param value The lastScannedRowResponses to set.
654
+ * @return This builder for chaining.
655
+ */
656
+ public Builder setLastScannedRowResponses (boolean value ) {
657
+
658
+ lastScannedRowResponses_ = value ;
659
+ bitField0_ |= 0x00000004 ;
660
+ onChanged ();
661
+ return this ;
662
+ }
663
+ /**
664
+ *
665
+ *
666
+ * <pre>
667
+ * Notify the server that the client supports the last_scanned_row field
668
+ * in ReadRowsResponse for long-running sparse scans.
669
+ * </pre>
670
+ *
671
+ * <code>bool last_scanned_row_responses = 4;</code>
672
+ *
673
+ * @return This builder for chaining.
674
+ */
675
+ public Builder clearLastScannedRowResponses () {
676
+ bitField0_ = (bitField0_ & ~0x00000004 );
677
+ lastScannedRowResponses_ = false ;
678
+ onChanged ();
679
+ return this ;
680
+ }
681
+
585
682
@ java .lang .Override
586
683
public final Builder setUnknownFields (final com .google .protobuf .UnknownFieldSet unknownFields ) {
587
684
return super .setUnknownFields (unknownFields );
0 commit comments