@@ -332,6 +332,27 @@ public com.google.protobuf.ByteString getProtoDescriptors() {
332
332
return protoDescriptors_ ;
333
333
}
334
334
335
+ public static final int THROUGHPUT_MODE_FIELD_NUMBER = 5 ;
336
+ private boolean throughputMode_ = false ;
337
+
338
+ /**
339
+ *
340
+ *
341
+ * <pre>
342
+ * Optional. This field is exposed to be used by the Spanner Migration Tool.
343
+ * For more details, see
344
+ * [SMT](https://github.com/GoogleCloudPlatform/spanner-migration-tool).
345
+ * </pre>
346
+ *
347
+ * <code>bool throughput_mode = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
348
+ *
349
+ * @return The throughputMode.
350
+ */
351
+ @ java .lang .Override
352
+ public boolean getThroughputMode () {
353
+ return throughputMode_ ;
354
+ }
355
+
335
356
private byte memoizedIsInitialized = -1 ;
336
357
337
358
@ java .lang .Override
@@ -358,6 +379,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
358
379
if (!protoDescriptors_ .isEmpty ()) {
359
380
output .writeBytes (4 , protoDescriptors_ );
360
381
}
382
+ if (throughputMode_ != false ) {
383
+ output .writeBool (5 , throughputMode_ );
384
+ }
361
385
getUnknownFields ().writeTo (output );
362
386
}
363
387
@@ -384,6 +408,9 @@ public int getSerializedSize() {
384
408
if (!protoDescriptors_ .isEmpty ()) {
385
409
size += com .google .protobuf .CodedOutputStream .computeBytesSize (4 , protoDescriptors_ );
386
410
}
411
+ if (throughputMode_ != false ) {
412
+ size += com .google .protobuf .CodedOutputStream .computeBoolSize (5 , throughputMode_ );
413
+ }
387
414
size += getUnknownFields ().getSerializedSize ();
388
415
memoizedSize = size ;
389
416
return size ;
@@ -404,6 +431,7 @@ public boolean equals(final java.lang.Object obj) {
404
431
if (!getStatementsList ().equals (other .getStatementsList ())) return false ;
405
432
if (!getOperationId ().equals (other .getOperationId ())) return false ;
406
433
if (!getProtoDescriptors ().equals (other .getProtoDescriptors ())) return false ;
434
+ if (getThroughputMode () != other .getThroughputMode ()) return false ;
407
435
if (!getUnknownFields ().equals (other .getUnknownFields ())) return false ;
408
436
return true ;
409
437
}
@@ -425,6 +453,8 @@ public int hashCode() {
425
453
hash = (53 * hash ) + getOperationId ().hashCode ();
426
454
hash = (37 * hash ) + PROTO_DESCRIPTORS_FIELD_NUMBER ;
427
455
hash = (53 * hash ) + getProtoDescriptors ().hashCode ();
456
+ hash = (37 * hash ) + THROUGHPUT_MODE_FIELD_NUMBER ;
457
+ hash = (53 * hash ) + com .google .protobuf .Internal .hashBoolean (getThroughputMode ());
428
458
hash = (29 * hash ) + getUnknownFields ().hashCode ();
429
459
memoizedHashCode = hash ;
430
460
return hash ;
@@ -585,6 +615,7 @@ public Builder clear() {
585
615
statements_ = com .google .protobuf .LazyStringArrayList .emptyList ();
586
616
operationId_ = "" ;
587
617
protoDescriptors_ = com .google .protobuf .ByteString .EMPTY ;
618
+ throughputMode_ = false ;
588
619
return this ;
589
620
}
590
621
@@ -636,6 +667,9 @@ private void buildPartial0(
636
667
if (((from_bitField0_ & 0x00000008 ) != 0 )) {
637
668
result .protoDescriptors_ = protoDescriptors_ ;
638
669
}
670
+ if (((from_bitField0_ & 0x00000010 ) != 0 )) {
671
+ result .throughputMode_ = throughputMode_ ;
672
+ }
639
673
}
640
674
641
675
@ java .lang .Override
@@ -708,6 +742,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlR
708
742
if (other .getProtoDescriptors () != com .google .protobuf .ByteString .EMPTY ) {
709
743
setProtoDescriptors (other .getProtoDescriptors ());
710
744
}
745
+ if (other .getThroughputMode () != false ) {
746
+ setThroughputMode (other .getThroughputMode ());
747
+ }
711
748
this .mergeUnknownFields (other .getUnknownFields ());
712
749
onChanged ();
713
750
return this ;
@@ -759,6 +796,12 @@ public Builder mergeFrom(
759
796
bitField0_ |= 0x00000008 ;
760
797
break ;
761
798
} // case 34
799
+ case 40 :
800
+ {
801
+ throughputMode_ = input .readBool ();
802
+ bitField0_ |= 0x00000010 ;
803
+ break ;
804
+ } // case 40
762
805
default :
763
806
{
764
807
if (!super .parseUnknownField (input , extensionRegistry , tag )) {
@@ -1390,6 +1433,68 @@ public Builder clearProtoDescriptors() {
1390
1433
return this ;
1391
1434
}
1392
1435
1436
+ private boolean throughputMode_ ;
1437
+
1438
+ /**
1439
+ *
1440
+ *
1441
+ * <pre>
1442
+ * Optional. This field is exposed to be used by the Spanner Migration Tool.
1443
+ * For more details, see
1444
+ * [SMT](https://github.com/GoogleCloudPlatform/spanner-migration-tool).
1445
+ * </pre>
1446
+ *
1447
+ * <code>bool throughput_mode = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
1448
+ *
1449
+ * @return The throughputMode.
1450
+ */
1451
+ @ java .lang .Override
1452
+ public boolean getThroughputMode () {
1453
+ return throughputMode_ ;
1454
+ }
1455
+
1456
+ /**
1457
+ *
1458
+ *
1459
+ * <pre>
1460
+ * Optional. This field is exposed to be used by the Spanner Migration Tool.
1461
+ * For more details, see
1462
+ * [SMT](https://github.com/GoogleCloudPlatform/spanner-migration-tool).
1463
+ * </pre>
1464
+ *
1465
+ * <code>bool throughput_mode = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
1466
+ *
1467
+ * @param value The throughputMode to set.
1468
+ * @return This builder for chaining.
1469
+ */
1470
+ public Builder setThroughputMode (boolean value ) {
1471
+
1472
+ throughputMode_ = value ;
1473
+ bitField0_ |= 0x00000010 ;
1474
+ onChanged ();
1475
+ return this ;
1476
+ }
1477
+
1478
+ /**
1479
+ *
1480
+ *
1481
+ * <pre>
1482
+ * Optional. This field is exposed to be used by the Spanner Migration Tool.
1483
+ * For more details, see
1484
+ * [SMT](https://github.com/GoogleCloudPlatform/spanner-migration-tool).
1485
+ * </pre>
1486
+ *
1487
+ * <code>bool throughput_mode = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
1488
+ *
1489
+ * @return This builder for chaining.
1490
+ */
1491
+ public Builder clearThroughputMode () {
1492
+ bitField0_ = (bitField0_ & ~0x00000010 );
1493
+ throughputMode_ = false ;
1494
+ onChanged ();
1495
+ return this ;
1496
+ }
1497
+
1393
1498
@ java .lang .Override
1394
1499
public final Builder setUnknownFields (final com .google .protobuf .UnknownFieldSet unknownFields ) {
1395
1500
return super .setUnknownFields (unknownFields );
0 commit comments