package grpc.testing

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service BenchmarkService

benchmark_service.proto:27

service HookService

test.proto:95

Hook service. Used to keep Kubernetes from shutting the pod down.

service LoadBalancerStatsService

test.proto:84

A service used to obtain stats for verifying LB behavior.

service ReconnectService

test.proto:78

A service used to control reconnect server.

service ReportQpsScenarioService

report_qps_scenario_service.proto:27

service TestService

test.proto:30

A simple service to test the various types of RPCs and experiment with performance with various types of payload.

service UnimplementedService

test.proto:72

A simple service NOT implemented at servers so clients can test for that case.

service WorkerService

worker_service.proto:27

service XdsUpdateClientConfigureService

test.proto:113

A service to dynamically update the configuration of an xDS test client.

service XdsUpdateHealthService

test.proto:106

A service to remotely control health status of an xDS test server.

message BoolValue

messages.proto:26

TODO(dgq): Go back to using well-known types once https://github.com/grpc/grpc/issues/6980 has been fixed. import "google/protobuf/wrappers.proto";

Used in: ResponseParameters, SimpleRequest, StreamingInputCallRequest

message ByteBufferParams

payloads.proto:23

Used in: PayloadConfig

message ChannelArg

control.proto:77

Used in: ClientConfig, ServerConfig

message ClientConfig

control.proto:85

Used in: ClientArgs, Scenario

message ClientConfigureRequest.Metadata

messages.proto:297

Metadata to be attached for the given type of RPCs.

Used in: ClientConfigureRequest

enum ClientConfigureRequest.RpcType

messages.proto:291

Type of RPCs to send.

Used in: ClientConfigureRequest, Metadata

message ClientStats

stats.proto:70

Used in: ClientStatus, ScenarioResult

enum ClientType

control.proto:27

Used in: ClientConfig

message ClosedLoopParams

control.proto:61

Once an RPC finishes, immediately start a new one. No configuration parameters needed.

Used in: LoadParams

(message has no fields)

message ComplexProtoParams

payloads.proto:33

TODO (vpai): Fill this in once the details of complex, representative protos are decided

Used in: PayloadConfig

(message has no fields)

message EchoStatus

messages.proto:47

A protobuf representation for grpc status. This is used by test clients to specify a status that the server should attempt to return.

Used in: SimpleRequest, StreamingOutputCallRequest

message Empty

empty.proto:31

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) { }; };

Used as request type in: HookService.ClearReturnStatus, HookService.Hook, ReconnectService.Stop, TestService.EmptyCall, TestService.UnimplementedCall, UnimplementedService.UnimplementedCall, XdsUpdateHealthService.SetNotServing, XdsUpdateHealthService.SetServing

Used as response type in: HookService.ClearReturnStatus, HookService.Hook, HookService.SetReturnStatus, ReconnectService.Start, TestService.EmptyCall, TestService.UnimplementedCall, UnimplementedService.UnimplementedCall, XdsUpdateHealthService.SetNotServing, XdsUpdateHealthService.SetServing

(message has no fields)

enum GrpclbRouteType

messages.proto:58

The type of route that a client took to reach a server w.r.t. gRPCLB. The server must fill in "fallback" if it detects that the RPC reached the server via the "gRPCLB fallback" path, and "backend" if it detects that the RPC reached the server via "gRPCLB backend" path (i.e. if it got the address of this server from the gRPCLB server BalanceLoad RPC). Exactly how this detection is done is context and server dependent.

Used in: SimpleResponse

message HistogramData

stats.proto:56

Histogram data based on grpc/support/histogram.c

Used in: ClientStats, ScenarioResult

message HistogramParams

stats.proto:50

Histogram params based on grpc/support/histogram.c

Used in: ClientConfig

enum HookRequest.HookRequestCommand

messages.proto:336

Used in: HookRequest

message LoadBalancerAccumulatedStatsResponse.MethodStats

messages.proto:274

Used in: LoadBalancerAccumulatedStatsResponse

message LoadBalancerStatsResponse.MetadataByPeer

messages.proto:242

Used in: LoadBalancerStatsResponse

