Skip to content

Commit e989200

Browse files
feat: publish the RequestStats proto (#1400)
* docs: Remove unnecessary comment PiperOrigin-RevId: 474807836 Source-Link: googleapis/googleapis@dfd68f7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/fe305e0252bc9a88466e1b96c2f2464dd729b978 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmUzMDVlMDI1MmJjOWE4ODQ2NmUxYjk2YzJmMjQ2NGRkNzI5Yjk3OCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: publish the RequestStats proto PiperOrigin-RevId: 476399682 Source-Link: googleapis/googleapis@0c4e682 Source-Link: https://github.com/googleapis/googleapis-gen/commit/ff87f69aad1f2ff06772f917eecbea649797d9d5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmY4N2Y2OWFhZDFmMmZmMDY3NzJmOTE3ZWVjYmVhNjQ5Nzk3ZDlkNSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add to clirr ignored differences Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Kristen O'Leary <kaoleary@google.com>
1 parent 58406a9 commit e989200

33 files changed

+7361
-635
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -922,8 +922,7 @@ public final UnaryCallable<GetTableRequest, Table> getTableCallable() {
922922
* }</pre>
923923
*
924924
* @param table Required. The table to update. The table's `name` field is used to identify the
925-
* table to update. Format:
926-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]&#42;`
925+
* table to update.
927926
* @param updateMask Required. The list of fields to update. A mask specifying which fields (e.g.
928927
* `deletion_protection`) in the `table` field should be updated. This mask is relative to the
929928
* `table` field, not to the request message. The wildcard (&#42;) path is currently not

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

-24
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
143143
* <pre>
144144
* Required. The table to update.
145145
* The table's `name` field is used to identify the table to update.
146-
* Format:
147-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
148146
* </pre>
149147
*
150148
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -162,8 +160,6 @@ public boolean hasTable() {
162160
* <pre>
163161
* Required. The table to update.
164162
* The table's `name` field is used to identify the table to update.
165-
* Format:
166-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
167163
* </pre>
168164
*
169165
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -181,8 +177,6 @@ public com.google.bigtable.admin.v2.Table getTable() {
181177
* <pre>
182178
* Required. The table to update.
183179
* The table's `name` field is used to identify the table to update.
184-
* Format:
185-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
186180
* </pre>
187181
*
188182
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -633,8 +627,6 @@ public Builder mergeFrom(
633627
* <pre>
634628
* Required. The table to update.
635629
* The table's `name` field is used to identify the table to update.
636-
* Format:
637-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
638630
* </pre>
639631
*
640632
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -651,8 +643,6 @@ public boolean hasTable() {
651643
* <pre>
652644
* Required. The table to update.
653645
* The table's `name` field is used to identify the table to update.
654-
* Format:
655-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
656646
* </pre>
657647
*
658648
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -673,8 +663,6 @@ public com.google.bigtable.admin.v2.Table getTable() {
673663
* <pre>
674664
* Required. The table to update.
675665
* The table's `name` field is used to identify the table to update.
676-
* Format:
677-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
678666
* </pre>
679667
*
680668
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -699,8 +687,6 @@ public Builder setTable(com.google.bigtable.admin.v2.Table value) {
699687
* <pre>
700688
* Required. The table to update.
701689
* The table's `name` field is used to identify the table to update.
702-
* Format:
703-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
704690
* </pre>
705691
*
706692
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -722,8 +708,6 @@ public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForVal
722708
* <pre>
723709
* Required. The table to update.
724710
* The table's `name` field is used to identify the table to update.
725-
* Format:
726-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
727711
* </pre>
728712
*
729713
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -750,8 +734,6 @@ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) {
750734
* <pre>
751735
* Required. The table to update.
752736
* The table's `name` field is used to identify the table to update.
753-
* Format:
754-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
755737
* </pre>
756738
*
757739
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -774,8 +756,6 @@ public Builder clearTable() {
774756
* <pre>
775757
* Required. The table to update.
776758
* The table's `name` field is used to identify the table to update.
777-
* Format:
778-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
779759
* </pre>
780760
*
781761
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -792,8 +772,6 @@ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() {
792772
* <pre>
793773
* Required. The table to update.
794774
* The table's `name` field is used to identify the table to update.
795-
* Format:
796-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
797775
* </pre>
798776
*
799777
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -812,8 +790,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
812790
* <pre>
813791
* Required. The table to update.
814792
* The table's `name` field is used to identify the table to update.
815-
* Format:
816-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
817793
* </pre>
818794
*
819795
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];

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

-6
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ public interface UpdateTableRequestOrBuilder
2929
* <pre>
3030
* Required. The table to update.
3131
* The table's `name` field is used to identify the table to update.
32-
* Format:
33-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
3432
* </pre>
3533
*
3634
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -45,8 +43,6 @@ public interface UpdateTableRequestOrBuilder
4543
* <pre>
4644
* Required. The table to update.
4745
* The table's `name` field is used to identify the table to update.
48-
* Format:
49-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
5046
* </pre>
5147
*
5248
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -61,8 +57,6 @@ public interface UpdateTableRequestOrBuilder
6157
* <pre>
6258
* Required. The table to update.
6359
* The table's `name` field is used to identify the table to update.
64-
* Format:
65-
* `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
6660
* </pre>
6761
*
6862
* <code>.google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];

proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto

+2-4
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ message RestoreTableRequest {
381381
// Name of the backup from which to restore. Values are of the form
382382
// `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
383383
string backup = 3 [(google.api.resource_reference) = {
384-
type: "bigtableadmin.googleapis.com/Backup"
385-
}];
384+
type: "bigtableadmin.googleapis.com/Backup"
385+
}];
386386
}
387387
}
388388

@@ -597,8 +597,6 @@ message GetTableRequest {
597597
message UpdateTableRequest {
598598
// Required. The table to update.
599599
// The table's `name` field is used to identify the table to update.
600-
// Format:
601-
// `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
602600
Table table = 1 [(google.api.field_behavior) = REQUIRED];
603601

604602
// Required. The list of fields to update.

proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml

+11-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44
<difference>
55
<differenceType>7012</differenceType>
66
<className>com/google/bigtable/v2/*OrBuilder</className>
7-
<method>* has*(*)</method>
7+
<method>* get*(*)</method>
8+
</difference>
9+
<difference>
10+
<differenceType>7012</differenceType>
11+
<className>com/google/bigtable/v2/*OrBuilder</className>
12+
<method>boolean contains*(*)</method>
13+
</difference>
14+
<difference>
15+
<differenceType>7012</differenceType>
16+
<className>com/google/bigtable/v2/*OrBuilder</className>
17+
<method>boolean has*(*)</method>
818
</difference>
919
</differences>

0 commit comments

Comments
 (0)