Visitar URL original
bazel: update protobuf, rules_go, gazelle, and gapic-generator-go ver… · googleapis/java-bigtable@cf23ab6 · GitHub
Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Commit cf23ab6

Browse files
bazel: update protobuf, rules_go, gazelle, and gapic-generator-go versions (#323)
- protobuf v3.12.1 - rules_go v0.23.0 - gazelle v0.21.0 - gapic-generator-go v0.14.1 PiperOrigin-RevId: 313460921 Source-Author: Google APIs <noreply@google.com> Source-Date: Wed May 27 14:10:16 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: c4e37010d74071851ff24121f522e802231ac86e Source-Link: googleapis/googleapis@c4e3701
1 parent ce3bbba commit cf23ab6

87 files changed

Lines changed: 856 additions & 3 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
796796
*
797797
* @return The clusterId.
798798
*/
799+
@java.lang.Override
799800
public java.lang.String getClusterId() {
800801
java.lang.Object ref = clusterId_;
801802
if (ref instanceof java.lang.String) {
@@ -818,6 +819,7 @@ public java.lang.String getClusterId() {
818819
*
819820
* @return The bytes for clusterId.
820821
*/
822+
@java.lang.Override
821823
public com.google.protobuf.ByteString getClusterIdBytes() {
822824
java.lang.Object ref = clusterId_;
823825
if (ref instanceof java.lang.String) {
@@ -845,6 +847,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
845847
*
846848
* @return The allowTransactionalWrites.
847849
*/
850+
@java.lang.Override
848851
public boolean getAllowTransactionalWrites() {
849852
return allowTransactionalWrites_;
850853
}
@@ -1312,6 +1315,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
13121315
*
13131316
* @return The allowTransactionalWrites.
13141317
*/
1318+
@java.lang.Override
13151319
public boolean getAllowTransactionalWrites() {
13161320
return allowTransactionalWrites_;
13171321
}
@@ -1472,6 +1476,7 @@ public RoutingPolicyCase getRoutingPolicyCase() {
14721476
*
14731477
* @return The name.
14741478
*/
1479+
@java.lang.Override
14751480
public java.lang.String getName() {
14761481
java.lang.Object ref = name_;
14771482
if (ref instanceof java.lang.String) {
@@ -1496,6 +1501,7 @@ public java.lang.String getName() {
14961501
*
14971502
* @return The bytes for name.
14981503
*/
1504+
@java.lang.Override
14991505
public com.google.protobuf.ByteString getNameBytes() {
15001506
java.lang.Object ref = name_;
15011507
if (ref instanceof java.lang.String) {
@@ -1528,6 +1534,7 @@ public com.google.protobuf.ByteString getNameBytes() {
15281534
*
15291535
* @return The etag.
15301536
*/
1537+
@java.lang.Override
15311538
public java.lang.String getEtag() {
15321539
java.lang.Object ref = etag_;
15331540
if (ref instanceof java.lang.String) {
@@ -1557,6 +1564,7 @@ public java.lang.String getEtag() {
15571564
*
15581565
* @return The bytes for etag.
15591566
*/
1567+
@java.lang.Override
15601568
public com.google.protobuf.ByteString getEtagBytes() {
15611569
java.lang.Object ref = etag_;
15621570
if (ref instanceof java.lang.String) {
@@ -1582,6 +1590,7 @@ public com.google.protobuf.ByteString getEtagBytes() {
15821590
*
15831591
* @return The description.
15841592
*/
1593+
@java.lang.Override
15851594
public java.lang.String getDescription() {
15861595
java.lang.Object ref = description_;
15871596
if (ref instanceof java.lang.String) {
@@ -1604,6 +1613,7 @@ public java.lang.String getDescription() {
16041613
*
16051614
* @return The bytes for description.
16061615
*/
1616+
@java.lang.Override
16071617
public com.google.protobuf.ByteString getDescriptionBytes() {
16081618
java.lang.Object ref = description_;
16091619
if (ref instanceof java.lang.String) {
@@ -1630,6 +1640,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
16301640
*
16311641
* @return Whether the multiClusterRoutingUseAny field is set.
16321642
*/
1643+
@java.lang.Override
16331644
public boolean hasMultiClusterRoutingUseAny() {
16341645
return routingPolicyCase_ == 5;
16351646
}
@@ -1646,6 +1657,7 @@ public boolean hasMultiClusterRoutingUseAny() {
16461657
*
16471658
* @return The multiClusterRoutingUseAny.
16481659
*/
1660+
@java.lang.Override
16491661
public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
16501662
getMultiClusterRoutingUseAny() {
16511663
if (routingPolicyCase_ == 5) {
@@ -1664,6 +1676,7 @@ public boolean hasMultiClusterRoutingUseAny() {
16641676
* .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
16651677
* </code>
16661678
*/
1679+
@java.lang.Override
16671680
public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder
16681681
getMultiClusterRoutingUseAnyOrBuilder() {
16691682
if (routingPolicyCase_ == 5) {
@@ -1685,6 +1698,7 @@ public boolean hasMultiClusterRoutingUseAny() {
16851698
*
16861699
* @return Whether the singleClusterRouting field is set.
16871700
*/
1701+
@java.lang.Override
16881702
public boolean hasSingleClusterRouting() {
16891703
return routingPolicyCase_ == 6;
16901704
}
@@ -1700,6 +1714,7 @@ public boolean hasSingleClusterRouting() {
17001714
*
17011715
* @return The singleClusterRouting.
17021716
*/
1717+
@java.lang.Override
17031718
public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClusterRouting() {
17041719
if (routingPolicyCase_ == 6) {
17051720
return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_;
@@ -1716,6 +1731,7 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClu
17161731
* <code>.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
17171732
* </code>
17181733
*/
1734+
@java.lang.Override
17191735
public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder
17201736
getSingleClusterRoutingOrBuilder() {
17211737
if (routingPolicyCase_ == 6) {
@@ -2543,6 +2559,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
25432559
*
25442560
* @return Whether the multiClusterRoutingUseAny field is set.
25452561
*/
2562+
@java.lang.Override
25462563
public boolean hasMultiClusterRoutingUseAny() {
25472564
return routingPolicyCase_ == 5;
25482565
}
@@ -2559,6 +2576,7 @@ public boolean hasMultiClusterRoutingUseAny() {
25592576
*
25602577
* @return The multiClusterRoutingUseAny.
25612578
*/
2579+
@java.lang.Override
25622580
public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
25632581
getMultiClusterRoutingUseAny() {
25642582
if (multiClusterRoutingUseAnyBuilder_ == null) {
@@ -2712,6 +2730,7 @@ public Builder clearMultiClusterRoutingUseAny() {
27122730
* .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
27132731
* </code>
27142732
*/
2733+
@java.lang.Override
27152734
public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder
27162735
getMultiClusterRoutingUseAnyOrBuilder() {
27172736
if ((routingPolicyCase_ == 5) && (multiClusterRoutingUseAnyBuilder_ != null)) {
@@ -2779,6 +2798,7 @@ public Builder clearMultiClusterRoutingUseAny() {
27792798
*
27802799
* @return Whether the singleClusterRouting field is set.
27812800
*/
2801+
@java.lang.Override
27822802
public boolean hasSingleClusterRouting() {
27832803
return routingPolicyCase_ == 6;
27842804
}
@@ -2794,6 +2814,7 @@ public boolean hasSingleClusterRouting() {
27942814
*
27952815
* @return The singleClusterRouting.
27962816
*/
2817+
@java.lang.Override
27972818
public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClusterRouting() {
27982819
if (singleClusterRoutingBuilder_ == null) {
27992820
if (routingPolicyCase_ == 6) {
@@ -2937,6 +2958,7 @@ public Builder clearSingleClusterRouting() {
29372958
* <code>.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
29382959
* </code>
29392960
*/
2961+
@java.lang.Override
29402962
public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder
29412963
getSingleClusterRoutingOrBuilder() {
29422964
if ((routingPolicyCase_ == 6) && (singleClusterRoutingBuilder_ != null)) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,10 @@ public State findValueByNumber(int number) {
300300
};
301301

302302
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
303+
if (this == UNRECOGNIZED) {
304+
throw new java.lang.IllegalStateException(
305+
"Can't get the descriptor of an unrecognized enum value.");
306+
}
303307
return getDescriptor().getValues().get(ordinal());
304308
}
305309

@@ -353,6 +357,7 @@ private State(int value) {
353357
*
354358
* @return The name.
355359
*/
360+
@java.lang.Override
356361
public java.lang.String getName() {
357362
java.lang.Object ref = name_;
358363
if (ref instanceof java.lang.String) {
@@ -383,6 +388,7 @@ public java.lang.String getName() {
383388
*
384389
* @return The bytes for name.
385390
*/
391+
@java.lang.Override
386392
public com.google.protobuf.ByteString getNameBytes() {
387393
java.lang.Object ref = name_;
388394
if (ref instanceof java.lang.String) {
@@ -412,6 +418,7 @@ public com.google.protobuf.ByteString getNameBytes() {
412418
*
413419
* @return The sourceTable.
414420
*/
421+
@java.lang.Override
415422
public java.lang.String getSourceTable() {
416423
java.lang.Object ref = sourceTable_;
417424
if (ref instanceof java.lang.String) {
@@ -438,6 +445,7 @@ public java.lang.String getSourceTable() {
438445
*
439446
* @return The bytes for sourceTable.
440447
*/
448+
@java.lang.Override
441449
public com.google.protobuf.ByteString getSourceTableBytes() {
442450
java.lang.Object ref = sourceTable_;
443451
if (ref instanceof java.lang.String) {
@@ -468,6 +476,7 @@ public com.google.protobuf.ByteString getSourceTableBytes() {
468476
*
469477
* @return Whether the expireTime field is set.
470478
*/
479+
@java.lang.Override
471480
public boolean hasExpireTime() {
472481
return expireTime_ != null;
473482
}
@@ -487,6 +496,7 @@ public boolean hasExpireTime() {
487496
*
488497
* @return The expireTime.
489498
*/
499+
@java.lang.Override
490500
public com.google.protobuf.Timestamp getExpireTime() {
491501
return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_;
492502
}
@@ -504,6 +514,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
504514
* <code>.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
505515
* </code>
506516
*/
517+
@java.lang.Override
507518
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
508519
return getExpireTime();
509520
}
@@ -526,6 +537,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
526537
*
527538
* @return Whether the startTime field is set.
528539
*/
540+
@java.lang.Override
529541
public boolean hasStartTime() {
530542
return startTime_ != null;
531543
}
@@ -545,6 +557,7 @@ public boolean hasStartTime() {
545557
*
546558
* @return The startTime.
547559
*/
560+
@java.lang.Override
548561
public com.google.protobuf.Timestamp getStartTime() {
549562
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
550563
}
@@ -562,6 +575,7 @@ public com.google.protobuf.Timestamp getStartTime() {
562575
* <code>.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
563576
* </code>
564577
*/
578+
@java.lang.Override
565579
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
566580
return getStartTime();
567581
}
@@ -581,6 +595,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
581595
*
582596
* @return Whether the endTime field is set.
583597
*/
598+
@java.lang.Override
584599
public boolean hasEndTime() {
585600
return endTime_ != null;
586601
}
@@ -597,6 +612,7 @@ public boolean hasEndTime() {
597612
*
598613
* @return The endTime.
599614
*/
615+
@java.lang.Override
600616
public com.google.protobuf.Timestamp getEndTime() {
601617
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
602618
}
@@ -611,6 +627,7 @@ public com.google.protobuf.Timestamp getEndTime() {
611627
* <code>.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
612628
* </code>
613629
*/
630+
@java.lang.Override
614631
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
615632
return getEndTime();
616633
}
@@ -628,6 +645,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
628645
*
629646
* @return The sizeBytes.
630647
*/
648+
@java.lang.Override
631649
public long getSizeBytes() {
632650
return sizeBytes_;
633651
}
@@ -647,6 +665,7 @@ public long getSizeBytes() {
647665
*
648666
* @return The enum numeric value on the wire for state.
649667
*/
668+
@java.lang.Override
650669
public int getStateValue() {
651670
return state_;
652671
}
@@ -663,6 +682,7 @@ public int getStateValue() {
663682
*
664683
* @return The state.
665684
*/
685+
@java.lang.Override
666686
public com.google.bigtable.admin.v2.Backup.State getState() {
667687
@SuppressWarnings("deprecation")
668688
com.google.bigtable.admin.v2.Backup.State result =
@@ -2046,6 +2066,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
20462066
*
20472067
* @return The sizeBytes.
20482068
*/
2069+
@java.lang.Override
20492070
public long getSizeBytes() {
20502071
return sizeBytes_;
20512072
}
@@ -2099,6 +2120,7 @@ public Builder clearSizeBytes() {
20992120
*
21002121
* @return The enum numeric value on the wire for state.
21012122
*/
2123+
@java.lang.Override
21022124
public int getStateValue() {
21032125
return state_;
21042126
}
@@ -2117,6 +2139,7 @@ public int getStateValue() {
21172139
* @return This builder for chaining.
21182140
*/
21192141
public Builder setStateValue(int value) {
2142+
21202143
state_ = value;
21212144
onChanged();
21222145
return this;
@@ -2134,6 +2157,7 @@ public Builder setStateValue(int value) {
21342157
*
21352158
* @return The state.
21362159
*/
2160+
@java.lang.Override
21372161
public com.google.bigtable.admin.v2.Backup.State getState() {
21382162
@SuppressWarnings("deprecation")
21392163
com.google.bigtable.admin.v2.Backup.State result =

0 commit comments

Comments
 (0)