Skip to content

Commit

Permalink
chore(bazel): update version of Protobuf to v3.20.1 (#365)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 444328399

Source-Link: googleapis/googleapis@c7ca416

Source-Link: https://github.com/googleapis/googleapis-gen/commit/d61705453a62b3ecda78aa30c192840ebc5a8a90
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDYxNzA1NDUzYTYyYjNlY2RhNzhhYTMwYzE5Mjg0MGViYzVhOGE5MCJ9
  • Loading branch information
gcf-owl-bot[bot] authored Apr 28, 2022
1 parent 9f20508 commit 7d92d96
Show file tree
Hide file tree
Showing 105 changed files with 536 additions and 170 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ private Advice(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ private AuthProvider(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ private AuthRequirement(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ private Authentication(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ private AuthenticationRule(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ private Backend(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ private BackendRule(
}
case 64:
{
authenticationCase_ = 8;
authentication_ = input.readBool();
authenticationCase_ = 8;
break;
}
case 74:
Expand All @@ -140,6 +140,8 @@ private BackendRule(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down Expand Up @@ -836,13 +838,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, address_);
}
if (deadline_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(deadline_) != 0) {
output.writeDouble(3, deadline_);
}
if (minDeadline_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(minDeadline_) != 0) {
output.writeDouble(4, minDeadline_);
}
if (operationDeadline_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(operationDeadline_) != 0) {
output.writeDouble(5, operationDeadline_);
}
if (pathTranslation_
Expand Down Expand Up @@ -873,13 +875,13 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, address_);
}
if (deadline_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(deadline_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, deadline_);
}
if (minDeadline_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(minDeadline_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, minDeadline_);
}
if (operationDeadline_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(operationDeadline_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, operationDeadline_);
}
if (pathTranslation_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ private Billing(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down Expand Up @@ -315,6 +317,8 @@ private BillingDestination(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ private ConfigChange(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ private Context(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ private ContextRule(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ private Control(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ private CustomHttpPattern(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ private Distribution(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down Expand Up @@ -303,6 +305,8 @@ private Range(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down Expand Up @@ -376,10 +380,10 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (min_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(min_) != 0) {
output.writeDouble(1, min_);
}
if (max_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(max_) != 0) {
output.writeDouble(2, max_);
}
unknownFields.writeTo(output);
Expand All @@ -391,10 +395,10 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (min_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(min_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, min_);
}
if (max_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(max_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, max_);
}
size += unknownFields.getSerializedSize();
Expand Down Expand Up @@ -1098,6 +1102,8 @@ private BucketOptions(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down Expand Up @@ -1247,6 +1253,8 @@ private Linear(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(this);
Expand Down Expand Up @@ -1342,10 +1350,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (numFiniteBuckets_ != 0) {
output.writeInt32(1, numFiniteBuckets_);
}
if (width_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(width_) != 0) {
output.writeDouble(2, width_);
}
if (offset_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(offset_) != 0) {
output.writeDouble(3, offset_);
}
unknownFields.writeTo(output);
Expand All @@ -1360,10 +1368,10 @@ public int getSerializedSize() {
if (numFiniteBuckets_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, numFiniteBuckets_);
}
if (width_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(width_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, width_);
}
if (offset_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(offset_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, offset_);
}
size += unknownFields.getSerializedSize();
Expand Down Expand Up @@ -2024,6 +2032,8 @@ private Exponential(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(this);
Expand Down Expand Up @@ -2119,10 +2129,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (numFiniteBuckets_ != 0) {
output.writeInt32(1, numFiniteBuckets_);
}
if (growthFactor_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(growthFactor_) != 0) {
output.writeDouble(2, growthFactor_);
}
if (scale_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(scale_) != 0) {
output.writeDouble(3, scale_);
}
unknownFields.writeTo(output);
Expand All @@ -2137,10 +2147,10 @@ public int getSerializedSize() {
if (numFiniteBuckets_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, numFiniteBuckets_);
}
if (growthFactor_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(growthFactor_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, growthFactor_);
}
if (scale_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(scale_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, scale_);
}
size += unknownFields.getSerializedSize();
Expand Down Expand Up @@ -2813,6 +2823,8 @@ private Explicit(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(this);
Expand Down Expand Up @@ -4172,8 +4184,9 @@ public Builder mergeLinearBuckets(com.google.api.Distribution.BucketOptions.Line
} else {
if (optionsCase_ == 1) {
linearBucketsBuilder_.mergeFrom(value);
} else {
linearBucketsBuilder_.setMessage(value);
}
linearBucketsBuilder_.setMessage(value);
}
optionsCase_ = 1;
return this;
Expand Down Expand Up @@ -4384,8 +4397,9 @@ public Builder mergeExponentialBuckets(
} else {
if (optionsCase_ == 2) {
exponentialBucketsBuilder_.mergeFrom(value);
} else {
exponentialBucketsBuilder_.setMessage(value);
}
exponentialBucketsBuilder_.setMessage(value);
}
optionsCase_ = 2;
return this;
Expand Down Expand Up @@ -4597,8 +4611,9 @@ public Builder mergeExplicitBuckets(
} else {
if (optionsCase_ == 3) {
explicitBucketsBuilder_.mergeFrom(value);
} else {
explicitBucketsBuilder_.setMessage(value);
}
explicitBucketsBuilder_.setMessage(value);
}
optionsCase_ = 3;
return this;
Expand Down Expand Up @@ -4981,6 +4996,8 @@ private Exemplar(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down Expand Up @@ -5185,7 +5202,7 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (value_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(value_) != 0) {
output.writeDouble(1, value_);
}
if (timestamp_ != null) {
Expand All @@ -5203,7 +5220,7 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (value_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(value_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, value_);
}
if (timestamp_ != null) {
Expand Down Expand Up @@ -6666,10 +6683,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (count_ != 0L) {
output.writeInt64(1, count_);
}
if (mean_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(mean_) != 0) {
output.writeDouble(2, mean_);
}
if (sumOfSquaredDeviation_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(sumOfSquaredDeviation_) != 0) {
output.writeDouble(3, sumOfSquaredDeviation_);
}
if (range_ != null) {
Expand Down Expand Up @@ -6700,10 +6717,10 @@ public int getSerializedSize() {
if (count_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, count_);
}
if (mean_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(mean_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, mean_);
}
if (sumOfSquaredDeviation_ != 0D) {
if (java.lang.Double.doubleToRawLongBits(sumOfSquaredDeviation_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, sumOfSquaredDeviation_);
}
if (range_ != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ private Documentation(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
Expand Down
Loading

0 comments on commit 7d92d96

Please sign in to comment.