From 0fe2c5cca6171da9554e29b371dbc364dcb332ab Mon Sep 17 00:00:00 2001 From: Carl Mastrangelo Date: Tue, 23 May 2017 17:04:51 -0700 Subject: [PATCH] all: bump to proto 3.3.1 --- .travis.yml | 2 +- COMPILING.md | 10 +- android-interop-testing/app/build.gradle | 2 +- .../io/grpc/benchmarks/proto/Control.java | 187 ++++++++++++++++++ .../io/grpc/benchmarks/proto/Messages.java | 110 +++++++++++ .../io/grpc/benchmarks/proto/Payloads.java | 44 +++++ .../java/io/grpc/benchmarks/proto/Stats.java | 44 +++++ build.gradle | 7 +- buildscripts/make_dependencies.bat | 2 +- compiler/Dockerfile | 2 +- compiler/build.gradle | 4 +- examples/android/helloworld/app/build.gradle | 2 +- examples/android/routeguide/app/build.gradle | 2 +- examples/build.gradle | 2 +- examples/pom.xml | 2 +- .../main/java/io/grpc/grpclb/ClientStats.java | 11 ++ .../grpclb/InitialLoadBalanceRequest.java | 11 ++ .../grpclb/InitialLoadBalanceResponse.java | 11 ++ .../io/grpc/grpclb/LoadBalanceRequest.java | 11 ++ .../io/grpc/grpclb/LoadBalanceResponse.java | 11 ++ .../main/java/io/grpc/grpclb/Server.java | 11 ++ .../main/java/io/grpc/grpclb/ServerList.java | 11 ++ protobuf-lite/build.gradle | 2 +- .../stats/proto/CensusProto.java | 165 ++++++++++++++++ .../io/grpc/health/v1/HealthCheckRequest.java | 11 ++ .../grpc/health/v1/HealthCheckResponse.java | 11 ++ .../v1alpha/CanonicalRpcStats.java | 11 ++ .../v1alpha/CustomMonitoringData.java | 11 ++ .../v1alpha/MonitoringDataGroup.java | 11 ++ .../instrumentation/v1alpha/StatsRequest.java | 11 ++ .../v1alpha/StatsResponse.java | 11 ++ .../instrumentation/v1alpha/TraceRequest.java | 11 ++ .../v1alpha/TraceResponse.java | 11 ++ .../reflection/v1alpha/ErrorResponse.java | 11 ++ .../v1alpha/ExtensionNumberResponse.java | 11 ++ .../reflection/v1alpha/ExtensionRequest.java | 11 ++ .../v1alpha/FileDescriptorResponse.java | 11 ++ .../v1alpha/ListServiceResponse.java | 11 ++ .../v1alpha/ServerReflectionRequest.java | 11 ++ .../v1alpha/ServerReflectionResponse.java | 11 ++ .../reflection/v1alpha/ServiceResponse.java | 11 ++ .../grpc/reflection/testing/DynamicReply.java | 11 ++ .../reflection/testing/DynamicRequest.java | 11 ++ .../grpc/reflection/testing/EmptyMessage.java | 11 ++ .../reflection/testing/NestedTypeOuter.java | 33 ++++ .../io/grpc/reflection/testing/Reply.java | 11 ++ .../io/grpc/reflection/testing/Request.java | 11 ++ .../reflection/testing/ThirdLevelType.java | 11 ++ .../testing/TypeWithExtensions.java | 11 ++ .../java/com/google/protobuf/EmptyProtos.java | 11 ++ .../io/grpc/testing/integration/Messages.java | 132 +++++++++++++ .../io/grpc/testing/integration/Metrics.java | 33 ++++ 52 files changed, 1119 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index 238e1c49c85..9c4bfac98fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ language: java env: global: - GRADLE_OPTS=-Xmx512m - - PROTOBUF_VERSION=3.2.0 + - PROTOBUF_VERSION=3.3.1 - LDFLAGS=-L/tmp/protobuf/lib - CXXFLAGS=-I/tmp/protobuf/include - LD_LIBRARY_PATH=/tmp/protobuf/lib diff --git a/COMPILING.md b/COMPILING.md index 03b807be269..1346516e59e 100644 --- a/COMPILING.md +++ b/COMPILING.md @@ -33,7 +33,7 @@ For Linux, Mac and MinGW: ``` $ git clone https://github.com/google/protobuf.git $ cd protobuf -$ git checkout v3.2.0 +$ git checkout v3.3.1 $ ./autogen.sh $ ./configure $ make @@ -72,16 +72,16 @@ When building on Windows and VC++, you need to specify project properties for Gradle to find protobuf: ``` .\gradlew install ^ - -PvcProtobufInclude=C:\path\to\protobuf-3.2.0\src ^ - -PvcProtobufLibs=C:\path\to\protobuf-3.2.0\vsprojects\Release ^ + -PvcProtobufInclude=C:\path\to\protobuf-3.3.1\src ^ + -PvcProtobufLibs=C:\path\to\protobuf-3.3.1\vsprojects\Release ^ -PtargetArch=x86_32 ``` Since specifying those properties every build is bothersome, you can instead create ``\gradle.properties`` with contents like: ``` -vcProtobufInclude=C:\\path\\to\\protobuf-3.2.0\\src -vcProtobufLibs=C:\\path\\to\\protobuf-3.2.0\\vsprojects\\Release +vcProtobufInclude=C:\\path\\to\\protobuf-3.3.1\\src +vcProtobufLibs=C:\\path\\to\\protobuf-3.3.1\\vsprojects\\Release targetArch=x86_32 ``` diff --git a/android-interop-testing/app/build.gradle b/android-interop-testing/app/build.gradle index 56e461c5a87..8c6b3203d85 100644 --- a/android-interop-testing/app/build.gradle +++ b/android-interop-testing/app/build.gradle @@ -28,7 +28,7 @@ android { protobuf { protoc { - artifact = 'com.google.protobuf:protoc:3.2.0' + artifact = 'com.google.protobuf:protoc:3.3.0' } plugins { grpc { diff --git a/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Control.java b/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Control.java index c43e879a65f..1fe9f4af82c 100644 --- a/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Control.java +++ b/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Control.java @@ -480,6 +480,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.PoissonParams parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.PoissonParams parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.PoissonParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -963,6 +974,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.UniformParams parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.UniformParams parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.UniformParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1427,6 +1449,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.DeterministicParams parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.DeterministicParams parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.DeterministicParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1893,6 +1926,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.ParetoParams parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.ParetoParams parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.ParetoParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -2327,6 +2371,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.ClosedLoopParams parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.ClosedLoopParams parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.ClosedLoopParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -3045,6 +3100,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.LoadParams parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.LoadParams parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.LoadParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -4236,6 +4302,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.SecurityParams parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.SecurityParams parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.SecurityParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -5450,6 +5527,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.ClientConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.ClientConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.ClientConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -6971,6 +7059,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.ClientStatus parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.ClientStatus parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.ClientStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -7512,6 +7611,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.Mark parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.Mark parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.Mark parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -8093,6 +8203,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.ClientArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.ClientArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.ClientArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -9187,6 +9308,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.ServerConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.ServerConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.ServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -10315,6 +10447,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.ServerArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.ServerArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.ServerArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -11127,6 +11270,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.ServerStatus parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.ServerStatus parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.ServerStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -11711,6 +11865,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.CoreRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.CoreRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.CoreRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -12116,6 +12281,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.CoreResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.CoreResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.CoreResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -12525,6 +12701,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Control.Void parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Control.Void parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Control.Void parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Messages.java b/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Messages.java index 06c7fb48c4f..641e9b128af 100644 --- a/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Messages.java +++ b/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Messages.java @@ -485,6 +485,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Messages.Payload parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Messages.Payload parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Messages.Payload parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1069,6 +1080,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Messages.EchoStatus parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Messages.EchoStatus parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Messages.EchoStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1967,6 +1989,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Messages.SimpleRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Messages.SimpleRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Messages.SimpleRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -3200,6 +3233,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Messages.SimpleResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Messages.SimpleResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Messages.SimpleResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -4025,6 +4069,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Messages.StreamingInputCallRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Messages.StreamingInputCallRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Messages.StreamingInputCallRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -4605,6 +4660,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Messages.StreamingInputCallResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Messages.StreamingInputCallResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Messages.StreamingInputCallResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -5105,6 +5171,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Messages.ResponseParameters parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Messages.ResponseParameters parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Messages.ResponseParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -6001,6 +6078,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Messages.StreamingOutputCallRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Messages.StreamingOutputCallRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Messages.StreamingOutputCallRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -7309,6 +7397,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Messages.StreamingOutputCallResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Messages.StreamingOutputCallResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Messages.StreamingOutputCallResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -7974,6 +8073,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Messages.ReconnectInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Messages.ReconnectInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Messages.ReconnectInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Payloads.java b/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Payloads.java index 129f2570092..c3971124974 100644 --- a/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Payloads.java +++ b/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Payloads.java @@ -192,6 +192,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Payloads.ByteBufferParams parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Payloads.ByteBufferParams parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Payloads.ByteBufferParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -684,6 +695,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Payloads.SimpleProtoParams parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Payloads.SimpleProtoParams parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Payloads.SimpleProtoParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1118,6 +1140,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Payloads.ComplexProtoParams parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Payloads.ComplexProtoParams parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Payloads.ComplexProtoParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1716,6 +1749,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Payloads.PayloadConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Payloads.PayloadConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Payloads.PayloadConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Stats.java b/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Stats.java index 013f5648387..c15b8855589 100644 --- a/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Stats.java +++ b/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/Stats.java @@ -258,6 +258,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -847,6 +858,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Stats.HistogramParams parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Stats.HistogramParams parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Stats.HistogramParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1569,6 +1591,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Stats.HistogramData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Stats.HistogramData parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Stats.HistogramData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -2383,6 +2416,17 @@ public int hashCode() { return hash; } + public static io.grpc.benchmarks.proto.Stats.ClientStats parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.benchmarks.proto.Stats.ClientStats parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.benchmarks.proto.Stats.ClientStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/build.gradle b/build.gradle index 6316c5f0e8a..2ffac8c6475 100644 --- a/build.gradle +++ b/build.gradle @@ -89,7 +89,8 @@ subprojects { nettyVersion = '4.1.11.Final' guavaVersion = '19.0' - protobufVersion = '3.2.0' + protobufVersion = '3.3.1' + protocVersion = '3.3.0' // TODO(carl-mastrangelo): set this from protobufVersion when versions align again protobufNanoVersion = '3.0.0-alpha-5' configureProtoCompilation = { @@ -103,7 +104,7 @@ subprojects { if (project.hasProperty('protoc')) { path = project.protoc } else { - artifact = "com.google.protobuf:protoc:${protobufVersion}" + artifact = "com.google.protobuf:protoc:${protocVersion}" } } plugins { @@ -185,9 +186,7 @@ subprojects { okio: 'com.squareup.okio:okio:1.6.0', instrumentation_api: 'com.google.instrumentation:instrumentation-api:0.4.2', protobuf: "com.google.protobuf:protobuf-java:${protobufVersion}", - // swap to ${protobufVersion} after versions align again protobuf_lite: "com.google.protobuf:protobuf-lite:3.0.1", - // swap to ${protobufVersion} after versions align again protoc_lite: "com.google.protobuf:protoc-gen-javalite:3.0.0", protobuf_nano: "com.google.protobuf.nano:protobuf-javanano:${protobufNanoVersion}", protobuf_plugin: 'com.google.protobuf:protobuf-gradle-plugin:0.8.0', diff --git a/buildscripts/make_dependencies.bat b/buildscripts/make_dependencies.bat index 7ba394a95d1..885e116df0b 100644 --- a/buildscripts/make_dependencies.bat +++ b/buildscripts/make_dependencies.bat @@ -4,7 +4,7 @@ REM 7za is in http://www.7-zip.org/a/7z1507-extra.7z REM Prerequisite: REM 7za.exe in current directory or PATH -set PROTOBUF_VER=3.2.0 +set PROTOBUF_VER=3.3.1 set CMAKE_NAME=cmake-3.3.2-win32-x86 if not exist "protobuf-%PROTOBUF_VER%\cmake\build\Release\" ( diff --git a/compiler/Dockerfile b/compiler/Dockerfile index 6d1b5273fff..d5e0cf65031 100644 --- a/compiler/Dockerfile +++ b/compiler/Dockerfile @@ -2,7 +2,7 @@ FROM protoc-artifacts:latest RUN scl enable devtoolset-1.1 'bash -c "cd /protobuf && \ git fetch && \ - git checkout v3.2.0 && \ + git checkout v3.3.1 && \ ./autogen.sh && \ CXXFLAGS=-m32 ./configure --disable-shared --prefix=/protobuf-32 && \ make clean && make -j$(nproc) && make -j$(nproc) install"' diff --git a/compiler/build.gradle b/compiler/build.gradle index 10d9c315bcf..a6141310033 100644 --- a/compiler/build.gradle +++ b/compiler/build.gradle @@ -162,7 +162,7 @@ protobuf { if (project.hasProperty('protoc')) { path = project.protoc } else { - artifact = "com.google.protobuf:protoc:${protobufVersion}" + artifact = "com.google.protobuf:protoc:${protocVersion}" } } plugins { @@ -216,7 +216,7 @@ checkstyleTestNano { source = fileTree(dir: "src/testNano", include: "**/*.java") } -println "*** Building codegen requires Protobuf version ${protobufVersion}" +println "*** Building codegen requires Protobuf version ${protocVersion}" println "*** Please refer to https://github.com/grpc/grpc-java/blob/master/COMPILING.md#how-to-build-code-generation-plugin" task buildArtifacts(type: Copy) { diff --git a/examples/android/helloworld/app/build.gradle b/examples/android/helloworld/app/build.gradle index 192208c4858..5058749eb25 100644 --- a/examples/android/helloworld/app/build.gradle +++ b/examples/android/helloworld/app/build.gradle @@ -27,7 +27,7 @@ android { protobuf { protoc { - artifact = 'com.google.protobuf:protoc:3.2.0' + artifact = 'com.google.protobuf:protoc:3.3.0' } plugins { javalite { diff --git a/examples/android/routeguide/app/build.gradle b/examples/android/routeguide/app/build.gradle index 1a6117f90ca..ff801040c50 100644 --- a/examples/android/routeguide/app/build.gradle +++ b/examples/android/routeguide/app/build.gradle @@ -25,7 +25,7 @@ android { protobuf { protoc { - artifact = 'com.google.protobuf:protoc:3.2.0' + artifact = 'com.google.protobuf:protoc:3.3.0' } plugins { javalite { diff --git a/examples/build.gradle b/examples/build.gradle index 3b1a860d5d4..1f807779da0 100644 --- a/examples/build.gradle +++ b/examples/build.gradle @@ -35,7 +35,7 @@ dependencies { protobuf { protoc { - artifact = 'com.google.protobuf:protoc:3.2.0' + artifact = 'com.google.protobuf:protoc:3.3.0' } plugins { grpc { diff --git a/examples/pom.xml b/examples/pom.xml index fbc1eaace9d..bb0138e23c3 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -55,7 +55,7 @@ protobuf-maven-plugin 0.5.0 - com.google.protobuf:protoc:3.2.0:exe:${os.detected.classifier} + com.google.protobuf:protoc:3.3.0:exe:${os.detected.classifier} grpc-java io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier} diff --git a/grpclb/src/generated/main/java/io/grpc/grpclb/ClientStats.java b/grpclb/src/generated/main/java/io/grpc/grpclb/ClientStats.java index 14e40bb04bb..80d43b115e0 100644 --- a/grpclb/src/generated/main/java/io/grpc/grpclb/ClientStats.java +++ b/grpclb/src/generated/main/java/io/grpc/grpclb/ClientStats.java @@ -371,6 +371,17 @@ public int hashCode() { return hash; } + public static io.grpc.grpclb.ClientStats parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.grpclb.ClientStats parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.grpclb.ClientStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/grpclb/src/generated/main/java/io/grpc/grpclb/InitialLoadBalanceRequest.java b/grpclb/src/generated/main/java/io/grpc/grpclb/InitialLoadBalanceRequest.java index 477986bbbea..9f72def7ea9 100644 --- a/grpclb/src/generated/main/java/io/grpc/grpclb/InitialLoadBalanceRequest.java +++ b/grpclb/src/generated/main/java/io/grpc/grpclb/InitialLoadBalanceRequest.java @@ -176,6 +176,17 @@ public int hashCode() { return hash; } + public static io.grpc.grpclb.InitialLoadBalanceRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.grpclb.InitialLoadBalanceRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.grpclb.InitialLoadBalanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/grpclb/src/generated/main/java/io/grpc/grpclb/InitialLoadBalanceResponse.java b/grpclb/src/generated/main/java/io/grpc/grpclb/InitialLoadBalanceResponse.java index 4a52cb242ef..0f25cef15c2 100644 --- a/grpclb/src/generated/main/java/io/grpc/grpclb/InitialLoadBalanceResponse.java +++ b/grpclb/src/generated/main/java/io/grpc/grpclb/InitialLoadBalanceResponse.java @@ -250,6 +250,17 @@ public int hashCode() { return hash; } + public static io.grpc.grpclb.InitialLoadBalanceResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.grpclb.InitialLoadBalanceResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.grpclb.InitialLoadBalanceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/grpclb/src/generated/main/java/io/grpc/grpclb/LoadBalanceRequest.java b/grpclb/src/generated/main/java/io/grpc/grpclb/LoadBalanceRequest.java index 71f6b65f6bf..3f28f4a225a 100644 --- a/grpclb/src/generated/main/java/io/grpc/grpclb/LoadBalanceRequest.java +++ b/grpclb/src/generated/main/java/io/grpc/grpclb/LoadBalanceRequest.java @@ -280,6 +280,17 @@ public int hashCode() { return hash; } + public static io.grpc.grpclb.LoadBalanceRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.grpclb.LoadBalanceRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.grpclb.LoadBalanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/grpclb/src/generated/main/java/io/grpc/grpclb/LoadBalanceResponse.java b/grpclb/src/generated/main/java/io/grpc/grpclb/LoadBalanceResponse.java index 5f3eedded24..6b7eedeecf6 100644 --- a/grpclb/src/generated/main/java/io/grpc/grpclb/LoadBalanceResponse.java +++ b/grpclb/src/generated/main/java/io/grpc/grpclb/LoadBalanceResponse.java @@ -280,6 +280,17 @@ public int hashCode() { return hash; } + public static io.grpc.grpclb.LoadBalanceResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.grpclb.LoadBalanceResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.grpclb.LoadBalanceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/grpclb/src/generated/main/java/io/grpc/grpclb/Server.java b/grpclb/src/generated/main/java/io/grpc/grpclb/Server.java index 68c0c0be564..c191bb2f58a 100644 --- a/grpclb/src/generated/main/java/io/grpc/grpclb/Server.java +++ b/grpclb/src/generated/main/java/io/grpc/grpclb/Server.java @@ -312,6 +312,17 @@ public int hashCode() { return hash; } + public static io.grpc.grpclb.Server parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.grpclb.Server parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.grpclb.Server parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/grpclb/src/generated/main/java/io/grpc/grpclb/ServerList.java b/grpclb/src/generated/main/java/io/grpc/grpclb/ServerList.java index 003b9a33906..3b7c3e2f4af 100644 --- a/grpclb/src/generated/main/java/io/grpc/grpclb/ServerList.java +++ b/grpclb/src/generated/main/java/io/grpc/grpclb/ServerList.java @@ -283,6 +283,17 @@ public int hashCode() { return hash; } + public static io.grpc.grpclb.ServerList parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.grpclb.ServerList parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.grpclb.ServerList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/protobuf-lite/build.gradle b/protobuf-lite/build.gradle index 39af071dbb0..0a15e66fb6f 100644 --- a/protobuf-lite/build.gradle +++ b/protobuf-lite/build.gradle @@ -33,7 +33,7 @@ protobuf { if (project.hasProperty('protoc')) { path = project.protoc } else { - artifact = "com.google.protobuf:protoc:${protobufVersion}" + artifact = "com.google.protobuf:protoc:${protocVersion}" } } plugins { diff --git a/services/src/generated/main/java/com/google/instrumentation/stats/proto/CensusProto.java b/services/src/generated/main/java/com/google/instrumentation/stats/proto/CensusProto.java index eb4bb5efa5b..9c02a3bef84 100644 --- a/services/src/generated/main/java/com/google/instrumentation/stats/proto/CensusProto.java +++ b/services/src/generated/main/java/com/google/instrumentation/stats/proto/CensusProto.java @@ -221,6 +221,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.Duration parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.Duration parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.Duration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -782,6 +793,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.Timestamp parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.Timestamp parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.Timestamp parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1907,6 +1929,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.MeasurementDescriptor.MeasurementUnit parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.MeasurementDescriptor.MeasurementUnit parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.MeasurementDescriptor.MeasurementUnit parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -2691,6 +2724,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.MeasurementDescriptor parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.MeasurementDescriptor parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.MeasurementDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -3816,6 +3860,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.DistributionAggregation.Range parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.DistributionAggregation.Range parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.DistributionAggregation.Range parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -4508,6 +4563,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.DistributionAggregation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.DistributionAggregation parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.DistributionAggregation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -5951,6 +6017,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.DistributionAggregationDescriptor parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.DistributionAggregationDescriptor parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.DistributionAggregationDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -6895,6 +6972,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.IntervalAggregation.Interval parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.IntervalAggregation.Interval parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.IntervalAggregation.Interval parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -7595,6 +7683,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.IntervalAggregation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.IntervalAggregation parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.IntervalAggregation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -8888,6 +8987,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.IntervalAggregationDescriptor parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.IntervalAggregationDescriptor parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.IntervalAggregationDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -9823,6 +9933,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.Tag parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.Tag parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -10868,6 +10989,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.ViewDescriptor parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.ViewDescriptor parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.ViewDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -12284,6 +12416,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.DistributionView parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.DistributionView parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.DistributionView parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -13469,6 +13612,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.IntervalView parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.IntervalView parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.IntervalView parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -14462,6 +14616,17 @@ public int hashCode() { return hash; } + public static com.google.instrumentation.stats.proto.CensusProto.View parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.instrumentation.stats.proto.CensusProto.View parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.instrumentation.stats.proto.CensusProto.View parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/health/v1/HealthCheckRequest.java b/services/src/generated/main/java/io/grpc/health/v1/HealthCheckRequest.java index 2ba39bf933f..bf2400eb6ef 100644 --- a/services/src/generated/main/java/io/grpc/health/v1/HealthCheckRequest.java +++ b/services/src/generated/main/java/io/grpc/health/v1/HealthCheckRequest.java @@ -166,6 +166,17 @@ public int hashCode() { return hash; } + public static io.grpc.health.v1.HealthCheckRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.health.v1.HealthCheckRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.health.v1.HealthCheckRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/health/v1/HealthCheckResponse.java b/services/src/generated/main/java/io/grpc/health/v1/HealthCheckResponse.java index bd0521c0ce3..66d561ede21 100644 --- a/services/src/generated/main/java/io/grpc/health/v1/HealthCheckResponse.java +++ b/services/src/generated/main/java/io/grpc/health/v1/HealthCheckResponse.java @@ -255,6 +255,17 @@ public int hashCode() { return hash; } + public static io.grpc.health.v1.HealthCheckResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.health.v1.HealthCheckResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.health.v1.HealthCheckResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/CanonicalRpcStats.java b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/CanonicalRpcStats.java index 6c21269486f..de8470f8f64 100644 --- a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/CanonicalRpcStats.java +++ b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/CanonicalRpcStats.java @@ -981,6 +981,17 @@ public int hashCode() { return hash; } + public static io.grpc.instrumentation.v1alpha.CanonicalRpcStats parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.instrumentation.v1alpha.CanonicalRpcStats parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.instrumentation.v1alpha.CanonicalRpcStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/CustomMonitoringData.java b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/CustomMonitoringData.java index 6e8c4ae60a8..d76bd6fa96b 100644 --- a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/CustomMonitoringData.java +++ b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/CustomMonitoringData.java @@ -181,6 +181,17 @@ public int hashCode() { return hash; } + public static io.grpc.instrumentation.v1alpha.CustomMonitoringData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.instrumentation.v1alpha.CustomMonitoringData parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.instrumentation.v1alpha.CustomMonitoringData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/MonitoringDataGroup.java b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/MonitoringDataGroup.java index 9697aa3f0b8..771528ac8df 100644 --- a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/MonitoringDataGroup.java +++ b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/MonitoringDataGroup.java @@ -174,6 +174,17 @@ public int hashCode() { return hash; } + public static io.grpc.instrumentation.v1alpha.MonitoringDataGroup parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.instrumentation.v1alpha.MonitoringDataGroup parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.instrumentation.v1alpha.MonitoringDataGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/StatsRequest.java b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/StatsRequest.java index c8409977b26..25f211aa440 100644 --- a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/StatsRequest.java +++ b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/StatsRequest.java @@ -352,6 +352,17 @@ public int hashCode() { return hash; } + public static io.grpc.instrumentation.v1alpha.StatsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.instrumentation.v1alpha.StatsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.instrumentation.v1alpha.StatsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/StatsResponse.java b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/StatsResponse.java index e8ccc62eeec..aee84d5d430 100644 --- a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/StatsResponse.java +++ b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/StatsResponse.java @@ -309,6 +309,17 @@ public int hashCode() { return hash; } + public static io.grpc.instrumentation.v1alpha.StatsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.instrumentation.v1alpha.StatsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.instrumentation.v1alpha.StatsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/TraceRequest.java b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/TraceRequest.java index 72eac6a0a41..ef4c794edcf 100644 --- a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/TraceRequest.java +++ b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/TraceRequest.java @@ -118,6 +118,17 @@ public int hashCode() { return hash; } + public static io.grpc.instrumentation.v1alpha.TraceRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.instrumentation.v1alpha.TraceRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.instrumentation.v1alpha.TraceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/TraceResponse.java b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/TraceResponse.java index a39d721a02a..573a4d0ca5b 100644 --- a/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/TraceResponse.java +++ b/services/src/generated/main/java/io/grpc/instrumentation/v1alpha/TraceResponse.java @@ -118,6 +118,17 @@ public int hashCode() { return hash; } + public static io.grpc.instrumentation.v1alpha.TraceResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.instrumentation.v1alpha.TraceResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.instrumentation.v1alpha.TraceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ErrorResponse.java b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ErrorResponse.java index 467492dc575..5b50edb6add 100644 --- a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ErrorResponse.java +++ b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ErrorResponse.java @@ -200,6 +200,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.v1alpha.ErrorResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.v1alpha.ErrorResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.v1alpha.ErrorResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ExtensionNumberResponse.java b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ExtensionNumberResponse.java index 4e60914ead7..fa361f80400 100644 --- a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ExtensionNumberResponse.java +++ b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ExtensionNumberResponse.java @@ -258,6 +258,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.v1alpha.ExtensionNumberResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.v1alpha.ExtensionNumberResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.v1alpha.ExtensionNumberResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ExtensionRequest.java b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ExtensionRequest.java index b299e995297..35ea0ea66c8 100644 --- a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ExtensionRequest.java +++ b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ExtensionRequest.java @@ -205,6 +205,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.v1alpha.ExtensionRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.v1alpha.ExtensionRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.v1alpha.ExtensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/reflection/v1alpha/FileDescriptorResponse.java b/services/src/generated/main/java/io/grpc/reflection/v1alpha/FileDescriptorResponse.java index 876a9ba8c84..272f5d967a0 100644 --- a/services/src/generated/main/java/io/grpc/reflection/v1alpha/FileDescriptorResponse.java +++ b/services/src/generated/main/java/io/grpc/reflection/v1alpha/FileDescriptorResponse.java @@ -191,6 +191,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.v1alpha.FileDescriptorResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.v1alpha.FileDescriptorResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.v1alpha.FileDescriptorResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ListServiceResponse.java b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ListServiceResponse.java index 62b5c3eeff6..e7b952e3317 100644 --- a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ListServiceResponse.java +++ b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ListServiceResponse.java @@ -205,6 +205,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.v1alpha.ListServiceResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.v1alpha.ListServiceResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.v1alpha.ListServiceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ServerReflectionRequest.java b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ServerReflectionRequest.java index 445a0cc3c98..e4722191f09 100644 --- a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ServerReflectionRequest.java +++ b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ServerReflectionRequest.java @@ -588,6 +588,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.v1alpha.ServerReflectionRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.v1alpha.ServerReflectionRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.v1alpha.ServerReflectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ServerReflectionResponse.java b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ServerReflectionResponse.java index ea494fecc64..1215eeb303e 100644 --- a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ServerReflectionResponse.java +++ b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ServerReflectionResponse.java @@ -511,6 +511,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.v1alpha.ServerReflectionResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.v1alpha.ServerReflectionResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.v1alpha.ServerReflectionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ServiceResponse.java b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ServiceResponse.java index a146c174879..528faa0f1eb 100644 --- a/services/src/generated/main/java/io/grpc/reflection/v1alpha/ServiceResponse.java +++ b/services/src/generated/main/java/io/grpc/reflection/v1alpha/ServiceResponse.java @@ -181,6 +181,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.v1alpha.ServiceResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.v1alpha.ServiceResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.v1alpha.ServiceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/test/java/io/grpc/reflection/testing/DynamicReply.java b/services/src/generated/test/java/io/grpc/reflection/testing/DynamicReply.java index c1f456c872e..a06094c6f74 100644 --- a/services/src/generated/test/java/io/grpc/reflection/testing/DynamicReply.java +++ b/services/src/generated/test/java/io/grpc/reflection/testing/DynamicReply.java @@ -187,6 +187,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.testing.DynamicReply parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.testing.DynamicReply parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.testing.DynamicReply parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/test/java/io/grpc/reflection/testing/DynamicRequest.java b/services/src/generated/test/java/io/grpc/reflection/testing/DynamicRequest.java index 73b231cc8e6..3815556085e 100644 --- a/services/src/generated/test/java/io/grpc/reflection/testing/DynamicRequest.java +++ b/services/src/generated/test/java/io/grpc/reflection/testing/DynamicRequest.java @@ -187,6 +187,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.testing.DynamicRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.testing.DynamicRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.testing.DynamicRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/test/java/io/grpc/reflection/testing/EmptyMessage.java b/services/src/generated/test/java/io/grpc/reflection/testing/EmptyMessage.java index 43bfccc478e..7caed65eaa6 100644 --- a/services/src/generated/test/java/io/grpc/reflection/testing/EmptyMessage.java +++ b/services/src/generated/test/java/io/grpc/reflection/testing/EmptyMessage.java @@ -121,6 +121,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.testing.EmptyMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.testing.EmptyMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.testing.EmptyMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/test/java/io/grpc/reflection/testing/NestedTypeOuter.java b/services/src/generated/test/java/io/grpc/reflection/testing/NestedTypeOuter.java index e4b9b3a660f..8af8316ca44 100644 --- a/services/src/generated/test/java/io/grpc/reflection/testing/NestedTypeOuter.java +++ b/services/src/generated/test/java/io/grpc/reflection/testing/NestedTypeOuter.java @@ -307,6 +307,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.testing.NestedTypeOuter.Middle.Inner parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.testing.NestedTypeOuter.Middle.Inner parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.testing.NestedTypeOuter.Middle.Inner parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -656,6 +667,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.testing.NestedTypeOuter.Middle parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.testing.NestedTypeOuter.Middle parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.testing.NestedTypeOuter.Middle parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -960,6 +982,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.testing.NestedTypeOuter parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.testing.NestedTypeOuter parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.testing.NestedTypeOuter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/test/java/io/grpc/reflection/testing/Reply.java b/services/src/generated/test/java/io/grpc/reflection/testing/Reply.java index 0e82ebef05a..3e9c35098fb 100644 --- a/services/src/generated/test/java/io/grpc/reflection/testing/Reply.java +++ b/services/src/generated/test/java/io/grpc/reflection/testing/Reply.java @@ -187,6 +187,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.testing.Reply parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.testing.Reply parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.testing.Reply parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/test/java/io/grpc/reflection/testing/Request.java b/services/src/generated/test/java/io/grpc/reflection/testing/Request.java index 63420e94d68..6b01ca7ada4 100644 --- a/services/src/generated/test/java/io/grpc/reflection/testing/Request.java +++ b/services/src/generated/test/java/io/grpc/reflection/testing/Request.java @@ -187,6 +187,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.testing.Request parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.testing.Request parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.testing.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/test/java/io/grpc/reflection/testing/ThirdLevelType.java b/services/src/generated/test/java/io/grpc/reflection/testing/ThirdLevelType.java index 5a490167a09..1003dbd60f5 100644 --- a/services/src/generated/test/java/io/grpc/reflection/testing/ThirdLevelType.java +++ b/services/src/generated/test/java/io/grpc/reflection/testing/ThirdLevelType.java @@ -200,6 +200,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.testing.ThirdLevelType parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.testing.ThirdLevelType parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.testing.ThirdLevelType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/services/src/generated/test/java/io/grpc/reflection/testing/TypeWithExtensions.java b/services/src/generated/test/java/io/grpc/reflection/testing/TypeWithExtensions.java index ba98717d616..78c427fa4bb 100644 --- a/services/src/generated/test/java/io/grpc/reflection/testing/TypeWithExtensions.java +++ b/services/src/generated/test/java/io/grpc/reflection/testing/TypeWithExtensions.java @@ -200,6 +200,17 @@ public int hashCode() { return hash; } + public static io.grpc.reflection.testing.TypeWithExtensions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.reflection.testing.TypeWithExtensions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.reflection.testing.TypeWithExtensions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/testing-proto/src/generated/main/java/com/google/protobuf/EmptyProtos.java b/testing-proto/src/generated/main/java/com/google/protobuf/EmptyProtos.java index 7dfb2a2620f..b5cdcab562f 100644 --- a/testing-proto/src/generated/main/java/com/google/protobuf/EmptyProtos.java +++ b/testing-proto/src/generated/main/java/com/google/protobuf/EmptyProtos.java @@ -145,6 +145,17 @@ public int hashCode() { return hash; } + public static com.google.protobuf.EmptyProtos.Empty parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.protobuf.EmptyProtos.Empty parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.protobuf.EmptyProtos.Empty parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/testing-proto/src/generated/main/java/io/grpc/testing/integration/Messages.java b/testing-proto/src/generated/main/java/io/grpc/testing/integration/Messages.java index 4bb4ae58018..1949c1cfafb 100644 --- a/testing-proto/src/generated/main/java/io/grpc/testing/integration/Messages.java +++ b/testing-proto/src/generated/main/java/io/grpc/testing/integration/Messages.java @@ -485,6 +485,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Messages.Payload parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Messages.Payload parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Messages.Payload parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1069,6 +1080,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Messages.EchoStatus parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Messages.EchoStatus parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Messages.EchoStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1967,6 +1989,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Messages.SimpleRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Messages.SimpleRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Messages.SimpleRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -3200,6 +3233,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Messages.SimpleResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Messages.SimpleResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Messages.SimpleResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -3995,6 +4039,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Messages.SimpleContext parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Messages.SimpleContext parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Messages.SimpleContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -4528,6 +4583,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Messages.StreamingInputCallRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Messages.StreamingInputCallRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Messages.StreamingInputCallRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -5108,6 +5174,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Messages.StreamingInputCallResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Messages.StreamingInputCallResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Messages.StreamingInputCallResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -5608,6 +5685,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Messages.ResponseParameters parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Messages.ResponseParameters parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Messages.ResponseParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -6504,6 +6592,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Messages.StreamingOutputCallRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Messages.StreamingOutputCallRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Messages.StreamingOutputCallRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -7812,6 +7911,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Messages.StreamingOutputCallResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Messages.StreamingOutputCallResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Messages.StreamingOutputCallResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -8385,6 +8495,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Messages.ReconnectParams parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Messages.ReconnectParams parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Messages.ReconnectParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -8916,6 +9037,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Messages.ReconnectInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Messages.ReconnectInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Messages.ReconnectInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { diff --git a/testing-proto/src/generated/main/java/io/grpc/testing/integration/Metrics.java b/testing-proto/src/generated/main/java/io/grpc/testing/integration/Metrics.java index 347d36dca9e..f40fee24633 100644 --- a/testing-proto/src/generated/main/java/io/grpc/testing/integration/Metrics.java +++ b/testing-proto/src/generated/main/java/io/grpc/testing/integration/Metrics.java @@ -401,6 +401,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Metrics.GaugeResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Metrics.GaugeResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Metrics.GaugeResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1098,6 +1109,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Metrics.GaugeRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Metrics.GaugeRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Metrics.GaugeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1543,6 +1565,17 @@ public int hashCode() { return hash; } + public static io.grpc.testing.integration.Metrics.EmptyMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.grpc.testing.integration.Metrics.EmptyMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static io.grpc.testing.integration.Metrics.EmptyMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {