diff --git a/modules/sync/googleapis/cloud-run/state.json b/modules/sync/googleapis/cloud-run/state.json index f078e118..fe0dd1e2 100644 --- a/modules/sync/googleapis/cloud-run/state.json +++ b/modules/sync/googleapis/cloud-run/state.json @@ -1351,6 +1351,46 @@ { "name": "0909c4f9bb06622c5775f473acab1bbffd448fb4", "digest": "91e8fb7d8a087c220260fb22315692a849b37b883d30a43f9a6662ea71b17161af6194974bf996c09cb6c2e06b50a09112182c62396a2444d98e060115b1a18d" + }, + { + "name": "3aab7be0b0d609d001b4769ff89a4312f2152fba", + "digest": "91e8fb7d8a087c220260fb22315692a849b37b883d30a43f9a6662ea71b17161af6194974bf996c09cb6c2e06b50a09112182c62396a2444d98e060115b1a18d" + }, + { + "name": "d329a6214de657939e398688795e67138f4818df", + "digest": "91e8fb7d8a087c220260fb22315692a849b37b883d30a43f9a6662ea71b17161af6194974bf996c09cb6c2e06b50a09112182c62396a2444d98e060115b1a18d" + }, + { + "name": "09c684712611303e8976a53ed64eb86a83929c74", + "digest": "91e8fb7d8a087c220260fb22315692a849b37b883d30a43f9a6662ea71b17161af6194974bf996c09cb6c2e06b50a09112182c62396a2444d98e060115b1a18d" + }, + { + "name": "32f37539231c6aacd04c38584878c4cac945b1ec", + "digest": "91e8fb7d8a087c220260fb22315692a849b37b883d30a43f9a6662ea71b17161af6194974bf996c09cb6c2e06b50a09112182c62396a2444d98e060115b1a18d" + }, + { + "name": "080b57f82a1b720a97f3a31a4149f1aa9b4f933e", + "digest": "91e8fb7d8a087c220260fb22315692a849b37b883d30a43f9a6662ea71b17161af6194974bf996c09cb6c2e06b50a09112182c62396a2444d98e060115b1a18d" + }, + { + "name": "7ae842846c3fa71ea909e6ad04d3d0b9b06756e9", + "digest": "91e8fb7d8a087c220260fb22315692a849b37b883d30a43f9a6662ea71b17161af6194974bf996c09cb6c2e06b50a09112182c62396a2444d98e060115b1a18d" + }, + { + "name": "54ba514760e90ad1d3180e28b61d5f998420bc1d", + "digest": "91e8fb7d8a087c220260fb22315692a849b37b883d30a43f9a6662ea71b17161af6194974bf996c09cb6c2e06b50a09112182c62396a2444d98e060115b1a18d" + }, + { + "name": "0eb2a362d06c0f3bc739c2dccfc4593c552bb98f", + "digest": "91e8fb7d8a087c220260fb22315692a849b37b883d30a43f9a6662ea71b17161af6194974bf996c09cb6c2e06b50a09112182c62396a2444d98e060115b1a18d" + }, + { + "name": "456866bff20ee005cbc248b3478c577d28304e60", + "digest": "91e8fb7d8a087c220260fb22315692a849b37b883d30a43f9a6662ea71b17161af6194974bf996c09cb6c2e06b50a09112182c62396a2444d98e060115b1a18d" + }, + { + "name": "acb4d3bcdce2b8cb3f11293086036055f9dfad5f", + "digest": "91e8fb7d8a087c220260fb22315692a849b37b883d30a43f9a6662ea71b17161af6194974bf996c09cb6c2e06b50a09112182c62396a2444d98e060115b1a18d" } ] } \ No newline at end of file diff --git a/modules/sync/googleapis/googleapis/state.json b/modules/sync/googleapis/googleapis/state.json index 84ebb87b..c6ea6be3 100644 --- a/modules/sync/googleapis/googleapis/state.json +++ b/modules/sync/googleapis/googleapis/state.json @@ -22263,6 +22263,46 @@ { "name": "0909c4f9bb06622c5775f473acab1bbffd448fb4", "digest": "0e71d88a4ce59813b8b04db0c4097b15932c6b3e2e9dbd0df9f6969046bb378fb54b4266df23ab142b88aa9359e0db3f4f707ab39ef7db58376e4c8e5b83063f" + }, + { + "name": "3aab7be0b0d609d001b4769ff89a4312f2152fba", + "digest": "0e71d88a4ce59813b8b04db0c4097b15932c6b3e2e9dbd0df9f6969046bb378fb54b4266df23ab142b88aa9359e0db3f4f707ab39ef7db58376e4c8e5b83063f" + }, + { + "name": "d329a6214de657939e398688795e67138f4818df", + "digest": "0e71d88a4ce59813b8b04db0c4097b15932c6b3e2e9dbd0df9f6969046bb378fb54b4266df23ab142b88aa9359e0db3f4f707ab39ef7db58376e4c8e5b83063f" + }, + { + "name": "09c684712611303e8976a53ed64eb86a83929c74", + "digest": "0e71d88a4ce59813b8b04db0c4097b15932c6b3e2e9dbd0df9f6969046bb378fb54b4266df23ab142b88aa9359e0db3f4f707ab39ef7db58376e4c8e5b83063f" + }, + { + "name": "32f37539231c6aacd04c38584878c4cac945b1ec", + "digest": "0e71d88a4ce59813b8b04db0c4097b15932c6b3e2e9dbd0df9f6969046bb378fb54b4266df23ab142b88aa9359e0db3f4f707ab39ef7db58376e4c8e5b83063f" + }, + { + "name": "080b57f82a1b720a97f3a31a4149f1aa9b4f933e", + "digest": "0e71d88a4ce59813b8b04db0c4097b15932c6b3e2e9dbd0df9f6969046bb378fb54b4266df23ab142b88aa9359e0db3f4f707ab39ef7db58376e4c8e5b83063f" + }, + { + "name": "7ae842846c3fa71ea909e6ad04d3d0b9b06756e9", + "digest": "0e71d88a4ce59813b8b04db0c4097b15932c6b3e2e9dbd0df9f6969046bb378fb54b4266df23ab142b88aa9359e0db3f4f707ab39ef7db58376e4c8e5b83063f" + }, + { + "name": "54ba514760e90ad1d3180e28b61d5f998420bc1d", + "digest": "0e71d88a4ce59813b8b04db0c4097b15932c6b3e2e9dbd0df9f6969046bb378fb54b4266df23ab142b88aa9359e0db3f4f707ab39ef7db58376e4c8e5b83063f" + }, + { + "name": "0eb2a362d06c0f3bc739c2dccfc4593c552bb98f", + "digest": "0e71d88a4ce59813b8b04db0c4097b15932c6b3e2e9dbd0df9f6969046bb378fb54b4266df23ab142b88aa9359e0db3f4f707ab39ef7db58376e4c8e5b83063f" + }, + { + "name": "456866bff20ee005cbc248b3478c577d28304e60", + "digest": "0e71d88a4ce59813b8b04db0c4097b15932c6b3e2e9dbd0df9f6969046bb378fb54b4266df23ab142b88aa9359e0db3f4f707ab39ef7db58376e4c8e5b83063f" + }, + { + "name": "acb4d3bcdce2b8cb3f11293086036055f9dfad5f", + "digest": "0e71d88a4ce59813b8b04db0c4097b15932c6b3e2e9dbd0df9f6969046bb378fb54b4266df23ab142b88aa9359e0db3f4f707ab39ef7db58376e4c8e5b83063f" } ] } \ No newline at end of file diff --git a/modules/sync/grpc/grpc/cas/a54091887cdd8c153baceecdd94eeb63c3e620bc275d9ebf4234f349bb98f681cca474984d82d547a5379e444bfc1139cf2db9c8e17ab732bfe5d9a9b8b9e3be b/modules/sync/grpc/grpc/cas/a54091887cdd8c153baceecdd94eeb63c3e620bc275d9ebf4234f349bb98f681cca474984d82d547a5379e444bfc1139cf2db9c8e17ab732bfe5d9a9b8b9e3be new file mode 100644 index 00000000..539646aa --- /dev/null +++ b/modules/sync/grpc/grpc/cas/a54091887cdd8c153baceecdd94eeb63c3e620bc275d9ebf4234f349bb98f681cca474984d82d547a5379e444bfc1139cf2db9c8e17ab732bfe5d9a9b8b9e3be @@ -0,0 +1,29 @@ +shake256:a9c4ad5b20a2946a25d5efb7f096b32ffaa567e3e9a7d89984870104aab45f08d7f6f10c7c72affdc4aabab0471066958ae97c3bb5925b7cb268f8afde27ebbf LICENSE +shake256:3736ab9625deb2a2e1f50c338c9f43112f275819b3914dba6f1ef48c6fb8bf4df43172eef656ea808a786df5278b9d822378931a8b6c42ebef6d07c2f52732c9 buf.md +shake256:312d88e635d89c5a08988667f3b6cd199e089ceb51b08664649a2f7332e9f19802cff66f366e98f930362060ada40d52db1f5a28626334ae1dff5071c2ca2a5d buf.yaml +shake256:ecdc715885fffb15f278a7c379bde153bb29c6fd3b4c9b38459d710879802ab35f4e306ebe9193d35841f43edfbd3722198507393406daefdd5e4a09dcf28af2 grpc/binlog/v1/binarylog.proto +shake256:5812652254993cb9b622e0bfce96840041b9571b1c969c4ee4fbdf8ffe409965fa1f1dc8f8243e38b5a8e91cdfa92cf7d297ad4b625790ada0a3abb0d0822951 grpc/binlog/v1alpha/binarylog.proto +shake256:48aa28d0348be06c1c1dcbf23ef211e378981e38f97a98188103a0912f59cbd8180fc5501a634f5c6176886e02661bd6db3380e8123b13ee43f8aedb85636e12 grpc/channelz/v1/channelz.proto +shake256:442b079b4db907b7fb13120c1ec0066f976ea6e6042d616a7ce758e6aadca206a37a7c50c6f3f11b620716285f6d3402290f787a7a18060fb4c16a2ffc312ce8 grpc/core/stats.proto +shake256:f49500451f3d9e4f54329a1d2a1b3848b99dce5b08ba503bd7b3ebf2ed92e1484f2b2c6bfe48e1002c3a05a30b9f1042a1bb78a1b19ea41c4b805e743aa81cb7 grpc/examples/helloworld.proto +shake256:c47bc71d74fb093a7169113501cb7d1e1dae5a3b4fcc8a9d2d566fbf4324599273cb3af66c0bd92ce329c6a0cae9327481c7d620231db4bdd97832c2cd3d8fe6 grpc/gcp/altscontext.proto +shake256:c7d008c5a325e3bef1e99e60281410b3224bfc06da9a1e30bb1c46a7fd70fb6e7a04bedf65fb35723ff075c5956d7976b71384ce1bb197a5801ac3eee04bbc60 grpc/gcp/handshaker.proto +shake256:e0a77fb481d9c687f565d78f3ee2ec2e47f54fd9755bed8165e0271a166a98453fe2b886477c62bfd6c7aac3421c3acc6dfed721f8f2b0e2d3c3c847bdcdfe32 grpc/gcp/transport_security_common.proto +shake256:62210c8e4b522aa162ba7297c66d883901d57eb5ce3e8feeb65184e3a74afa516591d94f3ac240b2e2d3202207c044e0494b309d1bd69ae9fe98eff1918bd5d6 grpc/health/v1/health.proto +shake256:0006491c27a7867ffe1e0626bb32b7ca7b84eea9f101d31ea79c5b70af0c8772ea5f53145e7d9a94d5615a50e11a3e410dd5a14264753885af95ca0e856fc52c grpc/lb/v1/load_balancer.proto +shake256:0b7a296cf1d2f33846bf4c1ed7d03336238fe3681e37a496c0de2287d1b70fafde977048922799dbdd17703f0ff093941acf658366614d5a9683d9c965476349 grpc/lb/v1/load_reporter.proto +shake256:2e55cc9ec27b21924ddcc4569fbeaee3ba22fd58b00cf149c844f5484f2f7ed4eedd9acea4a9fc8be50f8820656a11e1a5676b5bcabf3e62055df26f679c38f4 grpc/lookup/v1/rls.proto +shake256:5b6837a2a33c2c0e89a3c8e2cebc34ec2789273e2861a65c9bc4168748968e288e522ec083156502761a8af25c511c917f3e28a54ce74062e5630ed9c4a9e353 grpc/lookup/v1/rls_config.proto +shake256:4df94db78cd4369d82e4e3488ed9fcc1dcb040c02ddff6086dbf9fdb226633fc14daf7103f1642b8dfe0aa1d2dee11f5c38d463739b6f748161bcc0cbbc1ecc9 grpc/reflection/v1/reflection.proto +shake256:2b6a397191bd277c4ee492fac420d3cecdfd0700feb569e1ceb126c306cbc64a50e4d57a0d384be96fbc221db5c337734f855d493a1a7c2b61ae41323d467bc4 grpc/reflection/v1alpha/reflection.proto +shake256:b141eb77741bba9f58906ddc37fd350087c9884a30bd4ddc0770c91eb32878c89e5520fe9b878937462b02d91ac965388da0cf1ba94947967fa128f4a2954b1d grpc/service_config/service_config.proto +shake256:c9dc8e09cb077a50329bbb4e4a322281672936ba2f85ad72fa17031b5a7fa8bf4a93142235585f352b2c82ba2c8dadbd9c607d61255ef7996696a1576c83a485 grpc/testing/benchmark_service.proto +shake256:3f935245fddd73e367eb088cb4d9524eb9604d376fe0acbb583cdcf23d9c1e30a40df297852b6eca399d77044c9e35cc688776934d976faf7f314f9c088c5b8f grpc/testing/control.proto +shake256:1b8599fab9b3467d20a3cae4be8a45f67a22f319b65bd47fa4ce287441d7807c21360a454fde066a6eef4f4c71547fa9197ad92f6dd10e0d1f3c798ceaebdaf5 grpc/testing/empty.proto +shake256:fa29d0eeee3f6d9dc4cd62887763d5349295f2c773448d0fbe3d682afdefffcddac77c0b2f3fd23d0d2bcd1e8bb6e36b4dfa52ad42f8afc64fdfff7fdfd0c40a grpc/testing/messages.proto +shake256:ec2419febc015c92402567f244f7e847b3d26abc803cf10f9efc8407c3df269c24960ad56d2aee2e0f6b219bda12e6ff78490f47864250bef1761a7bc283de44 grpc/testing/payloads.proto +shake256:8bea7c832c7ab266236c9e225e5aec1f398700d97410803f9605b678fcf17964d8bc0a19b8c39eb0443093e1398a822524eb29a4eaebb4d584cfa29e92f81fac grpc/testing/report_qps_scenario_service.proto +shake256:f0ce4a6bb1599e2a86a5a42630981fe8a0ad145d3cc26af73421fadd61f7db57967f1fca0724d3cb85d048b17f00c85be619f2d60b37fa562170a69a2c05597e grpc/testing/stats.proto +shake256:547457b456078a833734eae2919418f50c74a246aeb6ba92a4fc24d430c4b53ffac5977b698de8be6e046d9da4c6b9b796bcb70dbe49b74a5d52441e20ee543e grpc/testing/test.proto +shake256:d6536d37566b2afe49c0a4a1e5b79d83e0a7df5992b767eb43d54d8ec7f591b15f47958fa1c1d08a99d739273478c8b0861a7c3862244b1af0fc3b236a52629e grpc/testing/worker_service.proto +shake256:d980672087a0c46da920d56f175fc0998f23e0623d2938d5dde9d5df1116cf82421bf5eaaefeaef1486f178e8a372dd8fb8a0f26aab9b9e972dcf81f285ff4a0 grpc/testing/xdsconfig/xdsconfig.proto diff --git a/modules/sync/grpc/grpc/cas/fa29d0eeee3f6d9dc4cd62887763d5349295f2c773448d0fbe3d682afdefffcddac77c0b2f3fd23d0d2bcd1e8bb6e36b4dfa52ad42f8afc64fdfff7fdfd0c40a b/modules/sync/grpc/grpc/cas/fa29d0eeee3f6d9dc4cd62887763d5349295f2c773448d0fbe3d682afdefffcddac77c0b2f3fd23d0d2bcd1e8bb6e36b4dfa52ad42f8afc64fdfff7fdfd0c40a new file mode 100644 index 00000000..93979bf4 --- /dev/null +++ b/modules/sync/grpc/grpc/cas/fa29d0eeee3f6d9dc4cd62887763d5349295f2c773448d0fbe3d682afdefffcddac77c0b2f3fd23d0d2bcd1e8bb6e36b4dfa52ad42f8afc64fdfff7fdfd0c40a @@ -0,0 +1,354 @@ +// Copyright 2015-2016 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Message definitions to be used by integration test service definitions. + +syntax = "proto3"; + +package grpc.testing; + +option java_package = "io.grpc.testing.integration"; + +// 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"; +message BoolValue { + // The bool value. + bool value = 1; +} + +// The type of payload that should be returned. +enum PayloadType { + // Compressable text format. + COMPRESSABLE = 0; +} + +// A block of data, to simply increase gRPC message size. +message Payload { + // The type of data in body. + PayloadType type = 1; + // Primary contents of payload. + bytes body = 2; +} + +// A protobuf representation for grpc status. This is used by test +// clients to specify a status that the server should attempt to return. +message EchoStatus { + int32 code = 1; + string message = 2; +} + +// 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. +enum GrpclbRouteType { + // Server didn't detect the route that a client took to reach it. + GRPCLB_ROUTE_TYPE_UNKNOWN = 0; + // Indicates that a client reached a server via gRPCLB fallback. + GRPCLB_ROUTE_TYPE_FALLBACK = 1; + // Indicates that a client reached a server as a gRPCLB-given backend. + GRPCLB_ROUTE_TYPE_BACKEND = 2; +} + +// Unary request. +message SimpleRequest { + // Desired payload type in the response from the server. + // If response_type is RANDOM, server randomly chooses one from other formats. + PayloadType response_type = 1; + + // Desired payload size in the response from the server. + int32 response_size = 2; + + // Optional input payload sent along with the request. + Payload payload = 3; + + // Whether SimpleResponse should include username. + bool fill_username = 4; + + // Whether SimpleResponse should include OAuth scope. + bool fill_oauth_scope = 5; + + // Whether to request the server to compress the response. This field is + // "nullable" in order to interoperate seamlessly with clients not able to + // implement the full compression tests by introspecting the call to verify + // the response's compression status. + BoolValue response_compressed = 6; + + // Whether server should return a given status + EchoStatus response_status = 7; + + // Whether the server should expect this request to be compressed. + BoolValue expect_compressed = 8; + + // Whether SimpleResponse should include server_id. + bool fill_server_id = 9; + + // Whether SimpleResponse should include grpclb_route_type. + bool fill_grpclb_route_type = 10; + + // If set the server should record this metrics report data for the current RPC. + TestOrcaReport orca_per_query_report = 11; +} + +// Unary response, as configured by the request. +message SimpleResponse { + // Payload to increase message size. + Payload payload = 1; + // The user the request came from, for verifying authentication was + // successful when the client expected it. + string username = 2; + // OAuth scope. + string oauth_scope = 3; + + // Server ID. This must be unique among different server instances, + // but the same across all RPC's made to a particular server instance. + string server_id = 4; + // gRPCLB Path. + GrpclbRouteType grpclb_route_type = 5; + + // Server hostname. + string hostname = 6; +} + +// Client-streaming request. +message StreamingInputCallRequest { + // Optional input payload sent along with the request. + Payload payload = 1; + + // Whether the server should expect this request to be compressed. This field + // is "nullable" in order to interoperate seamlessly with servers not able to + // implement the full compression tests by introspecting the call to verify + // the request's compression status. + BoolValue expect_compressed = 2; + + // Not expecting any payload from the response. +} + +// Client-streaming response. +message StreamingInputCallResponse { + // Aggregated size of payloads received from the client. + int32 aggregated_payload_size = 1; +} + +// Configuration for a particular response. +message ResponseParameters { + // Desired payload sizes in responses from the server. + int32 size = 1; + + // Desired interval between consecutive responses in the response stream in + // microseconds. + int32 interval_us = 2; + + // Whether to request the server to compress the response. This field is + // "nullable" in order to interoperate seamlessly with clients not able to + // implement the full compression tests by introspecting the call to verify + // the response's compression status. + BoolValue compressed = 3; + + // Whether to request the server to send the requesting peer's socket + // address in the response. + BoolValue fill_peer_socket_address = 4; +} + +// Server-streaming request. +message StreamingOutputCallRequest { + // Desired payload type in the response from the server. + // If response_type is RANDOM, the payload from each response in the stream + // might be of different types. This is to simulate a mixed type of payload + // stream. + PayloadType response_type = 1; + + // Configuration for each expected response message. + repeated ResponseParameters response_parameters = 2; + + // Optional input payload sent along with the request. + Payload payload = 3; + + // Whether server should return a given status + EchoStatus response_status = 7; + + // If set the server should update this metrics report data at the OOB server. + TestOrcaReport orca_oob_report = 8; +} + +// Server-streaming response, as configured by the request and parameters. +message StreamingOutputCallResponse { + // Payload to increase response size. + Payload payload = 1; + + // The peer's socket address if requested. + string peer_socket_address = 2; +} + +// For reconnect interop test only. +// Client tells server what reconnection parameters it used. +message ReconnectParams { + int32 max_reconnect_backoff_ms = 1; +} + +// For reconnect interop test only. +// Server tells client whether its reconnects are following the spec and the +// reconnect backoffs it saw. +message ReconnectInfo { + bool passed = 1; + repeated int32 backoff_ms = 2; +} + +message LoadBalancerStatsRequest { + // Request stats for the next num_rpcs sent by client. + int32 num_rpcs = 1; + // If num_rpcs have not completed within timeout_sec, return partial results. + int32 timeout_sec = 2; + // Response header + trailer metadata entries we want the values of. + // Matching of the keys is case-insensitive as per rfc7540#section-8.1.2 + // * (asterisk) is a special value that will return all metadata entries + repeated string metadata_keys = 3; +} + +message LoadBalancerStatsResponse { + enum MetadataType { + UNKNOWN = 0; + INITIAL = 1; + TRAILING = 2; + } + message MetadataEntry { + // Key, exactly as received from the server. Case may be different from what + // was requested in the LoadBalancerStatsRequest) + string key = 1; + // Value, exactly as received from the server. + string value = 2; + // Metadata type + MetadataType type = 3; + } + message RpcMetadata { + // metadata values for each rpc for the keys specified in + // LoadBalancerStatsRequest.metadata_keys. + repeated MetadataEntry metadata = 1; + } + message MetadataByPeer { + // List of RpcMetadata in for each RPC with a given peer + repeated RpcMetadata rpc_metadata = 1; + } + message RpcsByPeer { + // The number of completed RPCs for each peer. + map rpcs_by_peer = 1; + } + // The number of completed RPCs for each peer. + map rpcs_by_peer = 1; + // The number of RPCs that failed to record a remote peer. + int32 num_failures = 2; + map rpcs_by_method = 3; + // All the metadata of all RPCs for each peer. + map metadatas_by_peer = 4; +} + +// Request for retrieving a test client's accumulated stats. +message LoadBalancerAccumulatedStatsRequest {} + +// Accumulated stats for RPCs sent by a test client. +message LoadBalancerAccumulatedStatsResponse { + // The total number of RPCs have ever issued for each type. + // Deprecated: use stats_per_method.rpcs_started instead. + map num_rpcs_started_by_method = 1 [deprecated = true]; + // The total number of RPCs have ever completed successfully for each type. + // Deprecated: use stats_per_method.result instead. + map num_rpcs_succeeded_by_method = 2 [deprecated = true]; + // The total number of RPCs have ever failed for each type. + // Deprecated: use stats_per_method.result instead. + map num_rpcs_failed_by_method = 3 [deprecated = true]; + + message MethodStats { + // The number of RPCs that were started for this method. + int32 rpcs_started = 1; + + // The number of RPCs that completed with each status for this method. The + // key is the integral value of a google.rpc.Code; the value is the count. + map result = 2; + } + + // Per-method RPC statistics. The key is the RpcType in string form; e.g. + // 'EMPTY_CALL' or 'UNARY_CALL' + map stats_per_method = 4; +} + +// Configurations for a test client. +message ClientConfigureRequest { + // Type of RPCs to send. + enum RpcType { + EMPTY_CALL = 0; + UNARY_CALL = 1; + } + + // Metadata to be attached for the given type of RPCs. + message Metadata { + RpcType type = 1; + string key = 2; + string value = 3; + } + + // The types of RPCs the client sends. + repeated RpcType types = 1; + // The collection of custom metadata to be attached to RPCs sent by the client. + repeated Metadata metadata = 2; + // The deadline to use, in seconds, for all RPCs. If unset or zero, the + // client will use the default from the command-line. + int32 timeout_sec = 3; +} + +// Response for updating a test client's configuration. +message ClientConfigureResponse {} + +message MemorySize { + int64 rss = 1; +} + +// 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. +message TestOrcaReport { + double cpu_utilization = 1; + double memory_utilization = 2; + map request_cost = 3; + map utilization = 4; +} + +// Status that will be return to callers of the Hook method +message SetReturnStatusRequest { + int32 grpc_code_to_return = 1; + string grpc_status_description = 2; +} + +message HookRequest { + enum HookRequestCommand { + // Default value + UNSPECIFIED = 0; + // Start the HTTP endpoint + START = 1; + // Stop + STOP = 2; + // Return from HTTP GET/POST + RETURN = 3; + } + HookRequestCommand command = 1; + int32 grpc_code_to_return = 2; + string grpc_status_description = 3; + // Server port to listen to + int32 server_port = 4; +} + +message HookResponse { +} diff --git a/modules/sync/grpc/grpc/state.json b/modules/sync/grpc/grpc/state.json index ffbbce18..11354b28 100644 --- a/modules/sync/grpc/grpc/state.json +++ b/modules/sync/grpc/grpc/state.json @@ -195,6 +195,10 @@ { "name": "dafe8c0aa9c80e28da7808ffade0f33638a16e3d", "digest": "58836eb3ab2a52d7d855f9da2b672fa280479bb3c06fd0bc499fedfb212c3ec4e6132499b0b8243181a7072cf118a4c98f7b2a1ef75af08be33c56585f27dec1" + }, + { + "name": "99135b19189588fcc787acb84cff27991787473d", + "digest": "a54091887cdd8c153baceecdd94eeb63c3e620bc275d9ebf4234f349bb98f681cca474984d82d547a5379e444bfc1139cf2db9c8e17ab732bfe5d9a9b8b9e3be" } ] } \ No newline at end of file diff --git a/modules/sync/state.json b/modules/sync/state.json index ab1beccd..3a378d66 100644 --- a/modules/sync/state.json +++ b/modules/sync/state.json @@ -42,11 +42,11 @@ }, { "module_name": "googleapis/cloud-run", - "latest_reference": "0909c4f9bb06622c5775f473acab1bbffd448fb4" + "latest_reference": "acb4d3bcdce2b8cb3f11293086036055f9dfad5f" }, { "module_name": "googleapis/googleapis", - "latest_reference": "0909c4f9bb06622c5775f473acab1bbffd448fb4" + "latest_reference": "acb4d3bcdce2b8cb3f11293086036055f9dfad5f" }, { "module_name": "googlechrome/lighthouse", @@ -62,7 +62,7 @@ }, { "module_name": "grpc/grpc", - "latest_reference": "dafe8c0aa9c80e28da7808ffade0f33638a16e3d" + "latest_reference": "99135b19189588fcc787acb84cff27991787473d" }, { "module_name": "opencensus/opencensus",