mirror of https://github.com/grpc/grpc-java.git
Update proto packages to reflect directory structure
This commit is contained in:
parent
0293c10161
commit
8825f355df
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
syntax = "proto3";
|
||||
|
||||
package grpc.testing;
|
||||
package grpc.testing.androidintegration;
|
||||
|
||||
option java_package = "io.grpc.android.integrationtest";
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ public class BenchmarkServiceGrpc {
|
|||
|
||||
private BenchmarkServiceGrpc() {}
|
||||
|
||||
public static final String SERVICE_NAME = "grpc.testing.BenchmarkService";
|
||||
public static final String SERVICE_NAME = "grpc.benchmarks.BenchmarkService";
|
||||
|
||||
// Static method descriptors that strictly reflect the proto.
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -33,7 +33,7 @@ public class BenchmarkServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.UNARY,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.BenchmarkService", "UnaryCall"),
|
||||
"grpc.benchmarks.BenchmarkService", "UnaryCall"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.benchmarks.proto.Messages.SimpleRequest.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.benchmarks.proto.Messages.SimpleResponse.getDefaultInstance()));
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -42,7 +42,7 @@ public class BenchmarkServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.BenchmarkService", "StreamingCall"),
|
||||
"grpc.benchmarks.BenchmarkService", "StreamingCall"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.benchmarks.proto.Messages.SimpleRequest.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.benchmarks.proto.Messages.SimpleResponse.getDefaultInstance()));
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ public class WorkerServiceGrpc {
|
|||
|
||||
private WorkerServiceGrpc() {}
|
||||
|
||||
public static final String SERVICE_NAME = "grpc.testing.WorkerService";
|
||||
public static final String SERVICE_NAME = "grpc.benchmarks.WorkerService";
|
||||
|
||||
// Static method descriptors that strictly reflect the proto.
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -33,7 +33,7 @@ public class WorkerServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.WorkerService", "RunServer"),
|
||||
"grpc.benchmarks.WorkerService", "RunServer"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.benchmarks.proto.Control.ServerArgs.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.benchmarks.proto.Control.ServerStatus.getDefaultInstance()));
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -42,7 +42,7 @@ public class WorkerServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.WorkerService", "RunClient"),
|
||||
"grpc.benchmarks.WorkerService", "RunClient"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.benchmarks.proto.Control.ClientArgs.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.benchmarks.proto.Control.ClientStatus.getDefaultInstance()));
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -51,7 +51,7 @@ public class WorkerServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.UNARY,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.WorkerService", "CoreCount"),
|
||||
"grpc.benchmarks.WorkerService", "CoreCount"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.benchmarks.proto.Control.CoreRequest.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.benchmarks.proto.Control.CoreResponse.getDefaultInstance()));
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -60,7 +60,7 @@ public class WorkerServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.UNARY,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.WorkerService", "QuitWorker"),
|
||||
"grpc.benchmarks.WorkerService", "QuitWorker"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.benchmarks.proto.Control.Void.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.benchmarks.proto.Control.Void.getDefaultInstance()));
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -9,7 +9,7 @@ public final class Payloads {
|
|||
com.google.protobuf.ExtensionRegistry registry) {
|
||||
}
|
||||
public interface ByteBufferParamsOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.ByteBufferParams)
|
||||
// @@protoc_insertion_point(interface_extends:grpc.benchmarks.ByteBufferParams)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
|
|
@ -23,11 +23,11 @@ public final class Payloads {
|
|||
int getRespSize();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.ByteBufferParams}
|
||||
* Protobuf type {@code grpc.benchmarks.ByteBufferParams}
|
||||
*/
|
||||
public static final class ByteBufferParams extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.ByteBufferParams)
|
||||
// @@protoc_insertion_point(message_implements:grpc.benchmarks.ByteBufferParams)
|
||||
ByteBufferParamsOrBuilder {
|
||||
// Use ByteBufferParams.newBuilder() to construct.
|
||||
private ByteBufferParams(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
|
|
@ -86,12 +86,12 @@ public final class Payloads {
|
|||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_ByteBufferParams_descriptor;
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_ByteBufferParams_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_ByteBufferParams_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_ByteBufferParams_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Payloads.ByteBufferParams.class, io.grpc.benchmarks.proto.Payloads.ByteBufferParams.Builder.class);
|
||||
}
|
||||
|
|
@ -224,20 +224,20 @@ public final class Payloads {
|
|||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.ByteBufferParams}
|
||||
* Protobuf type {@code grpc.benchmarks.ByteBufferParams}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.ByteBufferParams)
|
||||
// @@protoc_insertion_point(builder_implements:grpc.benchmarks.ByteBufferParams)
|
||||
io.grpc.benchmarks.proto.Payloads.ByteBufferParamsOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_ByteBufferParams_descriptor;
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_ByteBufferParams_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_ByteBufferParams_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_ByteBufferParams_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Payloads.ByteBufferParams.class, io.grpc.benchmarks.proto.Payloads.ByteBufferParams.Builder.class);
|
||||
}
|
||||
|
|
@ -267,7 +267,7 @@ public final class Payloads {
|
|||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_ByteBufferParams_descriptor;
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_ByteBufferParams_descriptor;
|
||||
}
|
||||
|
||||
public io.grpc.benchmarks.proto.Payloads.ByteBufferParams getDefaultInstanceForType() {
|
||||
|
|
@ -395,10 +395,10 @@ public final class Payloads {
|
|||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.ByteBufferParams)
|
||||
// @@protoc_insertion_point(builder_scope:grpc.benchmarks.ByteBufferParams)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.ByteBufferParams)
|
||||
// @@protoc_insertion_point(class_scope:grpc.benchmarks.ByteBufferParams)
|
||||
private static final io.grpc.benchmarks.proto.Payloads.ByteBufferParams DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.grpc.benchmarks.proto.Payloads.ByteBufferParams();
|
||||
|
|
@ -443,7 +443,7 @@ public final class Payloads {
|
|||
}
|
||||
|
||||
public interface SimpleProtoParamsOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.SimpleProtoParams)
|
||||
// @@protoc_insertion_point(interface_extends:grpc.benchmarks.SimpleProtoParams)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
|
|
@ -457,11 +457,11 @@ public final class Payloads {
|
|||
int getRespSize();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.SimpleProtoParams}
|
||||
* Protobuf type {@code grpc.benchmarks.SimpleProtoParams}
|
||||
*/
|
||||
public static final class SimpleProtoParams extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.SimpleProtoParams)
|
||||
// @@protoc_insertion_point(message_implements:grpc.benchmarks.SimpleProtoParams)
|
||||
SimpleProtoParamsOrBuilder {
|
||||
// Use SimpleProtoParams.newBuilder() to construct.
|
||||
private SimpleProtoParams(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
|
|
@ -520,12 +520,12 @@ public final class Payloads {
|
|||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_SimpleProtoParams_descriptor;
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_SimpleProtoParams_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_SimpleProtoParams_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_SimpleProtoParams_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Payloads.SimpleProtoParams.class, io.grpc.benchmarks.proto.Payloads.SimpleProtoParams.Builder.class);
|
||||
}
|
||||
|
|
@ -658,20 +658,20 @@ public final class Payloads {
|
|||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.SimpleProtoParams}
|
||||
* Protobuf type {@code grpc.benchmarks.SimpleProtoParams}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.SimpleProtoParams)
|
||||
// @@protoc_insertion_point(builder_implements:grpc.benchmarks.SimpleProtoParams)
|
||||
io.grpc.benchmarks.proto.Payloads.SimpleProtoParamsOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_SimpleProtoParams_descriptor;
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_SimpleProtoParams_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_SimpleProtoParams_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_SimpleProtoParams_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Payloads.SimpleProtoParams.class, io.grpc.benchmarks.proto.Payloads.SimpleProtoParams.Builder.class);
|
||||
}
|
||||
|
|
@ -701,7 +701,7 @@ public final class Payloads {
|
|||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_SimpleProtoParams_descriptor;
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_SimpleProtoParams_descriptor;
|
||||
}
|
||||
|
||||
public io.grpc.benchmarks.proto.Payloads.SimpleProtoParams getDefaultInstanceForType() {
|
||||
|
|
@ -829,10 +829,10 @@ public final class Payloads {
|
|||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.SimpleProtoParams)
|
||||
// @@protoc_insertion_point(builder_scope:grpc.benchmarks.SimpleProtoParams)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.SimpleProtoParams)
|
||||
// @@protoc_insertion_point(class_scope:grpc.benchmarks.SimpleProtoParams)
|
||||
private static final io.grpc.benchmarks.proto.Payloads.SimpleProtoParams DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.grpc.benchmarks.proto.Payloads.SimpleProtoParams();
|
||||
|
|
@ -877,11 +877,11 @@ public final class Payloads {
|
|||
}
|
||||
|
||||
public interface ComplexProtoParamsOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.ComplexProtoParams)
|
||||
// @@protoc_insertion_point(interface_extends:grpc.benchmarks.ComplexProtoParams)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.ComplexProtoParams}
|
||||
* Protobuf type {@code grpc.benchmarks.ComplexProtoParams}
|
||||
*
|
||||
* <pre>
|
||||
* TODO (vpai): Fill this in once the details of complex, representative
|
||||
|
|
@ -890,7 +890,7 @@ public final class Payloads {
|
|||
*/
|
||||
public static final class ComplexProtoParams extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.ComplexProtoParams)
|
||||
// @@protoc_insertion_point(message_implements:grpc.benchmarks.ComplexProtoParams)
|
||||
ComplexProtoParamsOrBuilder {
|
||||
// Use ComplexProtoParams.newBuilder() to construct.
|
||||
private ComplexProtoParams(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
|
|
@ -936,12 +936,12 @@ public final class Payloads {
|
|||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_ComplexProtoParams_descriptor;
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_ComplexProtoParams_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_ComplexProtoParams_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_ComplexProtoParams_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Payloads.ComplexProtoParams.class, io.grpc.benchmarks.proto.Payloads.ComplexProtoParams.Builder.class);
|
||||
}
|
||||
|
|
@ -1042,7 +1042,7 @@ public final class Payloads {
|
|||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.ComplexProtoParams}
|
||||
* Protobuf type {@code grpc.benchmarks.ComplexProtoParams}
|
||||
*
|
||||
* <pre>
|
||||
* TODO (vpai): Fill this in once the details of complex, representative
|
||||
|
|
@ -1051,16 +1051,16 @@ public final class Payloads {
|
|||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.ComplexProtoParams)
|
||||
// @@protoc_insertion_point(builder_implements:grpc.benchmarks.ComplexProtoParams)
|
||||
io.grpc.benchmarks.proto.Payloads.ComplexProtoParamsOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_ComplexProtoParams_descriptor;
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_ComplexProtoParams_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_ComplexProtoParams_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_ComplexProtoParams_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Payloads.ComplexProtoParams.class, io.grpc.benchmarks.proto.Payloads.ComplexProtoParams.Builder.class);
|
||||
}
|
||||
|
|
@ -1086,7 +1086,7 @@ public final class Payloads {
|
|||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_ComplexProtoParams_descriptor;
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_ComplexProtoParams_descriptor;
|
||||
}
|
||||
|
||||
public io.grpc.benchmarks.proto.Payloads.ComplexProtoParams getDefaultInstanceForType() {
|
||||
|
|
@ -1154,10 +1154,10 @@ public final class Payloads {
|
|||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.ComplexProtoParams)
|
||||
// @@protoc_insertion_point(builder_scope:grpc.benchmarks.ComplexProtoParams)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.ComplexProtoParams)
|
||||
// @@protoc_insertion_point(class_scope:grpc.benchmarks.ComplexProtoParams)
|
||||
private static final io.grpc.benchmarks.proto.Payloads.ComplexProtoParams DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.grpc.benchmarks.proto.Payloads.ComplexProtoParams();
|
||||
|
|
@ -1202,44 +1202,44 @@ public final class Payloads {
|
|||
}
|
||||
|
||||
public interface PayloadConfigOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.PayloadConfig)
|
||||
// @@protoc_insertion_point(interface_extends:grpc.benchmarks.PayloadConfig)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>optional .grpc.testing.ByteBufferParams bytebuf_params = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.ByteBufferParams bytebuf_params = 1;</code>
|
||||
*/
|
||||
io.grpc.benchmarks.proto.Payloads.ByteBufferParams getBytebufParams();
|
||||
/**
|
||||
* <code>optional .grpc.testing.ByteBufferParams bytebuf_params = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.ByteBufferParams bytebuf_params = 1;</code>
|
||||
*/
|
||||
io.grpc.benchmarks.proto.Payloads.ByteBufferParamsOrBuilder getBytebufParamsOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>optional .grpc.testing.SimpleProtoParams simple_params = 2;</code>
|
||||
* <code>optional .grpc.benchmarks.SimpleProtoParams simple_params = 2;</code>
|
||||
*/
|
||||
io.grpc.benchmarks.proto.Payloads.SimpleProtoParams getSimpleParams();
|
||||
/**
|
||||
* <code>optional .grpc.testing.SimpleProtoParams simple_params = 2;</code>
|
||||
* <code>optional .grpc.benchmarks.SimpleProtoParams simple_params = 2;</code>
|
||||
*/
|
||||
io.grpc.benchmarks.proto.Payloads.SimpleProtoParamsOrBuilder getSimpleParamsOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>optional .grpc.testing.ComplexProtoParams complex_params = 3;</code>
|
||||
* <code>optional .grpc.benchmarks.ComplexProtoParams complex_params = 3;</code>
|
||||
*/
|
||||
io.grpc.benchmarks.proto.Payloads.ComplexProtoParams getComplexParams();
|
||||
/**
|
||||
* <code>optional .grpc.testing.ComplexProtoParams complex_params = 3;</code>
|
||||
* <code>optional .grpc.benchmarks.ComplexProtoParams complex_params = 3;</code>
|
||||
*/
|
||||
io.grpc.benchmarks.proto.Payloads.ComplexProtoParamsOrBuilder getComplexParamsOrBuilder();
|
||||
|
||||
public io.grpc.benchmarks.proto.Payloads.PayloadConfig.PayloadCase getPayloadCase();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.PayloadConfig}
|
||||
* Protobuf type {@code grpc.benchmarks.PayloadConfig}
|
||||
*/
|
||||
public static final class PayloadConfig extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.PayloadConfig)
|
||||
// @@protoc_insertion_point(message_implements:grpc.benchmarks.PayloadConfig)
|
||||
PayloadConfigOrBuilder {
|
||||
// Use PayloadConfig.newBuilder() to construct.
|
||||
private PayloadConfig(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
|
|
@ -1328,12 +1328,12 @@ public final class Payloads {
|
|||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_PayloadConfig_descriptor;
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_PayloadConfig_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_PayloadConfig_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_PayloadConfig_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Payloads.PayloadConfig.class, io.grpc.benchmarks.proto.Payloads.PayloadConfig.Builder.class);
|
||||
}
|
||||
|
|
@ -1373,7 +1373,7 @@ public final class Payloads {
|
|||
|
||||
public static final int BYTEBUF_PARAMS_FIELD_NUMBER = 1;
|
||||
/**
|
||||
* <code>optional .grpc.testing.ByteBufferParams bytebuf_params = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.ByteBufferParams bytebuf_params = 1;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.ByteBufferParams getBytebufParams() {
|
||||
if (payloadCase_ == 1) {
|
||||
|
|
@ -1382,7 +1382,7 @@ public final class Payloads {
|
|||
return io.grpc.benchmarks.proto.Payloads.ByteBufferParams.getDefaultInstance();
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ByteBufferParams bytebuf_params = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.ByteBufferParams bytebuf_params = 1;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.ByteBufferParamsOrBuilder getBytebufParamsOrBuilder() {
|
||||
if (payloadCase_ == 1) {
|
||||
|
|
@ -1393,7 +1393,7 @@ public final class Payloads {
|
|||
|
||||
public static final int SIMPLE_PARAMS_FIELD_NUMBER = 2;
|
||||
/**
|
||||
* <code>optional .grpc.testing.SimpleProtoParams simple_params = 2;</code>
|
||||
* <code>optional .grpc.benchmarks.SimpleProtoParams simple_params = 2;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.SimpleProtoParams getSimpleParams() {
|
||||
if (payloadCase_ == 2) {
|
||||
|
|
@ -1402,7 +1402,7 @@ public final class Payloads {
|
|||
return io.grpc.benchmarks.proto.Payloads.SimpleProtoParams.getDefaultInstance();
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.SimpleProtoParams simple_params = 2;</code>
|
||||
* <code>optional .grpc.benchmarks.SimpleProtoParams simple_params = 2;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.SimpleProtoParamsOrBuilder getSimpleParamsOrBuilder() {
|
||||
if (payloadCase_ == 2) {
|
||||
|
|
@ -1413,7 +1413,7 @@ public final class Payloads {
|
|||
|
||||
public static final int COMPLEX_PARAMS_FIELD_NUMBER = 3;
|
||||
/**
|
||||
* <code>optional .grpc.testing.ComplexProtoParams complex_params = 3;</code>
|
||||
* <code>optional .grpc.benchmarks.ComplexProtoParams complex_params = 3;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.ComplexProtoParams getComplexParams() {
|
||||
if (payloadCase_ == 3) {
|
||||
|
|
@ -1422,7 +1422,7 @@ public final class Payloads {
|
|||
return io.grpc.benchmarks.proto.Payloads.ComplexProtoParams.getDefaultInstance();
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ComplexProtoParams complex_params = 3;</code>
|
||||
* <code>optional .grpc.benchmarks.ComplexProtoParams complex_params = 3;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.ComplexProtoParamsOrBuilder getComplexParamsOrBuilder() {
|
||||
if (payloadCase_ == 3) {
|
||||
|
|
@ -1548,20 +1548,20 @@ public final class Payloads {
|
|||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.PayloadConfig}
|
||||
* Protobuf type {@code grpc.benchmarks.PayloadConfig}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.PayloadConfig)
|
||||
// @@protoc_insertion_point(builder_implements:grpc.benchmarks.PayloadConfig)
|
||||
io.grpc.benchmarks.proto.Payloads.PayloadConfigOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_PayloadConfig_descriptor;
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_PayloadConfig_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_PayloadConfig_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_PayloadConfig_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Payloads.PayloadConfig.class, io.grpc.benchmarks.proto.Payloads.PayloadConfig.Builder.class);
|
||||
}
|
||||
|
|
@ -1589,7 +1589,7 @@ public final class Payloads {
|
|||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_testing_PayloadConfig_descriptor;
|
||||
return io.grpc.benchmarks.proto.Payloads.internal_static_grpc_benchmarks_PayloadConfig_descriptor;
|
||||
}
|
||||
|
||||
public io.grpc.benchmarks.proto.Payloads.PayloadConfig getDefaultInstanceForType() {
|
||||
|
|
@ -1704,7 +1704,7 @@ public final class Payloads {
|
|||
private com.google.protobuf.SingleFieldBuilder<
|
||||
io.grpc.benchmarks.proto.Payloads.ByteBufferParams, io.grpc.benchmarks.proto.Payloads.ByteBufferParams.Builder, io.grpc.benchmarks.proto.Payloads.ByteBufferParamsOrBuilder> bytebufParamsBuilder_;
|
||||
/**
|
||||
* <code>optional .grpc.testing.ByteBufferParams bytebuf_params = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.ByteBufferParams bytebuf_params = 1;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.ByteBufferParams getBytebufParams() {
|
||||
if (bytebufParamsBuilder_ == null) {
|
||||
|
|
@ -1720,7 +1720,7 @@ public final class Payloads {
|
|||
}
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ByteBufferParams bytebuf_params = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.ByteBufferParams bytebuf_params = 1;</code>
|
||||
*/
|
||||
public Builder setBytebufParams(io.grpc.benchmarks.proto.Payloads.ByteBufferParams value) {
|
||||
if (bytebufParamsBuilder_ == null) {
|
||||
|
|
@ -1736,7 +1736,7 @@ public final class Payloads {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ByteBufferParams bytebuf_params = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.ByteBufferParams bytebuf_params = 1;</code>
|
||||
*/
|
||||
public Builder setBytebufParams(
|
||||
io.grpc.benchmarks.proto.Payloads.ByteBufferParams.Builder builderForValue) {
|
||||
|
|
@ -1750,7 +1750,7 @@ public final class Payloads {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ByteBufferParams bytebuf_params = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.ByteBufferParams bytebuf_params = 1;</code>
|
||||
*/
|
||||
public Builder mergeBytebufParams(io.grpc.benchmarks.proto.Payloads.ByteBufferParams value) {
|
||||
if (bytebufParamsBuilder_ == null) {
|
||||
|
|
@ -1772,7 +1772,7 @@ public final class Payloads {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ByteBufferParams bytebuf_params = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.ByteBufferParams bytebuf_params = 1;</code>
|
||||
*/
|
||||
public Builder clearBytebufParams() {
|
||||
if (bytebufParamsBuilder_ == null) {
|
||||
|
|
@ -1791,13 +1791,13 @@ public final class Payloads {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ByteBufferParams bytebuf_params = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.ByteBufferParams bytebuf_params = 1;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.ByteBufferParams.Builder getBytebufParamsBuilder() {
|
||||
return getBytebufParamsFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ByteBufferParams bytebuf_params = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.ByteBufferParams bytebuf_params = 1;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.ByteBufferParamsOrBuilder getBytebufParamsOrBuilder() {
|
||||
if ((payloadCase_ == 1) && (bytebufParamsBuilder_ != null)) {
|
||||
|
|
@ -1810,7 +1810,7 @@ public final class Payloads {
|
|||
}
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ByteBufferParams bytebuf_params = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.ByteBufferParams bytebuf_params = 1;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilder<
|
||||
io.grpc.benchmarks.proto.Payloads.ByteBufferParams, io.grpc.benchmarks.proto.Payloads.ByteBufferParams.Builder, io.grpc.benchmarks.proto.Payloads.ByteBufferParamsOrBuilder>
|
||||
|
|
@ -1834,7 +1834,7 @@ public final class Payloads {
|
|||
private com.google.protobuf.SingleFieldBuilder<
|
||||
io.grpc.benchmarks.proto.Payloads.SimpleProtoParams, io.grpc.benchmarks.proto.Payloads.SimpleProtoParams.Builder, io.grpc.benchmarks.proto.Payloads.SimpleProtoParamsOrBuilder> simpleParamsBuilder_;
|
||||
/**
|
||||
* <code>optional .grpc.testing.SimpleProtoParams simple_params = 2;</code>
|
||||
* <code>optional .grpc.benchmarks.SimpleProtoParams simple_params = 2;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.SimpleProtoParams getSimpleParams() {
|
||||
if (simpleParamsBuilder_ == null) {
|
||||
|
|
@ -1850,7 +1850,7 @@ public final class Payloads {
|
|||
}
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.SimpleProtoParams simple_params = 2;</code>
|
||||
* <code>optional .grpc.benchmarks.SimpleProtoParams simple_params = 2;</code>
|
||||
*/
|
||||
public Builder setSimpleParams(io.grpc.benchmarks.proto.Payloads.SimpleProtoParams value) {
|
||||
if (simpleParamsBuilder_ == null) {
|
||||
|
|
@ -1866,7 +1866,7 @@ public final class Payloads {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.SimpleProtoParams simple_params = 2;</code>
|
||||
* <code>optional .grpc.benchmarks.SimpleProtoParams simple_params = 2;</code>
|
||||
*/
|
||||
public Builder setSimpleParams(
|
||||
io.grpc.benchmarks.proto.Payloads.SimpleProtoParams.Builder builderForValue) {
|
||||
|
|
@ -1880,7 +1880,7 @@ public final class Payloads {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.SimpleProtoParams simple_params = 2;</code>
|
||||
* <code>optional .grpc.benchmarks.SimpleProtoParams simple_params = 2;</code>
|
||||
*/
|
||||
public Builder mergeSimpleParams(io.grpc.benchmarks.proto.Payloads.SimpleProtoParams value) {
|
||||
if (simpleParamsBuilder_ == null) {
|
||||
|
|
@ -1902,7 +1902,7 @@ public final class Payloads {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.SimpleProtoParams simple_params = 2;</code>
|
||||
* <code>optional .grpc.benchmarks.SimpleProtoParams simple_params = 2;</code>
|
||||
*/
|
||||
public Builder clearSimpleParams() {
|
||||
if (simpleParamsBuilder_ == null) {
|
||||
|
|
@ -1921,13 +1921,13 @@ public final class Payloads {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.SimpleProtoParams simple_params = 2;</code>
|
||||
* <code>optional .grpc.benchmarks.SimpleProtoParams simple_params = 2;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.SimpleProtoParams.Builder getSimpleParamsBuilder() {
|
||||
return getSimpleParamsFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.SimpleProtoParams simple_params = 2;</code>
|
||||
* <code>optional .grpc.benchmarks.SimpleProtoParams simple_params = 2;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.SimpleProtoParamsOrBuilder getSimpleParamsOrBuilder() {
|
||||
if ((payloadCase_ == 2) && (simpleParamsBuilder_ != null)) {
|
||||
|
|
@ -1940,7 +1940,7 @@ public final class Payloads {
|
|||
}
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.SimpleProtoParams simple_params = 2;</code>
|
||||
* <code>optional .grpc.benchmarks.SimpleProtoParams simple_params = 2;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilder<
|
||||
io.grpc.benchmarks.proto.Payloads.SimpleProtoParams, io.grpc.benchmarks.proto.Payloads.SimpleProtoParams.Builder, io.grpc.benchmarks.proto.Payloads.SimpleProtoParamsOrBuilder>
|
||||
|
|
@ -1964,7 +1964,7 @@ public final class Payloads {
|
|||
private com.google.protobuf.SingleFieldBuilder<
|
||||
io.grpc.benchmarks.proto.Payloads.ComplexProtoParams, io.grpc.benchmarks.proto.Payloads.ComplexProtoParams.Builder, io.grpc.benchmarks.proto.Payloads.ComplexProtoParamsOrBuilder> complexParamsBuilder_;
|
||||
/**
|
||||
* <code>optional .grpc.testing.ComplexProtoParams complex_params = 3;</code>
|
||||
* <code>optional .grpc.benchmarks.ComplexProtoParams complex_params = 3;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.ComplexProtoParams getComplexParams() {
|
||||
if (complexParamsBuilder_ == null) {
|
||||
|
|
@ -1980,7 +1980,7 @@ public final class Payloads {
|
|||
}
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ComplexProtoParams complex_params = 3;</code>
|
||||
* <code>optional .grpc.benchmarks.ComplexProtoParams complex_params = 3;</code>
|
||||
*/
|
||||
public Builder setComplexParams(io.grpc.benchmarks.proto.Payloads.ComplexProtoParams value) {
|
||||
if (complexParamsBuilder_ == null) {
|
||||
|
|
@ -1996,7 +1996,7 @@ public final class Payloads {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ComplexProtoParams complex_params = 3;</code>
|
||||
* <code>optional .grpc.benchmarks.ComplexProtoParams complex_params = 3;</code>
|
||||
*/
|
||||
public Builder setComplexParams(
|
||||
io.grpc.benchmarks.proto.Payloads.ComplexProtoParams.Builder builderForValue) {
|
||||
|
|
@ -2010,7 +2010,7 @@ public final class Payloads {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ComplexProtoParams complex_params = 3;</code>
|
||||
* <code>optional .grpc.benchmarks.ComplexProtoParams complex_params = 3;</code>
|
||||
*/
|
||||
public Builder mergeComplexParams(io.grpc.benchmarks.proto.Payloads.ComplexProtoParams value) {
|
||||
if (complexParamsBuilder_ == null) {
|
||||
|
|
@ -2032,7 +2032,7 @@ public final class Payloads {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ComplexProtoParams complex_params = 3;</code>
|
||||
* <code>optional .grpc.benchmarks.ComplexProtoParams complex_params = 3;</code>
|
||||
*/
|
||||
public Builder clearComplexParams() {
|
||||
if (complexParamsBuilder_ == null) {
|
||||
|
|
@ -2051,13 +2051,13 @@ public final class Payloads {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ComplexProtoParams complex_params = 3;</code>
|
||||
* <code>optional .grpc.benchmarks.ComplexProtoParams complex_params = 3;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.ComplexProtoParams.Builder getComplexParamsBuilder() {
|
||||
return getComplexParamsFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ComplexProtoParams complex_params = 3;</code>
|
||||
* <code>optional .grpc.benchmarks.ComplexProtoParams complex_params = 3;</code>
|
||||
*/
|
||||
public io.grpc.benchmarks.proto.Payloads.ComplexProtoParamsOrBuilder getComplexParamsOrBuilder() {
|
||||
if ((payloadCase_ == 3) && (complexParamsBuilder_ != null)) {
|
||||
|
|
@ -2070,7 +2070,7 @@ public final class Payloads {
|
|||
}
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.ComplexProtoParams complex_params = 3;</code>
|
||||
* <code>optional .grpc.benchmarks.ComplexProtoParams complex_params = 3;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilder<
|
||||
io.grpc.benchmarks.proto.Payloads.ComplexProtoParams, io.grpc.benchmarks.proto.Payloads.ComplexProtoParams.Builder, io.grpc.benchmarks.proto.Payloads.ComplexProtoParamsOrBuilder>
|
||||
|
|
@ -2101,10 +2101,10 @@ public final class Payloads {
|
|||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.PayloadConfig)
|
||||
// @@protoc_insertion_point(builder_scope:grpc.benchmarks.PayloadConfig)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.PayloadConfig)
|
||||
// @@protoc_insertion_point(class_scope:grpc.benchmarks.PayloadConfig)
|
||||
private static final io.grpc.benchmarks.proto.Payloads.PayloadConfig DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.grpc.benchmarks.proto.Payloads.PayloadConfig();
|
||||
|
|
@ -2149,25 +2149,25 @@ public final class Payloads {
|
|||
}
|
||||
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_grpc_testing_ByteBufferParams_descriptor;
|
||||
internal_static_grpc_benchmarks_ByteBufferParams_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_grpc_testing_ByteBufferParams_fieldAccessorTable;
|
||||
internal_static_grpc_benchmarks_ByteBufferParams_fieldAccessorTable;
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_grpc_testing_SimpleProtoParams_descriptor;
|
||||
internal_static_grpc_benchmarks_SimpleProtoParams_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_grpc_testing_SimpleProtoParams_fieldAccessorTable;
|
||||
internal_static_grpc_benchmarks_SimpleProtoParams_fieldAccessorTable;
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_grpc_testing_ComplexProtoParams_descriptor;
|
||||
internal_static_grpc_benchmarks_ComplexProtoParams_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_grpc_testing_ComplexProtoParams_fieldAccessorTable;
|
||||
internal_static_grpc_benchmarks_ComplexProtoParams_fieldAccessorTable;
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_grpc_testing_PayloadConfig_descriptor;
|
||||
internal_static_grpc_benchmarks_PayloadConfig_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_grpc_testing_PayloadConfig_fieldAccessorTable;
|
||||
internal_static_grpc_benchmarks_PayloadConfig_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
|
|
@ -2177,17 +2177,17 @@ public final class Payloads {
|
|||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\016payloads.proto\022\014grpc.testing\"7\n\020ByteBu" +
|
||||
"fferParams\022\020\n\010req_size\030\001 \001(\005\022\021\n\tresp_siz" +
|
||||
"e\030\002 \001(\005\"8\n\021SimpleProtoParams\022\020\n\010req_size" +
|
||||
"\030\001 \001(\005\022\021\n\tresp_size\030\002 \001(\005\"\024\n\022ComplexProt" +
|
||||
"oParams\"\312\001\n\rPayloadConfig\0228\n\016bytebuf_par" +
|
||||
"ams\030\001 \001(\0132\036.grpc.testing.ByteBufferParam" +
|
||||
"sH\000\0228\n\rsimple_params\030\002 \001(\0132\037.grpc.testin" +
|
||||
"g.SimpleProtoParamsH\000\022:\n\016complex_params\030" +
|
||||
"\003 \001(\0132 .grpc.testing.ComplexProtoParamsH" +
|
||||
"\000B\t\n\007payloadB$\n\030io.grpc.benchmarks.proto",
|
||||
"B\010Payloadsb\006proto3"
|
||||
"\n\016payloads.proto\022\017grpc.benchmarks\"7\n\020Byt" +
|
||||
"eBufferParams\022\020\n\010req_size\030\001 \001(\005\022\021\n\tresp_" +
|
||||
"size\030\002 \001(\005\"8\n\021SimpleProtoParams\022\020\n\010req_s" +
|
||||
"ize\030\001 \001(\005\022\021\n\tresp_size\030\002 \001(\005\"\024\n\022ComplexP" +
|
||||
"rotoParams\"\323\001\n\rPayloadConfig\022;\n\016bytebuf_" +
|
||||
"params\030\001 \001(\0132!.grpc.benchmarks.ByteBuffe" +
|
||||
"rParamsH\000\022;\n\rsimple_params\030\002 \001(\0132\".grpc." +
|
||||
"benchmarks.SimpleProtoParamsH\000\022=\n\016comple" +
|
||||
"x_params\030\003 \001(\0132#.grpc.benchmarks.Complex" +
|
||||
"ProtoParamsH\000B\t\n\007payloadB$\n\030io.grpc.benc",
|
||||
"hmarks.protoB\010Payloadsb\006proto3"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||
|
|
@ -2201,29 +2201,29 @@ public final class Payloads {
|
|||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
}, assigner);
|
||||
internal_static_grpc_testing_ByteBufferParams_descriptor =
|
||||
internal_static_grpc_benchmarks_ByteBufferParams_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_grpc_testing_ByteBufferParams_fieldAccessorTable = new
|
||||
internal_static_grpc_benchmarks_ByteBufferParams_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_grpc_testing_ByteBufferParams_descriptor,
|
||||
internal_static_grpc_benchmarks_ByteBufferParams_descriptor,
|
||||
new java.lang.String[] { "ReqSize", "RespSize", });
|
||||
internal_static_grpc_testing_SimpleProtoParams_descriptor =
|
||||
internal_static_grpc_benchmarks_SimpleProtoParams_descriptor =
|
||||
getDescriptor().getMessageTypes().get(1);
|
||||
internal_static_grpc_testing_SimpleProtoParams_fieldAccessorTable = new
|
||||
internal_static_grpc_benchmarks_SimpleProtoParams_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_grpc_testing_SimpleProtoParams_descriptor,
|
||||
internal_static_grpc_benchmarks_SimpleProtoParams_descriptor,
|
||||
new java.lang.String[] { "ReqSize", "RespSize", });
|
||||
internal_static_grpc_testing_ComplexProtoParams_descriptor =
|
||||
internal_static_grpc_benchmarks_ComplexProtoParams_descriptor =
|
||||
getDescriptor().getMessageTypes().get(2);
|
||||
internal_static_grpc_testing_ComplexProtoParams_fieldAccessorTable = new
|
||||
internal_static_grpc_benchmarks_ComplexProtoParams_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_grpc_testing_ComplexProtoParams_descriptor,
|
||||
internal_static_grpc_benchmarks_ComplexProtoParams_descriptor,
|
||||
new java.lang.String[] { });
|
||||
internal_static_grpc_testing_PayloadConfig_descriptor =
|
||||
internal_static_grpc_benchmarks_PayloadConfig_descriptor =
|
||||
getDescriptor().getMessageTypes().get(3);
|
||||
internal_static_grpc_testing_PayloadConfig_fieldAccessorTable = new
|
||||
internal_static_grpc_benchmarks_PayloadConfig_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_grpc_testing_PayloadConfig_descriptor,
|
||||
internal_static_grpc_benchmarks_PayloadConfig_descriptor,
|
||||
new java.lang.String[] { "BytebufParams", "SimpleParams", "ComplexParams", "Payload", });
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -17,21 +17,22 @@ public final class Services {
|
|||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\016services.proto\022\014grpc.testing\032\016messages" +
|
||||
".proto\032\rcontrol.proto2\252\001\n\020BenchmarkServi" +
|
||||
"ce\022F\n\tUnaryCall\022\033.grpc.testing.SimpleReq" +
|
||||
"uest\032\034.grpc.testing.SimpleResponse\022N\n\rSt" +
|
||||
"reamingCall\022\033.grpc.testing.SimpleRequest" +
|
||||
"\032\034.grpc.testing.SimpleResponse(\0010\0012\227\002\n\rW" +
|
||||
"orkerService\022E\n\tRunServer\022\030.grpc.testing" +
|
||||
".ServerArgs\032\032.grpc.testing.ServerStatus(" +
|
||||
"\0010\001\022E\n\tRunClient\022\030.grpc.testing.ClientAr" +
|
||||
"gs\032\032.grpc.testing.ClientStatus(\0010\001\022B\n\tCo",
|
||||
"reCount\022\031.grpc.testing.CoreRequest\032\032.grp" +
|
||||
"c.testing.CoreResponse\0224\n\nQuitWorker\022\022.g" +
|
||||
"rpc.testing.Void\032\022.grpc.testing.VoidB$\n\030" +
|
||||
"io.grpc.benchmarks.protoB\010Servicesb\006prot" +
|
||||
"o3"
|
||||
"\n\016services.proto\022\017grpc.benchmarks\032\016messa" +
|
||||
"ges.proto\032\rcontrol.proto2\266\001\n\020BenchmarkSe" +
|
||||
"rvice\022L\n\tUnaryCall\022\036.grpc.benchmarks.Sim" +
|
||||
"pleRequest\032\037.grpc.benchmarks.SimpleRespo" +
|
||||
"nse\022T\n\rStreamingCall\022\036.grpc.benchmarks.S" +
|
||||
"impleRequest\032\037.grpc.benchmarks.SimpleRes" +
|
||||
"ponse(\0010\0012\257\002\n\rWorkerService\022K\n\tRunServer" +
|
||||
"\022\033.grpc.benchmarks.ServerArgs\032\035.grpc.ben" +
|
||||
"chmarks.ServerStatus(\0010\001\022K\n\tRunClient\022\033." +
|
||||
"grpc.benchmarks.ClientArgs\032\035.grpc.benchm",
|
||||
"arks.ClientStatus(\0010\001\022H\n\tCoreCount\022\034.grp" +
|
||||
"c.benchmarks.CoreRequest\032\035.grpc.benchmar" +
|
||||
"ks.CoreResponse\022:\n\nQuitWorker\022\025.grpc.ben" +
|
||||
"chmarks.Void\032\025.grpc.benchmarks.VoidB$\n\030i" +
|
||||
"o.grpc.benchmarks.protoB\010Servicesb\006proto" +
|
||||
"3"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ public final class Stats {
|
|||
com.google.protobuf.ExtensionRegistry registry) {
|
||||
}
|
||||
public interface ServerStatsOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.ServerStats)
|
||||
// @@protoc_insertion_point(interface_extends:grpc.benchmarks.ServerStats)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
|
|
@ -41,11 +41,11 @@ public final class Stats {
|
|||
double getTimeSystem();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.ServerStats}
|
||||
* Protobuf type {@code grpc.benchmarks.ServerStats}
|
||||
*/
|
||||
public static final class ServerStats extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.ServerStats)
|
||||
// @@protoc_insertion_point(message_implements:grpc.benchmarks.ServerStats)
|
||||
ServerStatsOrBuilder {
|
||||
// Use ServerStats.newBuilder() to construct.
|
||||
private ServerStats(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
|
|
@ -110,12 +110,12 @@ public final class Stats {
|
|||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ServerStats_descriptor;
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_ServerStats_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ServerStats_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_ServerStats_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Stats.ServerStats.class, io.grpc.benchmarks.proto.Stats.ServerStats.Builder.class);
|
||||
}
|
||||
|
|
@ -277,20 +277,20 @@ public final class Stats {
|
|||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.ServerStats}
|
||||
* Protobuf type {@code grpc.benchmarks.ServerStats}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.ServerStats)
|
||||
// @@protoc_insertion_point(builder_implements:grpc.benchmarks.ServerStats)
|
||||
io.grpc.benchmarks.proto.Stats.ServerStatsOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ServerStats_descriptor;
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_ServerStats_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ServerStats_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_ServerStats_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Stats.ServerStats.class, io.grpc.benchmarks.proto.Stats.ServerStats.Builder.class);
|
||||
}
|
||||
|
|
@ -322,7 +322,7 @@ public final class Stats {
|
|||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ServerStats_descriptor;
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_ServerStats_descriptor;
|
||||
}
|
||||
|
||||
public io.grpc.benchmarks.proto.Stats.ServerStats getDefaultInstanceForType() {
|
||||
|
|
@ -519,10 +519,10 @@ public final class Stats {
|
|||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.ServerStats)
|
||||
// @@protoc_insertion_point(builder_scope:grpc.benchmarks.ServerStats)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.ServerStats)
|
||||
// @@protoc_insertion_point(class_scope:grpc.benchmarks.ServerStats)
|
||||
private static final io.grpc.benchmarks.proto.Stats.ServerStats DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.grpc.benchmarks.proto.Stats.ServerStats();
|
||||
|
|
@ -567,7 +567,7 @@ public final class Stats {
|
|||
}
|
||||
|
||||
public interface HistogramParamsOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.HistogramParams)
|
||||
// @@protoc_insertion_point(interface_extends:grpc.benchmarks.HistogramParams)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
|
|
@ -589,7 +589,7 @@ public final class Stats {
|
|||
double getMaxPossible();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.HistogramParams}
|
||||
* Protobuf type {@code grpc.benchmarks.HistogramParams}
|
||||
*
|
||||
* <pre>
|
||||
* Histogram params based on grpc/support/histogram.c
|
||||
|
|
@ -597,7 +597,7 @@ public final class Stats {
|
|||
*/
|
||||
public static final class HistogramParams extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.HistogramParams)
|
||||
// @@protoc_insertion_point(message_implements:grpc.benchmarks.HistogramParams)
|
||||
HistogramParamsOrBuilder {
|
||||
// Use HistogramParams.newBuilder() to construct.
|
||||
private HistogramParams(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
|
|
@ -656,12 +656,12 @@ public final class Stats {
|
|||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramParams_descriptor;
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_HistogramParams_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramParams_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_HistogramParams_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Stats.HistogramParams.class, io.grpc.benchmarks.proto.Stats.HistogramParams.Builder.class);
|
||||
}
|
||||
|
|
@ -802,7 +802,7 @@ public final class Stats {
|
|||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.HistogramParams}
|
||||
* Protobuf type {@code grpc.benchmarks.HistogramParams}
|
||||
*
|
||||
* <pre>
|
||||
* Histogram params based on grpc/support/histogram.c
|
||||
|
|
@ -810,16 +810,16 @@ public final class Stats {
|
|||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.HistogramParams)
|
||||
// @@protoc_insertion_point(builder_implements:grpc.benchmarks.HistogramParams)
|
||||
io.grpc.benchmarks.proto.Stats.HistogramParamsOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramParams_descriptor;
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_HistogramParams_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramParams_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_HistogramParams_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Stats.HistogramParams.class, io.grpc.benchmarks.proto.Stats.HistogramParams.Builder.class);
|
||||
}
|
||||
|
|
@ -849,7 +849,7 @@ public final class Stats {
|
|||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramParams_descriptor;
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_HistogramParams_descriptor;
|
||||
}
|
||||
|
||||
public io.grpc.benchmarks.proto.Stats.HistogramParams getDefaultInstanceForType() {
|
||||
|
|
@ -1001,10 +1001,10 @@ public final class Stats {
|
|||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.HistogramParams)
|
||||
// @@protoc_insertion_point(builder_scope:grpc.benchmarks.HistogramParams)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.HistogramParams)
|
||||
// @@protoc_insertion_point(class_scope:grpc.benchmarks.HistogramParams)
|
||||
private static final io.grpc.benchmarks.proto.Stats.HistogramParams DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.grpc.benchmarks.proto.Stats.HistogramParams();
|
||||
|
|
@ -1049,7 +1049,7 @@ public final class Stats {
|
|||
}
|
||||
|
||||
public interface HistogramDataOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.HistogramData)
|
||||
// @@protoc_insertion_point(interface_extends:grpc.benchmarks.HistogramData)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
|
|
@ -1091,7 +1091,7 @@ public final class Stats {
|
|||
double getCount();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.HistogramData}
|
||||
* Protobuf type {@code grpc.benchmarks.HistogramData}
|
||||
*
|
||||
* <pre>
|
||||
* Histogram data based on grpc/support/histogram.c
|
||||
|
|
@ -1099,7 +1099,7 @@ public final class Stats {
|
|||
*/
|
||||
public static final class HistogramData extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.HistogramData)
|
||||
// @@protoc_insertion_point(message_implements:grpc.benchmarks.HistogramData)
|
||||
HistogramDataOrBuilder {
|
||||
// Use HistogramData.newBuilder() to construct.
|
||||
private HistogramData(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
|
|
@ -1201,12 +1201,12 @@ public final class Stats {
|
|||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramData_descriptor;
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_HistogramData_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramData_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_HistogramData_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Stats.HistogramData.class, io.grpc.benchmarks.proto.Stats.HistogramData.Builder.class);
|
||||
}
|
||||
|
|
@ -1433,7 +1433,7 @@ public final class Stats {
|
|||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.HistogramData}
|
||||
* Protobuf type {@code grpc.benchmarks.HistogramData}
|
||||
*
|
||||
* <pre>
|
||||
* Histogram data based on grpc/support/histogram.c
|
||||
|
|
@ -1441,16 +1441,16 @@ public final class Stats {
|
|||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.HistogramData)
|
||||
// @@protoc_insertion_point(builder_implements:grpc.benchmarks.HistogramData)
|
||||
io.grpc.benchmarks.proto.Stats.HistogramDataOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramData_descriptor;
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_HistogramData_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramData_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_HistogramData_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Stats.HistogramData.class, io.grpc.benchmarks.proto.Stats.HistogramData.Builder.class);
|
||||
}
|
||||
|
|
@ -1488,7 +1488,7 @@ public final class Stats {
|
|||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramData_descriptor;
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_HistogramData_descriptor;
|
||||
}
|
||||
|
||||
public io.grpc.benchmarks.proto.Stats.HistogramData getDefaultInstanceForType() {
|
||||
|
|
@ -1791,10 +1791,10 @@ public final class Stats {
|
|||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.HistogramData)
|
||||
// @@protoc_insertion_point(builder_scope:grpc.benchmarks.HistogramData)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.HistogramData)
|
||||
// @@protoc_insertion_point(class_scope:grpc.benchmarks.HistogramData)
|
||||
private static final io.grpc.benchmarks.proto.Stats.HistogramData DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.grpc.benchmarks.proto.Stats.HistogramData();
|
||||
|
|
@ -1839,11 +1839,11 @@ public final class Stats {
|
|||
}
|
||||
|
||||
public interface ClientStatsOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.ClientStats)
|
||||
// @@protoc_insertion_point(interface_extends:grpc.benchmarks.ClientStats)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -1851,7 +1851,7 @@ public final class Stats {
|
|||
*/
|
||||
boolean hasLatencies();
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -1859,7 +1859,7 @@ public final class Stats {
|
|||
*/
|
||||
io.grpc.benchmarks.proto.Stats.HistogramData getLatencies();
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -1887,11 +1887,11 @@ public final class Stats {
|
|||
double getTimeSystem();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.ClientStats}
|
||||
* Protobuf type {@code grpc.benchmarks.ClientStats}
|
||||
*/
|
||||
public static final class ClientStats extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.ClientStats)
|
||||
// @@protoc_insertion_point(message_implements:grpc.benchmarks.ClientStats)
|
||||
ClientStatsOrBuilder {
|
||||
// Use ClientStats.newBuilder() to construct.
|
||||
private ClientStats(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
|
|
@ -1969,12 +1969,12 @@ public final class Stats {
|
|||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ClientStats_descriptor;
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_ClientStats_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ClientStats_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_ClientStats_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Stats.ClientStats.class, io.grpc.benchmarks.proto.Stats.ClientStats.Builder.class);
|
||||
}
|
||||
|
|
@ -1982,7 +1982,7 @@ public final class Stats {
|
|||
public static final int LATENCIES_FIELD_NUMBER = 1;
|
||||
private io.grpc.benchmarks.proto.Stats.HistogramData latencies_;
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -1992,7 +1992,7 @@ public final class Stats {
|
|||
return latencies_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -2002,7 +2002,7 @@ public final class Stats {
|
|||
return latencies_ == null ? io.grpc.benchmarks.proto.Stats.HistogramData.getDefaultInstance() : latencies_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -2167,20 +2167,20 @@ public final class Stats {
|
|||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.ClientStats}
|
||||
* Protobuf type {@code grpc.benchmarks.ClientStats}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.ClientStats)
|
||||
// @@protoc_insertion_point(builder_implements:grpc.benchmarks.ClientStats)
|
||||
io.grpc.benchmarks.proto.Stats.ClientStatsOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ClientStats_descriptor;
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_ClientStats_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ClientStats_fieldAccessorTable
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_ClientStats_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.benchmarks.proto.Stats.ClientStats.class, io.grpc.benchmarks.proto.Stats.ClientStats.Builder.class);
|
||||
}
|
||||
|
|
@ -2218,7 +2218,7 @@ public final class Stats {
|
|||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ClientStats_descriptor;
|
||||
return io.grpc.benchmarks.proto.Stats.internal_static_grpc_benchmarks_ClientStats_descriptor;
|
||||
}
|
||||
|
||||
public io.grpc.benchmarks.proto.Stats.ClientStats getDefaultInstanceForType() {
|
||||
|
|
@ -2300,7 +2300,7 @@ public final class Stats {
|
|||
private com.google.protobuf.SingleFieldBuilder<
|
||||
io.grpc.benchmarks.proto.Stats.HistogramData, io.grpc.benchmarks.proto.Stats.HistogramData.Builder, io.grpc.benchmarks.proto.Stats.HistogramDataOrBuilder> latenciesBuilder_;
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -2310,7 +2310,7 @@ public final class Stats {
|
|||
return latenciesBuilder_ != null || latencies_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -2324,7 +2324,7 @@ public final class Stats {
|
|||
}
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -2344,7 +2344,7 @@ public final class Stats {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -2362,7 +2362,7 @@ public final class Stats {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -2384,7 +2384,7 @@ public final class Stats {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -2402,7 +2402,7 @@ public final class Stats {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -2414,7 +2414,7 @@ public final class Stats {
|
|||
return getLatenciesFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -2429,7 +2429,7 @@ public final class Stats {
|
|||
}
|
||||
}
|
||||
/**
|
||||
* <code>optional .grpc.testing.HistogramData latencies = 1;</code>
|
||||
* <code>optional .grpc.benchmarks.HistogramData latencies = 1;</code>
|
||||
*
|
||||
* <pre>
|
||||
* Latency histogram. Data points are in nanoseconds.
|
||||
|
|
@ -2549,10 +2549,10 @@ public final class Stats {
|
|||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.ClientStats)
|
||||
// @@protoc_insertion_point(builder_scope:grpc.benchmarks.ClientStats)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.ClientStats)
|
||||
// @@protoc_insertion_point(class_scope:grpc.benchmarks.ClientStats)
|
||||
private static final io.grpc.benchmarks.proto.Stats.ClientStats DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.grpc.benchmarks.proto.Stats.ClientStats();
|
||||
|
|
@ -2597,25 +2597,25 @@ public final class Stats {
|
|||
}
|
||||
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_grpc_testing_ServerStats_descriptor;
|
||||
internal_static_grpc_benchmarks_ServerStats_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_grpc_testing_ServerStats_fieldAccessorTable;
|
||||
internal_static_grpc_benchmarks_ServerStats_fieldAccessorTable;
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_grpc_testing_HistogramParams_descriptor;
|
||||
internal_static_grpc_benchmarks_HistogramParams_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_grpc_testing_HistogramParams_fieldAccessorTable;
|
||||
internal_static_grpc_benchmarks_HistogramParams_fieldAccessorTable;
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_grpc_testing_HistogramData_descriptor;
|
||||
internal_static_grpc_benchmarks_HistogramData_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_grpc_testing_HistogramData_fieldAccessorTable;
|
||||
internal_static_grpc_benchmarks_HistogramData_fieldAccessorTable;
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_grpc_testing_ClientStats_descriptor;
|
||||
internal_static_grpc_benchmarks_ClientStats_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_grpc_testing_ClientStats_fieldAccessorTable;
|
||||
internal_static_grpc_benchmarks_ClientStats_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
|
|
@ -2625,18 +2625,18 @@ public final class Stats {
|
|||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\013stats.proto\022\014grpc.testing\"K\n\013ServerSta" +
|
||||
"ts\022\024\n\014time_elapsed\030\001 \001(\001\022\021\n\ttime_user\030\002 " +
|
||||
"\001(\001\022\023\n\013time_system\030\003 \001(\001\";\n\017HistogramPar" +
|
||||
"ams\022\022\n\nresolution\030\001 \001(\001\022\024\n\014max_possible\030" +
|
||||
"\002 \001(\001\"w\n\rHistogramData\022\016\n\006bucket\030\001 \003(\r\022\020" +
|
||||
"\n\010min_seen\030\002 \001(\001\022\020\n\010max_seen\030\003 \001(\001\022\013\n\003su" +
|
||||
"m\030\004 \001(\001\022\026\n\016sum_of_squares\030\005 \001(\001\022\r\n\005count" +
|
||||
"\030\006 \001(\001\"{\n\013ClientStats\022.\n\tlatencies\030\001 \001(\013" +
|
||||
"2\033.grpc.testing.HistogramData\022\024\n\014time_el" +
|
||||
"apsed\030\002 \001(\001\022\021\n\ttime_user\030\003 \001(\001\022\023\n\013time_s",
|
||||
"ystem\030\004 \001(\001B!\n\030io.grpc.benchmarks.protoB" +
|
||||
"\005Statsb\006proto3"
|
||||
"\n\013stats.proto\022\017grpc.benchmarks\"K\n\013Server" +
|
||||
"Stats\022\024\n\014time_elapsed\030\001 \001(\001\022\021\n\ttime_user" +
|
||||
"\030\002 \001(\001\022\023\n\013time_system\030\003 \001(\001\";\n\017Histogram" +
|
||||
"Params\022\022\n\nresolution\030\001 \001(\001\022\024\n\014max_possib" +
|
||||
"le\030\002 \001(\001\"w\n\rHistogramData\022\016\n\006bucket\030\001 \003(" +
|
||||
"\r\022\020\n\010min_seen\030\002 \001(\001\022\020\n\010max_seen\030\003 \001(\001\022\013\n" +
|
||||
"\003sum\030\004 \001(\001\022\026\n\016sum_of_squares\030\005 \001(\001\022\r\n\005co" +
|
||||
"unt\030\006 \001(\001\"~\n\013ClientStats\0221\n\tlatencies\030\001 " +
|
||||
"\001(\0132\036.grpc.benchmarks.HistogramData\022\024\n\014t" +
|
||||
"ime_elapsed\030\002 \001(\001\022\021\n\ttime_user\030\003 \001(\001\022\023\n\013",
|
||||
"time_system\030\004 \001(\001B!\n\030io.grpc.benchmarks." +
|
||||
"protoB\005Statsb\006proto3"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||
|
|
@ -2650,29 +2650,29 @@ public final class Stats {
|
|||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
}, assigner);
|
||||
internal_static_grpc_testing_ServerStats_descriptor =
|
||||
internal_static_grpc_benchmarks_ServerStats_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_grpc_testing_ServerStats_fieldAccessorTable = new
|
||||
internal_static_grpc_benchmarks_ServerStats_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_grpc_testing_ServerStats_descriptor,
|
||||
internal_static_grpc_benchmarks_ServerStats_descriptor,
|
||||
new java.lang.String[] { "TimeElapsed", "TimeUser", "TimeSystem", });
|
||||
internal_static_grpc_testing_HistogramParams_descriptor =
|
||||
internal_static_grpc_benchmarks_HistogramParams_descriptor =
|
||||
getDescriptor().getMessageTypes().get(1);
|
||||
internal_static_grpc_testing_HistogramParams_fieldAccessorTable = new
|
||||
internal_static_grpc_benchmarks_HistogramParams_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_grpc_testing_HistogramParams_descriptor,
|
||||
internal_static_grpc_benchmarks_HistogramParams_descriptor,
|
||||
new java.lang.String[] { "Resolution", "MaxPossible", });
|
||||
internal_static_grpc_testing_HistogramData_descriptor =
|
||||
internal_static_grpc_benchmarks_HistogramData_descriptor =
|
||||
getDescriptor().getMessageTypes().get(2);
|
||||
internal_static_grpc_testing_HistogramData_fieldAccessorTable = new
|
||||
internal_static_grpc_benchmarks_HistogramData_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_grpc_testing_HistogramData_descriptor,
|
||||
internal_static_grpc_benchmarks_HistogramData_descriptor,
|
||||
new java.lang.String[] { "Bucket", "MinSeen", "MaxSeen", "Sum", "SumOfSquares", "Count", });
|
||||
internal_static_grpc_testing_ClientStats_descriptor =
|
||||
internal_static_grpc_benchmarks_ClientStats_descriptor =
|
||||
getDescriptor().getMessageTypes().get(3);
|
||||
internal_static_grpc_testing_ClientStats_fieldAccessorTable = new
|
||||
internal_static_grpc_benchmarks_ClientStats_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_grpc_testing_ClientStats_descriptor,
|
||||
internal_static_grpc_benchmarks_ClientStats_descriptor,
|
||||
new java.lang.String[] { "Latencies", "TimeElapsed", "TimeUser", "TimeSystem", });
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ syntax = "proto3";
|
|||
import "payloads.proto";
|
||||
import "stats.proto";
|
||||
|
||||
package grpc.testing;
|
||||
package grpc.benchmarks;
|
||||
|
||||
option java_package = "io.grpc.benchmarks.proto";
|
||||
option java_outer_classname = "Control";
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
syntax = "proto3";
|
||||
|
||||
package grpc.testing;
|
||||
package grpc.benchmarks;
|
||||
|
||||
option java_package = "io.grpc.benchmarks.proto";
|
||||
option java_outer_classname = "Messages";
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
syntax = "proto3";
|
||||
|
||||
package grpc.testing;
|
||||
package grpc.benchmarks;
|
||||
|
||||
option java_package = "io.grpc.benchmarks.proto";
|
||||
option java_outer_classname = "Payloads";
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ syntax = "proto3";
|
|||
import "messages.proto";
|
||||
import "control.proto";
|
||||
|
||||
package grpc.testing;
|
||||
package grpc.benchmarks;
|
||||
|
||||
option java_package = "io.grpc.benchmarks.proto";
|
||||
option java_outer_classname = "Services";
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
syntax = "proto3";
|
||||
|
||||
package grpc.testing;
|
||||
package grpc.benchmarks;
|
||||
|
||||
option java_package = "io.grpc.benchmarks.proto";
|
||||
option java_outer_classname = "Stats";
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ public class MetricsServiceGrpc {
|
|||
|
||||
private MetricsServiceGrpc() {}
|
||||
|
||||
public static final String SERVICE_NAME = "grpc.testing.MetricsService";
|
||||
public static final String SERVICE_NAME = "grpc.testing.integration.MetricsService";
|
||||
|
||||
// Static method descriptors that strictly reflect the proto.
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -33,7 +33,7 @@ public class MetricsServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.MetricsService", "GetAllGauges"),
|
||||
"grpc.testing.integration.MetricsService", "GetAllGauges"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Metrics.EmptyMessage.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Metrics.GaugeResponse.getDefaultInstance()));
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -42,7 +42,7 @@ public class MetricsServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.UNARY,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.MetricsService", "GetGauge"),
|
||||
"grpc.testing.integration.MetricsService", "GetGauge"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Metrics.GaugeRequest.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Metrics.GaugeResponse.getDefaultInstance()));
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ public class ReconnectServiceGrpc {
|
|||
|
||||
private ReconnectServiceGrpc() {}
|
||||
|
||||
public static final String SERVICE_NAME = "grpc.testing.ReconnectService";
|
||||
public static final String SERVICE_NAME = "grpc.testing.integration.ReconnectService";
|
||||
|
||||
// Static method descriptors that strictly reflect the proto.
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -36,7 +36,7 @@ public class ReconnectServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.UNARY,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.ReconnectService", "Start"),
|
||||
"grpc.testing.integration.ReconnectService", "Start"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(com.google.protobuf.EmptyProtos.Empty.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(com.google.protobuf.EmptyProtos.Empty.getDefaultInstance()));
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -45,7 +45,7 @@ public class ReconnectServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.UNARY,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.ReconnectService", "Stop"),
|
||||
"grpc.testing.integration.ReconnectService", "Stop"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(com.google.protobuf.EmptyProtos.Empty.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Messages.ReconnectInfo.getDefaultInstance()));
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ public class TestServiceGrpc {
|
|||
|
||||
private TestServiceGrpc() {}
|
||||
|
||||
public static final String SERVICE_NAME = "grpc.testing.TestService";
|
||||
public static final String SERVICE_NAME = "grpc.testing.integration.TestService";
|
||||
|
||||
// Static method descriptors that strictly reflect the proto.
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -37,7 +37,7 @@ public class TestServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.UNARY,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.TestService", "EmptyCall"),
|
||||
"grpc.testing.integration.TestService", "EmptyCall"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(com.google.protobuf.EmptyProtos.Empty.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(com.google.protobuf.EmptyProtos.Empty.getDefaultInstance()));
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -46,7 +46,7 @@ public class TestServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.UNARY,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.TestService", "UnaryCall"),
|
||||
"grpc.testing.integration.TestService", "UnaryCall"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Messages.SimpleRequest.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Messages.SimpleResponse.getDefaultInstance()));
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -55,7 +55,7 @@ public class TestServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.TestService", "StreamingOutputCall"),
|
||||
"grpc.testing.integration.TestService", "StreamingOutputCall"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Messages.StreamingOutputCallRequest.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Messages.StreamingOutputCallResponse.getDefaultInstance()));
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -64,7 +64,7 @@ public class TestServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.TestService", "StreamingInputCall"),
|
||||
"grpc.testing.integration.TestService", "StreamingInputCall"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Messages.StreamingInputCallRequest.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Messages.StreamingInputCallResponse.getDefaultInstance()));
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -73,7 +73,7 @@ public class TestServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.TestService", "FullDuplexCall"),
|
||||
"grpc.testing.integration.TestService", "FullDuplexCall"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Messages.StreamingOutputCallRequest.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Messages.StreamingOutputCallResponse.getDefaultInstance()));
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -82,7 +82,7 @@ public class TestServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.TestService", "HalfDuplexCall"),
|
||||
"grpc.testing.integration.TestService", "HalfDuplexCall"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Messages.StreamingOutputCallRequest.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Messages.StreamingOutputCallResponse.getDefaultInstance()));
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ public class UnimplementedServiceGrpc {
|
|||
|
||||
private UnimplementedServiceGrpc() {}
|
||||
|
||||
public static final String SERVICE_NAME = "grpc.testing.UnimplementedService";
|
||||
public static final String SERVICE_NAME = "grpc.testing.integration.UnimplementedService";
|
||||
|
||||
// Static method descriptors that strictly reflect the proto.
|
||||
@io.grpc.ExperimentalApi
|
||||
|
|
@ -37,7 +37,7 @@ public class UnimplementedServiceGrpc {
|
|||
io.grpc.MethodDescriptor.create(
|
||||
io.grpc.MethodDescriptor.MethodType.UNARY,
|
||||
generateFullMethodName(
|
||||
"grpc.testing.UnimplementedService", "UnimplementedCall"),
|
||||
"grpc.testing.integration.UnimplementedService", "UnimplementedCall"),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(com.google.protobuf.EmptyProtos.Empty.getDefaultInstance()),
|
||||
io.grpc.protobuf.ProtoUtils.marshaller(com.google.protobuf.EmptyProtos.Empty.getDefaultInstance()));
|
||||
|
||||
|
|
|
|||
|
|
@ -9,24 +9,24 @@ public final class EmptyProtos {
|
|||
com.google.protobuf.ExtensionRegistry registry) {
|
||||
}
|
||||
public interface EmptyOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.Empty)
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.integration.Empty)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.Empty}
|
||||
* Protobuf type {@code grpc.testing.integration.Empty}
|
||||
*
|
||||
* <pre>
|
||||
* An empty message that you can re-use to avoid defining duplicated empty
|
||||
* messages in your project. A typical example is to use it as argument or the
|
||||
* return value of a service API. For instance:
|
||||
* service Foo {
|
||||
* rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { };
|
||||
* rpc Bar (grpc.testing.integration.Empty) returns (grpc.testing.integration.Empty) { };
|
||||
* };
|
||||
* </pre>
|
||||
*/
|
||||
public static final class Empty extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.Empty)
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.integration.Empty)
|
||||
EmptyOrBuilder {
|
||||
// Use Empty.newBuilder() to construct.
|
||||
private Empty(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
|
|
@ -76,12 +76,12 @@ public final class EmptyProtos {
|
|||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.google.protobuf.EmptyProtos.internal_static_grpc_testing_Empty_descriptor;
|
||||
return com.google.protobuf.EmptyProtos.internal_static_grpc_testing_integration_Empty_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.google.protobuf.EmptyProtos.internal_static_grpc_testing_Empty_fieldAccessorTable
|
||||
return com.google.protobuf.EmptyProtos.internal_static_grpc_testing_integration_Empty_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.google.protobuf.EmptyProtos.Empty.class, com.google.protobuf.EmptyProtos.Empty.Builder.class);
|
||||
}
|
||||
|
|
@ -184,29 +184,29 @@ public final class EmptyProtos {
|
|||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.Empty}
|
||||
* Protobuf type {@code grpc.testing.integration.Empty}
|
||||
*
|
||||
* <pre>
|
||||
* An empty message that you can re-use to avoid defining duplicated empty
|
||||
* messages in your project. A typical example is to use it as argument or the
|
||||
* return value of a service API. For instance:
|
||||
* service Foo {
|
||||
* rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { };
|
||||
* rpc Bar (grpc.testing.integration.Empty) returns (grpc.testing.integration.Empty) { };
|
||||
* };
|
||||
* </pre>
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.Empty)
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.integration.Empty)
|
||||
com.google.protobuf.EmptyProtos.EmptyOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.google.protobuf.EmptyProtos.internal_static_grpc_testing_Empty_descriptor;
|
||||
return com.google.protobuf.EmptyProtos.internal_static_grpc_testing_integration_Empty_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.google.protobuf.EmptyProtos.internal_static_grpc_testing_Empty_fieldAccessorTable
|
||||
return com.google.protobuf.EmptyProtos.internal_static_grpc_testing_integration_Empty_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.google.protobuf.EmptyProtos.Empty.class, com.google.protobuf.EmptyProtos.Empty.Builder.class);
|
||||
}
|
||||
|
|
@ -232,7 +232,7 @@ public final class EmptyProtos {
|
|||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.google.protobuf.EmptyProtos.internal_static_grpc_testing_Empty_descriptor;
|
||||
return com.google.protobuf.EmptyProtos.internal_static_grpc_testing_integration_Empty_descriptor;
|
||||
}
|
||||
|
||||
public com.google.protobuf.EmptyProtos.Empty getDefaultInstanceForType() {
|
||||
|
|
@ -291,10 +291,10 @@ public final class EmptyProtos {
|
|||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.Empty)
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.integration.Empty)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.Empty)
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.integration.Empty)
|
||||
private static final com.google.protobuf.EmptyProtos.Empty DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.google.protobuf.EmptyProtos.Empty();
|
||||
|
|
@ -339,10 +339,10 @@ public final class EmptyProtos {
|
|||
}
|
||||
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_grpc_testing_Empty_descriptor;
|
||||
internal_static_grpc_testing_integration_Empty_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_grpc_testing_Empty_fieldAccessorTable;
|
||||
internal_static_grpc_testing_integration_Empty_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
|
|
@ -353,8 +353,8 @@ public final class EmptyProtos {
|
|||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\'io/grpc/testing/integration/empty.prot" +
|
||||
"o\022\014grpc.testing\"\007\n\005EmptyB\"\n\023com.google.p" +
|
||||
"rotobufB\013EmptyProtos"
|
||||
"o\022\030grpc.testing.integration\"\007\n\005EmptyB\"\n\023" +
|
||||
"com.google.protobufB\013EmptyProtos"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||
|
|
@ -368,11 +368,11 @@ public final class EmptyProtos {
|
|||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
}, assigner);
|
||||
internal_static_grpc_testing_Empty_descriptor =
|
||||
internal_static_grpc_testing_integration_Empty_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_grpc_testing_Empty_fieldAccessorTable = new
|
||||
internal_static_grpc_testing_integration_Empty_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_grpc_testing_Empty_descriptor,
|
||||
internal_static_grpc_testing_integration_Empty_descriptor,
|
||||
new java.lang.String[] { });
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -9,7 +9,7 @@ public final class Metrics {
|
|||
com.google.protobuf.ExtensionRegistry registry) {
|
||||
}
|
||||
public interface GaugeResponseOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.GaugeResponse)
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.integration.GaugeResponse)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
|
|
@ -45,7 +45,7 @@ public final class Metrics {
|
|||
public io.grpc.testing.integration.Metrics.GaugeResponse.ValueCase getValueCase();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.GaugeResponse}
|
||||
* Protobuf type {@code grpc.testing.integration.GaugeResponse}
|
||||
*
|
||||
* <pre>
|
||||
* Reponse message containing the gauge name and value
|
||||
|
|
@ -53,7 +53,7 @@ public final class Metrics {
|
|||
*/
|
||||
public static final class GaugeResponse extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.GaugeResponse)
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.integration.GaugeResponse)
|
||||
GaugeResponseOrBuilder {
|
||||
// Use GaugeResponse.newBuilder() to construct.
|
||||
private GaugeResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
|
|
@ -123,12 +123,12 @@ public final class Metrics {
|
|||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_GaugeResponse_descriptor;
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_GaugeResponse_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_GaugeResponse_fieldAccessorTable
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_GaugeResponse_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.testing.integration.Metrics.GaugeResponse.class, io.grpc.testing.integration.Metrics.GaugeResponse.Builder.class);
|
||||
}
|
||||
|
|
@ -391,7 +391,7 @@ public final class Metrics {
|
|||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.GaugeResponse}
|
||||
* Protobuf type {@code grpc.testing.integration.GaugeResponse}
|
||||
*
|
||||
* <pre>
|
||||
* Reponse message containing the gauge name and value
|
||||
|
|
@ -399,16 +399,16 @@ public final class Metrics {
|
|||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.GaugeResponse)
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.integration.GaugeResponse)
|
||||
io.grpc.testing.integration.Metrics.GaugeResponseOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_GaugeResponse_descriptor;
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_GaugeResponse_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_GaugeResponse_fieldAccessorTable
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_GaugeResponse_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.testing.integration.Metrics.GaugeResponse.class, io.grpc.testing.integration.Metrics.GaugeResponse.Builder.class);
|
||||
}
|
||||
|
|
@ -438,7 +438,7 @@ public final class Metrics {
|
|||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_GaugeResponse_descriptor;
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_GaugeResponse_descriptor;
|
||||
}
|
||||
|
||||
public io.grpc.testing.integration.Metrics.GaugeResponse getDefaultInstanceForType() {
|
||||
|
|
@ -764,10 +764,10 @@ public final class Metrics {
|
|||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.GaugeResponse)
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.integration.GaugeResponse)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.GaugeResponse)
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.integration.GaugeResponse)
|
||||
private static final io.grpc.testing.integration.Metrics.GaugeResponse DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.grpc.testing.integration.Metrics.GaugeResponse();
|
||||
|
|
@ -812,7 +812,7 @@ public final class Metrics {
|
|||
}
|
||||
|
||||
public interface GaugeRequestOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.GaugeRequest)
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.integration.GaugeRequest)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
|
|
@ -826,7 +826,7 @@ public final class Metrics {
|
|||
getNameBytes();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.GaugeRequest}
|
||||
* Protobuf type {@code grpc.testing.integration.GaugeRequest}
|
||||
*
|
||||
* <pre>
|
||||
* Request message containing the gauge name
|
||||
|
|
@ -834,7 +834,7 @@ public final class Metrics {
|
|||
*/
|
||||
public static final class GaugeRequest extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.GaugeRequest)
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.integration.GaugeRequest)
|
||||
GaugeRequestOrBuilder {
|
||||
// Use GaugeRequest.newBuilder() to construct.
|
||||
private GaugeRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
|
|
@ -888,12 +888,12 @@ public final class Metrics {
|
|||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_GaugeRequest_descriptor;
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_GaugeRequest_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_GaugeRequest_fieldAccessorTable
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_GaugeRequest_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.testing.integration.Metrics.GaugeRequest.class, io.grpc.testing.integration.Metrics.GaugeRequest.Builder.class);
|
||||
}
|
||||
|
|
@ -1034,7 +1034,7 @@ public final class Metrics {
|
|||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.GaugeRequest}
|
||||
* Protobuf type {@code grpc.testing.integration.GaugeRequest}
|
||||
*
|
||||
* <pre>
|
||||
* Request message containing the gauge name
|
||||
|
|
@ -1042,16 +1042,16 @@ public final class Metrics {
|
|||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.GaugeRequest)
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.integration.GaugeRequest)
|
||||
io.grpc.testing.integration.Metrics.GaugeRequestOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_GaugeRequest_descriptor;
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_GaugeRequest_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_GaugeRequest_fieldAccessorTable
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_GaugeRequest_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.testing.integration.Metrics.GaugeRequest.class, io.grpc.testing.integration.Metrics.GaugeRequest.Builder.class);
|
||||
}
|
||||
|
|
@ -1079,7 +1079,7 @@ public final class Metrics {
|
|||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_GaugeRequest_descriptor;
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_GaugeRequest_descriptor;
|
||||
}
|
||||
|
||||
public io.grpc.testing.integration.Metrics.GaugeRequest getDefaultInstanceForType() {
|
||||
|
|
@ -1221,10 +1221,10 @@ public final class Metrics {
|
|||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.GaugeRequest)
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.integration.GaugeRequest)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.GaugeRequest)
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.integration.GaugeRequest)
|
||||
private static final io.grpc.testing.integration.Metrics.GaugeRequest DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.grpc.testing.integration.Metrics.GaugeRequest();
|
||||
|
|
@ -1269,15 +1269,15 @@ public final class Metrics {
|
|||
}
|
||||
|
||||
public interface EmptyMessageOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.EmptyMessage)
|
||||
// @@protoc_insertion_point(interface_extends:grpc.testing.integration.EmptyMessage)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.EmptyMessage}
|
||||
* Protobuf type {@code grpc.testing.integration.EmptyMessage}
|
||||
*/
|
||||
public static final class EmptyMessage extends
|
||||
com.google.protobuf.GeneratedMessage implements
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.EmptyMessage)
|
||||
// @@protoc_insertion_point(message_implements:grpc.testing.integration.EmptyMessage)
|
||||
EmptyMessageOrBuilder {
|
||||
// Use EmptyMessage.newBuilder() to construct.
|
||||
private EmptyMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
|
|
@ -1323,12 +1323,12 @@ public final class Metrics {
|
|||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_EmptyMessage_descriptor;
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_EmptyMessage_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_EmptyMessage_fieldAccessorTable
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_EmptyMessage_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.testing.integration.Metrics.EmptyMessage.class, io.grpc.testing.integration.Metrics.EmptyMessage.Builder.class);
|
||||
}
|
||||
|
|
@ -1429,20 +1429,20 @@ public final class Metrics {
|
|||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code grpc.testing.EmptyMessage}
|
||||
* Protobuf type {@code grpc.testing.integration.EmptyMessage}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.EmptyMessage)
|
||||
// @@protoc_insertion_point(builder_implements:grpc.testing.integration.EmptyMessage)
|
||||
io.grpc.testing.integration.Metrics.EmptyMessageOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_EmptyMessage_descriptor;
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_EmptyMessage_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_EmptyMessage_fieldAccessorTable
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_EmptyMessage_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.grpc.testing.integration.Metrics.EmptyMessage.class, io.grpc.testing.integration.Metrics.EmptyMessage.Builder.class);
|
||||
}
|
||||
|
|
@ -1468,7 +1468,7 @@ public final class Metrics {
|
|||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_EmptyMessage_descriptor;
|
||||
return io.grpc.testing.integration.Metrics.internal_static_grpc_testing_integration_EmptyMessage_descriptor;
|
||||
}
|
||||
|
||||
public io.grpc.testing.integration.Metrics.EmptyMessage getDefaultInstanceForType() {
|
||||
|
|
@ -1536,10 +1536,10 @@ public final class Metrics {
|
|||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.EmptyMessage)
|
||||
// @@protoc_insertion_point(builder_scope:grpc.testing.integration.EmptyMessage)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.EmptyMessage)
|
||||
// @@protoc_insertion_point(class_scope:grpc.testing.integration.EmptyMessage)
|
||||
private static final io.grpc.testing.integration.Metrics.EmptyMessage DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.grpc.testing.integration.Metrics.EmptyMessage();
|
||||
|
|
@ -1584,20 +1584,20 @@ public final class Metrics {
|
|||
}
|
||||
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_grpc_testing_GaugeResponse_descriptor;
|
||||
internal_static_grpc_testing_integration_GaugeResponse_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_grpc_testing_GaugeResponse_fieldAccessorTable;
|
||||
internal_static_grpc_testing_integration_GaugeResponse_fieldAccessorTable;
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_grpc_testing_GaugeRequest_descriptor;
|
||||
internal_static_grpc_testing_integration_GaugeRequest_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_grpc_testing_GaugeRequest_fieldAccessorTable;
|
||||
internal_static_grpc_testing_integration_GaugeRequest_fieldAccessorTable;
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_grpc_testing_EmptyMessage_descriptor;
|
||||
internal_static_grpc_testing_integration_EmptyMessage_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_grpc_testing_EmptyMessage_fieldAccessorTable;
|
||||
internal_static_grpc_testing_integration_EmptyMessage_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
|
|
@ -1608,16 +1608,17 @@ public final class Metrics {
|
|||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n)io/grpc/testing/integration/metrics.pr" +
|
||||
"oto\022\014grpc.testing\"l\n\rGaugeResponse\022\014\n\004na" +
|
||||
"me\030\001 \001(\t\022\024\n\nlong_value\030\002 \001(\003H\000\022\026\n\014double" +
|
||||
"_value\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001(\tH\000B\007" +
|
||||
"\n\005value\"\034\n\014GaugeRequest\022\014\n\004name\030\001 \001(\t\"\016\n" +
|
||||
"\014EmptyMessage2\240\001\n\016MetricsService\022I\n\014GetA" +
|
||||
"llGauges\022\032.grpc.testing.EmptyMessage\032\033.g" +
|
||||
"rpc.testing.GaugeResponse0\001\022C\n\010GetGauge\022" +
|
||||
"\032.grpc.testing.GaugeRequest\032\033.grpc.testi" +
|
||||
"ng.GaugeResponseB\035\n\033io.grpc.testing.inte",
|
||||
"grationb\006proto3"
|
||||
"oto\022\030grpc.testing.integration\"l\n\rGaugeRe" +
|
||||
"sponse\022\014\n\004name\030\001 \001(\t\022\024\n\nlong_value\030\002 \001(\003" +
|
||||
"H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n\014string_val" +
|
||||
"ue\030\004 \001(\tH\000B\007\n\005value\"\034\n\014GaugeRequest\022\014\n\004n" +
|
||||
"ame\030\001 \001(\t\"\016\n\014EmptyMessage2\320\001\n\016MetricsSer" +
|
||||
"vice\022a\n\014GetAllGauges\022&.grpc.testing.inte" +
|
||||
"gration.EmptyMessage\032\'.grpc.testing.inte" +
|
||||
"gration.GaugeResponse0\001\022[\n\010GetGauge\022&.gr" +
|
||||
"pc.testing.integration.GaugeRequest\032\'.gr",
|
||||
"pc.testing.integration.GaugeResponseB\035\n\033" +
|
||||
"io.grpc.testing.integrationb\006proto3"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||
|
|
@ -1631,23 +1632,23 @@ public final class Metrics {
|
|||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
}, assigner);
|
||||
internal_static_grpc_testing_GaugeResponse_descriptor =
|
||||
internal_static_grpc_testing_integration_GaugeResponse_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_grpc_testing_GaugeResponse_fieldAccessorTable = new
|
||||
internal_static_grpc_testing_integration_GaugeResponse_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_grpc_testing_GaugeResponse_descriptor,
|
||||
internal_static_grpc_testing_integration_GaugeResponse_descriptor,
|
||||
new java.lang.String[] { "Name", "LongValue", "DoubleValue", "StringValue", "Value", });
|
||||
internal_static_grpc_testing_GaugeRequest_descriptor =
|
||||
internal_static_grpc_testing_integration_GaugeRequest_descriptor =
|
||||
getDescriptor().getMessageTypes().get(1);
|
||||
internal_static_grpc_testing_GaugeRequest_fieldAccessorTable = new
|
||||
internal_static_grpc_testing_integration_GaugeRequest_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_grpc_testing_GaugeRequest_descriptor,
|
||||
internal_static_grpc_testing_integration_GaugeRequest_descriptor,
|
||||
new java.lang.String[] { "Name", });
|
||||
internal_static_grpc_testing_EmptyMessage_descriptor =
|
||||
internal_static_grpc_testing_integration_EmptyMessage_descriptor =
|
||||
getDescriptor().getMessageTypes().get(2);
|
||||
internal_static_grpc_testing_EmptyMessage_fieldAccessorTable = new
|
||||
internal_static_grpc_testing_integration_EmptyMessage_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_grpc_testing_EmptyMessage_descriptor,
|
||||
internal_static_grpc_testing_integration_EmptyMessage_descriptor,
|
||||
new java.lang.String[] { });
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -18,30 +18,36 @@ public final class Test {
|
|||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n&io/grpc/testing/integration/test.proto" +
|
||||
"\022\014grpc.testing\032\'io/grpc/testing/integrat" +
|
||||
"ion/empty.proto\032*io/grpc/testing/integra" +
|
||||
"tion/messages.proto2\273\004\n\013TestService\0225\n\tE" +
|
||||
"mptyCall\022\023.grpc.testing.Empty\032\023.grpc.tes" +
|
||||
"ting.Empty\022F\n\tUnaryCall\022\033.grpc.testing.S" +
|
||||
"impleRequest\032\034.grpc.testing.SimpleRespon" +
|
||||
"se\022l\n\023StreamingOutputCall\022(.grpc.testing" +
|
||||
".StreamingOutputCallRequest\032).grpc.testi" +
|
||||
"ng.StreamingOutputCallResponse0\001\022i\n\022Stre",
|
||||
"amingInputCall\022\'.grpc.testing.StreamingI" +
|
||||
"nputCallRequest\032(.grpc.testing.Streaming" +
|
||||
"InputCallResponse(\001\022i\n\016FullDuplexCall\022(." +
|
||||
"grpc.testing.StreamingOutputCallRequest\032" +
|
||||
").grpc.testing.StreamingOutputCallRespon" +
|
||||
"se(\0010\001\022i\n\016HalfDuplexCall\022(.grpc.testing." +
|
||||
"StreamingOutputCallRequest\032).grpc.testin" +
|
||||
"g.StreamingOutputCallResponse(\0010\0012U\n\024Uni" +
|
||||
"mplementedService\022=\n\021UnimplementedCall\022\023" +
|
||||
".grpc.testing.Empty\032\023.grpc.testing.Empty",
|
||||
"2\177\n\020ReconnectService\0221\n\005Start\022\023.grpc.tes" +
|
||||
"ting.Empty\032\023.grpc.testing.Empty\0228\n\004Stop\022" +
|
||||
"\023.grpc.testing.Empty\032\033.grpc.testing.Reco" +
|
||||
"nnectInfoB\035\n\033io.grpc.testing.integration" +
|
||||
"b\006proto3"
|
||||
"\022\030grpc.testing.integration\032\'io/grpc/test" +
|
||||
"ing/integration/empty.proto\032*io/grpc/tes" +
|
||||
"ting/integration/messages.proto2\317\005\n\013Test" +
|
||||
"Service\022M\n\tEmptyCall\022\037.grpc.testing.inte" +
|
||||
"gration.Empty\032\037.grpc.testing.integration" +
|
||||
".Empty\022^\n\tUnaryCall\022\'.grpc.testing.integ" +
|
||||
"ration.SimpleRequest\032(.grpc.testing.inte" +
|
||||
"gration.SimpleResponse\022\204\001\n\023StreamingOutp" +
|
||||
"utCall\0224.grpc.testing.integration.Stream",
|
||||
"ingOutputCallRequest\0325.grpc.testing.inte" +
|
||||
"gration.StreamingOutputCallResponse0\001\022\201\001" +
|
||||
"\n\022StreamingInputCall\0223.grpc.testing.inte" +
|
||||
"gration.StreamingInputCallRequest\0324.grpc" +
|
||||
".testing.integration.StreamingInputCallR" +
|
||||
"esponse(\001\022\201\001\n\016FullDuplexCall\0224.grpc.test" +
|
||||
"ing.integration.StreamingOutputCallReque" +
|
||||
"st\0325.grpc.testing.integration.StreamingO" +
|
||||
"utputCallResponse(\0010\001\022\201\001\n\016HalfDuplexCall" +
|
||||
"\0224.grpc.testing.integration.StreamingOut",
|
||||
"putCallRequest\0325.grpc.testing.integratio" +
|
||||
"n.StreamingOutputCallResponse(\0010\0012m\n\024Uni" +
|
||||
"mplementedService\022U\n\021UnimplementedCall\022\037" +
|
||||
".grpc.testing.integration.Empty\032\037.grpc.t" +
|
||||
"esting.integration.Empty2\257\001\n\020ReconnectSe" +
|
||||
"rvice\022I\n\005Start\022\037.grpc.testing.integratio" +
|
||||
"n.Empty\032\037.grpc.testing.integration.Empty" +
|
||||
"\022P\n\004Stop\022\037.grpc.testing.integration.Empt" +
|
||||
"y\032\'.grpc.testing.integration.ReconnectIn" +
|
||||
"foB\035\n\033io.grpc.testing.integrationb\006proto",
|
||||
"3"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
syntax = "proto2";
|
||||
|
||||
package grpc.testing;
|
||||
package grpc.testing.integration;
|
||||
|
||||
option java_package = "com.google.protobuf";
|
||||
option java_outer_classname = "EmptyProtos";
|
||||
|
|
@ -40,7 +40,7 @@ option java_outer_classname = "EmptyProtos";
|
|||
// return value of a service API. For instance:
|
||||
//
|
||||
// service Foo {
|
||||
// rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { };
|
||||
// rpc Bar (grpc.testing.integration.Empty) returns (grpc.testing.integration.Empty) { };
|
||||
// };
|
||||
//
|
||||
message Empty {}
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
syntax = "proto3";
|
||||
|
||||
package grpc.testing;
|
||||
package grpc.testing.integration;
|
||||
|
||||
option java_package = "io.grpc.testing.integration";
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
// service.
|
||||
syntax = "proto3";
|
||||
|
||||
package grpc.testing;
|
||||
package grpc.testing.integration;
|
||||
|
||||
option java_package = "io.grpc.testing.integration";
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ syntax = "proto3";
|
|||
import "io/grpc/testing/integration/empty.proto";
|
||||
import "io/grpc/testing/integration/messages.proto";
|
||||
|
||||
package grpc.testing;
|
||||
package grpc.testing.integration;
|
||||
|
||||
option java_package = "io.grpc.testing.integration";
|
||||
|
||||
|
|
@ -43,7 +43,7 @@ option java_package = "io.grpc.testing.integration";
|
|||
// performance with various types of payload.
|
||||
service TestService {
|
||||
// One empty request followed by one empty response.
|
||||
rpc EmptyCall(grpc.testing.Empty) returns (grpc.testing.Empty);
|
||||
rpc EmptyCall(grpc.testing.integration.Empty) returns (grpc.testing.integration.Empty);
|
||||
|
||||
// One request followed by one response.
|
||||
rpc UnaryCall(SimpleRequest) returns (SimpleResponse);
|
||||
|
|
@ -76,11 +76,11 @@ service TestService {
|
|||
// that case.
|
||||
service UnimplementedService {
|
||||
// A call that no server should implement
|
||||
rpc UnimplementedCall(grpc.testing.Empty) returns(grpc.testing.Empty);
|
||||
rpc UnimplementedCall(grpc.testing.integration.Empty) returns(grpc.testing.integration.Empty);
|
||||
}
|
||||
|
||||
// A service used to control reconnect server.
|
||||
service ReconnectService {
|
||||
rpc Start(grpc.testing.Empty) returns (grpc.testing.Empty);
|
||||
rpc Stop(grpc.testing.Empty) returns (grpc.testing.ReconnectInfo);
|
||||
rpc Start(grpc.testing.integration.Empty) returns (grpc.testing.integration.Empty);
|
||||
rpc Stop(grpc.testing.integration.Empty) returns (grpc.testing.integration.ReconnectInfo);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue