@@ -332,6 +332,27 @@ public com.google.protobuf.ByteString getProtoDescriptors() {
332332 return protoDescriptors_ ;
333333 }
334334
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+
335356 private byte memoizedIsInitialized = -1 ;
336357
337358 @ java .lang .Override
@@ -358,6 +379,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
358379 if (!protoDescriptors_ .isEmpty ()) {
359380 output .writeBytes (4 , protoDescriptors_ );
360381 }
382+ if (throughputMode_ != false ) {
383+ output .writeBool (5 , throughputMode_ );
384+ }
361385 getUnknownFields ().writeTo (output );
362386 }
363387
@@ -384,6 +408,9 @@ public int getSerializedSize() {
384408 if (!protoDescriptors_ .isEmpty ()) {
385409 size += com .google .protobuf .CodedOutputStream .computeBytesSize (4 , protoDescriptors_ );
386410 }
411+ if (throughputMode_ != false ) {
412+ size += com .google .protobuf .CodedOutputStream .computeBoolSize (5 , throughputMode_ );
413+ }
387414 size += getUnknownFields ().getSerializedSize ();
388415 memoizedSize = size ;
389416 return size ;
@@ -404,6 +431,7 @@ public boolean equals(final java.lang.Object obj) {
404431 if (!getStatementsList ().equals (other .getStatementsList ())) return false ;
405432 if (!getOperationId ().equals (other .getOperationId ())) return false ;
406433 if (!getProtoDescriptors ().equals (other .getProtoDescriptors ())) return false ;
434+ if (getThroughputMode () != other .getThroughputMode ()) return false ;
407435 if (!getUnknownFields ().equals (other .getUnknownFields ())) return false ;
408436 return true ;
409437 }
@@ -425,6 +453,8 @@ public int hashCode() {
425453 hash = (53 * hash ) + getOperationId ().hashCode ();
426454 hash = (37 * hash ) + PROTO_DESCRIPTORS_FIELD_NUMBER ;
427455 hash = (53 * hash ) + getProtoDescriptors ().hashCode ();
456+ hash = (37 * hash ) + THROUGHPUT_MODE_FIELD_NUMBER ;
457+ hash = (53 * hash ) + com .google .protobuf .Internal .hashBoolean (getThroughputMode ());
428458 hash = (29 * hash ) + getUnknownFields ().hashCode ();
429459 memoizedHashCode = hash ;
430460 return hash ;
@@ -585,6 +615,7 @@ public Builder clear() {
585615 statements_ = com .google .protobuf .LazyStringArrayList .emptyList ();
586616 operationId_ = "" ;
587617 protoDescriptors_ = com .google .protobuf .ByteString .EMPTY ;
618+ throughputMode_ = false ;
588619 return this ;
589620 }
590621
@@ -636,6 +667,9 @@ private void buildPartial0(
636667 if (((from_bitField0_ & 0x00000008 ) != 0 )) {
637668 result .protoDescriptors_ = protoDescriptors_ ;
638669 }
670+ if (((from_bitField0_ & 0x00000010 ) != 0 )) {
671+ result .throughputMode_ = throughputMode_ ;
672+ }
639673 }
640674
641675 @ java .lang .Override
@@ -708,6 +742,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlR
708742 if (other .getProtoDescriptors () != com .google .protobuf .ByteString .EMPTY ) {
709743 setProtoDescriptors (other .getProtoDescriptors ());
710744 }
745+ if (other .getThroughputMode () != false ) {
746+ setThroughputMode (other .getThroughputMode ());
747+ }
711748 this .mergeUnknownFields (other .getUnknownFields ());
712749 onChanged ();
713750 return this ;
@@ -759,6 +796,12 @@ public Builder mergeFrom(
759796 bitField0_ |= 0x00000008 ;
760797 break ;
761798 } // case 34
799+ case 40 :
800+ {
801+ throughputMode_ = input .readBool ();
802+ bitField0_ |= 0x00000010 ;
803+ break ;
804+ } // case 40
762805 default :
763806 {
764807 if (!super .parseUnknownField (input , extensionRegistry , tag )) {
@@ -1390,6 +1433,68 @@ public Builder clearProtoDescriptors() {
13901433 return this ;
13911434 }
13921435
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+
13931498 @ java .lang .Override
13941499 public final Builder setUnknownFields (final com .google .protobuf .UnknownFieldSet unknownFields ) {
13951500 return super .setUnknownFields (unknownFields );
0 commit comments