Skip to content

Commit 2db7c5d

Browse files
chore: add tagging request options (#1022)
* chore: autosynth regenerate * feat: add tagging request options PiperOrigin-RevId: 365498709 Source-Author: Google APIs <[email protected]> Source-Date: Sun Mar 28 20:54:25 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 6ce40ff8faf68226782f507ca6b2d497a77044de Source-Link: googleapis/googleapis@6ce40ff
1 parent 9a07a0d commit 2db7c5d

File tree

13 files changed

+954
-371
lines changed

13 files changed

+954
-371
lines changed

proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ public com.google.protobuf.ByteString getBackupBytes() {
389389
* to. If this field is not specified, the restored database will use the same
390390
* encryption configuration as the backup by default, namely
391391
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
392-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
392+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
393393
* </pre>
394394
*
395395
* <code>
@@ -411,7 +411,7 @@ public boolean hasEncryptionConfig() {
411411
* to. If this field is not specified, the restored database will use the same
412412
* encryption configuration as the backup by default, namely
413413
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
414-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
414+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
415415
* </pre>
416416
*
417417
* <code>
@@ -436,7 +436,7 @@ public boolean hasEncryptionConfig() {
436436
* to. If this field is not specified, the restored database will use the same
437437
* encryption configuration as the backup by default, namely
438438
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
439-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
439+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
440440
* </pre>
441441
*
442442
* <code>
@@ -1280,7 +1280,7 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) {
12801280
* to. If this field is not specified, the restored database will use the same
12811281
* encryption configuration as the backup by default, namely
12821282
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
1283-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
1283+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
12841284
* </pre>
12851285
*
12861286
* <code>
@@ -1301,7 +1301,7 @@ public boolean hasEncryptionConfig() {
13011301
* to. If this field is not specified, the restored database will use the same
13021302
* encryption configuration as the backup by default, namely
13031303
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
1304-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
1304+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
13051305
* </pre>
13061306
*
13071307
* <code>
@@ -1330,7 +1330,7 @@ public boolean hasEncryptionConfig() {
13301330
* to. If this field is not specified, the restored database will use the same
13311331
* encryption configuration as the backup by default, namely
13321332
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
1333-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
1333+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
13341334
* </pre>
13351335
*
13361336
* <code>
@@ -1360,7 +1360,7 @@ public Builder setEncryptionConfig(
13601360
* to. If this field is not specified, the restored database will use the same
13611361
* encryption configuration as the backup by default, namely
13621362
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
1363-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
1363+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
13641364
* </pre>
13651365
*
13661366
* <code>
@@ -1388,7 +1388,7 @@ public Builder setEncryptionConfig(
13881388
* to. If this field is not specified, the restored database will use the same
13891389
* encryption configuration as the backup by default, namely
13901390
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
1391-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
1391+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
13921392
* </pre>
13931393
*
13941394
* <code>
@@ -1423,7 +1423,7 @@ public Builder mergeEncryptionConfig(
14231423
* to. If this field is not specified, the restored database will use the same
14241424
* encryption configuration as the backup by default, namely
14251425
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
1426-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
1426+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
14271427
* </pre>
14281428
*
14291429
* <code>
@@ -1450,7 +1450,7 @@ public Builder clearEncryptionConfig() {
14501450
* to. If this field is not specified, the restored database will use the same
14511451
* encryption configuration as the backup by default, namely
14521452
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
1453-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
1453+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
14541454
* </pre>
14551455
*
14561456
* <code>
@@ -1472,7 +1472,7 @@ public Builder clearEncryptionConfig() {
14721472
* to. If this field is not specified, the restored database will use the same
14731473
* encryption configuration as the backup by default, namely
14741474
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
1475-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
1475+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
14761476
* </pre>
14771477
*
14781478
* <code>
@@ -1499,7 +1499,7 @@ public Builder clearEncryptionConfig() {
14991499
* to. If this field is not specified, the restored database will use the same
15001500
* encryption configuration as the backup by default, namely
15011501
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
1502-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
1502+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
15031503
* </pre>
15041504
*
15051505
* <code>

proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public interface RestoreDatabaseRequestOrBuilder
140140
* to. If this field is not specified, the restored database will use the same
141141
* encryption configuration as the backup by default, namely
142142
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
143-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
143+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
144144
* </pre>
145145
*
146146
* <code>
@@ -159,7 +159,7 @@ public interface RestoreDatabaseRequestOrBuilder
159159
* to. If this field is not specified, the restored database will use the same
160160
* encryption configuration as the backup by default, namely
161161
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
162-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
162+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
163163
* </pre>
164164
*
165165
* <code>
@@ -178,7 +178,7 @@ public interface RestoreDatabaseRequestOrBuilder
178178
* to. If this field is not specified, the restored database will use the same
179179
* encryption configuration as the backup by default, namely
180180
* [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
181-
* = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
181+
* = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
182182
* </pre>
183183
*
184184
* <code>

proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ message RestoreDatabaseRequest {
736736
// to. If this field is not specified, the restored database will use the same
737737
// encryption configuration as the backup by default, namely
738738
// [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
739-
// = `USE_CONFIG_DEFAULT_OR_DATABASE_ENCRYPTION`.
739+
// = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
740740
RestoreDatabaseEncryptionConfig encryption_config = 4
741741
[(google.api.field_behavior) = OPTIONAL];
742742
}

proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,9 @@ public int getNodeCount() {
538538
* either omitted or set to `READY`.
539539
* </pre>
540540
*
541-
* <code>.google.spanner.admin.instance.v1.Instance.State state = 6;</code>
541+
* <code>
542+
* .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
543+
* </code>
542544
*
543545
* @return The enum numeric value on the wire for state.
544546
*/
@@ -557,7 +559,9 @@ public int getStateValue() {
557559
* either omitted or set to `READY`.
558560
* </pre>
559561
*
560-
* <code>.google.spanner.admin.instance.v1.Instance.State state = 6;</code>
562+
* <code>
563+
* .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
564+
* </code>
561565
*
562566
* @return The state.
563567
*/
@@ -1684,7 +1688,9 @@ public Builder clearNodeCount() {
16841688
* either omitted or set to `READY`.
16851689
* </pre>
16861690
*
1687-
* <code>.google.spanner.admin.instance.v1.Instance.State state = 6;</code>
1691+
* <code>
1692+
* .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
1693+
* </code>
16881694
*
16891695
* @return The enum numeric value on the wire for state.
16901696
*/
@@ -1703,7 +1709,9 @@ public int getStateValue() {
17031709
* either omitted or set to `READY`.
17041710
* </pre>
17051711
*
1706-
* <code>.google.spanner.admin.instance.v1.Instance.State state = 6;</code>
1712+
* <code>
1713+
* .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
1714+
* </code>
17071715
*
17081716
* @param value The enum numeric value on the wire for state to set.
17091717
* @return This builder for chaining.
@@ -1725,7 +1733,9 @@ public Builder setStateValue(int value) {
17251733
* either omitted or set to `READY`.
17261734
* </pre>
17271735
*
1728-
* <code>.google.spanner.admin.instance.v1.Instance.State state = 6;</code>
1736+
* <code>
1737+
* .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
1738+
* </code>
17291739
*
17301740
* @return The state.
17311741
*/
@@ -1749,7 +1759,9 @@ public com.google.spanner.admin.instance.v1.Instance.State getState() {
17491759
* either omitted or set to `READY`.
17501760
* </pre>
17511761
*
1752-
* <code>.google.spanner.admin.instance.v1.Instance.State state = 6;</code>
1762+
* <code>
1763+
* .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
1764+
* </code>
17531765
*
17541766
* @param value The state to set.
17551767
* @return This builder for chaining.
@@ -1774,7 +1786,9 @@ public Builder setState(com.google.spanner.admin.instance.v1.Instance.State valu
17741786
* either omitted or set to `READY`.
17751787
* </pre>
17761788
*
1777-
* <code>.google.spanner.admin.instance.v1.Instance.State state = 6;</code>
1789+
* <code>
1790+
* .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
1791+
* </code>
17781792
*
17791793
* @return This builder for chaining.
17801794
*/

proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ public interface InstanceOrBuilder
140140
* either omitted or set to `READY`.
141141
* </pre>
142142
*
143-
* <code>.google.spanner.admin.instance.v1.Instance.State state = 6;</code>
143+
* <code>
144+
* .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
145+
* </code>
144146
*
145147
* @return The enum numeric value on the wire for state.
146148
*/
@@ -156,7 +158,9 @@ public interface InstanceOrBuilder
156158
* either omitted or set to `READY`.
157159
* </pre>
158160
*
159-
* <code>.google.spanner.admin.instance.v1.Instance.State state = 6;</code>
161+
* <code>
162+
* .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
163+
* </code>
160164
*
161165
* @return The state.
162166
*/

0 commit comments

Comments
 (0)