Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update protoc version #2860

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SHELL [ "/bin/bash", "-c" ]

ARG SYNTHTOOL_COMMITTISH=e36d2f164ca698f0264fb6f79ddc4b0fa024a940
ARG OWLBOT_CLI_COMMITTISH=ac84fa5c423a0069bbce3d2d869c9730c8fdf550
ARG PROTOC_VERSION=25.3
ARG PROTOC_VERSION=27.1
ENV HOME=/home

# install OS tools
Expand Down
4 changes: 2 additions & 2 deletions generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
gapic_generator_version: 2.41.1-SNAPSHOT # {x-version-update:gapic-generator-java:current}
googleapis_commitish: 3b6f144d47b0a1d2115ab2445ec06e80cc324a44
googleapis_commitish: 26b136f724bf60e12dc21b26e1c48fb8a78fbf0f
# the libraries are ordered with respect to library name, which is
# java-{library.library_name} or java-{library.api-shortname} when
# library.library_name is not defined.
libraries:
- api_shortname: common-protos
name_pretty: Common Protos
product_documentation: https://github.com/googleapis/api-common-protos
api_description: Protobuf classes for Google's common protos.
api_description: Protobuf classes for Google's common protos..
release_level: stable
client_documentation: https://cloud.google.com/java/docs/reference/proto-google-common-protos/latest/history
distribution_name: com.google.api.grpc:proto-google-common-protos
Expand Down
2 changes: 1 addition & 1 deletion java-common-protos/.repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"api_shortname": "common-protos",
"name_pretty": "Common Protos",
"product_documentation": "https://github.com/googleapis/api-common-protos",
"api_description": "Protobuf classes for Google's common protos.",
"api_description": "Protobuf classes for Google's common protos..",
"client_documentation": "https://cloud.google.com/java/docs/reference/proto-google-common-protos/latest/history",
"release_level": "stable",
"transport": "grpc",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/api/config_change.proto
// Protobuf Java Version: 4.27.1

// Protobuf Java Version: 3.25.3
package com.google.api;

/**
Expand All @@ -29,32 +30,36 @@
*
* Protobuf type {@code google.api.Advice}
*/
public final class Advice extends com.google.protobuf.GeneratedMessageV3
public final class Advice extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.api.Advice)
AdviceOrBuilder {
private static final long serialVersionUID = 0L;

static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
Advice.class.getName());
}
// Use Advice.newBuilder() to construct.
private Advice(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
private Advice(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}

private Advice() {
description_ = "";
}

@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Advice();
}

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.api.ConfigChangeProto.internal_static_google_api_Advice_descriptor;
}

@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.api.ConfigChangeProto.internal_static_google_api_Advice_fieldAccessorTable
.ensureFieldAccessorsInitialized(
Expand Down Expand Up @@ -128,8 +133,8 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, description_);
}
getUnknownFields().writeTo(output);
}
Expand All @@ -140,8 +145,8 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
Expand Down Expand Up @@ -213,38 +218,38 @@ public static com.google.api.Advice parseFrom(

public static com.google.api.Advice parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}

public static com.google.api.Advice parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}

public static com.google.api.Advice parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}

public static com.google.api.Advice parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}

public static com.google.api.Advice parseFrom(com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}

public static com.google.api.Advice parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}

Expand All @@ -267,7 +272,7 @@ public Builder toBuilder() {
}

@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
Expand All @@ -281,7 +286,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.api.Advice}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:google.api.Advice)
com.google.api.AdviceOrBuilder {
Expand All @@ -290,7 +295,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}

@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.api.ConfigChangeProto.internal_static_google_api_Advice_fieldAccessorTable
.ensureFieldAccessorsInitialized(
Expand All @@ -300,7 +305,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.api.Advice.newBuilder()
private Builder() {}

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

Expand Down Expand Up @@ -348,39 +353,6 @@ private void buildPartial0(com.google.api.Advice 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.api.Advice) {
Expand Down Expand Up @@ -560,17 +532,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
return this;
}

@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}

@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}

// @@protoc_insertion_point(builder_scope:google.api.Advice)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/api/config_change.proto
// Protobuf Java Version: 4.27.1

// Protobuf Java Version: 3.25.3
package com.google.api;

public interface AdviceOrBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,25 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/api/annotations.proto
// Protobuf Java Version: 4.27.1

// Protobuf Java Version: 3.25.3
package com.google.api;

public final class AnnotationsProto {
private AnnotationsProto() {}

static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
AnnotationsProto.class.getName());
}

public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
registry.add(com.google.api.AnnotationsProto.http);
}
Expand Down Expand Up @@ -71,6 +82,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.protobuf.DescriptorProtos.getDescriptor(),
});
http.internalInit(descriptor.getExtensions().get(0));
descriptor.resolveAllFeaturesImmutable();
com.google.api.HttpProto.getDescriptor();
com.google.protobuf.DescriptorProtos.getDescriptor();
}
Expand Down
Loading
Loading