message LoadBalancerStatsResponse.MetadataEntry

messages.proto:228

Used in: RpcMetadata

enum LoadBalancerStatsResponse.MetadataType

messages.proto:223

Used in: MetadataEntry

message LoadBalancerStatsResponse.RpcMetadata

messages.proto:237

Used in: MetadataByPeer

message LoadBalancerStatsResponse.RpcsByPeer

messages.proto:246

Used in: LoadBalancerStatsResponse

message LoadParams

control.proto:63

Used in: ClientConfig

message Mark

control.proto:133

Request current stats

Used in: ClientArgs, ServerArgs

message MemorySize

messages.proto:315

message Payload

messages.proto:38

A block of data, to simply increase gRPC message size.

Used in: SimpleRequest, SimpleResponse, StreamingInputCallRequest, StreamingOutputCallRequest, StreamingOutputCallResponse

message PayloadConfig

payloads.proto:38

Used in: ClientConfig, ServerConfig

enum PayloadType

messages.proto:32

The type of payload that should be returned.

Used in: Payload, SimpleRequest, StreamingOutputCallRequest

message PoissonParams

control.proto:54

Parameters of poisson process distribution, which is a good representation of activity coming in from independent identical stationary sources.

Used in: LoadParams

message RequestResultCount

stats.proto:65

Used in: ClientStats, ScenarioResult

message ResponseParameters

messages.proto:148

Configuration for a particular response.

Used in: StreamingOutputCallRequest

enum RpcType

control.proto:44

Used in: ClientConfig

message Scenario

control.proto:206

A single performance scenario: input to qps_json_driver

Used in: ScenarioResult, Scenarios

message ScenarioResultSummary

control.proto:232

Basic summary that can be computed from ClientStats and ServerStats once the scenario has finished.

Used in: ScenarioResult

message Scenarios

control.proto:226

A set of scenarios to be run with qps_json_driver

message SecurityParams

control.proto:71

presence of SecurityParams implies use of TLS

Used in: ClientConfig, ServerConfig

message ServerConfig

control.proto:145

Used in: Scenario, ServerArgs

message ServerStats

stats.proto:25

Used in: ScenarioResult, ServerStatus

enum ServerType

control.proto:36

Used in: ServerConfig

message SimpleProtoParams

payloads.proto:28

Used in: PayloadConfig

message SimpleRequest

messages.proto:68

Unary request.

Used as request type in: BenchmarkService.StreamingBothWays, BenchmarkService.StreamingCall, BenchmarkService.StreamingFromClient, BenchmarkService.StreamingFromServer, BenchmarkService.UnaryCall, TestService.CacheableUnaryCall, TestService.UnaryCall

message SimpleResponse

messages.proto:108

Unary response, as configured by the request.

Used as response type in: BenchmarkService.StreamingBothWays, BenchmarkService.StreamingCall, BenchmarkService.StreamingFromClient, BenchmarkService.StreamingFromServer, BenchmarkService.UnaryCall, TestService.CacheableUnaryCall, TestService.UnaryCall

message StreamingOutputCallRequest

messages.proto:168

Server-streaming request.

Used as request type in: TestService.FullDuplexCall, TestService.HalfDuplexCall, TestService.StreamingOutputCall

message StreamingOutputCallResponse

messages.proto:189

Server-streaming response, as configured by the request and parameters.

Used as response type in: TestService.FullDuplexCall, TestService.HalfDuplexCall, TestService.StreamingOutputCall

message TestOrcaReport

messages.proto:322

Metrics data the server will update and send to the client. It mirrors orca load report https://github.com/cncf/xds/blob/eded343319d09f30032952beda9840bbd3dcf7ac/xds/data/orca/v3/orca_load_report.proto#L15, but avoids orca dependency. Used by both per-query and out-of-band reporting tests.

Used in: SimpleRequest, StreamingOutputCallRequest

message Void

control.proto:202

Used as request type in: WorkerService.QuitWorker

Used as response type in: ReportQpsScenarioService.ReportScenario, WorkerService.QuitWorker

(message has no fields)