Skip to content

Commit

Permalink
chore: [iam] upgrading Protobuf to 23.1 and gRPC to 1.55.0 in code ge…
Browse files Browse the repository at this point in the history
…neration (#1693)

* chore: upgrading Protobuf to 23.1 and gRPC to 1.55.0 in code generation

PiperOrigin-RevId: 534084593

Source-Link: googleapis/googleapis@aa4559a

Source-Link: https://github.com/googleapis/googleapis-gen/commit/370325af8236732f5885f5940e0ef481fee83003
Copy-Tag: eyJwIjoiamF2YS1pYW0vLk93bEJvdC55YW1sIiwiaCI6IjM3MDMyNWFmODIzNjczMmY1ODg1ZjU5NDBlMGVmNDgxZmVlODMwMDMifQ==

* 🦉 Updates from OwlBot post-processor

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

* add exclusions to clirr

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Mridula Peddada <mpeddada@google.com>
  • Loading branch information
3 people authored May 24, 2023
1 parent a988fe7 commit ff3c154
Show file tree
Hide file tree
Showing 58 changed files with 1,569 additions and 1,560 deletions.
30 changes: 30 additions & 0 deletions java-iam/proto-google-iam-v1/clirr-ignored-differences.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>7002</differenceType>
<className>com/google/iam/v1/*Builder</className>
<method>* addRepeatedField(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/iam/v1/*Builder</className>
<method>* clearField(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/iam/v1/*Builder</className>
<method>* clearOneof(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/iam/v1/*Builder</className>
<method>* clone()</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/iam/v1/*Builder</className>
<method>* setField(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/iam/v1/*Builder</className>
<method>* setRepeatedField(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/iam/v1/*OrBuilder</className>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@
* The configuration determines which permission types are logged, and what
* identities, if any, are exempted from logging.
* An AuditConfig must have one or more AuditLogConfigs.
*
* If there are AuditConfigs for both `allServices` and a specific service,
* the union of the two AuditConfigs is used for that service: the log_types
* specified in each AuditConfig are enabled, and the exempted_members in each
* AuditLogConfig are exempted.
*
* Example Policy with multiple AuditConfigs:
*
* {
* "audit_configs": [
* {
Expand Down Expand Up @@ -66,6 +69,7 @@
* }
* ]
* }
*
* For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
* logging. It also exempts jose&#64;example.com from DATA_READ logging, and
* aliya&#64;example.com from DATA_WRITE logging.
Expand Down Expand Up @@ -94,11 +98,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new AuditConfig();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditConfig_descriptor;
}
Expand Down Expand Up @@ -414,11 +413,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* The configuration determines which permission types are logged, and what
* identities, if any, are exempted from logging.
* An AuditConfig must have one or more AuditLogConfigs.
*
* If there are AuditConfigs for both `allServices` and a specific service,
* the union of the two AuditConfigs is used for that service: the log_types
* specified in each AuditConfig are enabled, and the exempted_members in each
* AuditLogConfig are exempted.
*
* Example Policy with multiple AuditConfigs:
*
* {
* "audit_configs": [
* {
Expand Down Expand Up @@ -454,6 +456,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* }
* ]
* }
*
* For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
* logging. It also exempts jose&#64;example.com from DATA_READ logging, and
* aliya&#64;example.com from DATA_WRITE logging.
Expand Down Expand Up @@ -549,39 +552,6 @@ private void buildPartial0(com.google.iam.v1.AuditConfig result) {
}
}

@java.lang.Override
public Builder clone() {
return super.clone();
}

@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.setField(field, value);
}

@java.lang.Override
public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}

@java.lang.Override
public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}

@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}

@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.addRepeatedField(field, value);
}

@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.iam.v1.AuditConfig) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new AuditConfigDelta();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_descriptor;
}
Expand Down Expand Up @@ -708,39 +703,6 @@ private void buildPartial0(com.google.iam.v1.AuditConfigDelta result) {
}
}

@java.lang.Override
public Builder clone() {
return super.clone();
}

@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.setField(field, value);
}

@java.lang.Override
public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}

@java.lang.Override
public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}

@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}

@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.addRepeatedField(field, value);
}

@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.iam.v1.AuditConfigDelta) {
Expand Down
Loading

0 comments on commit ff3c154

Please sign in to comment.