Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
chore(bazel): update protobuf to v3.21.7 (#263)
Browse files Browse the repository at this point in the history
* chore(bazel): update protobuf to v3.21.7

PiperOrigin-RevId: 477955264

Source-Link: googleapis/googleapis@a724450

Source-Link: https://github.com/googleapis/googleapis-gen/commit/4abcbcaec855e74a0b22a4988cf9e0eb61a83094
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGFiY2JjYWVjODU1ZTc0YTBiMjJhNDk4OGNmOWUwZWI2MWE4MzA5NCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Oct 3, 2022
1 parent ec8c13e commit 668990c
Show file tree
Hide file tree
Showing 48 changed files with 3,410 additions and 5,316 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,91 +56,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}

private CheckUpgradeResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10:
{
java.lang.String s = input.readStringRequireUtf8();

buildLogUri_ = s;
break;
}
case 26:
{
java.lang.String s = input.readStringRequireUtf8();

pypiConflictBuildLogExtract_ = s;
break;
}
case 32:
{
int rawValue = input.readEnum();

containsPypiModulesConflict_ = rawValue;
break;
}
case 42:
{
java.lang.String s = input.readStringRequireUtf8();

imageVersion_ = s;
break;
}
case 50:
{
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
pypiDependencies_ =
com.google.protobuf.MapField.newMapField(
PypiDependenciesDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry<java.lang.String, java.lang.String> pypiDependencies__ =
input.readMessage(
PypiDependenciesDefaultEntryHolder.defaultEntry.getParserForType(),
extensionRegistry);
pypiDependencies_
.getMutableMap()
.put(pypiDependencies__.getKey(), pypiDependencies__.getValue());
break;
}
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.orchestration.airflow.service.v1.EnvironmentsOuterClass
.internal_static_google_cloud_orchestration_airflow_service_v1_CheckUpgradeResponse_descriptor;
Expand Down Expand Up @@ -659,7 +574,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetPypiDependencies(), PypiDependenciesDefaultEntryHolder.defaultEntry, 6);
unknownFields.writeTo(output);
getUnknownFields().writeTo(output);
}

@java.lang.Override
Expand Down Expand Up @@ -695,7 +610,7 @@ public int getSerializedSize() {
.build();
size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, pypiDependencies__);
}
size += unknownFields.getSerializedSize();
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
Expand All @@ -717,7 +632,7 @@ public boolean equals(final java.lang.Object obj) {
return false;
if (!getImageVersion().equals(other.getImageVersion())) return false;
if (!internalGetPypiDependencies().equals(other.internalGetPypiDependencies())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}

Expand All @@ -740,7 +655,7 @@ public int hashCode() {
hash = (37 * hash) + PYPI_DEPENDENCIES_FIELD_NUMBER;
hash = (53 * hash) + internalGetPypiDependencies().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
Expand Down Expand Up @@ -893,17 +808,10 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {

// Construct using
// com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder() {}

private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}

private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
}

@java.lang.Override
Expand Down Expand Up @@ -1024,7 +932,7 @@ public Builder mergeFrom(
onChanged();
}
internalGetMutablePypiDependencies().mergeFrom(other.internalGetPypiDependencies());
this.mergeUnknownFields(other.unknownFields);
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
Expand All @@ -1039,19 +947,67 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse parsedMessage = null;
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10:
{
buildLogUri_ = input.readStringRequireUtf8();

break;
} // case 10
case 26:
{
pypiConflictBuildLogExtract_ = input.readStringRequireUtf8();

break;
} // case 26
case 32:
{
containsPypiModulesConflict_ = input.readEnum();

break;
} // case 32
case 42:
{
imageVersion_ = input.readStringRequireUtf8();

break;
} // case 42
case 50:
{
com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
pypiDependencies__ =
input.readMessage(
PypiDependenciesDefaultEntryHolder.defaultEntry.getParserForType(),
extensionRegistry);
internalGetMutablePypiDependencies()
.getMutableMap()
.put(pypiDependencies__.getKey(), pypiDependencies__.getValue());
break;
} // case 50
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(com.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
onChanged();
} // finally
return this;
}

Expand Down Expand Up @@ -1704,7 +1660,18 @@ public CheckUpgradeResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CheckUpgradeResponse(input, extensionRegistry);
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};

Expand Down
Loading

0 comments on commit 668990c

Please sign in to comment.