Skip to content

Commit 4b0c59a

Browse files
feat(generator): update protoc to v3.15.3 (#654)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/1a646fed-7599-4979-b98b-de2cd5bb79a0/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: googleapis/googleapis@f6dd7e4
1 parent 71a8fd7 commit 4b0c59a

20 files changed

+1721
-3
lines changed

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java

+60
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,22 @@ public com.google.protobuf.ByteString getNameBytes() {
229229
}
230230

231231
public static final int ROW_KEY_PREFIX_FIELD_NUMBER = 2;
232+
/**
233+
*
234+
*
235+
* <pre>
236+
* Delete all rows that start with this row key prefix. Prefix cannot be
237+
* zero length.
238+
* </pre>
239+
*
240+
* <code>bytes row_key_prefix = 2;</code>
241+
*
242+
* @return Whether the rowKeyPrefix field is set.
243+
*/
244+
@java.lang.Override
245+
public boolean hasRowKeyPrefix() {
246+
return targetCase_ == 2;
247+
}
232248
/**
233249
*
234250
*
@@ -250,6 +266,21 @@ public com.google.protobuf.ByteString getRowKeyPrefix() {
250266
}
251267

252268
public static final int DELETE_ALL_DATA_FROM_TABLE_FIELD_NUMBER = 3;
269+
/**
270+
*
271+
*
272+
* <pre>
273+
* Delete all rows in the table. Setting this to false is a no-op.
274+
* </pre>
275+
*
276+
* <code>bool delete_all_data_from_table = 3;</code>
277+
*
278+
* @return Whether the deleteAllDataFromTable field is set.
279+
*/
280+
@java.lang.Override
281+
public boolean hasDeleteAllDataFromTable() {
282+
return targetCase_ == 3;
283+
}
253284
/**
254285
*
255286
*
@@ -791,6 +822,21 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
791822
return this;
792823
}
793824

825+
/**
826+
*
827+
*
828+
* <pre>
829+
* Delete all rows that start with this row key prefix. Prefix cannot be
830+
* zero length.
831+
* </pre>
832+
*
833+
* <code>bytes row_key_prefix = 2;</code>
834+
*
835+
* @return Whether the rowKeyPrefix field is set.
836+
*/
837+
public boolean hasRowKeyPrefix() {
838+
return targetCase_ == 2;
839+
}
794840
/**
795841
*
796842
*
@@ -852,6 +898,20 @@ public Builder clearRowKeyPrefix() {
852898
return this;
853899
}
854900

901+
/**
902+
*
903+
*
904+
* <pre>
905+
* Delete all rows in the table. Setting this to false is a no-op.
906+
* </pre>
907+
*
908+
* <code>bool delete_all_data_from_table = 3;</code>
909+
*
910+
* @return Whether the deleteAllDataFromTable field is set.
911+
*/
912+
public boolean hasDeleteAllDataFromTable() {
913+
return targetCase_ == 3;
914+
}
855915
/**
856916
*
857917
*

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java

+25
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,19 @@ public interface DropRowRangeRequestOrBuilder
5656
*/
5757
com.google.protobuf.ByteString getNameBytes();
5858

59+
/**
60+
*
61+
*
62+
* <pre>
63+
* Delete all rows that start with this row key prefix. Prefix cannot be
64+
* zero length.
65+
* </pre>
66+
*
67+
* <code>bytes row_key_prefix = 2;</code>
68+
*
69+
* @return Whether the rowKeyPrefix field is set.
70+
*/
71+
boolean hasRowKeyPrefix();
5972
/**
6073
*
6174
*
@@ -70,6 +83,18 @@ public interface DropRowRangeRequestOrBuilder
7083
*/
7184
com.google.protobuf.ByteString getRowKeyPrefix();
7285

86+
/**
87+
*
88+
*
89+
* <pre>
90+
* Delete all rows in the table. Setting this to false is a no-op.
91+
* </pre>
92+
*
93+
* <code>bool delete_all_data_from_table = 3;</code>
94+
*
95+
* @return Whether the deleteAllDataFromTable field is set.
96+
*/
97+
boolean hasDeleteAllDataFromTable();
7398
/**
7499
*
75100
*

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java

+29
Original file line numberDiff line numberDiff line change
@@ -2186,6 +2186,21 @@ public RuleCase getRuleCase() {
21862186
}
21872187

21882188
public static final int MAX_NUM_VERSIONS_FIELD_NUMBER = 1;
2189+
/**
2190+
*
2191+
*
2192+
* <pre>
2193+
* Delete all cells in a column except the most recent N.
2194+
* </pre>
2195+
*
2196+
* <code>int32 max_num_versions = 1;</code>
2197+
*
2198+
* @return Whether the maxNumVersions field is set.
2199+
*/
2200+
@java.lang.Override
2201+
public boolean hasMaxNumVersions() {
2202+
return ruleCase_ == 1;
2203+
}
21892204
/**
21902205
*
21912206
*
@@ -2797,6 +2812,20 @@ public Builder clearRule() {
27972812
return this;
27982813
}
27992814

2815+
/**
2816+
*
2817+
*
2818+
* <pre>
2819+
* Delete all cells in a column except the most recent N.
2820+
* </pre>
2821+
*
2822+
* <code>int32 max_num_versions = 1;</code>
2823+
*
2824+
* @return Whether the maxNumVersions field is set.
2825+
*/
2826+
public boolean hasMaxNumVersions() {
2827+
return ruleCase_ == 1;
2828+
}
28002829
/**
28012830
*
28022831
*

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java

+12
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ public interface GcRuleOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GcRule)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* Delete all cells in a column except the most recent N.
31+
* </pre>
32+
*
33+
* <code>int32 max_num_versions = 1;</code>
34+
*
35+
* @return Whether the maxNumVersions field is set.
36+
*/
37+
boolean hasMaxNumVersions();
2638
/**
2739
*
2840
*

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java

+44
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,19 @@ public interface ModificationOrBuilder
238238
*/
239239
com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder();
240240

241+
/**
242+
*
243+
*
244+
* <pre>
245+
* Drop (delete) the column family with the given ID, or fail if no such
246+
* family exists.
247+
* </pre>
248+
*
249+
* <code>bool drop = 4;</code>
250+
*
251+
* @return Whether the drop field is set.
252+
*/
253+
boolean hasDrop();
241254
/**
242255
*
243256
*
@@ -594,6 +607,22 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
594607
}
595608

596609
public static final int DROP_FIELD_NUMBER = 4;
610+
/**
611+
*
612+
*
613+
* <pre>
614+
* Drop (delete) the column family with the given ID, or fail if no such
615+
* family exists.
616+
* </pre>
617+
*
618+
* <code>bool drop = 4;</code>
619+
*
620+
* @return Whether the drop field is set.
621+
*/
622+
@java.lang.Override
623+
public boolean hasDrop() {
624+
return modCase_ == 4;
625+
}
597626
/**
598627
*
599628
*
@@ -1597,6 +1626,21 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
15971626
return updateBuilder_;
15981627
}
15991628

1629+
/**
1630+
*
1631+
*
1632+
* <pre>
1633+
* Drop (delete) the column family with the given ID, or fail if no such
1634+
* family exists.
1635+
* </pre>
1636+
*
1637+
* <code>bool drop = 4;</code>
1638+
*
1639+
* @return Whether the drop field is set.
1640+
*/
1641+
public boolean hasDrop() {
1642+
return modCase_ == 4;
1643+
}
16001644
/**
16011645
*
16021646
*

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java

+31
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,21 @@ public com.google.protobuf.ByteString getTableIdBytes() {
284284
}
285285

286286
public static final int BACKUP_FIELD_NUMBER = 3;
287+
/**
288+
*
289+
*
290+
* <pre>
291+
* Name of the backup from which to restore. Values are of the form
292+
* `projects/&lt;project&gt;/instances/&lt;instance&gt;/clusters/&lt;cluster&gt;/backups/&lt;backup&gt;`.
293+
* </pre>
294+
*
295+
* <code>string backup = 3 [(.google.api.resource_reference) = { ... }</code>
296+
*
297+
* @return Whether the backup field is set.
298+
*/
299+
public boolean hasBackup() {
300+
return sourceCase_ == 3;
301+
}
287302
/**
288303
*
289304
*
@@ -977,6 +992,22 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) {
977992
return this;
978993
}
979994

995+
/**
996+
*
997+
*
998+
* <pre>
999+
* Name of the backup from which to restore. Values are of the form
1000+
* `projects/&lt;project&gt;/instances/&lt;instance&gt;/clusters/&lt;cluster&gt;/backups/&lt;backup&gt;`.
1001+
* </pre>
1002+
*
1003+
* <code>string backup = 3 [(.google.api.resource_reference) = { ... }</code>
1004+
*
1005+
* @return Whether the backup field is set.
1006+
*/
1007+
@java.lang.Override
1008+
public boolean hasBackup() {
1009+
return sourceCase_ == 3;
1010+
}
9801011
/**
9811012
*
9821013
*

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java

+13
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,19 @@ public interface RestoreTableRequestOrBuilder
8787
*/
8888
com.google.protobuf.ByteString getTableIdBytes();
8989

90+
/**
91+
*
92+
*
93+
* <pre>
94+
* Name of the backup from which to restore. Values are of the form
95+
* `projects/&lt;project&gt;/instances/&lt;instance&gt;/clusters/&lt;cluster&gt;/backups/&lt;backup&gt;`.
96+
* </pre>
97+
*
98+
* <code>string backup = 3 [(.google.api.resource_reference) = { ... }</code>
99+
*
100+
* @return Whether the backup field is set.
101+
*/
102+
boolean hasBackup();
90103
/**
91104
*
92105
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
3+
<differences>
4+
<difference>
5+
<differenceType>7012</differenceType>
6+
<className>com/google/bigtable/v2/*OrBuilder</className>
7+
<method>* has*(*)</method>
8+
</difference>
9+
</differences>

0 commit comments

Comments
 (0)