From 353a6e9714a27a9cc249fc2e45ff5f6f6ac9c0d9 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Tue, 9 Jun 2020 13:30:02 -0700 Subject: [PATCH 01/19] Add dependencies for xDS Client --- .gitmodules | 6 ++++++ packages/grpc-js/deps/envoy-api | 1 + packages/grpc-js/deps/udpa | 1 + packages/grpc-js/package.json | 6 ++++-- 4 files changed, 12 insertions(+), 2 deletions(-) create mode 160000 packages/grpc-js/deps/envoy-api create mode 160000 packages/grpc-js/deps/udpa diff --git a/.gitmodules b/.gitmodules index c17c34644..0d99efd55 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,9 @@ [submodule "packages/grpc-tools/deps/protobuf"] path = packages/grpc-tools/deps/protobuf url = https://github.com/protocolbuffers/protobuf +[submodule "packages/grpc-js/deps/envoy-api"] + path = packages/grpc-js/deps/envoy-api + url = https://github.com/envoyproxy/data-plane-api.git +[submodule "packages/grpc-js/deps/udpa"] + path = packages/grpc-js/deps/udpa + url = https://github.com/cncf/udpa.git diff --git a/packages/grpc-js/deps/envoy-api b/packages/grpc-js/deps/envoy-api new file mode 160000 index 000000000..50cef8fca --- /dev/null +++ b/packages/grpc-js/deps/envoy-api @@ -0,0 +1 @@ +Subproject commit 50cef8fcab37ba59a61068934d08a3f4c28a681f diff --git a/packages/grpc-js/deps/udpa b/packages/grpc-js/deps/udpa new file mode 160000 index 000000000..3b31d022a --- /dev/null +++ b/packages/grpc-js/deps/udpa @@ -0,0 +1 @@ +Subproject commit 3b31d022a144b334eb2224838e4d6952ab5253aa diff --git a/packages/grpc-js/package.json b/packages/grpc-js/package.json index 3d17f9a3d..86243b30c 100644 --- a/packages/grpc-js/package.json +++ b/packages/grpc-js/package.json @@ -15,7 +15,7 @@ "types": "build/src/index.d.ts", "license": "Apache-2.0", "devDependencies": { - "@grpc/proto-loader": "^0.5.0", + "@grpc/proto-loader": "^0.5.4", "@types/gulp": "^4.0.6", "@types/gulp-mocha": "0.0.32", "@types/lodash": "^4.14.108", @@ -65,6 +65,8 @@ "files": [ "src/*.ts", "build/src/*.{js,d.ts,js.map}", - "LICENSE" + "LICENSE", + "deps/envoy-api/envoy/**/*.proto", + "deps/udpa/udpa/**/*.proto" ] } From 3fa1c098c57bfbdc17d5428a83bf3c53482ee85b Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Tue, 9 Jun 2020 13:33:18 -0700 Subject: [PATCH 02/19] Start implementing XdsClient class --- .gitmodules | 6 ++ packages/grpc-js/deps/googleapis | 1 + packages/grpc-js/deps/protoc-gen-validate | 1 + packages/grpc-js/generateTypes.sh | 20 ++++ packages/grpc-js/package.json | 2 +- packages/grpc-js/src/xds-bootstrap.ts | 113 ++++++++++++++++++++++ packages/grpc-js/src/xds-client.ts | 49 ++++++++++ 7 files changed, 191 insertions(+), 1 deletion(-) create mode 160000 packages/grpc-js/deps/googleapis create mode 160000 packages/grpc-js/deps/protoc-gen-validate create mode 100644 packages/grpc-js/generateTypes.sh create mode 100644 packages/grpc-js/src/xds-bootstrap.ts create mode 100644 packages/grpc-js/src/xds-client.ts diff --git a/.gitmodules b/.gitmodules index 0d99efd55..7989090c6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,9 @@ [submodule "packages/grpc-js/deps/udpa"] path = packages/grpc-js/deps/udpa url = https://github.com/cncf/udpa.git +[submodule "packages/grpc-js/deps/googleapis"] + path = packages/grpc-js/deps/googleapis + url = https://github.com/googleapis/googleapis.git +[submodule "packages/grpc-js/deps/protoc-gen-validate"] + path = packages/grpc-js/deps/protoc-gen-validate + url = https://github.com/envoyproxy/protoc-gen-validate.git diff --git a/packages/grpc-js/deps/googleapis b/packages/grpc-js/deps/googleapis new file mode 160000 index 000000000..8c53b2cb7 --- /dev/null +++ b/packages/grpc-js/deps/googleapis @@ -0,0 +1 @@ +Subproject commit 8c53b2cb792234354c13336ac7daee61333deade diff --git a/packages/grpc-js/deps/protoc-gen-validate b/packages/grpc-js/deps/protoc-gen-validate new file mode 160000 index 000000000..0af61d9dc --- /dev/null +++ b/packages/grpc-js/deps/protoc-gen-validate @@ -0,0 +1 @@ +Subproject commit 0af61d9dc28712dc0e6f8e1a940855a2ee0cb9ed diff --git a/packages/grpc-js/generateTypes.sh b/packages/grpc-js/generateTypes.sh new file mode 100644 index 000000000..8eee726c0 --- /dev/null +++ b/packages/grpc-js/generateTypes.sh @@ -0,0 +1,20 @@ +#!/bin/sh +# Copyright 2020 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. + +base=$(dirname $0) + +./node_modules/.bin/proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --json\ + --includeDirs deps/envoy-api/ deps/udpa/ node_modules/protobufjs/ deps/googleapis/ deps/protoc-gen-validate/ \ + -O src/generated/ --grpcLib ../index envoy/service/discovery/v2/ads.proto envoy/api/v2/listener.proto envoy/api/v2/route.proto envoy/api/v2/cluster.proto envoy/api/v2/endpoint.proto \ No newline at end of file diff --git a/packages/grpc-js/package.json b/packages/grpc-js/package.json index 86243b30c..2e5836f52 100644 --- a/packages/grpc-js/package.json +++ b/packages/grpc-js/package.json @@ -15,7 +15,7 @@ "types": "build/src/index.d.ts", "license": "Apache-2.0", "devDependencies": { - "@grpc/proto-loader": "^0.5.4", + "@grpc/proto-loader": "^0.6.0-pre3", "@types/gulp": "^4.0.6", "@types/gulp-mocha": "0.0.32", "@types/lodash": "^4.14.108", diff --git a/packages/grpc-js/src/xds-bootstrap.ts b/packages/grpc-js/src/xds-bootstrap.ts new file mode 100644 index 000000000..95fd96e3a --- /dev/null +++ b/packages/grpc-js/src/xds-bootstrap.ts @@ -0,0 +1,113 @@ +/* + * Copyright 2020 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. + * + */ + +import * as fs from 'fs'; +import * as adsTypes from './generated/ads'; + +/* eslint-disable @typescript-eslint/no-explicit-any */ + +export interface ChannelCredsConfig { + type: string; + config?: object; +} + +export interface XdsServerConfig { + serverUri: string; + channelCreds: ChannelCredsConfig[]; +} + +export interface BootstrapInfo { + xdsServers: XdsServerConfig[]; + node: adsTypes.messages.envoy.api.v2.core.Node; +} + +function validateChannelCredsConfig(obj: any): ChannelCredsConfig { + if (!('type' in obj)) { + throw new Error('type field missing in xds_servers.channel_creds element'); + } + if (typeof obj.type !== 'string') { + throw new Error(`xds_servers.channel_creds.type field: expected string, got ${typeof obj.type}`); + } + if ('config' in obj) { + if (typeof obj.config !== 'object' || obj.config === null) { + throw new Error('xds_servers.channel_creds config field must be an object if provided'); + } + } + return { + type: obj.type, + config: obj.config + } +} + +function validateXdsServerConfig(obj: any): XdsServerConfig { + if (!('server_uri' in obj)) { + throw new Error('server_uri field missing in xds_servers element'); + } + if (typeof obj.server_uri !== 'string') { + throw new Error(`xds_servers.server_uri field: expected string, got ${typeof obj.server_uri}`); + } + if (!('channel_creds' in obj)) { + throw new Error('channel_creds missing in xds_servers element'); + } + if (!Array.isArray(obj.channel_creds)) { + throw new Error(`xds_servers.channel_creds field: expected array, got ${typeof obj.channel_creds}`); + } + if (obj.channel_creds.length === 0) { + throw new Error('xds_servers.channel_creds field: at least one entry is required'); + } + return { + serverUri: obj.server_uri, + channelCreds: obj.channel_creds.map(validateChannelCredsConfig) + }; +} + +function validateNode(obj: any): adsTypes.messages.envoy.api.v2.core.Node { + throw new Error('Not implemented'); +} + +function validateBootstrapFile(obj: any): BootstrapInfo { + return { + xdsServers: obj.xds_servers.map(validateXdsServerConfig), + node: validateNode(obj.node) + } +} + +let loadedBootstrapInfo: Promise | null = null; + +export async function loadBootstrapInfo(): Promise { + if (loadedBootstrapInfo !== null) { + return loadedBootstrapInfo; + } + const bootstrapPath = process.env.GRPC_XDS_BOOTSTRAP; + if (bootstrapPath === undefined) { + return Promise.reject(new Error('GRPC_XDS_BOOTSTRAP environment variable needs to be set to the path to the bootstrap file to use xDS')); + } + loadedBootstrapInfo = new Promise((resolve, reject) => { + fs.readFile(bootstrapPath, { encoding: 'utf8'}, (err, data) => { + if (err) { + reject(new Error(`Failed to read xDS bootstrap file from path ${bootstrapPath} with error ${err.message}`)); + } + try { + const parsedFile = JSON.parse(data); + resolve(validateBootstrapFile(parsedFile)); + } catch (e) { + reject(new Error(`Failed to parse xDS bootstrap file at path ${bootstrapPath} with error ${e.message}`)); + } + }); + }); + return loadedBootstrapInfo; +} \ No newline at end of file diff --git a/packages/grpc-js/src/xds-client.ts b/packages/grpc-js/src/xds-client.ts new file mode 100644 index 000000000..e8eea6f30 --- /dev/null +++ b/packages/grpc-js/src/xds-client.ts @@ -0,0 +1,49 @@ +/* + * Copyright 2020 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. + * + */ + +import * as fs from 'fs'; +import * as protoLoader from '@grpc/proto-loader'; +import { loadPackageDefinition } from './make-client'; +import * as adsTypes from './generated/ads'; +import { ChannelCredentials } from './channel-credentials'; + +const packageDefinition = protoLoader.loadSync([ + 'envoy/service/discovery/v2/ads.proto', + 'envoy/api/v2/listener.proto', + 'envoy/api/v2/route.proto', + 'envoy/api/v2/cluster.proto', + 'envoy/api/v2/endpoint.proto' + ], { + keepCase: true, + longs: String, + enums: String, + defaults: true, + oneofs: true, + includeDirs: [ + 'deps/envoy-api/', + 'deps/udpa/', + 'node_modules/protobufjs/', + 'deps/googleapis/', + 'deps/protoc-gen-validate/' + ] + }); + +const loadedDefinition = loadPackageDefinition(packageDefinition) as unknown as adsTypes.ProtoGrpcType; + +export class XdsClient { + +} \ No newline at end of file From 81fff185aeedd86e072476534063ca9773b35b23 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Wed, 24 Jun 2020 16:43:48 -0700 Subject: [PATCH 03/19] Add generated code for Envoy APIs --- packages/grpc-js/src/generated/ads.d.ts | 983 +++++++++ packages/grpc-js/src/generated/cluster.d.ts | 1471 ++++++++++++++ packages/grpc-js/src/generated/endpoint.d.ts | 1140 +++++++++++ .../src/generated/envoy/api/v2/Cluster.d.ts | 339 ++++ .../envoy/api/v2/ClusterLoadAssignment.d.ts | 45 + .../envoy/api/v2/DeltaDiscoveryRequest.d.ts | 24 + .../envoy/api/v2/DeltaDiscoveryResponse.d.ts | 19 + .../envoy/api/v2/DiscoveryRequest.d.ts | 22 + .../envoy/api/v2/DiscoveryResponse.d.ts | 22 + .../src/generated/envoy/api/v2/Listener.d.ts | 93 + .../envoy/api/v2/LoadBalancingPolicy.d.ts | 24 + .../src/generated/envoy/api/v2/Resource.d.ts | 17 + .../envoy/api/v2/RouteConfiguration.d.ts | 32 + .../envoy/api/v2/UpstreamBindConfig.d.ts | 11 + .../api/v2/UpstreamConnectionOptions.d.ts | 11 + .../src/generated/envoy/api/v2/Vhds.d.ts | 11 + .../v2/auth/CertificateValidationContext.d.ts | 38 + .../envoy/api/v2/auth/CommonTlsContext.d.ts | 38 + .../api/v2/auth/DownstreamTlsContext.d.ts | 29 + .../envoy/api/v2/auth/GenericSecret.d.ts | 11 + .../envoy/api/v2/auth/PrivateKeyProvider.d.ts | 18 + .../envoy/api/v2/auth/SdsSecretConfig.d.ts | 13 + .../generated/envoy/api/v2/auth/Secret.d.ts | 24 + .../envoy/api/v2/auth/TlsCertificate.d.ts | 22 + .../envoy/api/v2/auth/TlsParameters.d.ts | 26 + .../api/v2/auth/TlsSessionTicketKeys.d.ts | 11 + .../envoy/api/v2/auth/UpstreamTlsContext.d.ts | 18 + .../envoy/api/v2/cluster/CircuitBreakers.d.ts | 45 + .../envoy/api/v2/cluster/Filter.d.ts | 13 + .../api/v2/cluster/OutlierDetection.d.ts | 50 + .../generated/envoy/api/v2/core/Address.d.ts | 16 + .../api/v2/core/AggregatedConfigSource.d.ts | 8 + .../envoy/api/v2/core/ApiConfigSource.d.ts | 37 + .../envoy/api/v2/core/ApiVersion.d.ts | 7 + .../envoy/api/v2/core/AsyncDataSource.d.ts | 16 + .../envoy/api/v2/core/BackoffStrategy.d.ts | 13 + .../envoy/api/v2/core/BindConfig.d.ts | 17 + .../envoy/api/v2/core/BuildVersion.d.ts | 14 + .../envoy/api/v2/core/CidrRange.d.ts | 13 + .../envoy/api/v2/core/ConfigSource.d.ts | 27 + .../envoy/api/v2/core/ControlPlane.d.ts | 10 + .../envoy/api/v2/core/DataSource.d.ts | 16 + .../envoy/api/v2/core/EventServiceConfig.d.ts | 13 + .../envoy/api/v2/core/Extension.d.ts | 19 + .../api/v2/core/GrpcProtocolOptions.d.ts | 11 + .../envoy/api/v2/core/GrpcService.d.ts | 163 ++ .../envoy/api/v2/core/HeaderMap.d.ts | 11 + .../envoy/api/v2/core/HeaderValue.d.ts | 12 + .../envoy/api/v2/core/HeaderValueOption.d.ts | 14 + .../envoy/api/v2/core/HealthCheck.d.ts | 153 ++ .../envoy/api/v2/core/HealthStatus.d.ts | 10 + .../api/v2/core/Http1ProtocolOptions.d.ts | 35 + .../api/v2/core/Http2ProtocolOptions.d.ts | 45 + .../api/v2/core/HttpProtocolOptions.d.ts | 28 + .../generated/envoy/api/v2/core/HttpUri.d.ts | 17 + .../generated/envoy/api/v2/core/Locality.d.ts | 14 + .../generated/envoy/api/v2/core/Metadata.d.ts | 11 + .../src/generated/envoy/api/v2/core/Node.d.ts | 37 + .../src/generated/envoy/api/v2/core/Pipe.d.ts | 12 + .../envoy/api/v2/core/RateLimitSettings.d.ts | 14 + .../envoy/api/v2/core/RemoteDataSource.d.ts | 16 + .../envoy/api/v2/core/RequestMethod.d.ts | 14 + .../envoy/api/v2/core/RetryPolicy.d.ts | 14 + .../envoy/api/v2/core/RoutingPriority.d.ts | 6 + .../envoy/api/v2/core/RuntimeDouble.d.ts | 12 + .../envoy/api/v2/core/RuntimeFeatureFlag.d.ts | 13 + .../api/v2/core/RuntimeFractionalPercent.d.ts | 13 + .../envoy/api/v2/core/RuntimeUInt32.d.ts | 12 + .../envoy/api/v2/core/SelfConfigSource.d.ts | 8 + .../envoy/api/v2/core/SocketAddress.d.ts | 29 + .../envoy/api/v2/core/SocketOption.d.ts | 31 + .../envoy/api/v2/core/TcpKeepalive.d.ts | 15 + .../envoy/api/v2/core/TcpProtocolOptions.d.ts | 8 + .../envoy/api/v2/core/TrafficDirection.d.ts | 7 + .../envoy/api/v2/core/TransportSocket.d.ts | 18 + .../v2/core/UpstreamHttpProtocolOptions.d.ts | 12 + .../envoy/api/v2/endpoint/Endpoint.d.ts | 25 + .../envoy/api/v2/endpoint/LbEndpoint.d.ts | 24 + .../api/v2/endpoint/LocalityLbEndpoints.d.ts | 21 + .../listener/ActiveRawUdpListenerConfig.d.ts | 8 + .../envoy/api/v2/listener/Filter.d.ts | 18 + .../envoy/api/v2/listener/FilterChain.d.ts | 28 + .../api/v2/listener/FilterChainMatch.d.ts | 38 + .../envoy/api/v2/listener/ListenerFilter.d.ts | 21 + .../ListenerFilterChainMatchPredicate.d.ts | 30 + .../api/v2/listener/UdpListenerConfig.d.ts | 18 + .../envoy/api/v2/route/CorsPolicy.d.ts | 35 + .../envoy/api/v2/route/Decorator.d.ts | 13 + .../api/v2/route/DirectResponseAction.d.ts | 13 + .../envoy/api/v2/route/FilterAction.d.ts | 11 + .../envoy/api/v2/route/HeaderMatcher.d.ts | 31 + .../envoy/api/v2/route/HedgePolicy.d.ts | 16 + .../api/v2/route/QueryParameterMatcher.d.ts | 22 + .../envoy/api/v2/route/RateLimit.d.ts | 85 + .../envoy/api/v2/route/RedirectAction.d.ts | 38 + .../envoy/api/v2/route/RetryPolicy.d.ts | 72 + .../generated/envoy/api/v2/route/Route.d.ts | 54 + .../envoy/api/v2/route/RouteAction.d.ts | 181 ++ .../envoy/api/v2/route/RouteMatch.d.ts | 51 + .../generated/envoy/api/v2/route/Tracing.d.ts | 18 + .../envoy/api/v2/route/VirtualCluster.d.ts | 18 + .../envoy/api/v2/route/VirtualHost.d.ts | 64 + .../envoy/api/v2/route/WeightedCluster.d.ts | 43 + .../config/filter/accesslog/v2/AccessLog.d.ts | 21 + .../filter/accesslog/v2/AccessLogFilter.d.ts | 43 + .../config/filter/accesslog/v2/AndFilter.d.ts | 11 + .../filter/accesslog/v2/ComparisonFilter.d.ts | 21 + .../filter/accesslog/v2/DurationFilter.d.ts | 11 + .../filter/accesslog/v2/ExtensionFilter.d.ts | 18 + .../filter/accesslog/v2/GrpcStatusFilter.d.ts | 34 + .../filter/accesslog/v2/HeaderFilter.d.ts | 11 + .../accesslog/v2/NotHealthCheckFilter.d.ts | 8 + .../config/filter/accesslog/v2/OrFilter.d.ts | 11 + .../accesslog/v2/ResponseFlagFilter.d.ts | 10 + .../filter/accesslog/v2/RuntimeFilter.d.ts | 15 + .../filter/accesslog/v2/StatusCodeFilter.d.ts | 11 + .../filter/accesslog/v2/TraceableFilter.d.ts | 8 + .../envoy/config/listener/v2/ApiListener.d.ts | 11 + .../envoy/service/discovery/v2/AdsDummy.d.ts | 8 + .../generated/envoy/type/CodecClientType.d.ts | 7 + .../src/generated/envoy/type/DoubleRange.d.ts | 12 + .../envoy/type/FractionalPercent.d.ts | 20 + .../src/generated/envoy/type/Int32Range.d.ts | 12 + .../src/generated/envoy/type/Int64Range.d.ts | 13 + .../src/generated/envoy/type/Percent.d.ts | 10 + .../generated/envoy/type/SemanticVersion.d.ts | 14 + .../envoy/type/matcher/ListStringMatcher.d.ts | 11 + .../type/matcher/RegexMatchAndSubstitute.d.ts | 13 + .../envoy/type/matcher/RegexMatcher.d.ts | 23 + .../envoy/type/matcher/StringMatcher.d.ts | 23 + .../envoy/type/metadata/v2/MetadataKey.d.ts | 22 + .../envoy/type/metadata/v2/MetadataKind.d.ts | 42 + .../envoy/type/tracing/v2/CustomTag.d.ts | 62 + .../google/api/CustomHttpPattern.d.ts | 12 + .../src/generated/google/api/Http.d.ts | 11 + .../src/generated/google/api/HttpRule.d.ts | 30 + .../src/generated/google/protobuf/Any.d.ts | 13 + .../generated/google/protobuf/BoolValue.d.ts | 10 + .../generated/google/protobuf/BytesValue.d.ts | 10 + .../google/protobuf/DescriptorProto.d.ts | 53 + .../google/protobuf/DoubleValue.d.ts | 10 + .../generated/google/protobuf/Duration.d.ts | 13 + .../src/generated/google/protobuf/Empty.d.ts | 8 + .../google/protobuf/EnumDescriptorProto.d.ts | 16 + .../google/protobuf/EnumOptions.d.ts | 18 + .../protobuf/EnumValueDescriptorProto.d.ts | 15 + .../google/protobuf/EnumValueOptions.d.ts | 18 + .../google/protobuf/FieldDescriptorProto.d.ts | 60 + .../google/protobuf/FieldOptions.d.ts | 49 + .../google/protobuf/FileDescriptorProto.d.ts | 38 + .../google/protobuf/FileDescriptorSet.d.ts | 11 + .../google/protobuf/FileOptions.d.ts | 53 + .../generated/google/protobuf/FloatValue.d.ts | 10 + .../google/protobuf/GeneratedCodeInfo.d.ts | 24 + .../generated/google/protobuf/Int32Value.d.ts | 10 + .../generated/google/protobuf/Int64Value.d.ts | 11 + .../generated/google/protobuf/ListValue.d.ts | 11 + .../google/protobuf/MessageOptions.d.ts | 24 + .../protobuf/MethodDescriptorProto.d.ts | 21 + .../google/protobuf/MethodOptions.d.ts | 16 + .../generated/google/protobuf/NullValue.d.ts | 5 + .../google/protobuf/OneofDescriptorProto.d.ts | 13 + .../google/protobuf/OneofOptions.d.ts | 13 + .../protobuf/ServiceDescriptorProto.d.ts | 16 + .../google/protobuf/ServiceOptions.d.ts | 13 + .../google/protobuf/SourceCodeInfo.d.ts | 26 + .../google/protobuf/StringValue.d.ts | 10 + .../src/generated/google/protobuf/Struct.d.ts | 11 + .../generated/google/protobuf/Timestamp.d.ts | 13 + .../google/protobuf/UInt32Value.d.ts | 10 + .../google/protobuf/UInt64Value.d.ts | 11 + .../google/protobuf/UninterpretedOption.d.ts | 33 + .../src/generated/google/protobuf/Value.d.ts | 25 + .../src/generated/google/rpc/Status.d.ts | 15 + packages/grpc-js/src/generated/listener.d.ts | 1757 +++++++++++++++++ packages/grpc-js/src/generated/route.d.ts | 1385 +++++++++++++ .../annotations/FieldMigrateAnnotation.d.ts | 12 + .../annotations/FileMigrateAnnotation.d.ts | 10 + .../udpa/annotations/MigrateAnnotation.d.ts | 10 + .../annotations/PackageVersionStatus.d.ts | 8 + .../udpa/annotations/StatusAnnotation.d.ts | 13 + .../src/generated/validate/AnyRules.d.ts | 14 + .../src/generated/validate/BoolRules.d.ts | 10 + .../src/generated/validate/BytesRules.d.ts | 37 + .../src/generated/validate/DoubleRules.d.ts | 22 + .../src/generated/validate/DurationRules.d.ts | 25 + .../src/generated/validate/EnumRules.d.ts | 16 + .../src/generated/validate/FieldRules.d.ts | 77 + .../src/generated/validate/Fixed32Rules.d.ts | 22 + .../src/generated/validate/Fixed64Rules.d.ts | 23 + .../src/generated/validate/FloatRules.d.ts | 22 + .../src/generated/validate/Int32Rules.d.ts | 22 + .../src/generated/validate/Int64Rules.d.ts | 23 + .../src/generated/validate/KnownRegex.d.ts | 7 + .../src/generated/validate/MapRules.d.ts | 20 + .../src/generated/validate/MessageRules.d.ts | 12 + .../src/generated/validate/RepeatedRules.d.ts | 18 + .../src/generated/validate/SFixed32Rules.d.ts | 22 + .../src/generated/validate/SFixed64Rules.d.ts | 23 + .../src/generated/validate/SInt32Rules.d.ts | 22 + .../src/generated/validate/SInt64Rules.d.ts | 23 + .../src/generated/validate/StringRules.d.ts | 62 + .../generated/validate/TimestampRules.d.ts | 28 + .../src/generated/validate/UInt32Rules.d.ts | 22 + .../src/generated/validate/UInt64Rules.d.ts | 23 + 205 files changed, 11772 insertions(+) create mode 100644 packages/grpc-js/src/generated/ads.d.ts create mode 100644 packages/grpc-js/src/generated/cluster.d.ts create mode 100644 packages/grpc-js/src/generated/endpoint.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/Cluster.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/Listener.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/Resource.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/Vhds.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/auth/PrivateKeyProvider.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/auth/Secret.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/auth/TlsParameters.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/auth/TlsSessionTicketKeys.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/Address.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/AggregatedConfigSource.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/ApiVersion.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/AsyncDataSource.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/ControlPlane.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/DataSource.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/EventServiceConfig.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/Extension.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/HeaderMap.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValue.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/HealthStatus.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/Locality.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/Node.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/Pipe.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/RequestMethod.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/RoutingPriority.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeDouble.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeUInt32.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/SelfConfigSource.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/SocketAddress.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/SocketOption.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/TcpProtocolOptions.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/TrafficDirection.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/TransportSocket.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/core/UpstreamHttpProtocolOptions.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/listener/ActiveRawUdpListenerConfig.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/listener/Filter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilterChainMatchPredicate.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/listener/UdpListenerConfig.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/Route.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLogFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AndFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ExtensionFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/GrpcStatusFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/NotHealthCheckFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/OrFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ResponseFlagFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/TraceableFilter.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/service/discovery/v2/AdsDummy.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/CodecClientType.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/DoubleRange.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/FractionalPercent.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/Int32Range.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/Int64Range.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/Percent.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/SemanticVersion.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/matcher/ListStringMatcher.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/matcher/StringMatcher.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKey.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.d.ts create mode 100644 packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.d.ts create mode 100644 packages/grpc-js/src/generated/google/api/CustomHttpPattern.d.ts create mode 100644 packages/grpc-js/src/generated/google/api/Http.d.ts create mode 100644 packages/grpc-js/src/generated/google/api/HttpRule.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/Any.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/BoolValue.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/BytesValue.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/DescriptorProto.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/DoubleValue.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/Duration.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/Empty.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/EnumOptions.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/FieldOptions.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/FileDescriptorSet.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/FileOptions.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/FloatValue.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/GeneratedCodeInfo.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/Int32Value.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/Int64Value.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/ListValue.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/MessageOptions.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/MethodOptions.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/NullValue.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/OneofOptions.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/ServiceOptions.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/SourceCodeInfo.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/StringValue.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/Struct.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/Timestamp.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/UInt32Value.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/UInt64Value.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/UninterpretedOption.d.ts create mode 100644 packages/grpc-js/src/generated/google/protobuf/Value.d.ts create mode 100644 packages/grpc-js/src/generated/google/rpc/Status.d.ts create mode 100644 packages/grpc-js/src/generated/listener.d.ts create mode 100644 packages/grpc-js/src/generated/route.d.ts create mode 100644 packages/grpc-js/src/generated/udpa/annotations/FieldMigrateAnnotation.d.ts create mode 100644 packages/grpc-js/src/generated/udpa/annotations/FileMigrateAnnotation.d.ts create mode 100644 packages/grpc-js/src/generated/udpa/annotations/MigrateAnnotation.d.ts create mode 100644 packages/grpc-js/src/generated/udpa/annotations/PackageVersionStatus.d.ts create mode 100644 packages/grpc-js/src/generated/udpa/annotations/StatusAnnotation.d.ts create mode 100644 packages/grpc-js/src/generated/validate/AnyRules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/BoolRules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/BytesRules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/DoubleRules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/DurationRules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/EnumRules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/FieldRules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/Fixed32Rules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/Fixed64Rules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/FloatRules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/Int32Rules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/Int64Rules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/KnownRegex.d.ts create mode 100644 packages/grpc-js/src/generated/validate/MapRules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/MessageRules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/RepeatedRules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/SFixed32Rules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/SFixed64Rules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/SInt32Rules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/SInt64Rules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/StringRules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/TimestampRules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/UInt32Rules.d.ts create mode 100644 packages/grpc-js/src/generated/validate/UInt64Rules.d.ts diff --git a/packages/grpc-js/src/generated/ads.d.ts b/packages/grpc-js/src/generated/ads.d.ts new file mode 100644 index 000000000..fee58a0ed --- /dev/null +++ b/packages/grpc-js/src/generated/ads.d.ts @@ -0,0 +1,983 @@ +import * as grpc from '../index'; +import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; + +import { AdsDummy as _envoy_service_discovery_v2_AdsDummy, AdsDummy__Output as _envoy_service_discovery_v2_AdsDummy__Output } from './envoy/service/discovery/v2/AdsDummy'; +import { DiscoveryRequest as _envoy_api_v2_DiscoveryRequest, DiscoveryRequest__Output as _envoy_api_v2_DiscoveryRequest__Output } from './envoy/api/v2/DiscoveryRequest'; +import { DiscoveryResponse as _envoy_api_v2_DiscoveryResponse, DiscoveryResponse__Output as _envoy_api_v2_DiscoveryResponse__Output } from './envoy/api/v2/DiscoveryResponse'; +import { DeltaDiscoveryRequest as _envoy_api_v2_DeltaDiscoveryRequest, DeltaDiscoveryRequest__Output as _envoy_api_v2_DeltaDiscoveryRequest__Output } from './envoy/api/v2/DeltaDiscoveryRequest'; +import { DeltaDiscoveryResponse as _envoy_api_v2_DeltaDiscoveryResponse, DeltaDiscoveryResponse__Output as _envoy_api_v2_DeltaDiscoveryResponse__Output } from './envoy/api/v2/DeltaDiscoveryResponse'; +import { Resource as _envoy_api_v2_Resource, Resource__Output as _envoy_api_v2_Resource__Output } from './envoy/api/v2/Resource'; +import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; +import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; +import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; +import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; +import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; +import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; +import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; +import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; +import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; +import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; +import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; +import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; +import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; +import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; +import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; +import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; +import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; +import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; +import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; +import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; +import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; +import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; +import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; +import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; +import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; +import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; +import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; +import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; +import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; +import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; +import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; +import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; +import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; +import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; +import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; +import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; +import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; +import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; +import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; +import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; +import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; +import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; +import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; +import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; +import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; +import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; +import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; +import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; +import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; +import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; +import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; +import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; +import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; +import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; +import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; +import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; +import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; +import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; +import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; +import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; +import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; +import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; +import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; +import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; +import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; +import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; +import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; +import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; +import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; +import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; +import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; +import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; +import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; +import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; +import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; +import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; +import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; +import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; +import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; +import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; +import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; +import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; +import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; +import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; +import { Status as _google_rpc_Status, Status__Output as _google_rpc_Status__Output } from './google/rpc/Status'; + +export namespace messages { + export namespace envoy { + export namespace service { + export namespace discovery { + export namespace v2 { + export namespace AggregatedDiscoveryService { + } + export type AdsDummy = _envoy_service_discovery_v2_AdsDummy; + export type AdsDummy__Output = _envoy_service_discovery_v2_AdsDummy__Output; + } + } + } + export namespace api { + export namespace v2 { + export type DiscoveryRequest = _envoy_api_v2_DiscoveryRequest; + export type DiscoveryRequest__Output = _envoy_api_v2_DiscoveryRequest__Output; + export type DiscoveryResponse = _envoy_api_v2_DiscoveryResponse; + export type DiscoveryResponse__Output = _envoy_api_v2_DiscoveryResponse__Output; + export type DeltaDiscoveryRequest = _envoy_api_v2_DeltaDiscoveryRequest; + export type DeltaDiscoveryRequest__Output = _envoy_api_v2_DeltaDiscoveryRequest__Output; + export type DeltaDiscoveryResponse = _envoy_api_v2_DeltaDiscoveryResponse; + export type DeltaDiscoveryResponse__Output = _envoy_api_v2_DeltaDiscoveryResponse__Output; + export type Resource = _envoy_api_v2_Resource; + export type Resource__Output = _envoy_api_v2_Resource__Output; + export namespace core { + export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + export type RequestMethod = _envoy_api_v2_core_RequestMethod; + export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + export type Locality = _envoy_api_v2_core_Locality; + export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type BuildVersion = _envoy_api_v2_core_BuildVersion; + export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + export type Extension = _envoy_api_v2_core_Extension; + export type Extension__Output = _envoy_api_v2_core_Extension__Output; + export type Node = _envoy_api_v2_core_Node; + export type Node__Output = _envoy_api_v2_core_Node__Output; + export type Metadata = _envoy_api_v2_core_Metadata; + export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; + export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + export type HeaderValue = _envoy_api_v2_core_HeaderValue; + export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; + export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; + export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; + export type HeaderMap = _envoy_api_v2_core_HeaderMap; + export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; + export type DataSource = _envoy_api_v2_core_DataSource; + export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; + export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; + export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; + export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + export type TransportSocket = _envoy_api_v2_core_TransportSocket; + export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; + export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; + export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; + export type ControlPlane = _envoy_api_v2_core_ControlPlane; + export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type Pipe = _envoy_api_v2_core_Pipe; + export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + export type SocketAddress = _envoy_api_v2_core_SocketAddress; + export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; + export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; + export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + export type BindConfig = _envoy_api_v2_core_BindConfig; + export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; + export type Address = _envoy_api_v2_core_Address; + export type Address__Output = _envoy_api_v2_core_Address__Output; + export type CidrRange = _envoy_api_v2_core_CidrRange; + export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + export type SocketOption = _envoy_api_v2_core_SocketOption; + export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; + } + } + } + export namespace type { + export type Percent = _envoy_type_Percent; + export type Percent__Output = _envoy_type_Percent__Output; + export type FractionalPercent = _envoy_type_FractionalPercent; + export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + export type SemanticVersion = _envoy_type_SemanticVersion; + export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; + } + } + export namespace udpa { + export namespace annotations { + export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; + export type StatusAnnotation = _udpa_annotations_StatusAnnotation; + export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; + export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; + export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; + export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; + export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; + export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; + export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; + } + } + export namespace validate { + export type FieldRules = _validate_FieldRules; + export type FieldRules__Output = _validate_FieldRules__Output; + export type FloatRules = _validate_FloatRules; + export type FloatRules__Output = _validate_FloatRules__Output; + export type DoubleRules = _validate_DoubleRules; + export type DoubleRules__Output = _validate_DoubleRules__Output; + export type Int32Rules = _validate_Int32Rules; + export type Int32Rules__Output = _validate_Int32Rules__Output; + export type Int64Rules = _validate_Int64Rules; + export type Int64Rules__Output = _validate_Int64Rules__Output; + export type UInt32Rules = _validate_UInt32Rules; + export type UInt32Rules__Output = _validate_UInt32Rules__Output; + export type UInt64Rules = _validate_UInt64Rules; + export type UInt64Rules__Output = _validate_UInt64Rules__Output; + export type SInt32Rules = _validate_SInt32Rules; + export type SInt32Rules__Output = _validate_SInt32Rules__Output; + export type SInt64Rules = _validate_SInt64Rules; + export type SInt64Rules__Output = _validate_SInt64Rules__Output; + export type Fixed32Rules = _validate_Fixed32Rules; + export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + export type Fixed64Rules = _validate_Fixed64Rules; + export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + export type SFixed32Rules = _validate_SFixed32Rules; + export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + export type SFixed64Rules = _validate_SFixed64Rules; + export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + export type BoolRules = _validate_BoolRules; + export type BoolRules__Output = _validate_BoolRules__Output; + export type StringRules = _validate_StringRules; + export type StringRules__Output = _validate_StringRules__Output; + export type KnownRegex = _validate_KnownRegex; + export type BytesRules = _validate_BytesRules; + export type BytesRules__Output = _validate_BytesRules__Output; + export type EnumRules = _validate_EnumRules; + export type EnumRules__Output = _validate_EnumRules__Output; + export type MessageRules = _validate_MessageRules; + export type MessageRules__Output = _validate_MessageRules__Output; + export type RepeatedRules = _validate_RepeatedRules; + export type RepeatedRules__Output = _validate_RepeatedRules__Output; + export type MapRules = _validate_MapRules; + export type MapRules__Output = _validate_MapRules__Output; + export type AnyRules = _validate_AnyRules; + export type AnyRules__Output = _validate_AnyRules__Output; + export type DurationRules = _validate_DurationRules; + export type DurationRules__Output = _validate_DurationRules__Output; + export type TimestampRules = _validate_TimestampRules; + export type TimestampRules__Output = _validate_TimestampRules__Output; + } + export namespace google { + export namespace protobuf { + export type Any = _google_protobuf_Any; + export type Any__Output = _google_protobuf_Any__Output; + export type Duration = _google_protobuf_Duration; + export type Duration__Output = _google_protobuf_Duration__Output; + export type Struct = _google_protobuf_Struct; + export type Struct__Output = _google_protobuf_Struct__Output; + export type Value = _google_protobuf_Value; + export type Value__Output = _google_protobuf_Value__Output; + export type NullValue = _google_protobuf_NullValue; + export type ListValue = _google_protobuf_ListValue; + export type ListValue__Output = _google_protobuf_ListValue__Output; + export type DoubleValue = _google_protobuf_DoubleValue; + export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; + export type FloatValue = _google_protobuf_FloatValue; + export type FloatValue__Output = _google_protobuf_FloatValue__Output; + export type Int64Value = _google_protobuf_Int64Value; + export type Int64Value__Output = _google_protobuf_Int64Value__Output; + export type UInt64Value = _google_protobuf_UInt64Value; + export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; + export type Int32Value = _google_protobuf_Int32Value; + export type Int32Value__Output = _google_protobuf_Int32Value__Output; + export type UInt32Value = _google_protobuf_UInt32Value; + export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; + export type BoolValue = _google_protobuf_BoolValue; + export type BoolValue__Output = _google_protobuf_BoolValue__Output; + export type StringValue = _google_protobuf_StringValue; + export type StringValue__Output = _google_protobuf_StringValue__Output; + export type BytesValue = _google_protobuf_BytesValue; + export type BytesValue__Output = _google_protobuf_BytesValue__Output; + export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; + export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; + export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; + export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; + export type DescriptorProto = _google_protobuf_DescriptorProto; + export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; + export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; + export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; + export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; + export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; + export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; + export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; + export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; + export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; + export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; + export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; + export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; + export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type FileOptions = _google_protobuf_FileOptions; + export type FileOptions__Output = _google_protobuf_FileOptions__Output; + export type MessageOptions = _google_protobuf_MessageOptions; + export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; + export type FieldOptions = _google_protobuf_FieldOptions; + export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type OneofOptions = _google_protobuf_OneofOptions; + export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; + export type EnumOptions = _google_protobuf_EnumOptions; + export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; + export type EnumValueOptions = _google_protobuf_EnumValueOptions; + export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type ServiceOptions = _google_protobuf_ServiceOptions; + export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; + export type MethodOptions = _google_protobuf_MethodOptions; + export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; + export type UninterpretedOption = _google_protobuf_UninterpretedOption; + export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; + export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; + export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; + export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; + export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; + export type Timestamp = _google_protobuf_Timestamp; + export type Timestamp__Output = _google_protobuf_Timestamp__Output; + } + export namespace rpc { + export type Status = _google_rpc_Status; + export type Status__Output = _google_rpc_Status__Output; + } + } +} + +export namespace ClientInterfaces { + export namespace envoy { + export namespace service { + export namespace discovery { + export namespace v2 { + export interface AggregatedDiscoveryServiceClient extends grpc.Client { + StreamAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; + StreamAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; + streamAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; + streamAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; + + DeltaAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; + DeltaAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; + deltaAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; + deltaAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; + + } + export namespace AdsDummy { + } + } + } + } + export namespace api { + export namespace v2 { + export namespace DiscoveryRequest { + } + export namespace DiscoveryResponse { + } + export namespace DeltaDiscoveryRequest { + } + export namespace DeltaDiscoveryResponse { + } + export namespace Resource { + } + export namespace core { + export namespace Locality { + } + export namespace BuildVersion { + } + export namespace Extension { + } + export namespace Node { + } + export namespace Metadata { + } + export namespace RuntimeUInt32 { + } + export namespace RuntimeDouble { + } + export namespace RuntimeFeatureFlag { + } + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HeaderMap { + } + export namespace DataSource { + } + export namespace RetryPolicy { + } + export namespace RemoteDataSource { + } + export namespace AsyncDataSource { + } + export namespace TransportSocket { + } + export namespace RuntimeFractionalPercent { + } + export namespace ControlPlane { + } + export namespace BackoffStrategy { + } + export namespace HttpUri { + } + export namespace Pipe { + } + export namespace SocketAddress { + } + export namespace TcpKeepalive { + } + export namespace BindConfig { + } + export namespace Address { + } + export namespace CidrRange { + } + export namespace SocketOption { + } + } + } + } + export namespace type { + export namespace Percent { + } + export namespace FractionalPercent { + } + export namespace SemanticVersion { + } + } + } + export namespace udpa { + export namespace annotations { + export namespace StatusAnnotation { + } + export namespace MigrateAnnotation { + } + export namespace FieldMigrateAnnotation { + } + export namespace FileMigrateAnnotation { + } + } + } + export namespace validate { + export namespace FieldRules { + } + export namespace FloatRules { + } + export namespace DoubleRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace BoolRules { + } + export namespace StringRules { + } + export namespace BytesRules { + } + export namespace EnumRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace MapRules { + } + export namespace AnyRules { + } + export namespace DurationRules { + } + export namespace TimestampRules { + } + } + export namespace google { + export namespace protobuf { + export namespace Any { + } + export namespace Duration { + } + export namespace Struct { + } + export namespace Value { + } + export namespace ListValue { + } + export namespace DoubleValue { + } + export namespace FloatValue { + } + export namespace Int64Value { + } + export namespace UInt64Value { + } + export namespace Int32Value { + } + export namespace UInt32Value { + } + export namespace BoolValue { + } + export namespace StringValue { + } + export namespace BytesValue { + } + export namespace FileDescriptorSet { + } + export namespace FileDescriptorProto { + } + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } + } + export namespace FieldDescriptorProto { + } + export namespace OneofDescriptorProto { + } + export namespace EnumDescriptorProto { + } + export namespace EnumValueDescriptorProto { + } + export namespace ServiceDescriptorProto { + } + export namespace MethodDescriptorProto { + } + export namespace FileOptions { + } + export namespace MessageOptions { + } + export namespace FieldOptions { + } + export namespace OneofOptions { + } + export namespace EnumOptions { + } + export namespace EnumValueOptions { + } + export namespace ServiceOptions { + } + export namespace MethodOptions { + } + export namespace UninterpretedOption { + export namespace NamePart { + } + } + export namespace SourceCodeInfo { + export namespace Location { + } + } + export namespace GeneratedCodeInfo { + export namespace Annotation { + } + } + export namespace Timestamp { + } + } + export namespace rpc { + export namespace Status { + } + } + } +} + +type ConstructorArguments = Constructor extends new (...args: infer Args) => any ? Args: never; +type SubtypeConstructor = { + new(...args: ConstructorArguments): Subtype; +} + +export interface ProtoGrpcType { + envoy: { + service: { + discovery: { + v2: { + AggregatedDiscoveryService: SubtypeConstructor & { service: ServiceDefinition } + AdsDummy: MessageTypeDefinition + } + } + } + api: { + v2: { + DiscoveryRequest: MessageTypeDefinition + DiscoveryResponse: MessageTypeDefinition + DeltaDiscoveryRequest: MessageTypeDefinition + DeltaDiscoveryResponse: MessageTypeDefinition + Resource: MessageTypeDefinition + core: { + RoutingPriority: EnumTypeDefinition + RequestMethod: EnumTypeDefinition + TrafficDirection: EnumTypeDefinition + Locality: MessageTypeDefinition + BuildVersion: MessageTypeDefinition + Extension: MessageTypeDefinition + Node: MessageTypeDefinition + Metadata: MessageTypeDefinition + RuntimeUInt32: MessageTypeDefinition + RuntimeDouble: MessageTypeDefinition + RuntimeFeatureFlag: MessageTypeDefinition + HeaderValue: MessageTypeDefinition + HeaderValueOption: MessageTypeDefinition + HeaderMap: MessageTypeDefinition + DataSource: MessageTypeDefinition + RetryPolicy: MessageTypeDefinition + RemoteDataSource: MessageTypeDefinition + AsyncDataSource: MessageTypeDefinition + TransportSocket: MessageTypeDefinition + RuntimeFractionalPercent: MessageTypeDefinition + ControlPlane: MessageTypeDefinition + BackoffStrategy: MessageTypeDefinition + HttpUri: MessageTypeDefinition + Pipe: MessageTypeDefinition + SocketAddress: MessageTypeDefinition + TcpKeepalive: MessageTypeDefinition + BindConfig: MessageTypeDefinition + Address: MessageTypeDefinition + CidrRange: MessageTypeDefinition + SocketOption: MessageTypeDefinition + } + } + } + type: { + Percent: MessageTypeDefinition + FractionalPercent: MessageTypeDefinition + SemanticVersion: MessageTypeDefinition + } + } + udpa: { + annotations: { + PackageVersionStatus: EnumTypeDefinition + StatusAnnotation: MessageTypeDefinition + MigrateAnnotation: MessageTypeDefinition + FieldMigrateAnnotation: MessageTypeDefinition + FileMigrateAnnotation: MessageTypeDefinition + } + } + validate: { + FieldRules: MessageTypeDefinition + FloatRules: MessageTypeDefinition + DoubleRules: MessageTypeDefinition + Int32Rules: MessageTypeDefinition + Int64Rules: MessageTypeDefinition + UInt32Rules: MessageTypeDefinition + UInt64Rules: MessageTypeDefinition + SInt32Rules: MessageTypeDefinition + SInt64Rules: MessageTypeDefinition + Fixed32Rules: MessageTypeDefinition + Fixed64Rules: MessageTypeDefinition + SFixed32Rules: MessageTypeDefinition + SFixed64Rules: MessageTypeDefinition + BoolRules: MessageTypeDefinition + StringRules: MessageTypeDefinition + KnownRegex: EnumTypeDefinition + BytesRules: MessageTypeDefinition + EnumRules: MessageTypeDefinition + MessageRules: MessageTypeDefinition + RepeatedRules: MessageTypeDefinition + MapRules: MessageTypeDefinition + AnyRules: MessageTypeDefinition + DurationRules: MessageTypeDefinition + TimestampRules: MessageTypeDefinition + } + google: { + protobuf: { + Any: MessageTypeDefinition + Duration: MessageTypeDefinition + Struct: MessageTypeDefinition + Value: MessageTypeDefinition + NullValue: EnumTypeDefinition + ListValue: MessageTypeDefinition + DoubleValue: MessageTypeDefinition + FloatValue: MessageTypeDefinition + Int64Value: MessageTypeDefinition + UInt64Value: MessageTypeDefinition + Int32Value: MessageTypeDefinition + UInt32Value: MessageTypeDefinition + BoolValue: MessageTypeDefinition + StringValue: MessageTypeDefinition + BytesValue: MessageTypeDefinition + FileDescriptorSet: MessageTypeDefinition + FileDescriptorProto: MessageTypeDefinition + DescriptorProto: MessageTypeDefinition + FieldDescriptorProto: MessageTypeDefinition + OneofDescriptorProto: MessageTypeDefinition + EnumDescriptorProto: MessageTypeDefinition + EnumValueDescriptorProto: MessageTypeDefinition + ServiceDescriptorProto: MessageTypeDefinition + MethodDescriptorProto: MessageTypeDefinition + FileOptions: MessageTypeDefinition + MessageOptions: MessageTypeDefinition + FieldOptions: MessageTypeDefinition + OneofOptions: MessageTypeDefinition + EnumOptions: MessageTypeDefinition + EnumValueOptions: MessageTypeDefinition + ServiceOptions: MessageTypeDefinition + MethodOptions: MessageTypeDefinition + UninterpretedOption: MessageTypeDefinition + SourceCodeInfo: MessageTypeDefinition + GeneratedCodeInfo: MessageTypeDefinition + Timestamp: MessageTypeDefinition + } + rpc: { + Status: MessageTypeDefinition + } + } +} + +export namespace ServiceHandlers { + export namespace envoy { + export namespace service { + export namespace discovery { + export namespace v2 { + export interface AggregatedDiscoveryService { + StreamAggregatedResources(call: grpc.ServerDuplexStream): void; + + DeltaAggregatedResources(call: grpc.ServerDuplexStream): void; + + } + export namespace AdsDummy { + } + } + } + } + export namespace api { + export namespace v2 { + export namespace DiscoveryRequest { + } + export namespace DiscoveryResponse { + } + export namespace DeltaDiscoveryRequest { + } + export namespace DeltaDiscoveryResponse { + } + export namespace Resource { + } + export namespace core { + export namespace Locality { + } + export namespace BuildVersion { + } + export namespace Extension { + } + export namespace Node { + } + export namespace Metadata { + } + export namespace RuntimeUInt32 { + } + export namespace RuntimeDouble { + } + export namespace RuntimeFeatureFlag { + } + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HeaderMap { + } + export namespace DataSource { + } + export namespace RetryPolicy { + } + export namespace RemoteDataSource { + } + export namespace AsyncDataSource { + } + export namespace TransportSocket { + } + export namespace RuntimeFractionalPercent { + } + export namespace ControlPlane { + } + export namespace BackoffStrategy { + } + export namespace HttpUri { + } + export namespace Pipe { + } + export namespace SocketAddress { + } + export namespace TcpKeepalive { + } + export namespace BindConfig { + } + export namespace Address { + } + export namespace CidrRange { + } + export namespace SocketOption { + } + } + } + } + export namespace type { + export namespace Percent { + } + export namespace FractionalPercent { + } + export namespace SemanticVersion { + } + } + } + export namespace udpa { + export namespace annotations { + export namespace StatusAnnotation { + } + export namespace MigrateAnnotation { + } + export namespace FieldMigrateAnnotation { + } + export namespace FileMigrateAnnotation { + } + } + } + export namespace validate { + export namespace FieldRules { + } + export namespace FloatRules { + } + export namespace DoubleRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace BoolRules { + } + export namespace StringRules { + } + export namespace BytesRules { + } + export namespace EnumRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace MapRules { + } + export namespace AnyRules { + } + export namespace DurationRules { + } + export namespace TimestampRules { + } + } + export namespace google { + export namespace protobuf { + export namespace Any { + } + export namespace Duration { + } + export namespace Struct { + } + export namespace Value { + } + export namespace ListValue { + } + export namespace DoubleValue { + } + export namespace FloatValue { + } + export namespace Int64Value { + } + export namespace UInt64Value { + } + export namespace Int32Value { + } + export namespace UInt32Value { + } + export namespace BoolValue { + } + export namespace StringValue { + } + export namespace BytesValue { + } + export namespace FileDescriptorSet { + } + export namespace FileDescriptorProto { + } + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } + } + export namespace FieldDescriptorProto { + } + export namespace OneofDescriptorProto { + } + export namespace EnumDescriptorProto { + } + export namespace EnumValueDescriptorProto { + } + export namespace ServiceDescriptorProto { + } + export namespace MethodDescriptorProto { + } + export namespace FileOptions { + } + export namespace MessageOptions { + } + export namespace FieldOptions { + } + export namespace OneofOptions { + } + export namespace EnumOptions { + } + export namespace EnumValueOptions { + } + export namespace ServiceOptions { + } + export namespace MethodOptions { + } + export namespace UninterpretedOption { + export namespace NamePart { + } + } + export namespace SourceCodeInfo { + export namespace Location { + } + } + export namespace GeneratedCodeInfo { + export namespace Annotation { + } + } + export namespace Timestamp { + } + } + export namespace rpc { + export namespace Status { + } + } + } +} diff --git a/packages/grpc-js/src/generated/cluster.d.ts b/packages/grpc-js/src/generated/cluster.d.ts new file mode 100644 index 000000000..bb137fbdd --- /dev/null +++ b/packages/grpc-js/src/generated/cluster.d.ts @@ -0,0 +1,1471 @@ +import * as grpc from '../index'; +import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; + +import { Cluster as _envoy_api_v2_Cluster, Cluster__Output as _envoy_api_v2_Cluster__Output } from './envoy/api/v2/Cluster'; +import { LoadBalancingPolicy as _envoy_api_v2_LoadBalancingPolicy, LoadBalancingPolicy__Output as _envoy_api_v2_LoadBalancingPolicy__Output } from './envoy/api/v2/LoadBalancingPolicy'; +import { UpstreamBindConfig as _envoy_api_v2_UpstreamBindConfig, UpstreamBindConfig__Output as _envoy_api_v2_UpstreamBindConfig__Output } from './envoy/api/v2/UpstreamBindConfig'; +import { UpstreamConnectionOptions as _envoy_api_v2_UpstreamConnectionOptions, UpstreamConnectionOptions__Output as _envoy_api_v2_UpstreamConnectionOptions__Output } from './envoy/api/v2/UpstreamConnectionOptions'; +import { UpstreamTlsContext as _envoy_api_v2_auth_UpstreamTlsContext, UpstreamTlsContext__Output as _envoy_api_v2_auth_UpstreamTlsContext__Output } from './envoy/api/v2/auth/UpstreamTlsContext'; +import { DownstreamTlsContext as _envoy_api_v2_auth_DownstreamTlsContext, DownstreamTlsContext__Output as _envoy_api_v2_auth_DownstreamTlsContext__Output } from './envoy/api/v2/auth/DownstreamTlsContext'; +import { CommonTlsContext as _envoy_api_v2_auth_CommonTlsContext, CommonTlsContext__Output as _envoy_api_v2_auth_CommonTlsContext__Output } from './envoy/api/v2/auth/CommonTlsContext'; +import { GenericSecret as _envoy_api_v2_auth_GenericSecret, GenericSecret__Output as _envoy_api_v2_auth_GenericSecret__Output } from './envoy/api/v2/auth/GenericSecret'; +import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from './envoy/api/v2/auth/SdsSecretConfig'; +import { Secret as _envoy_api_v2_auth_Secret, Secret__Output as _envoy_api_v2_auth_Secret__Output } from './envoy/api/v2/auth/Secret'; +import { TlsParameters as _envoy_api_v2_auth_TlsParameters, TlsParameters__Output as _envoy_api_v2_auth_TlsParameters__Output } from './envoy/api/v2/auth/TlsParameters'; +import { PrivateKeyProvider as _envoy_api_v2_auth_PrivateKeyProvider, PrivateKeyProvider__Output as _envoy_api_v2_auth_PrivateKeyProvider__Output } from './envoy/api/v2/auth/PrivateKeyProvider'; +import { TlsCertificate as _envoy_api_v2_auth_TlsCertificate, TlsCertificate__Output as _envoy_api_v2_auth_TlsCertificate__Output } from './envoy/api/v2/auth/TlsCertificate'; +import { TlsSessionTicketKeys as _envoy_api_v2_auth_TlsSessionTicketKeys, TlsSessionTicketKeys__Output as _envoy_api_v2_auth_TlsSessionTicketKeys__Output } from './envoy/api/v2/auth/TlsSessionTicketKeys'; +import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from './envoy/api/v2/auth/CertificateValidationContext'; +import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; +import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; +import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; +import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; +import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; +import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; +import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; +import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; +import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; +import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; +import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; +import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; +import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; +import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; +import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; +import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; +import { HealthStatus as _envoy_api_v2_core_HealthStatus } from './envoy/api/v2/core/HealthStatus'; +import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from './envoy/api/v2/core/HealthCheck'; +import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; +import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; +import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; +import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; +import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; +import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; +import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; +import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from './envoy/api/v2/core/AggregatedConfigSource'; +import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from './envoy/api/v2/core/SelfConfigSource'; +import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; +import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; +import { TcpProtocolOptions as _envoy_api_v2_core_TcpProtocolOptions, TcpProtocolOptions__Output as _envoy_api_v2_core_TcpProtocolOptions__Output } from './envoy/api/v2/core/TcpProtocolOptions'; +import { UpstreamHttpProtocolOptions as _envoy_api_v2_core_UpstreamHttpProtocolOptions, UpstreamHttpProtocolOptions__Output as _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output } from './envoy/api/v2/core/UpstreamHttpProtocolOptions'; +import { HttpProtocolOptions as _envoy_api_v2_core_HttpProtocolOptions, HttpProtocolOptions__Output as _envoy_api_v2_core_HttpProtocolOptions__Output } from './envoy/api/v2/core/HttpProtocolOptions'; +import { Http1ProtocolOptions as _envoy_api_v2_core_Http1ProtocolOptions, Http1ProtocolOptions__Output as _envoy_api_v2_core_Http1ProtocolOptions__Output } from './envoy/api/v2/core/Http1ProtocolOptions'; +import { Http2ProtocolOptions as _envoy_api_v2_core_Http2ProtocolOptions, Http2ProtocolOptions__Output as _envoy_api_v2_core_Http2ProtocolOptions__Output } from './envoy/api/v2/core/Http2ProtocolOptions'; +import { GrpcProtocolOptions as _envoy_api_v2_core_GrpcProtocolOptions, GrpcProtocolOptions__Output as _envoy_api_v2_core_GrpcProtocolOptions__Output } from './envoy/api/v2/core/GrpcProtocolOptions'; +import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; +import { EventServiceConfig as _envoy_api_v2_core_EventServiceConfig, EventServiceConfig__Output as _envoy_api_v2_core_EventServiceConfig__Output } from './envoy/api/v2/core/EventServiceConfig'; +import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; +import { CircuitBreakers as _envoy_api_v2_cluster_CircuitBreakers, CircuitBreakers__Output as _envoy_api_v2_cluster_CircuitBreakers__Output } from './envoy/api/v2/cluster/CircuitBreakers'; +import { Filter as _envoy_api_v2_cluster_Filter, Filter__Output as _envoy_api_v2_cluster_Filter__Output } from './envoy/api/v2/cluster/Filter'; +import { OutlierDetection as _envoy_api_v2_cluster_OutlierDetection, OutlierDetection__Output as _envoy_api_v2_cluster_OutlierDetection__Output } from './envoy/api/v2/cluster/OutlierDetection'; +import { ClusterLoadAssignment as _envoy_api_v2_ClusterLoadAssignment, ClusterLoadAssignment__Output as _envoy_api_v2_ClusterLoadAssignment__Output } from './envoy/api/v2/ClusterLoadAssignment'; +import { Endpoint as _envoy_api_v2_endpoint_Endpoint, Endpoint__Output as _envoy_api_v2_endpoint_Endpoint__Output } from './envoy/api/v2/endpoint/Endpoint'; +import { LbEndpoint as _envoy_api_v2_endpoint_LbEndpoint, LbEndpoint__Output as _envoy_api_v2_endpoint_LbEndpoint__Output } from './envoy/api/v2/endpoint/LbEndpoint'; +import { LocalityLbEndpoints as _envoy_api_v2_endpoint_LocalityLbEndpoints, LocalityLbEndpoints__Output as _envoy_api_v2_endpoint_LocalityLbEndpoints__Output } from './envoy/api/v2/endpoint/LocalityLbEndpoints'; +import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; +import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; +import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; +import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; +import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; +import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; +import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; +import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; +import { CodecClientType as _envoy_type_CodecClientType } from './envoy/type/CodecClientType'; +import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; +import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; +import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; +import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; +import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; +import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; +import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; +import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; +import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; +import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; +import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; +import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; +import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; +import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; +import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; +import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; +import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; +import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; +import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; +import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; +import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; +import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; +import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; +import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; +import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; +import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; +import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; +import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; +import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; +import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; +import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; +import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; +import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; +import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; +import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; +import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; +import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; +import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; +import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; +import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; +import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; +import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; +import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; +import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; +import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; +import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; +import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; +import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; +import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; +import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; +import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; +import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; +import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; +import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; +import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; +import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; +import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; +import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; +import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; +import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; +import { Http as _google_api_Http, Http__Output as _google_api_Http__Output } from './google/api/Http'; +import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from './google/api/HttpRule'; +import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from './google/api/CustomHttpPattern'; + +export namespace messages { + export namespace envoy { + export namespace api { + export namespace v2 { + export type Cluster = _envoy_api_v2_Cluster; + export type Cluster__Output = _envoy_api_v2_Cluster__Output; + export type LoadBalancingPolicy = _envoy_api_v2_LoadBalancingPolicy; + export type LoadBalancingPolicy__Output = _envoy_api_v2_LoadBalancingPolicy__Output; + export type UpstreamBindConfig = _envoy_api_v2_UpstreamBindConfig; + export type UpstreamBindConfig__Output = _envoy_api_v2_UpstreamBindConfig__Output; + export type UpstreamConnectionOptions = _envoy_api_v2_UpstreamConnectionOptions; + export type UpstreamConnectionOptions__Output = _envoy_api_v2_UpstreamConnectionOptions__Output; + export namespace auth { + export type UpstreamTlsContext = _envoy_api_v2_auth_UpstreamTlsContext; + export type UpstreamTlsContext__Output = _envoy_api_v2_auth_UpstreamTlsContext__Output; + export type DownstreamTlsContext = _envoy_api_v2_auth_DownstreamTlsContext; + export type DownstreamTlsContext__Output = _envoy_api_v2_auth_DownstreamTlsContext__Output; + export type CommonTlsContext = _envoy_api_v2_auth_CommonTlsContext; + export type CommonTlsContext__Output = _envoy_api_v2_auth_CommonTlsContext__Output; + export type GenericSecret = _envoy_api_v2_auth_GenericSecret; + export type GenericSecret__Output = _envoy_api_v2_auth_GenericSecret__Output; + export type SdsSecretConfig = _envoy_api_v2_auth_SdsSecretConfig; + export type SdsSecretConfig__Output = _envoy_api_v2_auth_SdsSecretConfig__Output; + export type Secret = _envoy_api_v2_auth_Secret; + export type Secret__Output = _envoy_api_v2_auth_Secret__Output; + export type TlsParameters = _envoy_api_v2_auth_TlsParameters; + export type TlsParameters__Output = _envoy_api_v2_auth_TlsParameters__Output; + export type PrivateKeyProvider = _envoy_api_v2_auth_PrivateKeyProvider; + export type PrivateKeyProvider__Output = _envoy_api_v2_auth_PrivateKeyProvider__Output; + export type TlsCertificate = _envoy_api_v2_auth_TlsCertificate; + export type TlsCertificate__Output = _envoy_api_v2_auth_TlsCertificate__Output; + export type TlsSessionTicketKeys = _envoy_api_v2_auth_TlsSessionTicketKeys; + export type TlsSessionTicketKeys__Output = _envoy_api_v2_auth_TlsSessionTicketKeys__Output; + export type CertificateValidationContext = _envoy_api_v2_auth_CertificateValidationContext; + export type CertificateValidationContext__Output = _envoy_api_v2_auth_CertificateValidationContext__Output; + } + export namespace core { + export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + export type RequestMethod = _envoy_api_v2_core_RequestMethod; + export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + export type Locality = _envoy_api_v2_core_Locality; + export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type BuildVersion = _envoy_api_v2_core_BuildVersion; + export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + export type Extension = _envoy_api_v2_core_Extension; + export type Extension__Output = _envoy_api_v2_core_Extension__Output; + export type Node = _envoy_api_v2_core_Node; + export type Node__Output = _envoy_api_v2_core_Node__Output; + export type Metadata = _envoy_api_v2_core_Metadata; + export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; + export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + export type HeaderValue = _envoy_api_v2_core_HeaderValue; + export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; + export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; + export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; + export type HeaderMap = _envoy_api_v2_core_HeaderMap; + export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; + export type DataSource = _envoy_api_v2_core_DataSource; + export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; + export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; + export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; + export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + export type TransportSocket = _envoy_api_v2_core_TransportSocket; + export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; + export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; + export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; + export type ControlPlane = _envoy_api_v2_core_ControlPlane; + export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + export type HealthStatus = _envoy_api_v2_core_HealthStatus; + export type HealthCheck = _envoy_api_v2_core_HealthCheck; + export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; + export type Pipe = _envoy_api_v2_core_Pipe; + export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + export type SocketAddress = _envoy_api_v2_core_SocketAddress; + export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; + export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; + export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + export type BindConfig = _envoy_api_v2_core_BindConfig; + export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; + export type Address = _envoy_api_v2_core_Address; + export type Address__Output = _envoy_api_v2_core_Address__Output; + export type CidrRange = _envoy_api_v2_core_CidrRange; + export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + export type ApiVersion = _envoy_api_v2_core_ApiVersion; + export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; + export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; + export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; + export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; + export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; + export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; + export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; + export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; + export type ConfigSource = _envoy_api_v2_core_ConfigSource; + export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; + export type TcpProtocolOptions = _envoy_api_v2_core_TcpProtocolOptions; + export type TcpProtocolOptions__Output = _envoy_api_v2_core_TcpProtocolOptions__Output; + export type UpstreamHttpProtocolOptions = _envoy_api_v2_core_UpstreamHttpProtocolOptions; + export type UpstreamHttpProtocolOptions__Output = _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output; + export type HttpProtocolOptions = _envoy_api_v2_core_HttpProtocolOptions; + export type HttpProtocolOptions__Output = _envoy_api_v2_core_HttpProtocolOptions__Output; + export type Http1ProtocolOptions = _envoy_api_v2_core_Http1ProtocolOptions; + export type Http1ProtocolOptions__Output = _envoy_api_v2_core_Http1ProtocolOptions__Output; + export type Http2ProtocolOptions = _envoy_api_v2_core_Http2ProtocolOptions; + export type Http2ProtocolOptions__Output = _envoy_api_v2_core_Http2ProtocolOptions__Output; + export type GrpcProtocolOptions = _envoy_api_v2_core_GrpcProtocolOptions; + export type GrpcProtocolOptions__Output = _envoy_api_v2_core_GrpcProtocolOptions__Output; + export type SocketOption = _envoy_api_v2_core_SocketOption; + export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type EventServiceConfig = _envoy_api_v2_core_EventServiceConfig; + export type EventServiceConfig__Output = _envoy_api_v2_core_EventServiceConfig__Output; + export type GrpcService = _envoy_api_v2_core_GrpcService; + export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + } + export namespace cluster { + export type CircuitBreakers = _envoy_api_v2_cluster_CircuitBreakers; + export type CircuitBreakers__Output = _envoy_api_v2_cluster_CircuitBreakers__Output; + export type Filter = _envoy_api_v2_cluster_Filter; + export type Filter__Output = _envoy_api_v2_cluster_Filter__Output; + export type OutlierDetection = _envoy_api_v2_cluster_OutlierDetection; + export type OutlierDetection__Output = _envoy_api_v2_cluster_OutlierDetection__Output; + } + export type ClusterLoadAssignment = _envoy_api_v2_ClusterLoadAssignment; + export type ClusterLoadAssignment__Output = _envoy_api_v2_ClusterLoadAssignment__Output; + export namespace endpoint { + export type Endpoint = _envoy_api_v2_endpoint_Endpoint; + export type Endpoint__Output = _envoy_api_v2_endpoint_Endpoint__Output; + export type LbEndpoint = _envoy_api_v2_endpoint_LbEndpoint; + export type LbEndpoint__Output = _envoy_api_v2_endpoint_LbEndpoint__Output; + export type LocalityLbEndpoints = _envoy_api_v2_endpoint_LocalityLbEndpoints; + export type LocalityLbEndpoints__Output = _envoy_api_v2_endpoint_LocalityLbEndpoints__Output; + } + } + } + export namespace type { + export type Percent = _envoy_type_Percent; + export type Percent__Output = _envoy_type_Percent__Output; + export type FractionalPercent = _envoy_type_FractionalPercent; + export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + export type SemanticVersion = _envoy_type_SemanticVersion; + export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; + export type Int64Range = _envoy_type_Int64Range; + export type Int64Range__Output = _envoy_type_Int64Range__Output; + export type Int32Range = _envoy_type_Int32Range; + export type Int32Range__Output = _envoy_type_Int32Range__Output; + export type DoubleRange = _envoy_type_DoubleRange; + export type DoubleRange__Output = _envoy_type_DoubleRange__Output; + export namespace matcher { + export type StringMatcher = _envoy_type_matcher_StringMatcher; + export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; + export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; + export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; + export type RegexMatcher = _envoy_type_matcher_RegexMatcher; + export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; + export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; + export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; + } + export type CodecClientType = _envoy_type_CodecClientType; + } + export namespace annotations { + } + } + export namespace udpa { + export namespace annotations { + export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; + export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; + export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; + export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; + export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; + export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; + export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; + export type StatusAnnotation = _udpa_annotations_StatusAnnotation; + export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; + } + } + export namespace validate { + export type FieldRules = _validate_FieldRules; + export type FieldRules__Output = _validate_FieldRules__Output; + export type FloatRules = _validate_FloatRules; + export type FloatRules__Output = _validate_FloatRules__Output; + export type DoubleRules = _validate_DoubleRules; + export type DoubleRules__Output = _validate_DoubleRules__Output; + export type Int32Rules = _validate_Int32Rules; + export type Int32Rules__Output = _validate_Int32Rules__Output; + export type Int64Rules = _validate_Int64Rules; + export type Int64Rules__Output = _validate_Int64Rules__Output; + export type UInt32Rules = _validate_UInt32Rules; + export type UInt32Rules__Output = _validate_UInt32Rules__Output; + export type UInt64Rules = _validate_UInt64Rules; + export type UInt64Rules__Output = _validate_UInt64Rules__Output; + export type SInt32Rules = _validate_SInt32Rules; + export type SInt32Rules__Output = _validate_SInt32Rules__Output; + export type SInt64Rules = _validate_SInt64Rules; + export type SInt64Rules__Output = _validate_SInt64Rules__Output; + export type Fixed32Rules = _validate_Fixed32Rules; + export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + export type Fixed64Rules = _validate_Fixed64Rules; + export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + export type SFixed32Rules = _validate_SFixed32Rules; + export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + export type SFixed64Rules = _validate_SFixed64Rules; + export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + export type BoolRules = _validate_BoolRules; + export type BoolRules__Output = _validate_BoolRules__Output; + export type StringRules = _validate_StringRules; + export type StringRules__Output = _validate_StringRules__Output; + export type KnownRegex = _validate_KnownRegex; + export type BytesRules = _validate_BytesRules; + export type BytesRules__Output = _validate_BytesRules__Output; + export type EnumRules = _validate_EnumRules; + export type EnumRules__Output = _validate_EnumRules__Output; + export type MessageRules = _validate_MessageRules; + export type MessageRules__Output = _validate_MessageRules__Output; + export type RepeatedRules = _validate_RepeatedRules; + export type RepeatedRules__Output = _validate_RepeatedRules__Output; + export type MapRules = _validate_MapRules; + export type MapRules__Output = _validate_MapRules__Output; + export type AnyRules = _validate_AnyRules; + export type AnyRules__Output = _validate_AnyRules__Output; + export type DurationRules = _validate_DurationRules; + export type DurationRules__Output = _validate_DurationRules__Output; + export type TimestampRules = _validate_TimestampRules; + export type TimestampRules__Output = _validate_TimestampRules__Output; + } + export namespace google { + export namespace protobuf { + export type Any = _google_protobuf_Any; + export type Any__Output = _google_protobuf_Any__Output; + export type Duration = _google_protobuf_Duration; + export type Duration__Output = _google_protobuf_Duration__Output; + export type Struct = _google_protobuf_Struct; + export type Struct__Output = _google_protobuf_Struct__Output; + export type Value = _google_protobuf_Value; + export type Value__Output = _google_protobuf_Value__Output; + export type NullValue = _google_protobuf_NullValue; + export type ListValue = _google_protobuf_ListValue; + export type ListValue__Output = _google_protobuf_ListValue__Output; + export type DoubleValue = _google_protobuf_DoubleValue; + export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; + export type FloatValue = _google_protobuf_FloatValue; + export type FloatValue__Output = _google_protobuf_FloatValue__Output; + export type Int64Value = _google_protobuf_Int64Value; + export type Int64Value__Output = _google_protobuf_Int64Value__Output; + export type UInt64Value = _google_protobuf_UInt64Value; + export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; + export type Int32Value = _google_protobuf_Int32Value; + export type Int32Value__Output = _google_protobuf_Int32Value__Output; + export type UInt32Value = _google_protobuf_UInt32Value; + export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; + export type BoolValue = _google_protobuf_BoolValue; + export type BoolValue__Output = _google_protobuf_BoolValue__Output; + export type StringValue = _google_protobuf_StringValue; + export type StringValue__Output = _google_protobuf_StringValue__Output; + export type BytesValue = _google_protobuf_BytesValue; + export type BytesValue__Output = _google_protobuf_BytesValue__Output; + export type Timestamp = _google_protobuf_Timestamp; + export type Timestamp__Output = _google_protobuf_Timestamp__Output; + export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; + export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; + export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; + export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; + export type DescriptorProto = _google_protobuf_DescriptorProto; + export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; + export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; + export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; + export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; + export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; + export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; + export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; + export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; + export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; + export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; + export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; + export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; + export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type FileOptions = _google_protobuf_FileOptions; + export type FileOptions__Output = _google_protobuf_FileOptions__Output; + export type MessageOptions = _google_protobuf_MessageOptions; + export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; + export type FieldOptions = _google_protobuf_FieldOptions; + export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type OneofOptions = _google_protobuf_OneofOptions; + export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; + export type EnumOptions = _google_protobuf_EnumOptions; + export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; + export type EnumValueOptions = _google_protobuf_EnumValueOptions; + export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type ServiceOptions = _google_protobuf_ServiceOptions; + export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; + export type MethodOptions = _google_protobuf_MethodOptions; + export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; + export type UninterpretedOption = _google_protobuf_UninterpretedOption; + export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; + export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; + export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; + export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; + export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; + export type Empty = _google_protobuf_Empty; + export type Empty__Output = _google_protobuf_Empty__Output; + } + export namespace api { + export type Http = _google_api_Http; + export type Http__Output = _google_api_Http__Output; + export type HttpRule = _google_api_HttpRule; + export type HttpRule__Output = _google_api_HttpRule__Output; + export type CustomHttpPattern = _google_api_CustomHttpPattern; + export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; + } + } +} + +export namespace ClientInterfaces { + export namespace envoy { + export namespace api { + export namespace v2 { + export namespace Cluster { + export namespace TransportSocketMatch { + } + export namespace CustomClusterType { + } + export namespace EdsClusterConfig { + } + export namespace LbSubsetConfig { + export namespace LbSubsetSelector { + } + } + export namespace LeastRequestLbConfig { + } + export namespace RingHashLbConfig { + } + export namespace OriginalDstLbConfig { + } + export namespace CommonLbConfig { + export namespace ZoneAwareLbConfig { + } + export namespace LocalityWeightedLbConfig { + } + export namespace ConsistentHashingLbConfig { + } + } + export namespace RefreshRate { + } + } + export namespace LoadBalancingPolicy { + export namespace Policy { + } + } + export namespace UpstreamBindConfig { + } + export namespace UpstreamConnectionOptions { + } + export namespace auth { + export namespace UpstreamTlsContext { + } + export namespace DownstreamTlsContext { + } + export namespace CommonTlsContext { + export namespace CombinedCertificateValidationContext { + } + } + export namespace GenericSecret { + } + export namespace SdsSecretConfig { + } + export namespace Secret { + } + export namespace TlsParameters { + } + export namespace PrivateKeyProvider { + } + export namespace TlsCertificate { + } + export namespace TlsSessionTicketKeys { + } + export namespace CertificateValidationContext { + } + } + export namespace core { + export namespace Locality { + } + export namespace BuildVersion { + } + export namespace Extension { + } + export namespace Node { + } + export namespace Metadata { + } + export namespace RuntimeUInt32 { + } + export namespace RuntimeDouble { + } + export namespace RuntimeFeatureFlag { + } + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HeaderMap { + } + export namespace DataSource { + } + export namespace RetryPolicy { + } + export namespace RemoteDataSource { + } + export namespace AsyncDataSource { + } + export namespace TransportSocket { + } + export namespace RuntimeFractionalPercent { + } + export namespace ControlPlane { + } + export namespace HealthCheck { + export namespace Payload { + } + export namespace HttpHealthCheck { + } + export namespace TcpHealthCheck { + } + export namespace RedisHealthCheck { + } + export namespace GrpcHealthCheck { + } + export namespace CustomHealthCheck { + } + export namespace TlsOptions { + } + } + export namespace Pipe { + } + export namespace SocketAddress { + } + export namespace TcpKeepalive { + } + export namespace BindConfig { + } + export namespace Address { + } + export namespace CidrRange { + } + export namespace ApiConfigSource { + } + export namespace AggregatedConfigSource { + } + export namespace SelfConfigSource { + } + export namespace RateLimitSettings { + } + export namespace ConfigSource { + } + export namespace TcpProtocolOptions { + } + export namespace UpstreamHttpProtocolOptions { + } + export namespace HttpProtocolOptions { + } + export namespace Http1ProtocolOptions { + export namespace HeaderKeyFormat { + export namespace ProperCaseWords { + } + } + } + export namespace Http2ProtocolOptions { + export namespace SettingsParameter { + } + } + export namespace GrpcProtocolOptions { + } + export namespace SocketOption { + } + export namespace HttpUri { + } + export namespace BackoffStrategy { + } + export namespace EventServiceConfig { + } + export namespace GrpcService { + export namespace EnvoyGrpc { + } + export namespace GoogleGrpc { + export namespace SslCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace ChannelCredentials { + } + export namespace CallCredentials { + export namespace ServiceAccountJWTAccessCredentials { + } + export namespace GoogleIAMCredentials { + } + export namespace MetadataCredentialsFromPlugin { + } + export namespace StsService { + } + } + } + } + } + export namespace cluster { + export namespace CircuitBreakers { + export namespace Thresholds { + export namespace RetryBudget { + } + } + } + export namespace Filter { + } + export namespace OutlierDetection { + } + } + export namespace ClusterLoadAssignment { + export namespace Policy { + export namespace DropOverload { + } + } + } + export namespace endpoint { + export namespace Endpoint { + export namespace HealthCheckConfig { + } + } + export namespace LbEndpoint { + } + export namespace LocalityLbEndpoints { + } + } + } + } + export namespace type { + export namespace Percent { + } + export namespace FractionalPercent { + } + export namespace SemanticVersion { + } + export namespace Int64Range { + } + export namespace Int32Range { + } + export namespace DoubleRange { + } + export namespace matcher { + export namespace StringMatcher { + } + export namespace ListStringMatcher { + } + export namespace RegexMatcher { + export namespace GoogleRE2 { + } + } + export namespace RegexMatchAndSubstitute { + } + } + } + export namespace annotations { + } + } + export namespace udpa { + export namespace annotations { + export namespace MigrateAnnotation { + } + export namespace FieldMigrateAnnotation { + } + export namespace FileMigrateAnnotation { + } + export namespace StatusAnnotation { + } + } + } + export namespace validate { + export namespace FieldRules { + } + export namespace FloatRules { + } + export namespace DoubleRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace BoolRules { + } + export namespace StringRules { + } + export namespace BytesRules { + } + export namespace EnumRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace MapRules { + } + export namespace AnyRules { + } + export namespace DurationRules { + } + export namespace TimestampRules { + } + } + export namespace google { + export namespace protobuf { + export namespace Any { + } + export namespace Duration { + } + export namespace Struct { + } + export namespace Value { + } + export namespace ListValue { + } + export namespace DoubleValue { + } + export namespace FloatValue { + } + export namespace Int64Value { + } + export namespace UInt64Value { + } + export namespace Int32Value { + } + export namespace UInt32Value { + } + export namespace BoolValue { + } + export namespace StringValue { + } + export namespace BytesValue { + } + export namespace Timestamp { + } + export namespace FileDescriptorSet { + } + export namespace FileDescriptorProto { + } + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } + } + export namespace FieldDescriptorProto { + } + export namespace OneofDescriptorProto { + } + export namespace EnumDescriptorProto { + } + export namespace EnumValueDescriptorProto { + } + export namespace ServiceDescriptorProto { + } + export namespace MethodDescriptorProto { + } + export namespace FileOptions { + } + export namespace MessageOptions { + } + export namespace FieldOptions { + } + export namespace OneofOptions { + } + export namespace EnumOptions { + } + export namespace EnumValueOptions { + } + export namespace ServiceOptions { + } + export namespace MethodOptions { + } + export namespace UninterpretedOption { + export namespace NamePart { + } + } + export namespace SourceCodeInfo { + export namespace Location { + } + } + export namespace GeneratedCodeInfo { + export namespace Annotation { + } + } + export namespace Empty { + } + } + export namespace api { + export namespace Http { + } + export namespace HttpRule { + } + export namespace CustomHttpPattern { + } + } + } +} + +type ConstructorArguments = Constructor extends new (...args: infer Args) => any ? Args: never; +type SubtypeConstructor = { + new(...args: ConstructorArguments): Subtype; +} + +export interface ProtoGrpcType { + envoy: { + api: { + v2: { + Cluster: MessageTypeDefinition + LoadBalancingPolicy: MessageTypeDefinition + UpstreamBindConfig: MessageTypeDefinition + UpstreamConnectionOptions: MessageTypeDefinition + auth: { + UpstreamTlsContext: MessageTypeDefinition + DownstreamTlsContext: MessageTypeDefinition + CommonTlsContext: MessageTypeDefinition + GenericSecret: MessageTypeDefinition + SdsSecretConfig: MessageTypeDefinition + Secret: MessageTypeDefinition + TlsParameters: MessageTypeDefinition + PrivateKeyProvider: MessageTypeDefinition + TlsCertificate: MessageTypeDefinition + TlsSessionTicketKeys: MessageTypeDefinition + CertificateValidationContext: MessageTypeDefinition + } + core: { + RoutingPriority: EnumTypeDefinition + RequestMethod: EnumTypeDefinition + TrafficDirection: EnumTypeDefinition + Locality: MessageTypeDefinition + BuildVersion: MessageTypeDefinition + Extension: MessageTypeDefinition + Node: MessageTypeDefinition + Metadata: MessageTypeDefinition + RuntimeUInt32: MessageTypeDefinition + RuntimeDouble: MessageTypeDefinition + RuntimeFeatureFlag: MessageTypeDefinition + HeaderValue: MessageTypeDefinition + HeaderValueOption: MessageTypeDefinition + HeaderMap: MessageTypeDefinition + DataSource: MessageTypeDefinition + RetryPolicy: MessageTypeDefinition + RemoteDataSource: MessageTypeDefinition + AsyncDataSource: MessageTypeDefinition + TransportSocket: MessageTypeDefinition + RuntimeFractionalPercent: MessageTypeDefinition + ControlPlane: MessageTypeDefinition + HealthStatus: EnumTypeDefinition + HealthCheck: MessageTypeDefinition + Pipe: MessageTypeDefinition + SocketAddress: MessageTypeDefinition + TcpKeepalive: MessageTypeDefinition + BindConfig: MessageTypeDefinition + Address: MessageTypeDefinition + CidrRange: MessageTypeDefinition + ApiVersion: EnumTypeDefinition + ApiConfigSource: MessageTypeDefinition + AggregatedConfigSource: MessageTypeDefinition + SelfConfigSource: MessageTypeDefinition + RateLimitSettings: MessageTypeDefinition + ConfigSource: MessageTypeDefinition + TcpProtocolOptions: MessageTypeDefinition + UpstreamHttpProtocolOptions: MessageTypeDefinition + HttpProtocolOptions: MessageTypeDefinition + Http1ProtocolOptions: MessageTypeDefinition + Http2ProtocolOptions: MessageTypeDefinition + GrpcProtocolOptions: MessageTypeDefinition + SocketOption: MessageTypeDefinition + HttpUri: MessageTypeDefinition + BackoffStrategy: MessageTypeDefinition + EventServiceConfig: MessageTypeDefinition + GrpcService: MessageTypeDefinition + } + cluster: { + CircuitBreakers: MessageTypeDefinition + Filter: MessageTypeDefinition + OutlierDetection: MessageTypeDefinition + } + ClusterLoadAssignment: MessageTypeDefinition + endpoint: { + Endpoint: MessageTypeDefinition + LbEndpoint: MessageTypeDefinition + LocalityLbEndpoints: MessageTypeDefinition + } + } + } + type: { + Percent: MessageTypeDefinition + FractionalPercent: MessageTypeDefinition + SemanticVersion: MessageTypeDefinition + Int64Range: MessageTypeDefinition + Int32Range: MessageTypeDefinition + DoubleRange: MessageTypeDefinition + matcher: { + StringMatcher: MessageTypeDefinition + ListStringMatcher: MessageTypeDefinition + RegexMatcher: MessageTypeDefinition + RegexMatchAndSubstitute: MessageTypeDefinition + } + CodecClientType: EnumTypeDefinition + } + annotations: { + } + } + udpa: { + annotations: { + MigrateAnnotation: MessageTypeDefinition + FieldMigrateAnnotation: MessageTypeDefinition + FileMigrateAnnotation: MessageTypeDefinition + PackageVersionStatus: EnumTypeDefinition + StatusAnnotation: MessageTypeDefinition + } + } + validate: { + FieldRules: MessageTypeDefinition + FloatRules: MessageTypeDefinition + DoubleRules: MessageTypeDefinition + Int32Rules: MessageTypeDefinition + Int64Rules: MessageTypeDefinition + UInt32Rules: MessageTypeDefinition + UInt64Rules: MessageTypeDefinition + SInt32Rules: MessageTypeDefinition + SInt64Rules: MessageTypeDefinition + Fixed32Rules: MessageTypeDefinition + Fixed64Rules: MessageTypeDefinition + SFixed32Rules: MessageTypeDefinition + SFixed64Rules: MessageTypeDefinition + BoolRules: MessageTypeDefinition + StringRules: MessageTypeDefinition + KnownRegex: EnumTypeDefinition + BytesRules: MessageTypeDefinition + EnumRules: MessageTypeDefinition + MessageRules: MessageTypeDefinition + RepeatedRules: MessageTypeDefinition + MapRules: MessageTypeDefinition + AnyRules: MessageTypeDefinition + DurationRules: MessageTypeDefinition + TimestampRules: MessageTypeDefinition + } + google: { + protobuf: { + Any: MessageTypeDefinition + Duration: MessageTypeDefinition + Struct: MessageTypeDefinition + Value: MessageTypeDefinition + NullValue: EnumTypeDefinition + ListValue: MessageTypeDefinition + DoubleValue: MessageTypeDefinition + FloatValue: MessageTypeDefinition + Int64Value: MessageTypeDefinition + UInt64Value: MessageTypeDefinition + Int32Value: MessageTypeDefinition + UInt32Value: MessageTypeDefinition + BoolValue: MessageTypeDefinition + StringValue: MessageTypeDefinition + BytesValue: MessageTypeDefinition + Timestamp: MessageTypeDefinition + FileDescriptorSet: MessageTypeDefinition + FileDescriptorProto: MessageTypeDefinition + DescriptorProto: MessageTypeDefinition + FieldDescriptorProto: MessageTypeDefinition + OneofDescriptorProto: MessageTypeDefinition + EnumDescriptorProto: MessageTypeDefinition + EnumValueDescriptorProto: MessageTypeDefinition + ServiceDescriptorProto: MessageTypeDefinition + MethodDescriptorProto: MessageTypeDefinition + FileOptions: MessageTypeDefinition + MessageOptions: MessageTypeDefinition + FieldOptions: MessageTypeDefinition + OneofOptions: MessageTypeDefinition + EnumOptions: MessageTypeDefinition + EnumValueOptions: MessageTypeDefinition + ServiceOptions: MessageTypeDefinition + MethodOptions: MessageTypeDefinition + UninterpretedOption: MessageTypeDefinition + SourceCodeInfo: MessageTypeDefinition + GeneratedCodeInfo: MessageTypeDefinition + Empty: MessageTypeDefinition + } + api: { + Http: MessageTypeDefinition + HttpRule: MessageTypeDefinition + CustomHttpPattern: MessageTypeDefinition + } + } +} + +export namespace ServiceHandlers { + export namespace envoy { + export namespace api { + export namespace v2 { + export namespace Cluster { + export namespace TransportSocketMatch { + } + export namespace CustomClusterType { + } + export namespace EdsClusterConfig { + } + export namespace LbSubsetConfig { + export namespace LbSubsetSelector { + } + } + export namespace LeastRequestLbConfig { + } + export namespace RingHashLbConfig { + } + export namespace OriginalDstLbConfig { + } + export namespace CommonLbConfig { + export namespace ZoneAwareLbConfig { + } + export namespace LocalityWeightedLbConfig { + } + export namespace ConsistentHashingLbConfig { + } + } + export namespace RefreshRate { + } + } + export namespace LoadBalancingPolicy { + export namespace Policy { + } + } + export namespace UpstreamBindConfig { + } + export namespace UpstreamConnectionOptions { + } + export namespace auth { + export namespace UpstreamTlsContext { + } + export namespace DownstreamTlsContext { + } + export namespace CommonTlsContext { + export namespace CombinedCertificateValidationContext { + } + } + export namespace GenericSecret { + } + export namespace SdsSecretConfig { + } + export namespace Secret { + } + export namespace TlsParameters { + } + export namespace PrivateKeyProvider { + } + export namespace TlsCertificate { + } + export namespace TlsSessionTicketKeys { + } + export namespace CertificateValidationContext { + } + } + export namespace core { + export namespace Locality { + } + export namespace BuildVersion { + } + export namespace Extension { + } + export namespace Node { + } + export namespace Metadata { + } + export namespace RuntimeUInt32 { + } + export namespace RuntimeDouble { + } + export namespace RuntimeFeatureFlag { + } + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HeaderMap { + } + export namespace DataSource { + } + export namespace RetryPolicy { + } + export namespace RemoteDataSource { + } + export namespace AsyncDataSource { + } + export namespace TransportSocket { + } + export namespace RuntimeFractionalPercent { + } + export namespace ControlPlane { + } + export namespace HealthCheck { + export namespace Payload { + } + export namespace HttpHealthCheck { + } + export namespace TcpHealthCheck { + } + export namespace RedisHealthCheck { + } + export namespace GrpcHealthCheck { + } + export namespace CustomHealthCheck { + } + export namespace TlsOptions { + } + } + export namespace Pipe { + } + export namespace SocketAddress { + } + export namespace TcpKeepalive { + } + export namespace BindConfig { + } + export namespace Address { + } + export namespace CidrRange { + } + export namespace ApiConfigSource { + } + export namespace AggregatedConfigSource { + } + export namespace SelfConfigSource { + } + export namespace RateLimitSettings { + } + export namespace ConfigSource { + } + export namespace TcpProtocolOptions { + } + export namespace UpstreamHttpProtocolOptions { + } + export namespace HttpProtocolOptions { + } + export namespace Http1ProtocolOptions { + export namespace HeaderKeyFormat { + export namespace ProperCaseWords { + } + } + } + export namespace Http2ProtocolOptions { + export namespace SettingsParameter { + } + } + export namespace GrpcProtocolOptions { + } + export namespace SocketOption { + } + export namespace HttpUri { + } + export namespace BackoffStrategy { + } + export namespace EventServiceConfig { + } + export namespace GrpcService { + export namespace EnvoyGrpc { + } + export namespace GoogleGrpc { + export namespace SslCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace ChannelCredentials { + } + export namespace CallCredentials { + export namespace ServiceAccountJWTAccessCredentials { + } + export namespace GoogleIAMCredentials { + } + export namespace MetadataCredentialsFromPlugin { + } + export namespace StsService { + } + } + } + } + } + export namespace cluster { + export namespace CircuitBreakers { + export namespace Thresholds { + export namespace RetryBudget { + } + } + } + export namespace Filter { + } + export namespace OutlierDetection { + } + } + export namespace ClusterLoadAssignment { + export namespace Policy { + export namespace DropOverload { + } + } + } + export namespace endpoint { + export namespace Endpoint { + export namespace HealthCheckConfig { + } + } + export namespace LbEndpoint { + } + export namespace LocalityLbEndpoints { + } + } + } + } + export namespace type { + export namespace Percent { + } + export namespace FractionalPercent { + } + export namespace SemanticVersion { + } + export namespace Int64Range { + } + export namespace Int32Range { + } + export namespace DoubleRange { + } + export namespace matcher { + export namespace StringMatcher { + } + export namespace ListStringMatcher { + } + export namespace RegexMatcher { + export namespace GoogleRE2 { + } + } + export namespace RegexMatchAndSubstitute { + } + } + } + export namespace annotations { + } + } + export namespace udpa { + export namespace annotations { + export namespace MigrateAnnotation { + } + export namespace FieldMigrateAnnotation { + } + export namespace FileMigrateAnnotation { + } + export namespace StatusAnnotation { + } + } + } + export namespace validate { + export namespace FieldRules { + } + export namespace FloatRules { + } + export namespace DoubleRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace BoolRules { + } + export namespace StringRules { + } + export namespace BytesRules { + } + export namespace EnumRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace MapRules { + } + export namespace AnyRules { + } + export namespace DurationRules { + } + export namespace TimestampRules { + } + } + export namespace google { + export namespace protobuf { + export namespace Any { + } + export namespace Duration { + } + export namespace Struct { + } + export namespace Value { + } + export namespace ListValue { + } + export namespace DoubleValue { + } + export namespace FloatValue { + } + export namespace Int64Value { + } + export namespace UInt64Value { + } + export namespace Int32Value { + } + export namespace UInt32Value { + } + export namespace BoolValue { + } + export namespace StringValue { + } + export namespace BytesValue { + } + export namespace Timestamp { + } + export namespace FileDescriptorSet { + } + export namespace FileDescriptorProto { + } + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } + } + export namespace FieldDescriptorProto { + } + export namespace OneofDescriptorProto { + } + export namespace EnumDescriptorProto { + } + export namespace EnumValueDescriptorProto { + } + export namespace ServiceDescriptorProto { + } + export namespace MethodDescriptorProto { + } + export namespace FileOptions { + } + export namespace MessageOptions { + } + export namespace FieldOptions { + } + export namespace OneofOptions { + } + export namespace EnumOptions { + } + export namespace EnumValueOptions { + } + export namespace ServiceOptions { + } + export namespace MethodOptions { + } + export namespace UninterpretedOption { + export namespace NamePart { + } + } + export namespace SourceCodeInfo { + export namespace Location { + } + } + export namespace GeneratedCodeInfo { + export namespace Annotation { + } + } + export namespace Empty { + } + } + export namespace api { + export namespace Http { + } + export namespace HttpRule { + } + export namespace CustomHttpPattern { + } + } + } +} diff --git a/packages/grpc-js/src/generated/endpoint.d.ts b/packages/grpc-js/src/generated/endpoint.d.ts new file mode 100644 index 000000000..e796f717f --- /dev/null +++ b/packages/grpc-js/src/generated/endpoint.d.ts @@ -0,0 +1,1140 @@ +import * as grpc from '../index'; +import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; + +import { ClusterLoadAssignment as _envoy_api_v2_ClusterLoadAssignment, ClusterLoadAssignment__Output as _envoy_api_v2_ClusterLoadAssignment__Output } from './envoy/api/v2/ClusterLoadAssignment'; +import { Endpoint as _envoy_api_v2_endpoint_Endpoint, Endpoint__Output as _envoy_api_v2_endpoint_Endpoint__Output } from './envoy/api/v2/endpoint/Endpoint'; +import { LbEndpoint as _envoy_api_v2_endpoint_LbEndpoint, LbEndpoint__Output as _envoy_api_v2_endpoint_LbEndpoint__Output } from './envoy/api/v2/endpoint/LbEndpoint'; +import { LocalityLbEndpoints as _envoy_api_v2_endpoint_LocalityLbEndpoints, LocalityLbEndpoints__Output as _envoy_api_v2_endpoint_LocalityLbEndpoints__Output } from './envoy/api/v2/endpoint/LocalityLbEndpoints'; +import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; +import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; +import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; +import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; +import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; +import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; +import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; +import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; +import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; +import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; +import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; +import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; +import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; +import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; +import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; +import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; +import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; +import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; +import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; +import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; +import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; +import { HealthStatus as _envoy_api_v2_core_HealthStatus } from './envoy/api/v2/core/HealthStatus'; +import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from './envoy/api/v2/core/HealthCheck'; +import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { EventServiceConfig as _envoy_api_v2_core_EventServiceConfig, EventServiceConfig__Output as _envoy_api_v2_core_EventServiceConfig__Output } from './envoy/api/v2/core/EventServiceConfig'; +import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; +import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; +import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; +import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; +import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; +import { CodecClientType as _envoy_type_CodecClientType } from './envoy/type/CodecClientType'; +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; +import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; +import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; +import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; +import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; +import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; +import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; +import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; +import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; +import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; +import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; +import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; +import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; +import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; +import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; +import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; +import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; +import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; +import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; +import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; +import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; +import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; +import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; +import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; +import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; +import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; +import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; +import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; +import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; +import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; +import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; +import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; +import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; +import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; +import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; +import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; +import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; +import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; +import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; +import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; +import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; +import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; +import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; +import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; +import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; +import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; +import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; +import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; +import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; +import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; +import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; +import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; +import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; +import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; +import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; +import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; +import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; +import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; +import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; +import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; +import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; +import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; +import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; +import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; +import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; +import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; +import { Http as _google_api_Http, Http__Output as _google_api_Http__Output } from './google/api/Http'; +import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from './google/api/HttpRule'; +import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from './google/api/CustomHttpPattern'; + +export namespace messages { + export namespace envoy { + export namespace api { + export namespace v2 { + export type ClusterLoadAssignment = _envoy_api_v2_ClusterLoadAssignment; + export type ClusterLoadAssignment__Output = _envoy_api_v2_ClusterLoadAssignment__Output; + export namespace endpoint { + export type Endpoint = _envoy_api_v2_endpoint_Endpoint; + export type Endpoint__Output = _envoy_api_v2_endpoint_Endpoint__Output; + export type LbEndpoint = _envoy_api_v2_endpoint_LbEndpoint; + export type LbEndpoint__Output = _envoy_api_v2_endpoint_LbEndpoint__Output; + export type LocalityLbEndpoints = _envoy_api_v2_endpoint_LocalityLbEndpoints; + export type LocalityLbEndpoints__Output = _envoy_api_v2_endpoint_LocalityLbEndpoints__Output; + } + export namespace core { + export type Pipe = _envoy_api_v2_core_Pipe; + export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + export type SocketAddress = _envoy_api_v2_core_SocketAddress; + export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; + export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; + export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + export type BindConfig = _envoy_api_v2_core_BindConfig; + export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; + export type Address = _envoy_api_v2_core_Address; + export type Address__Output = _envoy_api_v2_core_Address__Output; + export type CidrRange = _envoy_api_v2_core_CidrRange; + export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + export type RequestMethod = _envoy_api_v2_core_RequestMethod; + export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + export type Locality = _envoy_api_v2_core_Locality; + export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type BuildVersion = _envoy_api_v2_core_BuildVersion; + export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + export type Extension = _envoy_api_v2_core_Extension; + export type Extension__Output = _envoy_api_v2_core_Extension__Output; + export type Node = _envoy_api_v2_core_Node; + export type Node__Output = _envoy_api_v2_core_Node__Output; + export type Metadata = _envoy_api_v2_core_Metadata; + export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; + export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + export type HeaderValue = _envoy_api_v2_core_HeaderValue; + export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; + export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; + export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; + export type HeaderMap = _envoy_api_v2_core_HeaderMap; + export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; + export type DataSource = _envoy_api_v2_core_DataSource; + export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; + export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; + export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; + export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + export type TransportSocket = _envoy_api_v2_core_TransportSocket; + export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; + export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; + export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; + export type ControlPlane = _envoy_api_v2_core_ControlPlane; + export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + export type HealthStatus = _envoy_api_v2_core_HealthStatus; + export type HealthCheck = _envoy_api_v2_core_HealthCheck; + export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; + export type SocketOption = _envoy_api_v2_core_SocketOption; + export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type EventServiceConfig = _envoy_api_v2_core_EventServiceConfig; + export type EventServiceConfig__Output = _envoy_api_v2_core_EventServiceConfig__Output; + export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type GrpcService = _envoy_api_v2_core_GrpcService; + export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + } + } + } + export namespace type { + export type Percent = _envoy_type_Percent; + export type Percent__Output = _envoy_type_Percent__Output; + export type FractionalPercent = _envoy_type_FractionalPercent; + export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + export type SemanticVersion = _envoy_type_SemanticVersion; + export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; + export type CodecClientType = _envoy_type_CodecClientType; + export namespace matcher { + export type StringMatcher = _envoy_type_matcher_StringMatcher; + export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; + export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; + export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; + export type RegexMatcher = _envoy_type_matcher_RegexMatcher; + export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; + export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; + export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; + } + export type Int64Range = _envoy_type_Int64Range; + export type Int64Range__Output = _envoy_type_Int64Range__Output; + export type Int32Range = _envoy_type_Int32Range; + export type Int32Range__Output = _envoy_type_Int32Range__Output; + export type DoubleRange = _envoy_type_DoubleRange; + export type DoubleRange__Output = _envoy_type_DoubleRange__Output; + } + export namespace annotations { + } + } + export namespace udpa { + export namespace annotations { + export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; + export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; + export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; + export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; + export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; + export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; + export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; + export type StatusAnnotation = _udpa_annotations_StatusAnnotation; + export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; + } + } + export namespace validate { + export type FieldRules = _validate_FieldRules; + export type FieldRules__Output = _validate_FieldRules__Output; + export type FloatRules = _validate_FloatRules; + export type FloatRules__Output = _validate_FloatRules__Output; + export type DoubleRules = _validate_DoubleRules; + export type DoubleRules__Output = _validate_DoubleRules__Output; + export type Int32Rules = _validate_Int32Rules; + export type Int32Rules__Output = _validate_Int32Rules__Output; + export type Int64Rules = _validate_Int64Rules; + export type Int64Rules__Output = _validate_Int64Rules__Output; + export type UInt32Rules = _validate_UInt32Rules; + export type UInt32Rules__Output = _validate_UInt32Rules__Output; + export type UInt64Rules = _validate_UInt64Rules; + export type UInt64Rules__Output = _validate_UInt64Rules__Output; + export type SInt32Rules = _validate_SInt32Rules; + export type SInt32Rules__Output = _validate_SInt32Rules__Output; + export type SInt64Rules = _validate_SInt64Rules; + export type SInt64Rules__Output = _validate_SInt64Rules__Output; + export type Fixed32Rules = _validate_Fixed32Rules; + export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + export type Fixed64Rules = _validate_Fixed64Rules; + export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + export type SFixed32Rules = _validate_SFixed32Rules; + export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + export type SFixed64Rules = _validate_SFixed64Rules; + export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + export type BoolRules = _validate_BoolRules; + export type BoolRules__Output = _validate_BoolRules__Output; + export type StringRules = _validate_StringRules; + export type StringRules__Output = _validate_StringRules__Output; + export type KnownRegex = _validate_KnownRegex; + export type BytesRules = _validate_BytesRules; + export type BytesRules__Output = _validate_BytesRules__Output; + export type EnumRules = _validate_EnumRules; + export type EnumRules__Output = _validate_EnumRules__Output; + export type MessageRules = _validate_MessageRules; + export type MessageRules__Output = _validate_MessageRules__Output; + export type RepeatedRules = _validate_RepeatedRules; + export type RepeatedRules__Output = _validate_RepeatedRules__Output; + export type MapRules = _validate_MapRules; + export type MapRules__Output = _validate_MapRules__Output; + export type AnyRules = _validate_AnyRules; + export type AnyRules__Output = _validate_AnyRules__Output; + export type DurationRules = _validate_DurationRules; + export type DurationRules__Output = _validate_DurationRules__Output; + export type TimestampRules = _validate_TimestampRules; + export type TimestampRules__Output = _validate_TimestampRules__Output; + } + export namespace google { + export namespace protobuf { + export type Duration = _google_protobuf_Duration; + export type Duration__Output = _google_protobuf_Duration__Output; + export type DoubleValue = _google_protobuf_DoubleValue; + export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; + export type FloatValue = _google_protobuf_FloatValue; + export type FloatValue__Output = _google_protobuf_FloatValue__Output; + export type Int64Value = _google_protobuf_Int64Value; + export type Int64Value__Output = _google_protobuf_Int64Value__Output; + export type UInt64Value = _google_protobuf_UInt64Value; + export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; + export type Int32Value = _google_protobuf_Int32Value; + export type Int32Value__Output = _google_protobuf_Int32Value__Output; + export type UInt32Value = _google_protobuf_UInt32Value; + export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; + export type BoolValue = _google_protobuf_BoolValue; + export type BoolValue__Output = _google_protobuf_BoolValue__Output; + export type StringValue = _google_protobuf_StringValue; + export type StringValue__Output = _google_protobuf_StringValue__Output; + export type BytesValue = _google_protobuf_BytesValue; + export type BytesValue__Output = _google_protobuf_BytesValue__Output; + export type Timestamp = _google_protobuf_Timestamp; + export type Timestamp__Output = _google_protobuf_Timestamp__Output; + export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; + export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; + export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; + export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; + export type DescriptorProto = _google_protobuf_DescriptorProto; + export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; + export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; + export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; + export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; + export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; + export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; + export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; + export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; + export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; + export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; + export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; + export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; + export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type FileOptions = _google_protobuf_FileOptions; + export type FileOptions__Output = _google_protobuf_FileOptions__Output; + export type MessageOptions = _google_protobuf_MessageOptions; + export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; + export type FieldOptions = _google_protobuf_FieldOptions; + export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type OneofOptions = _google_protobuf_OneofOptions; + export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; + export type EnumOptions = _google_protobuf_EnumOptions; + export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; + export type EnumValueOptions = _google_protobuf_EnumValueOptions; + export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type ServiceOptions = _google_protobuf_ServiceOptions; + export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; + export type MethodOptions = _google_protobuf_MethodOptions; + export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; + export type UninterpretedOption = _google_protobuf_UninterpretedOption; + export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; + export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; + export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; + export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; + export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; + export type Any = _google_protobuf_Any; + export type Any__Output = _google_protobuf_Any__Output; + export type Struct = _google_protobuf_Struct; + export type Struct__Output = _google_protobuf_Struct__Output; + export type Value = _google_protobuf_Value; + export type Value__Output = _google_protobuf_Value__Output; + export type NullValue = _google_protobuf_NullValue; + export type ListValue = _google_protobuf_ListValue; + export type ListValue__Output = _google_protobuf_ListValue__Output; + export type Empty = _google_protobuf_Empty; + export type Empty__Output = _google_protobuf_Empty__Output; + } + export namespace api { + export type Http = _google_api_Http; + export type Http__Output = _google_api_Http__Output; + export type HttpRule = _google_api_HttpRule; + export type HttpRule__Output = _google_api_HttpRule__Output; + export type CustomHttpPattern = _google_api_CustomHttpPattern; + export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; + } + } +} + +export namespace ClientInterfaces { + export namespace envoy { + export namespace api { + export namespace v2 { + export namespace ClusterLoadAssignment { + export namespace Policy { + export namespace DropOverload { + } + } + } + export namespace endpoint { + export namespace Endpoint { + export namespace HealthCheckConfig { + } + } + export namespace LbEndpoint { + } + export namespace LocalityLbEndpoints { + } + } + export namespace core { + export namespace Pipe { + } + export namespace SocketAddress { + } + export namespace TcpKeepalive { + } + export namespace BindConfig { + } + export namespace Address { + } + export namespace CidrRange { + } + export namespace Locality { + } + export namespace BuildVersion { + } + export namespace Extension { + } + export namespace Node { + } + export namespace Metadata { + } + export namespace RuntimeUInt32 { + } + export namespace RuntimeDouble { + } + export namespace RuntimeFeatureFlag { + } + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HeaderMap { + } + export namespace DataSource { + } + export namespace RetryPolicy { + } + export namespace RemoteDataSource { + } + export namespace AsyncDataSource { + } + export namespace TransportSocket { + } + export namespace RuntimeFractionalPercent { + } + export namespace ControlPlane { + } + export namespace HealthCheck { + export namespace Payload { + } + export namespace HttpHealthCheck { + } + export namespace TcpHealthCheck { + } + export namespace RedisHealthCheck { + } + export namespace GrpcHealthCheck { + } + export namespace CustomHealthCheck { + } + export namespace TlsOptions { + } + } + export namespace SocketOption { + } + export namespace HttpUri { + } + export namespace EventServiceConfig { + } + export namespace BackoffStrategy { + } + export namespace GrpcService { + export namespace EnvoyGrpc { + } + export namespace GoogleGrpc { + export namespace SslCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace ChannelCredentials { + } + export namespace CallCredentials { + export namespace ServiceAccountJWTAccessCredentials { + } + export namespace GoogleIAMCredentials { + } + export namespace MetadataCredentialsFromPlugin { + } + export namespace StsService { + } + } + } + } + } + } + } + export namespace type { + export namespace Percent { + } + export namespace FractionalPercent { + } + export namespace SemanticVersion { + } + export namespace matcher { + export namespace StringMatcher { + } + export namespace ListStringMatcher { + } + export namespace RegexMatcher { + export namespace GoogleRE2 { + } + } + export namespace RegexMatchAndSubstitute { + } + } + export namespace Int64Range { + } + export namespace Int32Range { + } + export namespace DoubleRange { + } + } + export namespace annotations { + } + } + export namespace udpa { + export namespace annotations { + export namespace MigrateAnnotation { + } + export namespace FieldMigrateAnnotation { + } + export namespace FileMigrateAnnotation { + } + export namespace StatusAnnotation { + } + } + } + export namespace validate { + export namespace FieldRules { + } + export namespace FloatRules { + } + export namespace DoubleRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace BoolRules { + } + export namespace StringRules { + } + export namespace BytesRules { + } + export namespace EnumRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace MapRules { + } + export namespace AnyRules { + } + export namespace DurationRules { + } + export namespace TimestampRules { + } + } + export namespace google { + export namespace protobuf { + export namespace Duration { + } + export namespace DoubleValue { + } + export namespace FloatValue { + } + export namespace Int64Value { + } + export namespace UInt64Value { + } + export namespace Int32Value { + } + export namespace UInt32Value { + } + export namespace BoolValue { + } + export namespace StringValue { + } + export namespace BytesValue { + } + export namespace Timestamp { + } + export namespace FileDescriptorSet { + } + export namespace FileDescriptorProto { + } + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } + } + export namespace FieldDescriptorProto { + } + export namespace OneofDescriptorProto { + } + export namespace EnumDescriptorProto { + } + export namespace EnumValueDescriptorProto { + } + export namespace ServiceDescriptorProto { + } + export namespace MethodDescriptorProto { + } + export namespace FileOptions { + } + export namespace MessageOptions { + } + export namespace FieldOptions { + } + export namespace OneofOptions { + } + export namespace EnumOptions { + } + export namespace EnumValueOptions { + } + export namespace ServiceOptions { + } + export namespace MethodOptions { + } + export namespace UninterpretedOption { + export namespace NamePart { + } + } + export namespace SourceCodeInfo { + export namespace Location { + } + } + export namespace GeneratedCodeInfo { + export namespace Annotation { + } + } + export namespace Any { + } + export namespace Struct { + } + export namespace Value { + } + export namespace ListValue { + } + export namespace Empty { + } + } + export namespace api { + export namespace Http { + } + export namespace HttpRule { + } + export namespace CustomHttpPattern { + } + } + } +} + +type ConstructorArguments = Constructor extends new (...args: infer Args) => any ? Args: never; +type SubtypeConstructor = { + new(...args: ConstructorArguments): Subtype; +} + +export interface ProtoGrpcType { + envoy: { + api: { + v2: { + ClusterLoadAssignment: MessageTypeDefinition + endpoint: { + Endpoint: MessageTypeDefinition + LbEndpoint: MessageTypeDefinition + LocalityLbEndpoints: MessageTypeDefinition + } + core: { + Pipe: MessageTypeDefinition + SocketAddress: MessageTypeDefinition + TcpKeepalive: MessageTypeDefinition + BindConfig: MessageTypeDefinition + Address: MessageTypeDefinition + CidrRange: MessageTypeDefinition + RoutingPriority: EnumTypeDefinition + RequestMethod: EnumTypeDefinition + TrafficDirection: EnumTypeDefinition + Locality: MessageTypeDefinition + BuildVersion: MessageTypeDefinition + Extension: MessageTypeDefinition + Node: MessageTypeDefinition + Metadata: MessageTypeDefinition + RuntimeUInt32: MessageTypeDefinition + RuntimeDouble: MessageTypeDefinition + RuntimeFeatureFlag: MessageTypeDefinition + HeaderValue: MessageTypeDefinition + HeaderValueOption: MessageTypeDefinition + HeaderMap: MessageTypeDefinition + DataSource: MessageTypeDefinition + RetryPolicy: MessageTypeDefinition + RemoteDataSource: MessageTypeDefinition + AsyncDataSource: MessageTypeDefinition + TransportSocket: MessageTypeDefinition + RuntimeFractionalPercent: MessageTypeDefinition + ControlPlane: MessageTypeDefinition + HealthStatus: EnumTypeDefinition + HealthCheck: MessageTypeDefinition + SocketOption: MessageTypeDefinition + HttpUri: MessageTypeDefinition + EventServiceConfig: MessageTypeDefinition + BackoffStrategy: MessageTypeDefinition + GrpcService: MessageTypeDefinition + } + } + } + type: { + Percent: MessageTypeDefinition + FractionalPercent: MessageTypeDefinition + SemanticVersion: MessageTypeDefinition + CodecClientType: EnumTypeDefinition + matcher: { + StringMatcher: MessageTypeDefinition + ListStringMatcher: MessageTypeDefinition + RegexMatcher: MessageTypeDefinition + RegexMatchAndSubstitute: MessageTypeDefinition + } + Int64Range: MessageTypeDefinition + Int32Range: MessageTypeDefinition + DoubleRange: MessageTypeDefinition + } + annotations: { + } + } + udpa: { + annotations: { + MigrateAnnotation: MessageTypeDefinition + FieldMigrateAnnotation: MessageTypeDefinition + FileMigrateAnnotation: MessageTypeDefinition + PackageVersionStatus: EnumTypeDefinition + StatusAnnotation: MessageTypeDefinition + } + } + validate: { + FieldRules: MessageTypeDefinition + FloatRules: MessageTypeDefinition + DoubleRules: MessageTypeDefinition + Int32Rules: MessageTypeDefinition + Int64Rules: MessageTypeDefinition + UInt32Rules: MessageTypeDefinition + UInt64Rules: MessageTypeDefinition + SInt32Rules: MessageTypeDefinition + SInt64Rules: MessageTypeDefinition + Fixed32Rules: MessageTypeDefinition + Fixed64Rules: MessageTypeDefinition + SFixed32Rules: MessageTypeDefinition + SFixed64Rules: MessageTypeDefinition + BoolRules: MessageTypeDefinition + StringRules: MessageTypeDefinition + KnownRegex: EnumTypeDefinition + BytesRules: MessageTypeDefinition + EnumRules: MessageTypeDefinition + MessageRules: MessageTypeDefinition + RepeatedRules: MessageTypeDefinition + MapRules: MessageTypeDefinition + AnyRules: MessageTypeDefinition + DurationRules: MessageTypeDefinition + TimestampRules: MessageTypeDefinition + } + google: { + protobuf: { + Duration: MessageTypeDefinition + DoubleValue: MessageTypeDefinition + FloatValue: MessageTypeDefinition + Int64Value: MessageTypeDefinition + UInt64Value: MessageTypeDefinition + Int32Value: MessageTypeDefinition + UInt32Value: MessageTypeDefinition + BoolValue: MessageTypeDefinition + StringValue: MessageTypeDefinition + BytesValue: MessageTypeDefinition + Timestamp: MessageTypeDefinition + FileDescriptorSet: MessageTypeDefinition + FileDescriptorProto: MessageTypeDefinition + DescriptorProto: MessageTypeDefinition + FieldDescriptorProto: MessageTypeDefinition + OneofDescriptorProto: MessageTypeDefinition + EnumDescriptorProto: MessageTypeDefinition + EnumValueDescriptorProto: MessageTypeDefinition + ServiceDescriptorProto: MessageTypeDefinition + MethodDescriptorProto: MessageTypeDefinition + FileOptions: MessageTypeDefinition + MessageOptions: MessageTypeDefinition + FieldOptions: MessageTypeDefinition + OneofOptions: MessageTypeDefinition + EnumOptions: MessageTypeDefinition + EnumValueOptions: MessageTypeDefinition + ServiceOptions: MessageTypeDefinition + MethodOptions: MessageTypeDefinition + UninterpretedOption: MessageTypeDefinition + SourceCodeInfo: MessageTypeDefinition + GeneratedCodeInfo: MessageTypeDefinition + Any: MessageTypeDefinition + Struct: MessageTypeDefinition + Value: MessageTypeDefinition + NullValue: EnumTypeDefinition + ListValue: MessageTypeDefinition + Empty: MessageTypeDefinition + } + api: { + Http: MessageTypeDefinition + HttpRule: MessageTypeDefinition + CustomHttpPattern: MessageTypeDefinition + } + } +} + +export namespace ServiceHandlers { + export namespace envoy { + export namespace api { + export namespace v2 { + export namespace ClusterLoadAssignment { + export namespace Policy { + export namespace DropOverload { + } + } + } + export namespace endpoint { + export namespace Endpoint { + export namespace HealthCheckConfig { + } + } + export namespace LbEndpoint { + } + export namespace LocalityLbEndpoints { + } + } + export namespace core { + export namespace Pipe { + } + export namespace SocketAddress { + } + export namespace TcpKeepalive { + } + export namespace BindConfig { + } + export namespace Address { + } + export namespace CidrRange { + } + export namespace Locality { + } + export namespace BuildVersion { + } + export namespace Extension { + } + export namespace Node { + } + export namespace Metadata { + } + export namespace RuntimeUInt32 { + } + export namespace RuntimeDouble { + } + export namespace RuntimeFeatureFlag { + } + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HeaderMap { + } + export namespace DataSource { + } + export namespace RetryPolicy { + } + export namespace RemoteDataSource { + } + export namespace AsyncDataSource { + } + export namespace TransportSocket { + } + export namespace RuntimeFractionalPercent { + } + export namespace ControlPlane { + } + export namespace HealthCheck { + export namespace Payload { + } + export namespace HttpHealthCheck { + } + export namespace TcpHealthCheck { + } + export namespace RedisHealthCheck { + } + export namespace GrpcHealthCheck { + } + export namespace CustomHealthCheck { + } + export namespace TlsOptions { + } + } + export namespace SocketOption { + } + export namespace HttpUri { + } + export namespace EventServiceConfig { + } + export namespace BackoffStrategy { + } + export namespace GrpcService { + export namespace EnvoyGrpc { + } + export namespace GoogleGrpc { + export namespace SslCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace ChannelCredentials { + } + export namespace CallCredentials { + export namespace ServiceAccountJWTAccessCredentials { + } + export namespace GoogleIAMCredentials { + } + export namespace MetadataCredentialsFromPlugin { + } + export namespace StsService { + } + } + } + } + } + } + } + export namespace type { + export namespace Percent { + } + export namespace FractionalPercent { + } + export namespace SemanticVersion { + } + export namespace matcher { + export namespace StringMatcher { + } + export namespace ListStringMatcher { + } + export namespace RegexMatcher { + export namespace GoogleRE2 { + } + } + export namespace RegexMatchAndSubstitute { + } + } + export namespace Int64Range { + } + export namespace Int32Range { + } + export namespace DoubleRange { + } + } + export namespace annotations { + } + } + export namespace udpa { + export namespace annotations { + export namespace MigrateAnnotation { + } + export namespace FieldMigrateAnnotation { + } + export namespace FileMigrateAnnotation { + } + export namespace StatusAnnotation { + } + } + } + export namespace validate { + export namespace FieldRules { + } + export namespace FloatRules { + } + export namespace DoubleRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace BoolRules { + } + export namespace StringRules { + } + export namespace BytesRules { + } + export namespace EnumRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace MapRules { + } + export namespace AnyRules { + } + export namespace DurationRules { + } + export namespace TimestampRules { + } + } + export namespace google { + export namespace protobuf { + export namespace Duration { + } + export namespace DoubleValue { + } + export namespace FloatValue { + } + export namespace Int64Value { + } + export namespace UInt64Value { + } + export namespace Int32Value { + } + export namespace UInt32Value { + } + export namespace BoolValue { + } + export namespace StringValue { + } + export namespace BytesValue { + } + export namespace Timestamp { + } + export namespace FileDescriptorSet { + } + export namespace FileDescriptorProto { + } + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } + } + export namespace FieldDescriptorProto { + } + export namespace OneofDescriptorProto { + } + export namespace EnumDescriptorProto { + } + export namespace EnumValueDescriptorProto { + } + export namespace ServiceDescriptorProto { + } + export namespace MethodDescriptorProto { + } + export namespace FileOptions { + } + export namespace MessageOptions { + } + export namespace FieldOptions { + } + export namespace OneofOptions { + } + export namespace EnumOptions { + } + export namespace EnumValueOptions { + } + export namespace ServiceOptions { + } + export namespace MethodOptions { + } + export namespace UninterpretedOption { + export namespace NamePart { + } + } + export namespace SourceCodeInfo { + export namespace Location { + } + } + export namespace GeneratedCodeInfo { + export namespace Annotation { + } + } + export namespace Any { + } + export namespace Struct { + } + export namespace Value { + } + export namespace ListValue { + } + export namespace Empty { + } + } + export namespace api { + export namespace Http { + } + export namespace HttpRule { + } + export namespace CustomHttpPattern { + } + } + } +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Cluster.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/Cluster.d.ts new file mode 100644 index 000000000..816031726 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/Cluster.d.ts @@ -0,0 +1,339 @@ +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../google/protobuf/UInt32Value'; +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from '../../../envoy/api/v2/core/Address'; +import { ClusterLoadAssignment as _envoy_api_v2_ClusterLoadAssignment, ClusterLoadAssignment__Output as _envoy_api_v2_ClusterLoadAssignment__Output } from '../../../envoy/api/v2/ClusterLoadAssignment'; +import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from '../../../envoy/api/v2/core/HealthCheck'; +import { CircuitBreakers as _envoy_api_v2_cluster_CircuitBreakers, CircuitBreakers__Output as _envoy_api_v2_cluster_CircuitBreakers__Output } from '../../../envoy/api/v2/cluster/CircuitBreakers'; +import { UpstreamTlsContext as _envoy_api_v2_auth_UpstreamTlsContext, UpstreamTlsContext__Output as _envoy_api_v2_auth_UpstreamTlsContext__Output } from '../../../envoy/api/v2/auth/UpstreamTlsContext'; +import { UpstreamHttpProtocolOptions as _envoy_api_v2_core_UpstreamHttpProtocolOptions, UpstreamHttpProtocolOptions__Output as _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output } from '../../../envoy/api/v2/core/UpstreamHttpProtocolOptions'; +import { HttpProtocolOptions as _envoy_api_v2_core_HttpProtocolOptions, HttpProtocolOptions__Output as _envoy_api_v2_core_HttpProtocolOptions__Output } from '../../../envoy/api/v2/core/HttpProtocolOptions'; +import { Http1ProtocolOptions as _envoy_api_v2_core_Http1ProtocolOptions, Http1ProtocolOptions__Output as _envoy_api_v2_core_Http1ProtocolOptions__Output } from '../../../envoy/api/v2/core/Http1ProtocolOptions'; +import { Http2ProtocolOptions as _envoy_api_v2_core_Http2ProtocolOptions, Http2ProtocolOptions__Output as _envoy_api_v2_core_Http2ProtocolOptions__Output } from '../../../envoy/api/v2/core/Http2ProtocolOptions'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any'; +import { OutlierDetection as _envoy_api_v2_cluster_OutlierDetection, OutlierDetection__Output as _envoy_api_v2_cluster_OutlierDetection__Output } from '../../../envoy/api/v2/cluster/OutlierDetection'; +import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from '../../../envoy/api/v2/core/BindConfig'; +import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from '../../../envoy/api/v2/core/TransportSocket'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../envoy/api/v2/core/Metadata'; +import { UpstreamConnectionOptions as _envoy_api_v2_UpstreamConnectionOptions, UpstreamConnectionOptions__Output as _envoy_api_v2_UpstreamConnectionOptions__Output } from '../../../envoy/api/v2/UpstreamConnectionOptions'; +import { Filter as _envoy_api_v2_cluster_Filter, Filter__Output as _envoy_api_v2_cluster_Filter__Output } from '../../../envoy/api/v2/cluster/Filter'; +import { LoadBalancingPolicy as _envoy_api_v2_LoadBalancingPolicy, LoadBalancingPolicy__Output as _envoy_api_v2_LoadBalancingPolicy__Output } from '../../../envoy/api/v2/LoadBalancingPolicy'; +import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from '../../../envoy/api/v2/core/ConfigSource'; +import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from '../../../google/protobuf/UInt64Value'; +import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from '../../../envoy/type/Percent'; +import { Long } from '@grpc/proto-loader'; + +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +export enum _envoy_api_v2_Cluster_DiscoveryType { + STATIC = 0, + STRICT_DNS = 1, + LOGICAL_DNS = 2, + EDS = 3, + ORIGINAL_DST = 4, +} + +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +export enum _envoy_api_v2_Cluster_LbPolicy { + ROUND_ROBIN = 0, + LEAST_REQUEST = 1, + RING_HASH = 2, + RANDOM = 3, + ORIGINAL_DST_LB = 4, + MAGLEV = 5, + CLUSTER_PROVIDED = 6, + LOAD_BALANCING_POLICY_CONFIG = 7, +} + +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +export enum _envoy_api_v2_Cluster_DnsLookupFamily { + AUTO = 0, + V4_ONLY = 1, + V6_ONLY = 2, +} + +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +export enum _envoy_api_v2_Cluster_ClusterProtocolSelection { + USE_CONFIGURED_PROTOCOL = 0, + USE_DOWNSTREAM_PROTOCOL = 1, +} + +export interface _envoy_api_v2_Cluster_TransportSocketMatch { + 'name'?: (string); + 'match'?: (_google_protobuf_Struct); + 'transport_socket'?: (_envoy_api_v2_core_TransportSocket); +} + +export interface _envoy_api_v2_Cluster_TransportSocketMatch__Output { + 'name': (string); + 'match': (_google_protobuf_Struct__Output); + 'transport_socket': (_envoy_api_v2_core_TransportSocket__Output); +} + +export interface _envoy_api_v2_Cluster_CustomClusterType { + 'name'?: (string); + 'typed_config'?: (_google_protobuf_Any); +} + +export interface _envoy_api_v2_Cluster_CustomClusterType__Output { + 'name': (string); + 'typed_config': (_google_protobuf_Any__Output); +} + +export interface _envoy_api_v2_Cluster_EdsClusterConfig { + 'eds_config'?: (_envoy_api_v2_core_ConfigSource); + 'service_name'?: (string); +} + +export interface _envoy_api_v2_Cluster_EdsClusterConfig__Output { + 'eds_config': (_envoy_api_v2_core_ConfigSource__Output); + 'service_name': (string); +} + +export interface _envoy_api_v2_Cluster_LbSubsetConfig { + 'fallback_policy'?: (_envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetFallbackPolicy | keyof typeof _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetFallbackPolicy); + 'default_subset'?: (_google_protobuf_Struct); + 'subset_selectors'?: (_envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector)[]; + 'locality_weight_aware'?: (boolean); + 'scale_locality_weight'?: (boolean); + 'panic_mode_any'?: (boolean); + 'list_as_any'?: (boolean); +} + +export interface _envoy_api_v2_Cluster_LbSubsetConfig__Output { + 'fallback_policy': (keyof typeof _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetFallbackPolicy); + 'default_subset': (_google_protobuf_Struct__Output); + 'subset_selectors': (_envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector__Output)[]; + 'locality_weight_aware': (boolean); + 'scale_locality_weight': (boolean); + 'panic_mode_any': (boolean); + 'list_as_any': (boolean); +} + +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +export enum _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetFallbackPolicy { + NO_FALLBACK = 0, + ANY_ENDPOINT = 1, + DEFAULT_SUBSET = 2, +} + +export interface _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector { + 'keys'?: (string)[]; + 'fallback_policy'?: (_envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy | keyof typeof _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy); + 'fallback_keys_subset'?: (string)[]; +} + +export interface _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector__Output { + 'keys': (string)[]; + 'fallback_policy': (keyof typeof _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy); + 'fallback_keys_subset': (string)[]; +} + +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +export enum _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy { + NOT_DEFINED = 0, + NO_FALLBACK = 1, + ANY_ENDPOINT = 2, + DEFAULT_SUBSET = 3, + KEYS_SUBSET = 4, +} + +export interface _envoy_api_v2_Cluster_LeastRequestLbConfig { + 'choice_count'?: (_google_protobuf_UInt32Value); +} + +export interface _envoy_api_v2_Cluster_LeastRequestLbConfig__Output { + 'choice_count': (_google_protobuf_UInt32Value__Output); +} + +export interface _envoy_api_v2_Cluster_RingHashLbConfig { + 'minimum_ring_size'?: (_google_protobuf_UInt64Value); + 'hash_function'?: (_envoy_api_v2_Cluster_RingHashLbConfig_HashFunction | keyof typeof _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction); + 'maximum_ring_size'?: (_google_protobuf_UInt64Value); +} + +export interface _envoy_api_v2_Cluster_RingHashLbConfig__Output { + 'minimum_ring_size': (_google_protobuf_UInt64Value__Output); + 'hash_function': (keyof typeof _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction); + 'maximum_ring_size': (_google_protobuf_UInt64Value__Output); +} + +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +export enum _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction { + XX_HASH = 0, + MURMUR_HASH_2 = 1, +} + +export interface _envoy_api_v2_Cluster_OriginalDstLbConfig { + 'use_http_header'?: (boolean); +} + +export interface _envoy_api_v2_Cluster_OriginalDstLbConfig__Output { + 'use_http_header': (boolean); +} + +export interface _envoy_api_v2_Cluster_CommonLbConfig { + 'healthy_panic_threshold'?: (_envoy_type_Percent); + 'zone_aware_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig); + 'locality_weighted_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig); + 'update_merge_window'?: (_google_protobuf_Duration); + 'ignore_new_hosts_until_first_hc'?: (boolean); + 'close_connections_on_host_set_change'?: (boolean); + 'consistent_hashing_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig); + 'locality_config_specifier'?: "zone_aware_lb_config"|"locality_weighted_lb_config"; +} + +export interface _envoy_api_v2_Cluster_CommonLbConfig__Output { + 'healthy_panic_threshold': (_envoy_type_Percent__Output); + 'zone_aware_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__Output); + 'locality_weighted_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig__Output); + 'update_merge_window': (_google_protobuf_Duration__Output); + 'ignore_new_hosts_until_first_hc': (boolean); + 'close_connections_on_host_set_change': (boolean); + 'consistent_hashing_lb_config': (_envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig__Output); + 'locality_config_specifier': "zone_aware_lb_config"|"locality_weighted_lb_config"; +} + +export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig { + 'routing_enabled'?: (_envoy_type_Percent); + 'min_cluster_size'?: (_google_protobuf_UInt64Value); + 'fail_traffic_on_panic'?: (boolean); +} + +export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__Output { + 'routing_enabled': (_envoy_type_Percent__Output); + 'min_cluster_size': (_google_protobuf_UInt64Value__Output); + 'fail_traffic_on_panic': (boolean); +} + +export interface _envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig { +} + +export interface _envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig__Output { +} + +export interface _envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig { + 'use_hostname_for_hashing'?: (boolean); +} + +export interface _envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig__Output { + 'use_hostname_for_hashing': (boolean); +} + +export interface _envoy_api_v2_Cluster_RefreshRate { + 'base_interval'?: (_google_protobuf_Duration); + 'max_interval'?: (_google_protobuf_Duration); +} + +export interface _envoy_api_v2_Cluster_RefreshRate__Output { + 'base_interval': (_google_protobuf_Duration__Output); + 'max_interval': (_google_protobuf_Duration__Output); +} + +export interface Cluster { + 'transport_socket_matches'?: (_envoy_api_v2_Cluster_TransportSocketMatch)[]; + 'name'?: (string); + 'alt_stat_name'?: (string); + 'type'?: (_envoy_api_v2_Cluster_DiscoveryType | keyof typeof _envoy_api_v2_Cluster_DiscoveryType); + 'cluster_type'?: (_envoy_api_v2_Cluster_CustomClusterType); + 'eds_cluster_config'?: (_envoy_api_v2_Cluster_EdsClusterConfig); + 'connect_timeout'?: (_google_protobuf_Duration); + 'per_connection_buffer_limit_bytes'?: (_google_protobuf_UInt32Value); + 'lb_policy'?: (_envoy_api_v2_Cluster_LbPolicy | keyof typeof _envoy_api_v2_Cluster_LbPolicy); + 'hosts'?: (_envoy_api_v2_core_Address)[]; + 'load_assignment'?: (_envoy_api_v2_ClusterLoadAssignment); + 'health_checks'?: (_envoy_api_v2_core_HealthCheck)[]; + 'max_requests_per_connection'?: (_google_protobuf_UInt32Value); + 'circuit_breakers'?: (_envoy_api_v2_cluster_CircuitBreakers); + 'tls_context'?: (_envoy_api_v2_auth_UpstreamTlsContext); + 'upstream_http_protocol_options'?: (_envoy_api_v2_core_UpstreamHttpProtocolOptions); + 'common_http_protocol_options'?: (_envoy_api_v2_core_HttpProtocolOptions); + 'http_protocol_options'?: (_envoy_api_v2_core_Http1ProtocolOptions); + 'http2_protocol_options'?: (_envoy_api_v2_core_Http2ProtocolOptions); + 'extension_protocol_options'?: (_google_protobuf_Struct); + 'typed_extension_protocol_options'?: (_google_protobuf_Any); + 'dns_refresh_rate'?: (_google_protobuf_Duration); + 'dns_failure_refresh_rate'?: (_envoy_api_v2_Cluster_RefreshRate); + 'respect_dns_ttl'?: (boolean); + 'dns_lookup_family'?: (_envoy_api_v2_Cluster_DnsLookupFamily | keyof typeof _envoy_api_v2_Cluster_DnsLookupFamily); + 'dns_resolvers'?: (_envoy_api_v2_core_Address)[]; + 'use_tcp_for_dns_lookups'?: (boolean); + 'outlier_detection'?: (_envoy_api_v2_cluster_OutlierDetection); + 'cleanup_interval'?: (_google_protobuf_Duration); + 'upstream_bind_config'?: (_envoy_api_v2_core_BindConfig); + 'lb_subset_config'?: (_envoy_api_v2_Cluster_LbSubsetConfig); + 'ring_hash_lb_config'?: (_envoy_api_v2_Cluster_RingHashLbConfig); + 'original_dst_lb_config'?: (_envoy_api_v2_Cluster_OriginalDstLbConfig); + 'least_request_lb_config'?: (_envoy_api_v2_Cluster_LeastRequestLbConfig); + 'common_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig); + 'transport_socket'?: (_envoy_api_v2_core_TransportSocket); + 'metadata'?: (_envoy_api_v2_core_Metadata); + 'protocol_selection'?: (_envoy_api_v2_Cluster_ClusterProtocolSelection | keyof typeof _envoy_api_v2_Cluster_ClusterProtocolSelection); + 'upstream_connection_options'?: (_envoy_api_v2_UpstreamConnectionOptions); + 'close_connections_on_host_health_failure'?: (boolean); + 'drain_connections_on_host_removal'?: (boolean); + 'filters'?: (_envoy_api_v2_cluster_Filter)[]; + 'load_balancing_policy'?: (_envoy_api_v2_LoadBalancingPolicy); + 'lrs_server'?: (_envoy_api_v2_core_ConfigSource); + 'track_timeout_budgets'?: (boolean); + 'cluster_discovery_type'?: "type"|"cluster_type"; + 'lb_config'?: "ring_hash_lb_config"|"original_dst_lb_config"|"least_request_lb_config"; +} + +export interface Cluster__Output { + 'transport_socket_matches': (_envoy_api_v2_Cluster_TransportSocketMatch__Output)[]; + 'name': (string); + 'alt_stat_name': (string); + 'type'?: (keyof typeof _envoy_api_v2_Cluster_DiscoveryType); + 'cluster_type'?: (_envoy_api_v2_Cluster_CustomClusterType__Output); + 'eds_cluster_config': (_envoy_api_v2_Cluster_EdsClusterConfig__Output); + 'connect_timeout': (_google_protobuf_Duration__Output); + 'per_connection_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); + 'lb_policy': (keyof typeof _envoy_api_v2_Cluster_LbPolicy); + 'hosts': (_envoy_api_v2_core_Address__Output)[]; + 'load_assignment': (_envoy_api_v2_ClusterLoadAssignment__Output); + 'health_checks': (_envoy_api_v2_core_HealthCheck__Output)[]; + 'max_requests_per_connection': (_google_protobuf_UInt32Value__Output); + 'circuit_breakers': (_envoy_api_v2_cluster_CircuitBreakers__Output); + 'tls_context': (_envoy_api_v2_auth_UpstreamTlsContext__Output); + 'upstream_http_protocol_options': (_envoy_api_v2_core_UpstreamHttpProtocolOptions__Output); + 'common_http_protocol_options': (_envoy_api_v2_core_HttpProtocolOptions__Output); + 'http_protocol_options': (_envoy_api_v2_core_Http1ProtocolOptions__Output); + 'http2_protocol_options': (_envoy_api_v2_core_Http2ProtocolOptions__Output); + 'extension_protocol_options': (_google_protobuf_Struct__Output); + 'typed_extension_protocol_options': (_google_protobuf_Any__Output); + 'dns_refresh_rate': (_google_protobuf_Duration__Output); + 'dns_failure_refresh_rate': (_envoy_api_v2_Cluster_RefreshRate__Output); + 'respect_dns_ttl': (boolean); + 'dns_lookup_family': (keyof typeof _envoy_api_v2_Cluster_DnsLookupFamily); + 'dns_resolvers': (_envoy_api_v2_core_Address__Output)[]; + 'use_tcp_for_dns_lookups': (boolean); + 'outlier_detection': (_envoy_api_v2_cluster_OutlierDetection__Output); + 'cleanup_interval': (_google_protobuf_Duration__Output); + 'upstream_bind_config': (_envoy_api_v2_core_BindConfig__Output); + 'lb_subset_config': (_envoy_api_v2_Cluster_LbSubsetConfig__Output); + 'ring_hash_lb_config'?: (_envoy_api_v2_Cluster_RingHashLbConfig__Output); + 'original_dst_lb_config'?: (_envoy_api_v2_Cluster_OriginalDstLbConfig__Output); + 'least_request_lb_config'?: (_envoy_api_v2_Cluster_LeastRequestLbConfig__Output); + 'common_lb_config': (_envoy_api_v2_Cluster_CommonLbConfig__Output); + 'transport_socket': (_envoy_api_v2_core_TransportSocket__Output); + 'metadata': (_envoy_api_v2_core_Metadata__Output); + 'protocol_selection': (keyof typeof _envoy_api_v2_Cluster_ClusterProtocolSelection); + 'upstream_connection_options': (_envoy_api_v2_UpstreamConnectionOptions__Output); + 'close_connections_on_host_health_failure': (boolean); + 'drain_connections_on_host_removal': (boolean); + 'filters': (_envoy_api_v2_cluster_Filter__Output)[]; + 'load_balancing_policy': (_envoy_api_v2_LoadBalancingPolicy__Output); + 'lrs_server': (_envoy_api_v2_core_ConfigSource__Output); + 'track_timeout_budgets': (boolean); + 'cluster_discovery_type': "type"|"cluster_type"; + 'lb_config': "ring_hash_lb_config"|"original_dst_lb_config"|"least_request_lb_config"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.d.ts new file mode 100644 index 000000000..19508d3c4 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.d.ts @@ -0,0 +1,45 @@ +// Original file: deps/envoy-api/envoy/api/v2/endpoint.proto + +import { LocalityLbEndpoints as _envoy_api_v2_endpoint_LocalityLbEndpoints, LocalityLbEndpoints__Output as _envoy_api_v2_endpoint_LocalityLbEndpoints__Output } from '../../../envoy/api/v2/endpoint/LocalityLbEndpoints'; +import { Endpoint as _envoy_api_v2_endpoint_Endpoint, Endpoint__Output as _envoy_api_v2_endpoint_Endpoint__Output } from '../../../envoy/api/v2/endpoint/Endpoint'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../google/protobuf/UInt32Value'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration'; +import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from '../../../envoy/type/FractionalPercent'; + +export interface _envoy_api_v2_ClusterLoadAssignment_Policy { + 'drop_overloads'?: (_envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload)[]; + 'overprovisioning_factor'?: (_google_protobuf_UInt32Value); + 'endpoint_stale_after'?: (_google_protobuf_Duration); + 'disable_overprovisioning'?: (boolean); +} + +export interface _envoy_api_v2_ClusterLoadAssignment_Policy__Output { + 'drop_overloads': (_envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload__Output)[]; + 'overprovisioning_factor': (_google_protobuf_UInt32Value__Output); + 'endpoint_stale_after': (_google_protobuf_Duration__Output); + 'disable_overprovisioning': (boolean); +} + +export interface _envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload { + 'category'?: (string); + 'drop_percentage'?: (_envoy_type_FractionalPercent); +} + +export interface _envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload__Output { + 'category': (string); + 'drop_percentage': (_envoy_type_FractionalPercent__Output); +} + +export interface ClusterLoadAssignment { + 'cluster_name'?: (string); + 'endpoints'?: (_envoy_api_v2_endpoint_LocalityLbEndpoints)[]; + 'named_endpoints'?: (_envoy_api_v2_endpoint_Endpoint); + 'policy'?: (_envoy_api_v2_ClusterLoadAssignment_Policy); +} + +export interface ClusterLoadAssignment__Output { + 'cluster_name': (string); + 'endpoints': (_envoy_api_v2_endpoint_LocalityLbEndpoints__Output)[]; + 'named_endpoints': (_envoy_api_v2_endpoint_Endpoint__Output); + 'policy': (_envoy_api_v2_ClusterLoadAssignment_Policy__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.d.ts new file mode 100644 index 000000000..bd09411a8 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.d.ts @@ -0,0 +1,24 @@ +// Original file: deps/envoy-api/envoy/api/v2/discovery.proto + +import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from '../../../envoy/api/v2/core/Node'; +import { Status as _google_rpc_Status, Status__Output as _google_rpc_Status__Output } from '../../../google/rpc/Status'; + +export interface DeltaDiscoveryRequest { + 'node'?: (_envoy_api_v2_core_Node); + 'type_url'?: (string); + 'resource_names_subscribe'?: (string)[]; + 'resource_names_unsubscribe'?: (string)[]; + 'initial_resource_versions'?: (string); + 'response_nonce'?: (string); + 'error_detail'?: (_google_rpc_Status); +} + +export interface DeltaDiscoveryRequest__Output { + 'node': (_envoy_api_v2_core_Node__Output); + 'type_url': (string); + 'resource_names_subscribe': (string)[]; + 'resource_names_unsubscribe': (string)[]; + 'initial_resource_versions': (string); + 'response_nonce': (string); + 'error_detail': (_google_rpc_Status__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.d.ts new file mode 100644 index 000000000..5a6e8c643 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.d.ts @@ -0,0 +1,19 @@ +// Original file: deps/envoy-api/envoy/api/v2/discovery.proto + +import { Resource as _envoy_api_v2_Resource, Resource__Output as _envoy_api_v2_Resource__Output } from '../../../envoy/api/v2/Resource'; + +export interface DeltaDiscoveryResponse { + 'system_version_info'?: (string); + 'resources'?: (_envoy_api_v2_Resource)[]; + 'type_url'?: (string); + 'removed_resources'?: (string)[]; + 'nonce'?: (string); +} + +export interface DeltaDiscoveryResponse__Output { + 'system_version_info': (string); + 'resources': (_envoy_api_v2_Resource__Output)[]; + 'type_url': (string); + 'removed_resources': (string)[]; + 'nonce': (string); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.d.ts new file mode 100644 index 000000000..33b8fcf26 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.d.ts @@ -0,0 +1,22 @@ +// Original file: deps/envoy-api/envoy/api/v2/discovery.proto + +import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from '../../../envoy/api/v2/core/Node'; +import { Status as _google_rpc_Status, Status__Output as _google_rpc_Status__Output } from '../../../google/rpc/Status'; + +export interface DiscoveryRequest { + 'version_info'?: (string); + 'node'?: (_envoy_api_v2_core_Node); + 'resource_names'?: (string)[]; + 'type_url'?: (string); + 'response_nonce'?: (string); + 'error_detail'?: (_google_rpc_Status); +} + +export interface DiscoveryRequest__Output { + 'version_info': (string); + 'node': (_envoy_api_v2_core_Node__Output); + 'resource_names': (string)[]; + 'type_url': (string); + 'response_nonce': (string); + 'error_detail': (_google_rpc_Status__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.d.ts new file mode 100644 index 000000000..5f209372e --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.d.ts @@ -0,0 +1,22 @@ +// Original file: deps/envoy-api/envoy/api/v2/discovery.proto + +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any'; +import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from '../../../envoy/api/v2/core/ControlPlane'; + +export interface DiscoveryResponse { + 'version_info'?: (string); + 'resources'?: (_google_protobuf_Any)[]; + 'canary'?: (boolean); + 'type_url'?: (string); + 'nonce'?: (string); + 'control_plane'?: (_envoy_api_v2_core_ControlPlane); +} + +export interface DiscoveryResponse__Output { + 'version_info': (string); + 'resources': (_google_protobuf_Any__Output)[]; + 'canary': (boolean); + 'type_url': (string); + 'nonce': (string); + 'control_plane': (_envoy_api_v2_core_ControlPlane__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Listener.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/Listener.d.ts new file mode 100644 index 000000000..c14e3fdb8 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/Listener.d.ts @@ -0,0 +1,93 @@ +// Original file: deps/envoy-api/envoy/api/v2/listener.proto + +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from '../../../envoy/api/v2/core/Address'; +import { FilterChain as _envoy_api_v2_listener_FilterChain, FilterChain__Output as _envoy_api_v2_listener_FilterChain__Output } from '../../../envoy/api/v2/listener/FilterChain'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../google/protobuf/BoolValue'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../google/protobuf/UInt32Value'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../envoy/api/v2/core/Metadata'; +import { ListenerFilter as _envoy_api_v2_listener_ListenerFilter, ListenerFilter__Output as _envoy_api_v2_listener_ListenerFilter__Output } from '../../../envoy/api/v2/listener/ListenerFilter'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration'; +import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from '../../../envoy/api/v2/core/SocketOption'; +import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from '../../../envoy/api/v2/core/TrafficDirection'; +import { UdpListenerConfig as _envoy_api_v2_listener_UdpListenerConfig, UdpListenerConfig__Output as _envoy_api_v2_listener_UdpListenerConfig__Output } from '../../../envoy/api/v2/listener/UdpListenerConfig'; +import { ApiListener as _envoy_config_listener_v2_ApiListener, ApiListener__Output as _envoy_config_listener_v2_ApiListener__Output } from '../../../envoy/config/listener/v2/ApiListener'; +import { AccessLog as _envoy_config_filter_accesslog_v2_AccessLog, AccessLog__Output as _envoy_config_filter_accesslog_v2_AccessLog__Output } from '../../../envoy/config/filter/accesslog/v2/AccessLog'; + +// Original file: deps/envoy-api/envoy/api/v2/listener.proto + +export enum _envoy_api_v2_Listener_DrainType { + DEFAULT = 0, + MODIFY_ONLY = 1, +} + +export interface _envoy_api_v2_Listener_DeprecatedV1 { + 'bind_to_port'?: (_google_protobuf_BoolValue); +} + +export interface _envoy_api_v2_Listener_DeprecatedV1__Output { + 'bind_to_port': (_google_protobuf_BoolValue__Output); +} + +export interface _envoy_api_v2_Listener_ConnectionBalanceConfig { + 'exact_balance'?: (_envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance); + 'balance_type'?: "exact_balance"; +} + +export interface _envoy_api_v2_Listener_ConnectionBalanceConfig__Output { + 'exact_balance'?: (_envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance__Output); + 'balance_type': "exact_balance"; +} + +export interface _envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance { +} + +export interface _envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance__Output { +} + +export interface Listener { + 'name'?: (string); + 'address'?: (_envoy_api_v2_core_Address); + 'filter_chains'?: (_envoy_api_v2_listener_FilterChain)[]; + 'use_original_dst'?: (_google_protobuf_BoolValue); + 'per_connection_buffer_limit_bytes'?: (_google_protobuf_UInt32Value); + 'metadata'?: (_envoy_api_v2_core_Metadata); + 'deprecated_v1'?: (_envoy_api_v2_Listener_DeprecatedV1); + 'drain_type'?: (_envoy_api_v2_Listener_DrainType | keyof typeof _envoy_api_v2_Listener_DrainType); + 'listener_filters'?: (_envoy_api_v2_listener_ListenerFilter)[]; + 'listener_filters_timeout'?: (_google_protobuf_Duration); + 'continue_on_listener_filters_timeout'?: (boolean); + 'transparent'?: (_google_protobuf_BoolValue); + 'freebind'?: (_google_protobuf_BoolValue); + 'socket_options'?: (_envoy_api_v2_core_SocketOption)[]; + 'tcp_fast_open_queue_length'?: (_google_protobuf_UInt32Value); + 'traffic_direction'?: (_envoy_api_v2_core_TrafficDirection | keyof typeof _envoy_api_v2_core_TrafficDirection); + 'udp_listener_config'?: (_envoy_api_v2_listener_UdpListenerConfig); + 'api_listener'?: (_envoy_config_listener_v2_ApiListener); + 'connection_balance_config'?: (_envoy_api_v2_Listener_ConnectionBalanceConfig); + 'reuse_port'?: (boolean); + 'access_log'?: (_envoy_config_filter_accesslog_v2_AccessLog)[]; +} + +export interface Listener__Output { + 'name': (string); + 'address': (_envoy_api_v2_core_Address__Output); + 'filter_chains': (_envoy_api_v2_listener_FilterChain__Output)[]; + 'use_original_dst': (_google_protobuf_BoolValue__Output); + 'per_connection_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); + 'metadata': (_envoy_api_v2_core_Metadata__Output); + 'deprecated_v1': (_envoy_api_v2_Listener_DeprecatedV1__Output); + 'drain_type': (keyof typeof _envoy_api_v2_Listener_DrainType); + 'listener_filters': (_envoy_api_v2_listener_ListenerFilter__Output)[]; + 'listener_filters_timeout': (_google_protobuf_Duration__Output); + 'continue_on_listener_filters_timeout': (boolean); + 'transparent': (_google_protobuf_BoolValue__Output); + 'freebind': (_google_protobuf_BoolValue__Output); + 'socket_options': (_envoy_api_v2_core_SocketOption__Output)[]; + 'tcp_fast_open_queue_length': (_google_protobuf_UInt32Value__Output); + 'traffic_direction': (keyof typeof _envoy_api_v2_core_TrafficDirection); + 'udp_listener_config': (_envoy_api_v2_listener_UdpListenerConfig__Output); + 'api_listener': (_envoy_config_listener_v2_ApiListener__Output); + 'connection_balance_config': (_envoy_api_v2_Listener_ConnectionBalanceConfig__Output); + 'reuse_port': (boolean); + 'access_log': (_envoy_config_filter_accesslog_v2_AccessLog__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.d.ts new file mode 100644 index 000000000..13af1f021 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.d.ts @@ -0,0 +1,24 @@ +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any'; + +export interface _envoy_api_v2_LoadBalancingPolicy_Policy { + 'name'?: (string); + 'config'?: (_google_protobuf_Struct); + 'typed_config'?: (_google_protobuf_Any); +} + +export interface _envoy_api_v2_LoadBalancingPolicy_Policy__Output { + 'name': (string); + 'config': (_google_protobuf_Struct__Output); + 'typed_config': (_google_protobuf_Any__Output); +} + +export interface LoadBalancingPolicy { + 'policies'?: (_envoy_api_v2_LoadBalancingPolicy_Policy)[]; +} + +export interface LoadBalancingPolicy__Output { + 'policies': (_envoy_api_v2_LoadBalancingPolicy_Policy__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Resource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/Resource.d.ts new file mode 100644 index 000000000..56dae2fc1 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/Resource.d.ts @@ -0,0 +1,17 @@ +// Original file: deps/envoy-api/envoy/api/v2/discovery.proto + +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any'; + +export interface Resource { + 'name'?: (string); + 'aliases'?: (string)[]; + 'version'?: (string); + 'resource'?: (_google_protobuf_Any); +} + +export interface Resource__Output { + 'name': (string); + 'aliases': (string)[]; + 'version': (string); + 'resource': (_google_protobuf_Any__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.d.ts new file mode 100644 index 000000000..5e8c67260 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.d.ts @@ -0,0 +1,32 @@ +// Original file: deps/envoy-api/envoy/api/v2/route.proto + +import { VirtualHost as _envoy_api_v2_route_VirtualHost, VirtualHost__Output as _envoy_api_v2_route_VirtualHost__Output } from '../../../envoy/api/v2/route/VirtualHost'; +import { Vhds as _envoy_api_v2_Vhds, Vhds__Output as _envoy_api_v2_Vhds__Output } from '../../../envoy/api/v2/Vhds'; +import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from '../../../envoy/api/v2/core/HeaderValueOption'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../google/protobuf/BoolValue'; + +export interface RouteConfiguration { + 'name'?: (string); + 'virtual_hosts'?: (_envoy_api_v2_route_VirtualHost)[]; + 'vhds'?: (_envoy_api_v2_Vhds); + 'internal_only_headers'?: (string)[]; + 'response_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + 'response_headers_to_remove'?: (string)[]; + 'request_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + 'request_headers_to_remove'?: (string)[]; + 'most_specific_header_mutations_wins'?: (boolean); + 'validate_clusters'?: (_google_protobuf_BoolValue); +} + +export interface RouteConfiguration__Output { + 'name': (string); + 'virtual_hosts': (_envoy_api_v2_route_VirtualHost__Output)[]; + 'vhds': (_envoy_api_v2_Vhds__Output); + 'internal_only_headers': (string)[]; + 'response_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + 'response_headers_to_remove': (string)[]; + 'request_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + 'request_headers_to_remove': (string)[]; + 'most_specific_header_mutations_wins': (boolean); + 'validate_clusters': (_google_protobuf_BoolValue__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.d.ts new file mode 100644 index 000000000..9c6d979c8 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from '../../../envoy/api/v2/core/Address'; + +export interface UpstreamBindConfig { + 'source_address'?: (_envoy_api_v2_core_Address); +} + +export interface UpstreamBindConfig__Output { + 'source_address': (_envoy_api_v2_core_Address__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.d.ts new file mode 100644 index 000000000..3dfda2164 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from '../../../envoy/api/v2/core/TcpKeepalive'; + +export interface UpstreamConnectionOptions { + 'tcp_keepalive'?: (_envoy_api_v2_core_TcpKeepalive); +} + +export interface UpstreamConnectionOptions__Output { + 'tcp_keepalive': (_envoy_api_v2_core_TcpKeepalive__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Vhds.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/Vhds.d.ts new file mode 100644 index 000000000..62214f619 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/Vhds.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/api/v2/route.proto + +import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from '../../../envoy/api/v2/core/ConfigSource'; + +export interface Vhds { + 'config_source'?: (_envoy_api_v2_core_ConfigSource); +} + +export interface Vhds__Output { + 'config_source': (_envoy_api_v2_core_ConfigSource__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.d.ts new file mode 100644 index 000000000..b34aa4ba2 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.d.ts @@ -0,0 +1,38 @@ +// Original file: deps/envoy-api/envoy/api/v2/auth/common.proto + +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../../envoy/type/matcher/StringMatcher'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; + +// Original file: deps/envoy-api/envoy/api/v2/auth/common.proto + +export enum _envoy_api_v2_auth_CertificateValidationContext_TrustChainVerification { + VERIFY_TRUST_CHAIN = 0, + ACCEPT_UNTRUSTED = 1, +} + +export interface CertificateValidationContext { + 'trusted_ca'?: (_envoy_api_v2_core_DataSource); + 'verify_certificate_spki'?: (string)[]; + 'verify_certificate_hash'?: (string)[]; + 'verify_subject_alt_name'?: (string)[]; + 'match_subject_alt_names'?: (_envoy_type_matcher_StringMatcher)[]; + 'require_ocsp_staple'?: (_google_protobuf_BoolValue); + 'require_signed_certificate_timestamp'?: (_google_protobuf_BoolValue); + 'crl'?: (_envoy_api_v2_core_DataSource); + 'allow_expired_certificate'?: (boolean); + 'trust_chain_verification'?: (_envoy_api_v2_auth_CertificateValidationContext_TrustChainVerification | keyof typeof _envoy_api_v2_auth_CertificateValidationContext_TrustChainVerification); +} + +export interface CertificateValidationContext__Output { + 'trusted_ca': (_envoy_api_v2_core_DataSource__Output); + 'verify_certificate_spki': (string)[]; + 'verify_certificate_hash': (string)[]; + 'verify_subject_alt_name': (string)[]; + 'match_subject_alt_names': (_envoy_type_matcher_StringMatcher__Output)[]; + 'require_ocsp_staple': (_google_protobuf_BoolValue__Output); + 'require_signed_certificate_timestamp': (_google_protobuf_BoolValue__Output); + 'crl': (_envoy_api_v2_core_DataSource__Output); + 'allow_expired_certificate': (boolean); + 'trust_chain_verification': (keyof typeof _envoy_api_v2_auth_CertificateValidationContext_TrustChainVerification); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.d.ts new file mode 100644 index 000000000..039ba89c1 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.d.ts @@ -0,0 +1,38 @@ +// Original file: deps/envoy-api/envoy/api/v2/auth/tls.proto + +import { TlsParameters as _envoy_api_v2_auth_TlsParameters, TlsParameters__Output as _envoy_api_v2_auth_TlsParameters__Output } from '../../../../envoy/api/v2/auth/TlsParameters'; +import { TlsCertificate as _envoy_api_v2_auth_TlsCertificate, TlsCertificate__Output as _envoy_api_v2_auth_TlsCertificate__Output } from '../../../../envoy/api/v2/auth/TlsCertificate'; +import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from '../../../../envoy/api/v2/auth/SdsSecretConfig'; +import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from '../../../../envoy/api/v2/auth/CertificateValidationContext'; + +export interface _envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext { + 'default_validation_context'?: (_envoy_api_v2_auth_CertificateValidationContext); + 'validation_context_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig); +} + +export interface _envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext__Output { + 'default_validation_context': (_envoy_api_v2_auth_CertificateValidationContext__Output); + 'validation_context_sds_secret_config': (_envoy_api_v2_auth_SdsSecretConfig__Output); +} + +export interface CommonTlsContext { + 'tls_params'?: (_envoy_api_v2_auth_TlsParameters); + 'tls_certificates'?: (_envoy_api_v2_auth_TlsCertificate)[]; + 'tls_certificate_sds_secret_configs'?: (_envoy_api_v2_auth_SdsSecretConfig)[]; + 'validation_context'?: (_envoy_api_v2_auth_CertificateValidationContext); + 'validation_context_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig); + 'combined_validation_context'?: (_envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext); + 'alpn_protocols'?: (string)[]; + 'validation_context_type'?: "validation_context"|"validation_context_sds_secret_config"|"combined_validation_context"; +} + +export interface CommonTlsContext__Output { + 'tls_params': (_envoy_api_v2_auth_TlsParameters__Output); + 'tls_certificates': (_envoy_api_v2_auth_TlsCertificate__Output)[]; + 'tls_certificate_sds_secret_configs': (_envoy_api_v2_auth_SdsSecretConfig__Output)[]; + 'validation_context'?: (_envoy_api_v2_auth_CertificateValidationContext__Output); + 'validation_context_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig__Output); + 'combined_validation_context'?: (_envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext__Output); + 'alpn_protocols': (string)[]; + 'validation_context_type': "validation_context"|"validation_context_sds_secret_config"|"combined_validation_context"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.d.ts new file mode 100644 index 000000000..aaef34234 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.d.ts @@ -0,0 +1,29 @@ +// Original file: deps/envoy-api/envoy/api/v2/auth/tls.proto + +import { CommonTlsContext as _envoy_api_v2_auth_CommonTlsContext, CommonTlsContext__Output as _envoy_api_v2_auth_CommonTlsContext__Output } from '../../../../envoy/api/v2/auth/CommonTlsContext'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; +import { TlsSessionTicketKeys as _envoy_api_v2_auth_TlsSessionTicketKeys, TlsSessionTicketKeys__Output as _envoy_api_v2_auth_TlsSessionTicketKeys__Output } from '../../../../envoy/api/v2/auth/TlsSessionTicketKeys'; +import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from '../../../../envoy/api/v2/auth/SdsSecretConfig'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; + +export interface DownstreamTlsContext { + 'common_tls_context'?: (_envoy_api_v2_auth_CommonTlsContext); + 'require_client_certificate'?: (_google_protobuf_BoolValue); + 'require_sni'?: (_google_protobuf_BoolValue); + 'session_ticket_keys'?: (_envoy_api_v2_auth_TlsSessionTicketKeys); + 'session_ticket_keys_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig); + 'disable_stateless_session_resumption'?: (boolean); + 'session_timeout'?: (_google_protobuf_Duration); + 'session_ticket_keys_type'?: "session_ticket_keys"|"session_ticket_keys_sds_secret_config"|"disable_stateless_session_resumption"; +} + +export interface DownstreamTlsContext__Output { + 'common_tls_context': (_envoy_api_v2_auth_CommonTlsContext__Output); + 'require_client_certificate': (_google_protobuf_BoolValue__Output); + 'require_sni': (_google_protobuf_BoolValue__Output); + 'session_ticket_keys'?: (_envoy_api_v2_auth_TlsSessionTicketKeys__Output); + 'session_ticket_keys_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig__Output); + 'disable_stateless_session_resumption'?: (boolean); + 'session_timeout': (_google_protobuf_Duration__Output); + 'session_ticket_keys_type': "session_ticket_keys"|"session_ticket_keys_sds_secret_config"|"disable_stateless_session_resumption"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.d.ts new file mode 100644 index 000000000..5eeaffa2c --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/api/v2/auth/secret.proto + +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; + +export interface GenericSecret { + 'secret'?: (_envoy_api_v2_core_DataSource); +} + +export interface GenericSecret__Output { + 'secret': (_envoy_api_v2_core_DataSource__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/PrivateKeyProvider.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/PrivateKeyProvider.d.ts new file mode 100644 index 000000000..fe418a390 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/PrivateKeyProvider.d.ts @@ -0,0 +1,18 @@ +// Original file: deps/envoy-api/envoy/api/v2/auth/common.proto + +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; + +export interface PrivateKeyProvider { + 'provider_name'?: (string); + 'config'?: (_google_protobuf_Struct); + 'typed_config'?: (_google_protobuf_Any); + 'config_type'?: "config"|"typed_config"; +} + +export interface PrivateKeyProvider__Output { + 'provider_name': (string); + 'config'?: (_google_protobuf_Struct__Output); + 'typed_config'?: (_google_protobuf_Any__Output); + 'config_type': "config"|"typed_config"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.d.ts new file mode 100644 index 000000000..acd9154cc --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.d.ts @@ -0,0 +1,13 @@ +// Original file: deps/envoy-api/envoy/api/v2/auth/secret.proto + +import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from '../../../../envoy/api/v2/core/ConfigSource'; + +export interface SdsSecretConfig { + 'name'?: (string); + 'sds_config'?: (_envoy_api_v2_core_ConfigSource); +} + +export interface SdsSecretConfig__Output { + 'name': (string); + 'sds_config': (_envoy_api_v2_core_ConfigSource__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/Secret.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/Secret.d.ts new file mode 100644 index 000000000..a25e6c7c1 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/Secret.d.ts @@ -0,0 +1,24 @@ +// Original file: deps/envoy-api/envoy/api/v2/auth/secret.proto + +import { TlsCertificate as _envoy_api_v2_auth_TlsCertificate, TlsCertificate__Output as _envoy_api_v2_auth_TlsCertificate__Output } from '../../../../envoy/api/v2/auth/TlsCertificate'; +import { TlsSessionTicketKeys as _envoy_api_v2_auth_TlsSessionTicketKeys, TlsSessionTicketKeys__Output as _envoy_api_v2_auth_TlsSessionTicketKeys__Output } from '../../../../envoy/api/v2/auth/TlsSessionTicketKeys'; +import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from '../../../../envoy/api/v2/auth/CertificateValidationContext'; +import { GenericSecret as _envoy_api_v2_auth_GenericSecret, GenericSecret__Output as _envoy_api_v2_auth_GenericSecret__Output } from '../../../../envoy/api/v2/auth/GenericSecret'; + +export interface Secret { + 'name'?: (string); + 'tls_certificate'?: (_envoy_api_v2_auth_TlsCertificate); + 'session_ticket_keys'?: (_envoy_api_v2_auth_TlsSessionTicketKeys); + 'validation_context'?: (_envoy_api_v2_auth_CertificateValidationContext); + 'generic_secret'?: (_envoy_api_v2_auth_GenericSecret); + 'type'?: "tls_certificate"|"session_ticket_keys"|"validation_context"|"generic_secret"; +} + +export interface Secret__Output { + 'name': (string); + 'tls_certificate'?: (_envoy_api_v2_auth_TlsCertificate__Output); + 'session_ticket_keys'?: (_envoy_api_v2_auth_TlsSessionTicketKeys__Output); + 'validation_context'?: (_envoy_api_v2_auth_CertificateValidationContext__Output); + 'generic_secret'?: (_envoy_api_v2_auth_GenericSecret__Output); + 'type': "tls_certificate"|"session_ticket_keys"|"validation_context"|"generic_secret"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.d.ts new file mode 100644 index 000000000..00d786e62 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.d.ts @@ -0,0 +1,22 @@ +// Original file: deps/envoy-api/envoy/api/v2/auth/common.proto + +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; +import { PrivateKeyProvider as _envoy_api_v2_auth_PrivateKeyProvider, PrivateKeyProvider__Output as _envoy_api_v2_auth_PrivateKeyProvider__Output } from '../../../../envoy/api/v2/auth/PrivateKeyProvider'; + +export interface TlsCertificate { + 'certificate_chain'?: (_envoy_api_v2_core_DataSource); + 'private_key'?: (_envoy_api_v2_core_DataSource); + 'private_key_provider'?: (_envoy_api_v2_auth_PrivateKeyProvider); + 'password'?: (_envoy_api_v2_core_DataSource); + 'ocsp_staple'?: (_envoy_api_v2_core_DataSource); + 'signed_certificate_timestamp'?: (_envoy_api_v2_core_DataSource)[]; +} + +export interface TlsCertificate__Output { + 'certificate_chain': (_envoy_api_v2_core_DataSource__Output); + 'private_key': (_envoy_api_v2_core_DataSource__Output); + 'private_key_provider': (_envoy_api_v2_auth_PrivateKeyProvider__Output); + 'password': (_envoy_api_v2_core_DataSource__Output); + 'ocsp_staple': (_envoy_api_v2_core_DataSource__Output); + 'signed_certificate_timestamp': (_envoy_api_v2_core_DataSource__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsParameters.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsParameters.d.ts new file mode 100644 index 000000000..efa26951a --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsParameters.d.ts @@ -0,0 +1,26 @@ +// Original file: deps/envoy-api/envoy/api/v2/auth/common.proto + + +// Original file: deps/envoy-api/envoy/api/v2/auth/common.proto + +export enum _envoy_api_v2_auth_TlsParameters_TlsProtocol { + TLS_AUTO = 0, + TLSv1_0 = 1, + TLSv1_1 = 2, + TLSv1_2 = 3, + TLSv1_3 = 4, +} + +export interface TlsParameters { + 'tls_minimum_protocol_version'?: (_envoy_api_v2_auth_TlsParameters_TlsProtocol | keyof typeof _envoy_api_v2_auth_TlsParameters_TlsProtocol); + 'tls_maximum_protocol_version'?: (_envoy_api_v2_auth_TlsParameters_TlsProtocol | keyof typeof _envoy_api_v2_auth_TlsParameters_TlsProtocol); + 'cipher_suites'?: (string)[]; + 'ecdh_curves'?: (string)[]; +} + +export interface TlsParameters__Output { + 'tls_minimum_protocol_version': (keyof typeof _envoy_api_v2_auth_TlsParameters_TlsProtocol); + 'tls_maximum_protocol_version': (keyof typeof _envoy_api_v2_auth_TlsParameters_TlsProtocol); + 'cipher_suites': (string)[]; + 'ecdh_curves': (string)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsSessionTicketKeys.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsSessionTicketKeys.d.ts new file mode 100644 index 000000000..c9b27d26c --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsSessionTicketKeys.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/api/v2/auth/common.proto + +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; + +export interface TlsSessionTicketKeys { + 'keys'?: (_envoy_api_v2_core_DataSource)[]; +} + +export interface TlsSessionTicketKeys__Output { + 'keys': (_envoy_api_v2_core_DataSource__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.d.ts new file mode 100644 index 000000000..e05f82569 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.d.ts @@ -0,0 +1,18 @@ +// Original file: deps/envoy-api/envoy/api/v2/auth/tls.proto + +import { CommonTlsContext as _envoy_api_v2_auth_CommonTlsContext, CommonTlsContext__Output as _envoy_api_v2_auth_CommonTlsContext__Output } from '../../../../envoy/api/v2/auth/CommonTlsContext'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; + +export interface UpstreamTlsContext { + 'common_tls_context'?: (_envoy_api_v2_auth_CommonTlsContext); + 'sni'?: (string); + 'allow_renegotiation'?: (boolean); + 'max_session_keys'?: (_google_protobuf_UInt32Value); +} + +export interface UpstreamTlsContext__Output { + 'common_tls_context': (_envoy_api_v2_auth_CommonTlsContext__Output); + 'sni': (string); + 'allow_renegotiation': (boolean); + 'max_session_keys': (_google_protobuf_UInt32Value__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.d.ts new file mode 100644 index 000000000..d41112c85 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.d.ts @@ -0,0 +1,45 @@ +// Original file: deps/envoy-api/envoy/api/v2/cluster/circuit_breaker.proto + +import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from '../../../../envoy/api/v2/core/RoutingPriority'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from '../../../../envoy/type/Percent'; + +export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds { + 'priority'?: (_envoy_api_v2_core_RoutingPriority | keyof typeof _envoy_api_v2_core_RoutingPriority); + 'max_connections'?: (_google_protobuf_UInt32Value); + 'max_pending_requests'?: (_google_protobuf_UInt32Value); + 'max_requests'?: (_google_protobuf_UInt32Value); + 'max_retries'?: (_google_protobuf_UInt32Value); + 'retry_budget'?: (_envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget); + 'track_remaining'?: (boolean); + 'max_connection_pools'?: (_google_protobuf_UInt32Value); +} + +export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds__Output { + 'priority': (keyof typeof _envoy_api_v2_core_RoutingPriority); + 'max_connections': (_google_protobuf_UInt32Value__Output); + 'max_pending_requests': (_google_protobuf_UInt32Value__Output); + 'max_requests': (_google_protobuf_UInt32Value__Output); + 'max_retries': (_google_protobuf_UInt32Value__Output); + 'retry_budget': (_envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget__Output); + 'track_remaining': (boolean); + 'max_connection_pools': (_google_protobuf_UInt32Value__Output); +} + +export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget { + 'budget_percent'?: (_envoy_type_Percent); + 'min_retry_concurrency'?: (_google_protobuf_UInt32Value); +} + +export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget__Output { + 'budget_percent': (_envoy_type_Percent__Output); + 'min_retry_concurrency': (_google_protobuf_UInt32Value__Output); +} + +export interface CircuitBreakers { + 'thresholds'?: (_envoy_api_v2_cluster_CircuitBreakers_Thresholds)[]; +} + +export interface CircuitBreakers__Output { + 'thresholds': (_envoy_api_v2_cluster_CircuitBreakers_Thresholds__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.d.ts new file mode 100644 index 000000000..e483c07d9 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.d.ts @@ -0,0 +1,13 @@ +// Original file: deps/envoy-api/envoy/api/v2/cluster/filter.proto + +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; + +export interface Filter { + 'name'?: (string); + 'typed_config'?: (_google_protobuf_Any); +} + +export interface Filter__Output { + 'name': (string); + 'typed_config': (_google_protobuf_Any__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.d.ts new file mode 100644 index 000000000..278e22aea --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.d.ts @@ -0,0 +1,50 @@ +// Original file: deps/envoy-api/envoy/api/v2/cluster/outlier_detection.proto + +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; + +export interface OutlierDetection { + 'consecutive_5xx'?: (_google_protobuf_UInt32Value); + 'interval'?: (_google_protobuf_Duration); + 'base_ejection_time'?: (_google_protobuf_Duration); + 'max_ejection_percent'?: (_google_protobuf_UInt32Value); + 'enforcing_consecutive_5xx'?: (_google_protobuf_UInt32Value); + 'enforcing_success_rate'?: (_google_protobuf_UInt32Value); + 'success_rate_minimum_hosts'?: (_google_protobuf_UInt32Value); + 'success_rate_request_volume'?: (_google_protobuf_UInt32Value); + 'success_rate_stdev_factor'?: (_google_protobuf_UInt32Value); + 'consecutive_gateway_failure'?: (_google_protobuf_UInt32Value); + 'enforcing_consecutive_gateway_failure'?: (_google_protobuf_UInt32Value); + 'split_external_local_origin_errors'?: (boolean); + 'consecutive_local_origin_failure'?: (_google_protobuf_UInt32Value); + 'enforcing_consecutive_local_origin_failure'?: (_google_protobuf_UInt32Value); + 'enforcing_local_origin_success_rate'?: (_google_protobuf_UInt32Value); + 'failure_percentage_threshold'?: (_google_protobuf_UInt32Value); + 'enforcing_failure_percentage'?: (_google_protobuf_UInt32Value); + 'enforcing_failure_percentage_local_origin'?: (_google_protobuf_UInt32Value); + 'failure_percentage_minimum_hosts'?: (_google_protobuf_UInt32Value); + 'failure_percentage_request_volume'?: (_google_protobuf_UInt32Value); +} + +export interface OutlierDetection__Output { + 'consecutive_5xx': (_google_protobuf_UInt32Value__Output); + 'interval': (_google_protobuf_Duration__Output); + 'base_ejection_time': (_google_protobuf_Duration__Output); + 'max_ejection_percent': (_google_protobuf_UInt32Value__Output); + 'enforcing_consecutive_5xx': (_google_protobuf_UInt32Value__Output); + 'enforcing_success_rate': (_google_protobuf_UInt32Value__Output); + 'success_rate_minimum_hosts': (_google_protobuf_UInt32Value__Output); + 'success_rate_request_volume': (_google_protobuf_UInt32Value__Output); + 'success_rate_stdev_factor': (_google_protobuf_UInt32Value__Output); + 'consecutive_gateway_failure': (_google_protobuf_UInt32Value__Output); + 'enforcing_consecutive_gateway_failure': (_google_protobuf_UInt32Value__Output); + 'split_external_local_origin_errors': (boolean); + 'consecutive_local_origin_failure': (_google_protobuf_UInt32Value__Output); + 'enforcing_consecutive_local_origin_failure': (_google_protobuf_UInt32Value__Output); + 'enforcing_local_origin_success_rate': (_google_protobuf_UInt32Value__Output); + 'failure_percentage_threshold': (_google_protobuf_UInt32Value__Output); + 'enforcing_failure_percentage': (_google_protobuf_UInt32Value__Output); + 'enforcing_failure_percentage_local_origin': (_google_protobuf_UInt32Value__Output); + 'failure_percentage_minimum_hosts': (_google_protobuf_UInt32Value__Output); + 'failure_percentage_request_volume': (_google_protobuf_UInt32Value__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Address.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Address.d.ts new file mode 100644 index 000000000..79b40931c --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Address.d.ts @@ -0,0 +1,16 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/address.proto + +import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from '../../../../envoy/api/v2/core/SocketAddress'; +import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from '../../../../envoy/api/v2/core/Pipe'; + +export interface Address { + 'socket_address'?: (_envoy_api_v2_core_SocketAddress); + 'pipe'?: (_envoy_api_v2_core_Pipe); + 'address'?: "socket_address"|"pipe"; +} + +export interface Address__Output { + 'socket_address'?: (_envoy_api_v2_core_SocketAddress__Output); + 'pipe'?: (_envoy_api_v2_core_Pipe__Output); + 'address': "socket_address"|"pipe"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/AggregatedConfigSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/AggregatedConfigSource.d.ts new file mode 100644 index 000000000..dd0b6619b --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/AggregatedConfigSource.d.ts @@ -0,0 +1,8 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/config_source.proto + + +export interface AggregatedConfigSource { +} + +export interface AggregatedConfigSource__Output { +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.d.ts new file mode 100644 index 000000000..93092c0fa --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.d.ts @@ -0,0 +1,37 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/config_source.proto + +import { ApiVersion as _envoy_api_v2_core_ApiVersion } from '../../../../envoy/api/v2/core/ApiVersion'; +import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from '../../../../envoy/api/v2/core/GrpcService'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; +import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from '../../../../envoy/api/v2/core/RateLimitSettings'; + +// Original file: deps/envoy-api/envoy/api/v2/core/config_source.proto + +export enum _envoy_api_v2_core_ApiConfigSource_ApiType { + UNSUPPORTED_REST_LEGACY = 0, + REST = 1, + GRPC = 2, + DELTA_GRPC = 3, +} + +export interface ApiConfigSource { + 'api_type'?: (_envoy_api_v2_core_ApiConfigSource_ApiType | keyof typeof _envoy_api_v2_core_ApiConfigSource_ApiType); + 'transport_api_version'?: (_envoy_api_v2_core_ApiVersion | keyof typeof _envoy_api_v2_core_ApiVersion); + 'cluster_names'?: (string)[]; + 'grpc_services'?: (_envoy_api_v2_core_GrpcService)[]; + 'refresh_delay'?: (_google_protobuf_Duration); + 'request_timeout'?: (_google_protobuf_Duration); + 'rate_limit_settings'?: (_envoy_api_v2_core_RateLimitSettings); + 'set_node_on_first_message_only'?: (boolean); +} + +export interface ApiConfigSource__Output { + 'api_type': (keyof typeof _envoy_api_v2_core_ApiConfigSource_ApiType); + 'transport_api_version': (keyof typeof _envoy_api_v2_core_ApiVersion); + 'cluster_names': (string)[]; + 'grpc_services': (_envoy_api_v2_core_GrpcService__Output)[]; + 'refresh_delay': (_google_protobuf_Duration__Output); + 'request_timeout': (_google_protobuf_Duration__Output); + 'rate_limit_settings': (_envoy_api_v2_core_RateLimitSettings__Output); + 'set_node_on_first_message_only': (boolean); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ApiVersion.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiVersion.d.ts new file mode 100644 index 000000000..0a3952e61 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiVersion.d.ts @@ -0,0 +1,7 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/config_source.proto + +export enum ApiVersion { + AUTO = 0, + V2 = 1, + V3 = 2, +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/AsyncDataSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/AsyncDataSource.d.ts new file mode 100644 index 000000000..1f8ea0b5f --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/AsyncDataSource.d.ts @@ -0,0 +1,16 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; +import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from '../../../../envoy/api/v2/core/RemoteDataSource'; + +export interface AsyncDataSource { + 'local'?: (_envoy_api_v2_core_DataSource); + 'remote'?: (_envoy_api_v2_core_RemoteDataSource); + 'specifier'?: "local"|"remote"; +} + +export interface AsyncDataSource__Output { + 'local'?: (_envoy_api_v2_core_DataSource__Output); + 'remote'?: (_envoy_api_v2_core_RemoteDataSource__Output); + 'specifier': "local"|"remote"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.d.ts new file mode 100644 index 000000000..a95361e5a --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.d.ts @@ -0,0 +1,13 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/backoff.proto + +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; + +export interface BackoffStrategy { + 'base_interval'?: (_google_protobuf_Duration); + 'max_interval'?: (_google_protobuf_Duration); +} + +export interface BackoffStrategy__Output { + 'base_interval': (_google_protobuf_Duration__Output); + 'max_interval': (_google_protobuf_Duration__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.d.ts new file mode 100644 index 000000000..05d32a072 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.d.ts @@ -0,0 +1,17 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/address.proto + +import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from '../../../../envoy/api/v2/core/SocketAddress'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; +import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from '../../../../envoy/api/v2/core/SocketOption'; + +export interface BindConfig { + 'source_address'?: (_envoy_api_v2_core_SocketAddress); + 'freebind'?: (_google_protobuf_BoolValue); + 'socket_options'?: (_envoy_api_v2_core_SocketOption)[]; +} + +export interface BindConfig__Output { + 'source_address': (_envoy_api_v2_core_SocketAddress__Output); + 'freebind': (_google_protobuf_BoolValue__Output); + 'socket_options': (_envoy_api_v2_core_SocketOption__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.d.ts new file mode 100644 index 000000000..1008082a2 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.d.ts @@ -0,0 +1,14 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from '../../../../envoy/type/SemanticVersion'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; + +export interface BuildVersion { + 'version'?: (_envoy_type_SemanticVersion); + 'metadata'?: (_google_protobuf_Struct); +} + +export interface BuildVersion__Output { + 'version': (_envoy_type_SemanticVersion__Output); + 'metadata': (_google_protobuf_Struct__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.d.ts new file mode 100644 index 000000000..6c84de0c2 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.d.ts @@ -0,0 +1,13 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/address.proto + +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; + +export interface CidrRange { + 'address_prefix'?: (string); + 'prefix_len'?: (_google_protobuf_UInt32Value); +} + +export interface CidrRange__Output { + 'address_prefix': (string); + 'prefix_len': (_google_protobuf_UInt32Value__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.d.ts new file mode 100644 index 000000000..a9cd08e43 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.d.ts @@ -0,0 +1,27 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/config_source.proto + +import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from '../../../../envoy/api/v2/core/ApiConfigSource'; +import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from '../../../../envoy/api/v2/core/AggregatedConfigSource'; +import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from '../../../../envoy/api/v2/core/SelfConfigSource'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; +import { ApiVersion as _envoy_api_v2_core_ApiVersion } from '../../../../envoy/api/v2/core/ApiVersion'; + +export interface ConfigSource { + 'path'?: (string); + 'api_config_source'?: (_envoy_api_v2_core_ApiConfigSource); + 'ads'?: (_envoy_api_v2_core_AggregatedConfigSource); + 'self'?: (_envoy_api_v2_core_SelfConfigSource); + 'initial_fetch_timeout'?: (_google_protobuf_Duration); + 'resource_api_version'?: (_envoy_api_v2_core_ApiVersion | keyof typeof _envoy_api_v2_core_ApiVersion); + 'config_source_specifier'?: "path"|"api_config_source"|"ads"|"self"; +} + +export interface ConfigSource__Output { + 'path'?: (string); + 'api_config_source'?: (_envoy_api_v2_core_ApiConfigSource__Output); + 'ads'?: (_envoy_api_v2_core_AggregatedConfigSource__Output); + 'self'?: (_envoy_api_v2_core_SelfConfigSource__Output); + 'initial_fetch_timeout': (_google_protobuf_Duration__Output); + 'resource_api_version': (keyof typeof _envoy_api_v2_core_ApiVersion); + 'config_source_specifier': "path"|"api_config_source"|"ads"|"self"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ControlPlane.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ControlPlane.d.ts new file mode 100644 index 000000000..0074cf060 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/ControlPlane.d.ts @@ -0,0 +1,10 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + + +export interface ControlPlane { + 'identifier'?: (string); +} + +export interface ControlPlane__Output { + 'identifier': (string); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/DataSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/DataSource.d.ts new file mode 100644 index 000000000..ae5b5a302 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/DataSource.d.ts @@ -0,0 +1,16 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + + +export interface DataSource { + 'filename'?: (string); + 'inline_bytes'?: (Buffer | Uint8Array | string); + 'inline_string'?: (string); + 'specifier'?: "filename"|"inline_bytes"|"inline_string"; +} + +export interface DataSource__Output { + 'filename'?: (string); + 'inline_bytes'?: (Buffer); + 'inline_string'?: (string); + 'specifier': "filename"|"inline_bytes"|"inline_string"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/EventServiceConfig.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/EventServiceConfig.d.ts new file mode 100644 index 000000000..31601fa74 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/EventServiceConfig.d.ts @@ -0,0 +1,13 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/event_service_config.proto + +import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from '../../../../envoy/api/v2/core/GrpcService'; + +export interface EventServiceConfig { + 'grpc_service'?: (_envoy_api_v2_core_GrpcService); + 'config_source_specifier'?: "grpc_service"; +} + +export interface EventServiceConfig__Output { + 'grpc_service'?: (_envoy_api_v2_core_GrpcService__Output); + 'config_source_specifier': "grpc_service"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Extension.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Extension.d.ts new file mode 100644 index 000000000..285b68bea --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Extension.d.ts @@ -0,0 +1,19 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from '../../../../envoy/api/v2/core/BuildVersion'; + +export interface Extension { + 'name'?: (string); + 'category'?: (string); + 'type_descriptor'?: (string); + 'version'?: (_envoy_api_v2_core_BuildVersion); + 'disabled'?: (boolean); +} + +export interface Extension__Output { + 'name': (string); + 'category': (string); + 'type_descriptor': (string); + 'version': (_envoy_api_v2_core_BuildVersion__Output); + 'disabled': (boolean); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.d.ts new file mode 100644 index 000000000..fc1c3755f --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/protocol.proto + +import { Http2ProtocolOptions as _envoy_api_v2_core_Http2ProtocolOptions, Http2ProtocolOptions__Output as _envoy_api_v2_core_Http2ProtocolOptions__Output } from '../../../../envoy/api/v2/core/Http2ProtocolOptions'; + +export interface GrpcProtocolOptions { + 'http2_protocol_options'?: (_envoy_api_v2_core_Http2ProtocolOptions); +} + +export interface GrpcProtocolOptions__Output { + 'http2_protocol_options': (_envoy_api_v2_core_Http2ProtocolOptions__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.d.ts new file mode 100644 index 000000000..0e8021b19 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.d.ts @@ -0,0 +1,163 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/grpc_service.proto + +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; +import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from '../../../../envoy/api/v2/core/HeaderValue'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; +import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from '../../../../google/protobuf/Empty'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; +import { Long } from '@grpc/proto-loader'; + +export interface _envoy_api_v2_core_GrpcService_EnvoyGrpc { + 'cluster_name'?: (string); +} + +export interface _envoy_api_v2_core_GrpcService_EnvoyGrpc__Output { + 'cluster_name': (string); +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc { + 'target_uri'?: (string); + 'channel_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials); + 'call_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials)[]; + 'stat_prefix'?: (string); + 'credentials_factory_name'?: (string); + 'config'?: (_google_protobuf_Struct); +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc__Output { + 'target_uri': (string); + 'channel_credentials': (_envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials__Output); + 'call_credentials': (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials__Output)[]; + 'stat_prefix': (string); + 'credentials_factory_name': (string); + 'config': (_google_protobuf_Struct__Output); +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials { + 'root_certs'?: (_envoy_api_v2_core_DataSource); + 'private_key'?: (_envoy_api_v2_core_DataSource); + 'cert_chain'?: (_envoy_api_v2_core_DataSource); +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__Output { + 'root_certs': (_envoy_api_v2_core_DataSource__Output); + 'private_key': (_envoy_api_v2_core_DataSource__Output); + 'cert_chain': (_envoy_api_v2_core_DataSource__Output); +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials { +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials__Output { +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials { + 'ssl_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials); + 'google_default'?: (_google_protobuf_Empty); + 'local_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials); + 'credential_specifier'?: "ssl_credentials"|"google_default"|"local_credentials"; +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials__Output { + 'ssl_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__Output); + 'google_default'?: (_google_protobuf_Empty__Output); + 'local_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials__Output); + 'credential_specifier': "ssl_credentials"|"google_default"|"local_credentials"; +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials { + 'access_token'?: (string); + 'google_compute_engine'?: (_google_protobuf_Empty); + 'google_refresh_token'?: (string); + 'service_account_jwt_access'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials); + 'google_iam'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials); + 'from_plugin'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin); + 'sts_service'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService); + 'credential_specifier'?: "access_token"|"google_compute_engine"|"google_refresh_token"|"service_account_jwt_access"|"google_iam"|"from_plugin"|"sts_service"; +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials__Output { + 'access_token'?: (string); + 'google_compute_engine'?: (_google_protobuf_Empty__Output); + 'google_refresh_token'?: (string); + 'service_account_jwt_access'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__Output); + 'google_iam'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials__Output); + 'from_plugin'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin__Output); + 'sts_service'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService__Output); + 'credential_specifier': "access_token"|"google_compute_engine"|"google_refresh_token"|"service_account_jwt_access"|"google_iam"|"from_plugin"|"sts_service"; +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials { + 'json_key'?: (string); + 'token_lifetime_seconds'?: (number | string | Long); +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__Output { + 'json_key': (string); + 'token_lifetime_seconds': (string); +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials { + 'authorization_token'?: (string); + 'authority_selector'?: (string); +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials__Output { + 'authorization_token': (string); + 'authority_selector': (string); +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin { + 'name'?: (string); + 'config'?: (_google_protobuf_Struct); + 'typed_config'?: (_google_protobuf_Any); + 'config_type'?: "config"|"typed_config"; +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin__Output { + 'name': (string); + 'config'?: (_google_protobuf_Struct__Output); + 'typed_config'?: (_google_protobuf_Any__Output); + 'config_type': "config"|"typed_config"; +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService { + 'token_exchange_service_uri'?: (string); + 'resource'?: (string); + 'audience'?: (string); + 'scope'?: (string); + 'requested_token_type'?: (string); + 'subject_token_path'?: (string); + 'subject_token_type'?: (string); + 'actor_token_path'?: (string); + 'actor_token_type'?: (string); +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService__Output { + 'token_exchange_service_uri': (string); + 'resource': (string); + 'audience': (string); + 'scope': (string); + 'requested_token_type': (string); + 'subject_token_path': (string); + 'subject_token_type': (string); + 'actor_token_path': (string); + 'actor_token_type': (string); +} + +export interface GrpcService { + 'envoy_grpc'?: (_envoy_api_v2_core_GrpcService_EnvoyGrpc); + 'google_grpc'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc); + 'timeout'?: (_google_protobuf_Duration); + 'initial_metadata'?: (_envoy_api_v2_core_HeaderValue)[]; + 'target_specifier'?: "envoy_grpc"|"google_grpc"; +} + +export interface GrpcService__Output { + 'envoy_grpc'?: (_envoy_api_v2_core_GrpcService_EnvoyGrpc__Output); + 'google_grpc'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc__Output); + 'timeout': (_google_protobuf_Duration__Output); + 'initial_metadata': (_envoy_api_v2_core_HeaderValue__Output)[]; + 'target_specifier': "envoy_grpc"|"google_grpc"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderMap.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderMap.d.ts new file mode 100644 index 000000000..b3fafdc57 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderMap.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from '../../../../envoy/api/v2/core/HeaderValue'; + +export interface HeaderMap { + 'headers'?: (_envoy_api_v2_core_HeaderValue)[]; +} + +export interface HeaderMap__Output { + 'headers': (_envoy_api_v2_core_HeaderValue__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValue.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValue.d.ts new file mode 100644 index 000000000..4b2e8ac92 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValue.d.ts @@ -0,0 +1,12 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + + +export interface HeaderValue { + 'key'?: (string); + 'value'?: (string); +} + +export interface HeaderValue__Output { + 'key': (string); + 'value': (string); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.d.ts new file mode 100644 index 000000000..ac8c4b971 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.d.ts @@ -0,0 +1,14 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from '../../../../envoy/api/v2/core/HeaderValue'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; + +export interface HeaderValueOption { + 'header'?: (_envoy_api_v2_core_HeaderValue); + 'append'?: (_google_protobuf_BoolValue); +} + +export interface HeaderValueOption__Output { + 'header': (_envoy_api_v2_core_HeaderValue__Output); + 'append': (_google_protobuf_BoolValue__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.d.ts new file mode 100644 index 000000000..934db81b2 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.d.ts @@ -0,0 +1,153 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/health_check.proto + +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; +import { EventServiceConfig as _envoy_api_v2_core_EventServiceConfig, EventServiceConfig__Output as _envoy_api_v2_core_EventServiceConfig__Output } from '../../../../envoy/api/v2/core/EventServiceConfig'; +import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from '../../../../envoy/api/v2/core/HeaderValueOption'; +import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from '../../../../envoy/type/Int64Range'; +import { CodecClientType as _envoy_type_CodecClientType } from '../../../../envoy/type/CodecClientType'; +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../../envoy/type/matcher/StringMatcher'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; +import { Long } from '@grpc/proto-loader'; + +export interface _envoy_api_v2_core_HealthCheck_Payload { + 'text'?: (string); + 'binary'?: (Buffer | Uint8Array | string); + 'payload'?: "text"|"binary"; +} + +export interface _envoy_api_v2_core_HealthCheck_Payload__Output { + 'text'?: (string); + 'binary'?: (Buffer); + 'payload': "text"|"binary"; +} + +export interface _envoy_api_v2_core_HealthCheck_HttpHealthCheck { + 'host'?: (string); + 'path'?: (string); + 'send'?: (_envoy_api_v2_core_HealthCheck_Payload); + 'receive'?: (_envoy_api_v2_core_HealthCheck_Payload); + 'service_name'?: (string); + 'request_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + 'request_headers_to_remove'?: (string)[]; + 'use_http2'?: (boolean); + 'expected_statuses'?: (_envoy_type_Int64Range)[]; + 'codec_client_type'?: (_envoy_type_CodecClientType | keyof typeof _envoy_type_CodecClientType); + 'service_name_matcher'?: (_envoy_type_matcher_StringMatcher); +} + +export interface _envoy_api_v2_core_HealthCheck_HttpHealthCheck__Output { + 'host': (string); + 'path': (string); + 'send': (_envoy_api_v2_core_HealthCheck_Payload__Output); + 'receive': (_envoy_api_v2_core_HealthCheck_Payload__Output); + 'service_name': (string); + 'request_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + 'request_headers_to_remove': (string)[]; + 'use_http2': (boolean); + 'expected_statuses': (_envoy_type_Int64Range__Output)[]; + 'codec_client_type': (keyof typeof _envoy_type_CodecClientType); + 'service_name_matcher': (_envoy_type_matcher_StringMatcher__Output); +} + +export interface _envoy_api_v2_core_HealthCheck_TcpHealthCheck { + 'send'?: (_envoy_api_v2_core_HealthCheck_Payload); + 'receive'?: (_envoy_api_v2_core_HealthCheck_Payload)[]; +} + +export interface _envoy_api_v2_core_HealthCheck_TcpHealthCheck__Output { + 'send': (_envoy_api_v2_core_HealthCheck_Payload__Output); + 'receive': (_envoy_api_v2_core_HealthCheck_Payload__Output)[]; +} + +export interface _envoy_api_v2_core_HealthCheck_RedisHealthCheck { + 'key'?: (string); +} + +export interface _envoy_api_v2_core_HealthCheck_RedisHealthCheck__Output { + 'key': (string); +} + +export interface _envoy_api_v2_core_HealthCheck_GrpcHealthCheck { + 'service_name'?: (string); + 'authority'?: (string); +} + +export interface _envoy_api_v2_core_HealthCheck_GrpcHealthCheck__Output { + 'service_name': (string); + 'authority': (string); +} + +export interface _envoy_api_v2_core_HealthCheck_CustomHealthCheck { + 'name'?: (string); + 'config'?: (_google_protobuf_Struct); + 'typed_config'?: (_google_protobuf_Any); + 'config_type'?: "config"|"typed_config"; +} + +export interface _envoy_api_v2_core_HealthCheck_CustomHealthCheck__Output { + 'name': (string); + 'config'?: (_google_protobuf_Struct__Output); + 'typed_config'?: (_google_protobuf_Any__Output); + 'config_type': "config"|"typed_config"; +} + +export interface _envoy_api_v2_core_HealthCheck_TlsOptions { + 'alpn_protocols'?: (string)[]; +} + +export interface _envoy_api_v2_core_HealthCheck_TlsOptions__Output { + 'alpn_protocols': (string)[]; +} + +export interface HealthCheck { + 'timeout'?: (_google_protobuf_Duration); + 'interval'?: (_google_protobuf_Duration); + 'initial_jitter'?: (_google_protobuf_Duration); + 'interval_jitter'?: (_google_protobuf_Duration); + 'interval_jitter_percent'?: (number); + 'unhealthy_threshold'?: (_google_protobuf_UInt32Value); + 'healthy_threshold'?: (_google_protobuf_UInt32Value); + 'alt_port'?: (_google_protobuf_UInt32Value); + 'reuse_connection'?: (_google_protobuf_BoolValue); + 'http_health_check'?: (_envoy_api_v2_core_HealthCheck_HttpHealthCheck); + 'tcp_health_check'?: (_envoy_api_v2_core_HealthCheck_TcpHealthCheck); + 'grpc_health_check'?: (_envoy_api_v2_core_HealthCheck_GrpcHealthCheck); + 'custom_health_check'?: (_envoy_api_v2_core_HealthCheck_CustomHealthCheck); + 'no_traffic_interval'?: (_google_protobuf_Duration); + 'unhealthy_interval'?: (_google_protobuf_Duration); + 'unhealthy_edge_interval'?: (_google_protobuf_Duration); + 'healthy_edge_interval'?: (_google_protobuf_Duration); + 'event_log_path'?: (string); + 'event_service'?: (_envoy_api_v2_core_EventServiceConfig); + 'always_log_health_check_failures'?: (boolean); + 'tls_options'?: (_envoy_api_v2_core_HealthCheck_TlsOptions); + 'health_checker'?: "http_health_check"|"tcp_health_check"|"grpc_health_check"|"custom_health_check"; +} + +export interface HealthCheck__Output { + 'timeout': (_google_protobuf_Duration__Output); + 'interval': (_google_protobuf_Duration__Output); + 'initial_jitter': (_google_protobuf_Duration__Output); + 'interval_jitter': (_google_protobuf_Duration__Output); + 'interval_jitter_percent': (number); + 'unhealthy_threshold': (_google_protobuf_UInt32Value__Output); + 'healthy_threshold': (_google_protobuf_UInt32Value__Output); + 'alt_port': (_google_protobuf_UInt32Value__Output); + 'reuse_connection': (_google_protobuf_BoolValue__Output); + 'http_health_check'?: (_envoy_api_v2_core_HealthCheck_HttpHealthCheck__Output); + 'tcp_health_check'?: (_envoy_api_v2_core_HealthCheck_TcpHealthCheck__Output); + 'grpc_health_check'?: (_envoy_api_v2_core_HealthCheck_GrpcHealthCheck__Output); + 'custom_health_check'?: (_envoy_api_v2_core_HealthCheck_CustomHealthCheck__Output); + 'no_traffic_interval': (_google_protobuf_Duration__Output); + 'unhealthy_interval': (_google_protobuf_Duration__Output); + 'unhealthy_edge_interval': (_google_protobuf_Duration__Output); + 'healthy_edge_interval': (_google_protobuf_Duration__Output); + 'event_log_path': (string); + 'event_service': (_envoy_api_v2_core_EventServiceConfig__Output); + 'always_log_health_check_failures': (boolean); + 'tls_options': (_envoy_api_v2_core_HealthCheck_TlsOptions__Output); + 'health_checker': "http_health_check"|"tcp_health_check"|"grpc_health_check"|"custom_health_check"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthStatus.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthStatus.d.ts new file mode 100644 index 000000000..a92dde214 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthStatus.d.ts @@ -0,0 +1,10 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/health_check.proto + +export enum HealthStatus { + UNKNOWN = 0, + HEALTHY = 1, + UNHEALTHY = 2, + DRAINING = 3, + TIMEOUT = 4, + DEGRADED = 5, +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.d.ts new file mode 100644 index 000000000..566497ce3 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.d.ts @@ -0,0 +1,35 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/protocol.proto + +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; + +export interface _envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat { + 'proper_case_words'?: (_envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords); + 'header_format'?: "proper_case_words"; +} + +export interface _envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat__Output { + 'proper_case_words'?: (_envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords__Output); + 'header_format': "proper_case_words"; +} + +export interface _envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords { +} + +export interface _envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords__Output { +} + +export interface Http1ProtocolOptions { + 'allow_absolute_url'?: (_google_protobuf_BoolValue); + 'accept_http_10'?: (boolean); + 'default_host_for_http_10'?: (string); + 'header_key_format'?: (_envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat); + 'enable_trailers'?: (boolean); +} + +export interface Http1ProtocolOptions__Output { + 'allow_absolute_url': (_google_protobuf_BoolValue__Output); + 'accept_http_10': (boolean); + 'default_host_for_http_10': (string); + 'header_key_format': (_envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat__Output); + 'enable_trailers': (boolean); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.d.ts new file mode 100644 index 000000000..69d62ff81 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.d.ts @@ -0,0 +1,45 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/protocol.proto + +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; + +export interface _envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter { + 'identifier'?: (_google_protobuf_UInt32Value); + 'value'?: (_google_protobuf_UInt32Value); +} + +export interface _envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter__Output { + 'identifier': (_google_protobuf_UInt32Value__Output); + 'value': (_google_protobuf_UInt32Value__Output); +} + +export interface Http2ProtocolOptions { + 'hpack_table_size'?: (_google_protobuf_UInt32Value); + 'max_concurrent_streams'?: (_google_protobuf_UInt32Value); + 'initial_stream_window_size'?: (_google_protobuf_UInt32Value); + 'initial_connection_window_size'?: (_google_protobuf_UInt32Value); + 'allow_connect'?: (boolean); + 'allow_metadata'?: (boolean); + 'max_outbound_frames'?: (_google_protobuf_UInt32Value); + 'max_outbound_control_frames'?: (_google_protobuf_UInt32Value); + 'max_consecutive_inbound_frames_with_empty_payload'?: (_google_protobuf_UInt32Value); + 'max_inbound_priority_frames_per_stream'?: (_google_protobuf_UInt32Value); + 'max_inbound_window_update_frames_per_data_frame_sent'?: (_google_protobuf_UInt32Value); + 'stream_error_on_invalid_http_messaging'?: (boolean); + 'custom_settings_parameters'?: (_envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter)[]; +} + +export interface Http2ProtocolOptions__Output { + 'hpack_table_size': (_google_protobuf_UInt32Value__Output); + 'max_concurrent_streams': (_google_protobuf_UInt32Value__Output); + 'initial_stream_window_size': (_google_protobuf_UInt32Value__Output); + 'initial_connection_window_size': (_google_protobuf_UInt32Value__Output); + 'allow_connect': (boolean); + 'allow_metadata': (boolean); + 'max_outbound_frames': (_google_protobuf_UInt32Value__Output); + 'max_outbound_control_frames': (_google_protobuf_UInt32Value__Output); + 'max_consecutive_inbound_frames_with_empty_payload': (_google_protobuf_UInt32Value__Output); + 'max_inbound_priority_frames_per_stream': (_google_protobuf_UInt32Value__Output); + 'max_inbound_window_update_frames_per_data_frame_sent': (_google_protobuf_UInt32Value__Output); + 'stream_error_on_invalid_http_messaging': (boolean); + 'custom_settings_parameters': (_envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.d.ts new file mode 100644 index 000000000..f3594ce68 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.d.ts @@ -0,0 +1,28 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/protocol.proto + +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; + +// Original file: deps/envoy-api/envoy/api/v2/core/protocol.proto + +export enum _envoy_api_v2_core_HttpProtocolOptions_HeadersWithUnderscoresAction { + ALLOW = 0, + REJECT_REQUEST = 1, + DROP_HEADER = 2, +} + +export interface HttpProtocolOptions { + 'idle_timeout'?: (_google_protobuf_Duration); + 'max_connection_duration'?: (_google_protobuf_Duration); + 'max_headers_count'?: (_google_protobuf_UInt32Value); + 'max_stream_duration'?: (_google_protobuf_Duration); + 'headers_with_underscores_action'?: (_envoy_api_v2_core_HttpProtocolOptions_HeadersWithUnderscoresAction | keyof typeof _envoy_api_v2_core_HttpProtocolOptions_HeadersWithUnderscoresAction); +} + +export interface HttpProtocolOptions__Output { + 'idle_timeout': (_google_protobuf_Duration__Output); + 'max_connection_duration': (_google_protobuf_Duration__Output); + 'max_headers_count': (_google_protobuf_UInt32Value__Output); + 'max_stream_duration': (_google_protobuf_Duration__Output); + 'headers_with_underscores_action': (keyof typeof _envoy_api_v2_core_HttpProtocolOptions_HeadersWithUnderscoresAction); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.d.ts new file mode 100644 index 000000000..4e0b1f86f --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.d.ts @@ -0,0 +1,17 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/http_uri.proto + +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; + +export interface HttpUri { + 'uri'?: (string); + 'cluster'?: (string); + 'timeout'?: (_google_protobuf_Duration); + 'http_upstream_type'?: "cluster"; +} + +export interface HttpUri__Output { + 'uri': (string); + 'cluster'?: (string); + 'timeout': (_google_protobuf_Duration__Output); + 'http_upstream_type': "cluster"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Locality.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Locality.d.ts new file mode 100644 index 000000000..c17f07413 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Locality.d.ts @@ -0,0 +1,14 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + + +export interface Locality { + 'region'?: (string); + 'zone'?: (string); + 'sub_zone'?: (string); +} + +export interface Locality__Output { + 'region': (string); + 'zone': (string); + 'sub_zone': (string); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.d.ts new file mode 100644 index 000000000..dfc0406d9 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; + +export interface Metadata { + 'filter_metadata'?: (_google_protobuf_Struct); +} + +export interface Metadata__Output { + 'filter_metadata': (_google_protobuf_Struct__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Node.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Node.d.ts new file mode 100644 index 000000000..d20d3ec6f --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Node.d.ts @@ -0,0 +1,37 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from '../../../../envoy/api/v2/core/Locality'; +import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from '../../../../envoy/api/v2/core/BuildVersion'; +import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from '../../../../envoy/api/v2/core/Extension'; +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from '../../../../envoy/api/v2/core/Address'; + +export interface Node { + 'id'?: (string); + 'cluster'?: (string); + 'metadata'?: (_google_protobuf_Struct); + 'locality'?: (_envoy_api_v2_core_Locality); + 'build_version'?: (string); + 'user_agent_name'?: (string); + 'user_agent_version'?: (string); + 'user_agent_build_version'?: (_envoy_api_v2_core_BuildVersion); + 'extensions'?: (_envoy_api_v2_core_Extension)[]; + 'client_features'?: (string)[]; + 'listening_addresses'?: (_envoy_api_v2_core_Address)[]; + 'user_agent_version_type'?: "user_agent_version"|"user_agent_build_version"; +} + +export interface Node__Output { + 'id': (string); + 'cluster': (string); + 'metadata': (_google_protobuf_Struct__Output); + 'locality': (_envoy_api_v2_core_Locality__Output); + 'build_version': (string); + 'user_agent_name': (string); + 'user_agent_version'?: (string); + 'user_agent_build_version'?: (_envoy_api_v2_core_BuildVersion__Output); + 'extensions': (_envoy_api_v2_core_Extension__Output)[]; + 'client_features': (string)[]; + 'listening_addresses': (_envoy_api_v2_core_Address__Output)[]; + 'user_agent_version_type': "user_agent_version"|"user_agent_build_version"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Pipe.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Pipe.d.ts new file mode 100644 index 000000000..42ecc0aec --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Pipe.d.ts @@ -0,0 +1,12 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/address.proto + + +export interface Pipe { + 'path'?: (string); + 'mode'?: (number); +} + +export interface Pipe__Output { + 'path': (string); + 'mode': (number); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.d.ts new file mode 100644 index 000000000..e6b00f31c --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.d.ts @@ -0,0 +1,14 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/config_source.proto + +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from '../../../../google/protobuf/DoubleValue'; + +export interface RateLimitSettings { + 'max_tokens'?: (_google_protobuf_UInt32Value); + 'fill_rate'?: (_google_protobuf_DoubleValue); +} + +export interface RateLimitSettings__Output { + 'max_tokens': (_google_protobuf_UInt32Value__Output); + 'fill_rate': (_google_protobuf_DoubleValue__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.d.ts new file mode 100644 index 000000000..c372e2265 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.d.ts @@ -0,0 +1,16 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from '../../../../envoy/api/v2/core/HttpUri'; +import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from '../../../../envoy/api/v2/core/RetryPolicy'; + +export interface RemoteDataSource { + 'http_uri'?: (_envoy_api_v2_core_HttpUri); + 'sha256'?: (string); + 'retry_policy'?: (_envoy_api_v2_core_RetryPolicy); +} + +export interface RemoteDataSource__Output { + 'http_uri': (_envoy_api_v2_core_HttpUri__Output); + 'sha256': (string); + 'retry_policy': (_envoy_api_v2_core_RetryPolicy__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RequestMethod.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RequestMethod.d.ts new file mode 100644 index 000000000..5532045c1 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RequestMethod.d.ts @@ -0,0 +1,14 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +export enum RequestMethod { + METHOD_UNSPECIFIED = 0, + GET = 1, + HEAD = 2, + POST = 3, + PUT = 4, + DELETE = 5, + CONNECT = 6, + OPTIONS = 7, + TRACE = 8, + PATCH = 9, +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.d.ts new file mode 100644 index 000000000..a18f83648 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.d.ts @@ -0,0 +1,14 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from '../../../../envoy/api/v2/core/BackoffStrategy'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; + +export interface RetryPolicy { + 'retry_back_off'?: (_envoy_api_v2_core_BackoffStrategy); + 'num_retries'?: (_google_protobuf_UInt32Value); +} + +export interface RetryPolicy__Output { + 'retry_back_off': (_envoy_api_v2_core_BackoffStrategy__Output); + 'num_retries': (_google_protobuf_UInt32Value__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RoutingPriority.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RoutingPriority.d.ts new file mode 100644 index 000000000..d386146e5 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RoutingPriority.d.ts @@ -0,0 +1,6 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +export enum RoutingPriority { + DEFAULT = 0, + HIGH = 1, +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeDouble.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeDouble.d.ts new file mode 100644 index 000000000..177749784 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeDouble.d.ts @@ -0,0 +1,12 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + + +export interface RuntimeDouble { + 'default_value'?: (number | string); + 'runtime_key'?: (string); +} + +export interface RuntimeDouble__Output { + 'default_value': (number | string); + 'runtime_key': (string); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.d.ts new file mode 100644 index 000000000..897751270 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.d.ts @@ -0,0 +1,13 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; + +export interface RuntimeFeatureFlag { + 'default_value'?: (_google_protobuf_BoolValue); + 'runtime_key'?: (string); +} + +export interface RuntimeFeatureFlag__Output { + 'default_value': (_google_protobuf_BoolValue__Output); + 'runtime_key': (string); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.d.ts new file mode 100644 index 000000000..b6bb48d62 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.d.ts @@ -0,0 +1,13 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from '../../../../envoy/type/FractionalPercent'; + +export interface RuntimeFractionalPercent { + 'default_value'?: (_envoy_type_FractionalPercent); + 'runtime_key'?: (string); +} + +export interface RuntimeFractionalPercent__Output { + 'default_value': (_envoy_type_FractionalPercent__Output); + 'runtime_key': (string); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeUInt32.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeUInt32.d.ts new file mode 100644 index 000000000..bf6f7b903 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeUInt32.d.ts @@ -0,0 +1,12 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + + +export interface RuntimeUInt32 { + 'default_value'?: (number); + 'runtime_key'?: (string); +} + +export interface RuntimeUInt32__Output { + 'default_value': (number); + 'runtime_key': (string); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/SelfConfigSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/SelfConfigSource.d.ts new file mode 100644 index 000000000..8551f7832 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/SelfConfigSource.d.ts @@ -0,0 +1,8 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/config_source.proto + + +export interface SelfConfigSource { +} + +export interface SelfConfigSource__Output { +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/SocketAddress.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/SocketAddress.d.ts new file mode 100644 index 000000000..415cf082c --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/SocketAddress.d.ts @@ -0,0 +1,29 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/address.proto + + +// Original file: deps/envoy-api/envoy/api/v2/core/address.proto + +export enum _envoy_api_v2_core_SocketAddress_Protocol { + TCP = 0, + UDP = 1, +} + +export interface SocketAddress { + 'protocol'?: (_envoy_api_v2_core_SocketAddress_Protocol | keyof typeof _envoy_api_v2_core_SocketAddress_Protocol); + 'address'?: (string); + 'port_value'?: (number); + 'named_port'?: (string); + 'resolver_name'?: (string); + 'ipv4_compat'?: (boolean); + 'port_specifier'?: "port_value"|"named_port"; +} + +export interface SocketAddress__Output { + 'protocol': (keyof typeof _envoy_api_v2_core_SocketAddress_Protocol); + 'address': (string); + 'port_value'?: (number); + 'named_port'?: (string); + 'resolver_name': (string); + 'ipv4_compat': (boolean); + 'port_specifier': "port_value"|"named_port"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/SocketOption.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/SocketOption.d.ts new file mode 100644 index 000000000..0319328ff --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/SocketOption.d.ts @@ -0,0 +1,31 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/socket_option.proto + +import { Long } from '@grpc/proto-loader'; + +// Original file: deps/envoy-api/envoy/api/v2/core/socket_option.proto + +export enum _envoy_api_v2_core_SocketOption_SocketState { + STATE_PREBIND = 0, + STATE_BOUND = 1, + STATE_LISTENING = 2, +} + +export interface SocketOption { + 'description'?: (string); + 'level'?: (number | string | Long); + 'name'?: (number | string | Long); + 'int_value'?: (number | string | Long); + 'buf_value'?: (Buffer | Uint8Array | string); + 'state'?: (_envoy_api_v2_core_SocketOption_SocketState | keyof typeof _envoy_api_v2_core_SocketOption_SocketState); + 'value'?: "int_value"|"buf_value"; +} + +export interface SocketOption__Output { + 'description': (string); + 'level': (string); + 'name': (string); + 'int_value'?: (string); + 'buf_value'?: (Buffer); + 'state': (keyof typeof _envoy_api_v2_core_SocketOption_SocketState); + 'value': "int_value"|"buf_value"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.d.ts new file mode 100644 index 000000000..dd77d08bd --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.d.ts @@ -0,0 +1,15 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/address.proto + +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; + +export interface TcpKeepalive { + 'keepalive_probes'?: (_google_protobuf_UInt32Value); + 'keepalive_time'?: (_google_protobuf_UInt32Value); + 'keepalive_interval'?: (_google_protobuf_UInt32Value); +} + +export interface TcpKeepalive__Output { + 'keepalive_probes': (_google_protobuf_UInt32Value__Output); + 'keepalive_time': (_google_protobuf_UInt32Value__Output); + 'keepalive_interval': (_google_protobuf_UInt32Value__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/TcpProtocolOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/TcpProtocolOptions.d.ts new file mode 100644 index 000000000..602fae7af --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/TcpProtocolOptions.d.ts @@ -0,0 +1,8 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/protocol.proto + + +export interface TcpProtocolOptions { +} + +export interface TcpProtocolOptions__Output { +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/TrafficDirection.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/TrafficDirection.d.ts new file mode 100644 index 000000000..50f4bb28c --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/TrafficDirection.d.ts @@ -0,0 +1,7 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +export enum TrafficDirection { + UNSPECIFIED = 0, + INBOUND = 1, + OUTBOUND = 2, +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/TransportSocket.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/TransportSocket.d.ts new file mode 100644 index 000000000..7062f81e2 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/TransportSocket.d.ts @@ -0,0 +1,18 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/base.proto + +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; + +export interface TransportSocket { + 'name'?: (string); + 'config'?: (_google_protobuf_Struct); + 'typed_config'?: (_google_protobuf_Any); + 'config_type'?: "config"|"typed_config"; +} + +export interface TransportSocket__Output { + 'name': (string); + 'config'?: (_google_protobuf_Struct__Output); + 'typed_config'?: (_google_protobuf_Any__Output); + 'config_type': "config"|"typed_config"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/UpstreamHttpProtocolOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/UpstreamHttpProtocolOptions.d.ts new file mode 100644 index 000000000..d4e492413 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/UpstreamHttpProtocolOptions.d.ts @@ -0,0 +1,12 @@ +// Original file: deps/envoy-api/envoy/api/v2/core/protocol.proto + + +export interface UpstreamHttpProtocolOptions { + 'auto_sni'?: (boolean); + 'auto_san_validation'?: (boolean); +} + +export interface UpstreamHttpProtocolOptions__Output { + 'auto_sni': (boolean); + 'auto_san_validation': (boolean); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.d.ts new file mode 100644 index 000000000..bdb23b50c --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.d.ts @@ -0,0 +1,25 @@ +// Original file: deps/envoy-api/envoy/api/v2/endpoint/endpoint_components.proto + +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from '../../../../envoy/api/v2/core/Address'; + +export interface _envoy_api_v2_endpoint_Endpoint_HealthCheckConfig { + 'port_value'?: (number); + 'hostname'?: (string); +} + +export interface _envoy_api_v2_endpoint_Endpoint_HealthCheckConfig__Output { + 'port_value': (number); + 'hostname': (string); +} + +export interface Endpoint { + 'address'?: (_envoy_api_v2_core_Address); + 'health_check_config'?: (_envoy_api_v2_endpoint_Endpoint_HealthCheckConfig); + 'hostname'?: (string); +} + +export interface Endpoint__Output { + 'address': (_envoy_api_v2_core_Address__Output); + 'health_check_config': (_envoy_api_v2_endpoint_Endpoint_HealthCheckConfig__Output); + 'hostname': (string); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.d.ts new file mode 100644 index 000000000..cb40e7c95 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.d.ts @@ -0,0 +1,24 @@ +// Original file: deps/envoy-api/envoy/api/v2/endpoint/endpoint_components.proto + +import { Endpoint as _envoy_api_v2_endpoint_Endpoint, Endpoint__Output as _envoy_api_v2_endpoint_Endpoint__Output } from '../../../../envoy/api/v2/endpoint/Endpoint'; +import { HealthStatus as _envoy_api_v2_core_HealthStatus } from '../../../../envoy/api/v2/core/HealthStatus'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../../envoy/api/v2/core/Metadata'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; + +export interface LbEndpoint { + 'endpoint'?: (_envoy_api_v2_endpoint_Endpoint); + 'endpoint_name'?: (string); + 'health_status'?: (_envoy_api_v2_core_HealthStatus | keyof typeof _envoy_api_v2_core_HealthStatus); + 'metadata'?: (_envoy_api_v2_core_Metadata); + 'load_balancing_weight'?: (_google_protobuf_UInt32Value); + 'host_identifier'?: "endpoint"|"endpoint_name"; +} + +export interface LbEndpoint__Output { + 'endpoint'?: (_envoy_api_v2_endpoint_Endpoint__Output); + 'endpoint_name'?: (string); + 'health_status': (keyof typeof _envoy_api_v2_core_HealthStatus); + 'metadata': (_envoy_api_v2_core_Metadata__Output); + 'load_balancing_weight': (_google_protobuf_UInt32Value__Output); + 'host_identifier': "endpoint"|"endpoint_name"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.d.ts new file mode 100644 index 000000000..d42663b04 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.d.ts @@ -0,0 +1,21 @@ +// Original file: deps/envoy-api/envoy/api/v2/endpoint/endpoint_components.proto + +import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from '../../../../envoy/api/v2/core/Locality'; +import { LbEndpoint as _envoy_api_v2_endpoint_LbEndpoint, LbEndpoint__Output as _envoy_api_v2_endpoint_LbEndpoint__Output } from '../../../../envoy/api/v2/endpoint/LbEndpoint'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; + +export interface LocalityLbEndpoints { + 'locality'?: (_envoy_api_v2_core_Locality); + 'lb_endpoints'?: (_envoy_api_v2_endpoint_LbEndpoint)[]; + 'load_balancing_weight'?: (_google_protobuf_UInt32Value); + 'priority'?: (number); + 'proximity'?: (_google_protobuf_UInt32Value); +} + +export interface LocalityLbEndpoints__Output { + 'locality': (_envoy_api_v2_core_Locality__Output); + 'lb_endpoints': (_envoy_api_v2_endpoint_LbEndpoint__Output)[]; + 'load_balancing_weight': (_google_protobuf_UInt32Value__Output); + 'priority': (number); + 'proximity': (_google_protobuf_UInt32Value__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/ActiveRawUdpListenerConfig.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/ActiveRawUdpListenerConfig.d.ts new file mode 100644 index 000000000..7bb47c26c --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/ActiveRawUdpListenerConfig.d.ts @@ -0,0 +1,8 @@ +// Original file: deps/envoy-api/envoy/api/v2/listener/udp_listener_config.proto + + +export interface ActiveRawUdpListenerConfig { +} + +export interface ActiveRawUdpListenerConfig__Output { +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/Filter.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/Filter.d.ts new file mode 100644 index 000000000..d9c2cc793 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/Filter.d.ts @@ -0,0 +1,18 @@ +// Original file: deps/envoy-api/envoy/api/v2/listener/listener_components.proto + +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; + +export interface Filter { + 'name'?: (string); + 'config'?: (_google_protobuf_Struct); + 'typed_config'?: (_google_protobuf_Any); + 'config_type'?: "config"|"typed_config"; +} + +export interface Filter__Output { + 'name': (string); + 'config'?: (_google_protobuf_Struct__Output); + 'typed_config'?: (_google_protobuf_Any__Output); + 'config_type': "config"|"typed_config"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.d.ts new file mode 100644 index 000000000..ca24c8429 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.d.ts @@ -0,0 +1,28 @@ +// Original file: deps/envoy-api/envoy/api/v2/listener/listener_components.proto + +import { FilterChainMatch as _envoy_api_v2_listener_FilterChainMatch, FilterChainMatch__Output as _envoy_api_v2_listener_FilterChainMatch__Output } from '../../../../envoy/api/v2/listener/FilterChainMatch'; +import { DownstreamTlsContext as _envoy_api_v2_auth_DownstreamTlsContext, DownstreamTlsContext__Output as _envoy_api_v2_auth_DownstreamTlsContext__Output } from '../../../../envoy/api/v2/auth/DownstreamTlsContext'; +import { Filter as _envoy_api_v2_listener_Filter, Filter__Output as _envoy_api_v2_listener_Filter__Output } from '../../../../envoy/api/v2/listener/Filter'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../../envoy/api/v2/core/Metadata'; +import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from '../../../../envoy/api/v2/core/TransportSocket'; + +export interface FilterChain { + 'filter_chain_match'?: (_envoy_api_v2_listener_FilterChainMatch); + 'tls_context'?: (_envoy_api_v2_auth_DownstreamTlsContext); + 'filters'?: (_envoy_api_v2_listener_Filter)[]; + 'use_proxy_proto'?: (_google_protobuf_BoolValue); + 'metadata'?: (_envoy_api_v2_core_Metadata); + 'transport_socket'?: (_envoy_api_v2_core_TransportSocket); + 'name'?: (string); +} + +export interface FilterChain__Output { + 'filter_chain_match': (_envoy_api_v2_listener_FilterChainMatch__Output); + 'tls_context': (_envoy_api_v2_auth_DownstreamTlsContext__Output); + 'filters': (_envoy_api_v2_listener_Filter__Output)[]; + 'use_proxy_proto': (_google_protobuf_BoolValue__Output); + 'metadata': (_envoy_api_v2_core_Metadata__Output); + 'transport_socket': (_envoy_api_v2_core_TransportSocket__Output); + 'name': (string); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.d.ts new file mode 100644 index 000000000..4b74a5544 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.d.ts @@ -0,0 +1,38 @@ +// Original file: deps/envoy-api/envoy/api/v2/listener/listener_components.proto + +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from '../../../../envoy/api/v2/core/CidrRange'; + +// Original file: deps/envoy-api/envoy/api/v2/listener/listener_components.proto + +export enum _envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType { + ANY = 0, + LOCAL = 1, + EXTERNAL = 2, +} + +export interface FilterChainMatch { + 'destination_port'?: (_google_protobuf_UInt32Value); + 'prefix_ranges'?: (_envoy_api_v2_core_CidrRange)[]; + 'address_suffix'?: (string); + 'suffix_len'?: (_google_protobuf_UInt32Value); + 'source_type'?: (_envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType | keyof typeof _envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType); + 'source_prefix_ranges'?: (_envoy_api_v2_core_CidrRange)[]; + 'source_ports'?: (number)[]; + 'server_names'?: (string)[]; + 'transport_protocol'?: (string); + 'application_protocols'?: (string)[]; +} + +export interface FilterChainMatch__Output { + 'destination_port': (_google_protobuf_UInt32Value__Output); + 'prefix_ranges': (_envoy_api_v2_core_CidrRange__Output)[]; + 'address_suffix': (string); + 'suffix_len': (_google_protobuf_UInt32Value__Output); + 'source_type': (keyof typeof _envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType); + 'source_prefix_ranges': (_envoy_api_v2_core_CidrRange__Output)[]; + 'source_ports': (number)[]; + 'server_names': (string)[]; + 'transport_protocol': (string); + 'application_protocols': (string)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.d.ts new file mode 100644 index 000000000..bd143d311 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.d.ts @@ -0,0 +1,21 @@ +// Original file: deps/envoy-api/envoy/api/v2/listener/listener_components.proto + +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; +import { ListenerFilterChainMatchPredicate as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate, ListenerFilterChainMatchPredicate__Output as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output } from '../../../../envoy/api/v2/listener/ListenerFilterChainMatchPredicate'; + +export interface ListenerFilter { + 'name'?: (string); + 'config'?: (_google_protobuf_Struct); + 'typed_config'?: (_google_protobuf_Any); + 'filter_disabled'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate); + 'config_type'?: "config"|"typed_config"; +} + +export interface ListenerFilter__Output { + 'name': (string); + 'config'?: (_google_protobuf_Struct__Output); + 'typed_config'?: (_google_protobuf_Any__Output); + 'filter_disabled': (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output); + 'config_type': "config"|"typed_config"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilterChainMatchPredicate.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilterChainMatchPredicate.d.ts new file mode 100644 index 000000000..a795f0191 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilterChainMatchPredicate.d.ts @@ -0,0 +1,30 @@ +// Original file: deps/envoy-api/envoy/api/v2/listener/listener_components.proto + +import { ListenerFilterChainMatchPredicate as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate, ListenerFilterChainMatchPredicate__Output as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output } from '../../../../envoy/api/v2/listener/ListenerFilterChainMatchPredicate'; +import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from '../../../../envoy/type/Int32Range'; + +export interface _envoy_api_v2_listener_ListenerFilterChainMatchPredicate_MatchSet { + 'rules'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate)[]; +} + +export interface _envoy_api_v2_listener_ListenerFilterChainMatchPredicate_MatchSet__Output { + 'rules': (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output)[]; +} + +export interface ListenerFilterChainMatchPredicate { + 'or_match'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate_MatchSet); + 'and_match'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate_MatchSet); + 'not_match'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate); + 'any_match'?: (boolean); + 'destination_port_range'?: (_envoy_type_Int32Range); + 'rule'?: "or_match"|"and_match"|"not_match"|"any_match"|"destination_port_range"; +} + +export interface ListenerFilterChainMatchPredicate__Output { + 'or_match'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate_MatchSet__Output); + 'and_match'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate_MatchSet__Output); + 'not_match'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output); + 'any_match'?: (boolean); + 'destination_port_range'?: (_envoy_type_Int32Range__Output); + 'rule': "or_match"|"and_match"|"not_match"|"any_match"|"destination_port_range"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/UdpListenerConfig.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/UdpListenerConfig.d.ts new file mode 100644 index 000000000..775f4ae9f --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/UdpListenerConfig.d.ts @@ -0,0 +1,18 @@ +// Original file: deps/envoy-api/envoy/api/v2/listener/udp_listener_config.proto + +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; + +export interface UdpListenerConfig { + 'udp_listener_name'?: (string); + 'config'?: (_google_protobuf_Struct); + 'typed_config'?: (_google_protobuf_Any); + 'config_type'?: "config"|"typed_config"; +} + +export interface UdpListenerConfig__Output { + 'udp_listener_name': (string); + 'config'?: (_google_protobuf_Struct__Output); + 'typed_config'?: (_google_protobuf_Any__Output); + 'config_type': "config"|"typed_config"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.d.ts new file mode 100644 index 000000000..d1f5b11d0 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.d.ts @@ -0,0 +1,35 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../../envoy/type/matcher/StringMatcher'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; +import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from '../../../../envoy/api/v2/core/RuntimeFractionalPercent'; + +export interface CorsPolicy { + 'allow_origin'?: (string)[]; + 'allow_origin_regex'?: (string)[]; + 'allow_origin_string_match'?: (_envoy_type_matcher_StringMatcher)[]; + 'allow_methods'?: (string); + 'allow_headers'?: (string); + 'expose_headers'?: (string); + 'max_age'?: (string); + 'allow_credentials'?: (_google_protobuf_BoolValue); + 'enabled'?: (_google_protobuf_BoolValue); + 'filter_enabled'?: (_envoy_api_v2_core_RuntimeFractionalPercent); + 'shadow_enabled'?: (_envoy_api_v2_core_RuntimeFractionalPercent); + 'enabled_specifier'?: "enabled"|"filter_enabled"; +} + +export interface CorsPolicy__Output { + 'allow_origin': (string)[]; + 'allow_origin_regex': (string)[]; + 'allow_origin_string_match': (_envoy_type_matcher_StringMatcher__Output)[]; + 'allow_methods': (string); + 'allow_headers': (string); + 'expose_headers': (string); + 'max_age': (string); + 'allow_credentials': (_google_protobuf_BoolValue__Output); + 'enabled'?: (_google_protobuf_BoolValue__Output); + 'filter_enabled'?: (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + 'shadow_enabled': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + 'enabled_specifier': "enabled"|"filter_enabled"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.d.ts new file mode 100644 index 000000000..84deb8b0c --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.d.ts @@ -0,0 +1,13 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; + +export interface Decorator { + 'operation'?: (string); + 'propagate'?: (_google_protobuf_BoolValue); +} + +export interface Decorator__Output { + 'operation': (string); + 'propagate': (_google_protobuf_BoolValue__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.d.ts new file mode 100644 index 000000000..83440efcf --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.d.ts @@ -0,0 +1,13 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; + +export interface DirectResponseAction { + 'status'?: (number); + 'body'?: (_envoy_api_v2_core_DataSource); +} + +export interface DirectResponseAction__Output { + 'status': (number); + 'body': (_envoy_api_v2_core_DataSource__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.d.ts new file mode 100644 index 000000000..14455ae79 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; + +export interface FilterAction { + 'action'?: (_google_protobuf_Any); +} + +export interface FilterAction__Output { + 'action': (_google_protobuf_Any__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.d.ts new file mode 100644 index 000000000..97636e12b --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.d.ts @@ -0,0 +1,31 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from '../../../../envoy/type/matcher/RegexMatcher'; +import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from '../../../../envoy/type/Int64Range'; +import { Long } from '@grpc/proto-loader'; + +export interface HeaderMatcher { + 'name'?: (string); + 'exact_match'?: (string); + 'regex_match'?: (string); + 'safe_regex_match'?: (_envoy_type_matcher_RegexMatcher); + 'range_match'?: (_envoy_type_Int64Range); + 'present_match'?: (boolean); + 'prefix_match'?: (string); + 'suffix_match'?: (string); + 'invert_match'?: (boolean); + 'header_match_specifier'?: "exact_match"|"regex_match"|"safe_regex_match"|"range_match"|"present_match"|"prefix_match"|"suffix_match"; +} + +export interface HeaderMatcher__Output { + 'name': (string); + 'exact_match'?: (string); + 'regex_match'?: (string); + 'safe_regex_match'?: (_envoy_type_matcher_RegexMatcher__Output); + 'range_match'?: (_envoy_type_Int64Range__Output); + 'present_match'?: (boolean); + 'prefix_match'?: (string); + 'suffix_match'?: (string); + 'invert_match': (boolean); + 'header_match_specifier': "exact_match"|"regex_match"|"safe_regex_match"|"range_match"|"present_match"|"prefix_match"|"suffix_match"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.d.ts new file mode 100644 index 000000000..5cab83560 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.d.ts @@ -0,0 +1,16 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from '../../../../envoy/type/FractionalPercent'; + +export interface HedgePolicy { + 'initial_requests'?: (_google_protobuf_UInt32Value); + 'additional_request_chance'?: (_envoy_type_FractionalPercent); + 'hedge_on_per_try_timeout'?: (boolean); +} + +export interface HedgePolicy__Output { + 'initial_requests': (_google_protobuf_UInt32Value__Output); + 'additional_request_chance': (_envoy_type_FractionalPercent__Output); + 'hedge_on_per_try_timeout': (boolean); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.d.ts new file mode 100644 index 000000000..48c6a51b0 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.d.ts @@ -0,0 +1,22 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../../envoy/type/matcher/StringMatcher'; + +export interface QueryParameterMatcher { + 'name'?: (string); + 'value'?: (string); + 'regex'?: (_google_protobuf_BoolValue); + 'string_match'?: (_envoy_type_matcher_StringMatcher); + 'present_match'?: (boolean); + 'query_parameter_match_specifier'?: "string_match"|"present_match"; +} + +export interface QueryParameterMatcher__Output { + 'name': (string); + 'value': (string); + 'regex': (_google_protobuf_BoolValue__Output); + 'string_match'?: (_envoy_type_matcher_StringMatcher__Output); + 'present_match'?: (boolean); + 'query_parameter_match_specifier': "string_match"|"present_match"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.d.ts new file mode 100644 index 000000000..86681d391 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.d.ts @@ -0,0 +1,85 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; +import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from '../../../../envoy/api/v2/route/HeaderMatcher'; + +export interface _envoy_api_v2_route_RateLimit_Action { + 'source_cluster'?: (_envoy_api_v2_route_RateLimit_Action_SourceCluster); + 'destination_cluster'?: (_envoy_api_v2_route_RateLimit_Action_DestinationCluster); + 'request_headers'?: (_envoy_api_v2_route_RateLimit_Action_RequestHeaders); + 'remote_address'?: (_envoy_api_v2_route_RateLimit_Action_RemoteAddress); + 'generic_key'?: (_envoy_api_v2_route_RateLimit_Action_GenericKey); + 'header_value_match'?: (_envoy_api_v2_route_RateLimit_Action_HeaderValueMatch); + 'action_specifier'?: "source_cluster"|"destination_cluster"|"request_headers"|"remote_address"|"generic_key"|"header_value_match"; +} + +export interface _envoy_api_v2_route_RateLimit_Action__Output { + 'source_cluster'?: (_envoy_api_v2_route_RateLimit_Action_SourceCluster__Output); + 'destination_cluster'?: (_envoy_api_v2_route_RateLimit_Action_DestinationCluster__Output); + 'request_headers'?: (_envoy_api_v2_route_RateLimit_Action_RequestHeaders__Output); + 'remote_address'?: (_envoy_api_v2_route_RateLimit_Action_RemoteAddress__Output); + 'generic_key'?: (_envoy_api_v2_route_RateLimit_Action_GenericKey__Output); + 'header_value_match'?: (_envoy_api_v2_route_RateLimit_Action_HeaderValueMatch__Output); + 'action_specifier': "source_cluster"|"destination_cluster"|"request_headers"|"remote_address"|"generic_key"|"header_value_match"; +} + +export interface _envoy_api_v2_route_RateLimit_Action_SourceCluster { +} + +export interface _envoy_api_v2_route_RateLimit_Action_SourceCluster__Output { +} + +export interface _envoy_api_v2_route_RateLimit_Action_DestinationCluster { +} + +export interface _envoy_api_v2_route_RateLimit_Action_DestinationCluster__Output { +} + +export interface _envoy_api_v2_route_RateLimit_Action_RequestHeaders { + 'header_name'?: (string); + 'descriptor_key'?: (string); +} + +export interface _envoy_api_v2_route_RateLimit_Action_RequestHeaders__Output { + 'header_name': (string); + 'descriptor_key': (string); +} + +export interface _envoy_api_v2_route_RateLimit_Action_RemoteAddress { +} + +export interface _envoy_api_v2_route_RateLimit_Action_RemoteAddress__Output { +} + +export interface _envoy_api_v2_route_RateLimit_Action_GenericKey { + 'descriptor_value'?: (string); +} + +export interface _envoy_api_v2_route_RateLimit_Action_GenericKey__Output { + 'descriptor_value': (string); +} + +export interface _envoy_api_v2_route_RateLimit_Action_HeaderValueMatch { + 'descriptor_value'?: (string); + 'expect_match'?: (_google_protobuf_BoolValue); + 'headers'?: (_envoy_api_v2_route_HeaderMatcher)[]; +} + +export interface _envoy_api_v2_route_RateLimit_Action_HeaderValueMatch__Output { + 'descriptor_value': (string); + 'expect_match': (_google_protobuf_BoolValue__Output); + 'headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; +} + +export interface RateLimit { + 'stage'?: (_google_protobuf_UInt32Value); + 'disable_key'?: (string); + 'actions'?: (_envoy_api_v2_route_RateLimit_Action)[]; +} + +export interface RateLimit__Output { + 'stage': (_google_protobuf_UInt32Value__Output); + 'disable_key': (string); + 'actions': (_envoy_api_v2_route_RateLimit_Action__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.d.ts new file mode 100644 index 000000000..cdd33a9e6 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.d.ts @@ -0,0 +1,38 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + + +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +export enum _envoy_api_v2_route_RedirectAction_RedirectResponseCode { + MOVED_PERMANENTLY = 0, + FOUND = 1, + SEE_OTHER = 2, + TEMPORARY_REDIRECT = 3, + PERMANENT_REDIRECT = 4, +} + +export interface RedirectAction { + 'https_redirect'?: (boolean); + 'scheme_redirect'?: (string); + 'host_redirect'?: (string); + 'port_redirect'?: (number); + 'path_redirect'?: (string); + 'prefix_rewrite'?: (string); + 'response_code'?: (_envoy_api_v2_route_RedirectAction_RedirectResponseCode | keyof typeof _envoy_api_v2_route_RedirectAction_RedirectResponseCode); + 'strip_query'?: (boolean); + 'scheme_rewrite_specifier'?: "https_redirect"|"scheme_redirect"; + 'path_rewrite_specifier'?: "path_redirect"|"prefix_rewrite"; +} + +export interface RedirectAction__Output { + 'https_redirect'?: (boolean); + 'scheme_redirect'?: (string); + 'host_redirect': (string); + 'port_redirect': (number); + 'path_redirect'?: (string); + 'prefix_rewrite'?: (string); + 'response_code': (keyof typeof _envoy_api_v2_route_RedirectAction_RedirectResponseCode); + 'strip_query': (boolean); + 'scheme_rewrite_specifier': "https_redirect"|"scheme_redirect"; + 'path_rewrite_specifier': "path_redirect"|"prefix_rewrite"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.d.ts new file mode 100644 index 000000000..6a0be9e43 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.d.ts @@ -0,0 +1,72 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; +import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from '../../../../envoy/api/v2/route/HeaderMatcher'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; +import { Long } from '@grpc/proto-loader'; + +export interface _envoy_api_v2_route_RetryPolicy_RetryPriority { + 'name'?: (string); + 'config'?: (_google_protobuf_Struct); + 'typed_config'?: (_google_protobuf_Any); + 'config_type'?: "config"|"typed_config"; +} + +export interface _envoy_api_v2_route_RetryPolicy_RetryPriority__Output { + 'name': (string); + 'config'?: (_google_protobuf_Struct__Output); + 'typed_config'?: (_google_protobuf_Any__Output); + 'config_type': "config"|"typed_config"; +} + +export interface _envoy_api_v2_route_RetryPolicy_RetryHostPredicate { + 'name'?: (string); + 'config'?: (_google_protobuf_Struct); + 'typed_config'?: (_google_protobuf_Any); + 'config_type'?: "config"|"typed_config"; +} + +export interface _envoy_api_v2_route_RetryPolicy_RetryHostPredicate__Output { + 'name': (string); + 'config'?: (_google_protobuf_Struct__Output); + 'typed_config'?: (_google_protobuf_Any__Output); + 'config_type': "config"|"typed_config"; +} + +export interface _envoy_api_v2_route_RetryPolicy_RetryBackOff { + 'base_interval'?: (_google_protobuf_Duration); + 'max_interval'?: (_google_protobuf_Duration); +} + +export interface _envoy_api_v2_route_RetryPolicy_RetryBackOff__Output { + 'base_interval': (_google_protobuf_Duration__Output); + 'max_interval': (_google_protobuf_Duration__Output); +} + +export interface RetryPolicy { + 'retry_on'?: (string); + 'num_retries'?: (_google_protobuf_UInt32Value); + 'per_try_timeout'?: (_google_protobuf_Duration); + 'retry_priority'?: (_envoy_api_v2_route_RetryPolicy_RetryPriority); + 'retry_host_predicate'?: (_envoy_api_v2_route_RetryPolicy_RetryHostPredicate)[]; + 'host_selection_retry_max_attempts'?: (number | string | Long); + 'retriable_status_codes'?: (number)[]; + 'retry_back_off'?: (_envoy_api_v2_route_RetryPolicy_RetryBackOff); + 'retriable_headers'?: (_envoy_api_v2_route_HeaderMatcher)[]; + 'retriable_request_headers'?: (_envoy_api_v2_route_HeaderMatcher)[]; +} + +export interface RetryPolicy__Output { + 'retry_on': (string); + 'num_retries': (_google_protobuf_UInt32Value__Output); + 'per_try_timeout': (_google_protobuf_Duration__Output); + 'retry_priority': (_envoy_api_v2_route_RetryPolicy_RetryPriority__Output); + 'retry_host_predicate': (_envoy_api_v2_route_RetryPolicy_RetryHostPredicate__Output)[]; + 'host_selection_retry_max_attempts': (string); + 'retriable_status_codes': (number)[]; + 'retry_back_off': (_envoy_api_v2_route_RetryPolicy_RetryBackOff__Output); + 'retriable_headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; + 'retriable_request_headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/Route.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/Route.d.ts new file mode 100644 index 000000000..700c3ac61 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/Route.d.ts @@ -0,0 +1,54 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { RouteMatch as _envoy_api_v2_route_RouteMatch, RouteMatch__Output as _envoy_api_v2_route_RouteMatch__Output } from '../../../../envoy/api/v2/route/RouteMatch'; +import { RouteAction as _envoy_api_v2_route_RouteAction, RouteAction__Output as _envoy_api_v2_route_RouteAction__Output } from '../../../../envoy/api/v2/route/RouteAction'; +import { RedirectAction as _envoy_api_v2_route_RedirectAction, RedirectAction__Output as _envoy_api_v2_route_RedirectAction__Output } from '../../../../envoy/api/v2/route/RedirectAction'; +import { DirectResponseAction as _envoy_api_v2_route_DirectResponseAction, DirectResponseAction__Output as _envoy_api_v2_route_DirectResponseAction__Output } from '../../../../envoy/api/v2/route/DirectResponseAction'; +import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from '../../../../envoy/api/v2/route/FilterAction'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../../envoy/api/v2/core/Metadata'; +import { Decorator as _envoy_api_v2_route_Decorator, Decorator__Output as _envoy_api_v2_route_Decorator__Output } from '../../../../envoy/api/v2/route/Decorator'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; +import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from '../../../../envoy/api/v2/core/HeaderValueOption'; +import { Tracing as _envoy_api_v2_route_Tracing, Tracing__Output as _envoy_api_v2_route_Tracing__Output } from '../../../../envoy/api/v2/route/Tracing'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; + +export interface Route { + 'name'?: (string); + 'match'?: (_envoy_api_v2_route_RouteMatch); + 'route'?: (_envoy_api_v2_route_RouteAction); + 'redirect'?: (_envoy_api_v2_route_RedirectAction); + 'direct_response'?: (_envoy_api_v2_route_DirectResponseAction); + 'filter_action'?: (_envoy_api_v2_route_FilterAction); + 'metadata'?: (_envoy_api_v2_core_Metadata); + 'decorator'?: (_envoy_api_v2_route_Decorator); + 'per_filter_config'?: (_google_protobuf_Struct); + 'typed_per_filter_config'?: (_google_protobuf_Any); + 'request_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + 'request_headers_to_remove'?: (string)[]; + 'response_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + 'response_headers_to_remove'?: (string)[]; + 'tracing'?: (_envoy_api_v2_route_Tracing); + 'per_request_buffer_limit_bytes'?: (_google_protobuf_UInt32Value); + 'action'?: "route"|"redirect"|"direct_response"|"filter_action"; +} + +export interface Route__Output { + 'name': (string); + 'match': (_envoy_api_v2_route_RouteMatch__Output); + 'route'?: (_envoy_api_v2_route_RouteAction__Output); + 'redirect'?: (_envoy_api_v2_route_RedirectAction__Output); + 'direct_response'?: (_envoy_api_v2_route_DirectResponseAction__Output); + 'filter_action'?: (_envoy_api_v2_route_FilterAction__Output); + 'metadata': (_envoy_api_v2_core_Metadata__Output); + 'decorator': (_envoy_api_v2_route_Decorator__Output); + 'per_filter_config': (_google_protobuf_Struct__Output); + 'typed_per_filter_config': (_google_protobuf_Any__Output); + 'request_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + 'request_headers_to_remove': (string)[]; + 'response_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + 'response_headers_to_remove': (string)[]; + 'tracing': (_envoy_api_v2_route_Tracing__Output); + 'per_request_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); + 'action': "route"|"redirect"|"direct_response"|"filter_action"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.d.ts new file mode 100644 index 000000000..58f8f1acd --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.d.ts @@ -0,0 +1,181 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { WeightedCluster as _envoy_api_v2_route_WeightedCluster, WeightedCluster__Output as _envoy_api_v2_route_WeightedCluster__Output } from '../../../../envoy/api/v2/route/WeightedCluster'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../../envoy/api/v2/core/Metadata'; +import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from '../../../../envoy/type/matcher/RegexMatchAndSubstitute'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; +import { RetryPolicy as _envoy_api_v2_route_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_route_RetryPolicy__Output } from '../../../../envoy/api/v2/route/RetryPolicy'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; +import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from '../../../../envoy/api/v2/core/RoutingPriority'; +import { RateLimit as _envoy_api_v2_route_RateLimit, RateLimit__Output as _envoy_api_v2_route_RateLimit__Output } from '../../../../envoy/api/v2/route/RateLimit'; +import { CorsPolicy as _envoy_api_v2_route_CorsPolicy, CorsPolicy__Output as _envoy_api_v2_route_CorsPolicy__Output } from '../../../../envoy/api/v2/route/CorsPolicy'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +import { HedgePolicy as _envoy_api_v2_route_HedgePolicy, HedgePolicy__Output as _envoy_api_v2_route_HedgePolicy__Output } from '../../../../envoy/api/v2/route/HedgePolicy'; +import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from '../../../../envoy/api/v2/core/RuntimeFractionalPercent'; + +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +export enum _envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode { + SERVICE_UNAVAILABLE = 0, + NOT_FOUND = 1, +} + +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +export enum _envoy_api_v2_route_RouteAction_InternalRedirectAction { + PASS_THROUGH_INTERNAL_REDIRECT = 0, + HANDLE_INTERNAL_REDIRECT = 1, +} + +export interface _envoy_api_v2_route_RouteAction_RequestMirrorPolicy { + 'cluster'?: (string); + 'runtime_key'?: (string); + 'runtime_fraction'?: (_envoy_api_v2_core_RuntimeFractionalPercent); + 'trace_sampled'?: (_google_protobuf_BoolValue); +} + +export interface _envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output { + 'cluster': (string); + 'runtime_key': (string); + 'runtime_fraction': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + 'trace_sampled': (_google_protobuf_BoolValue__Output); +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy { + 'header'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Header); + 'cookie'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Cookie); + 'connection_properties'?: (_envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties); + 'query_parameter'?: (_envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter); + 'filter_state'?: (_envoy_api_v2_route_RouteAction_HashPolicy_FilterState); + 'terminal'?: (boolean); + 'policy_specifier'?: "header"|"cookie"|"connection_properties"|"query_parameter"|"filter_state"; +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy__Output { + 'header'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Header__Output); + 'cookie'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Cookie__Output); + 'connection_properties'?: (_envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties__Output); + 'query_parameter'?: (_envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter__Output); + 'filter_state'?: (_envoy_api_v2_route_RouteAction_HashPolicy_FilterState__Output); + 'terminal': (boolean); + 'policy_specifier': "header"|"cookie"|"connection_properties"|"query_parameter"|"filter_state"; +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy_Header { + 'header_name'?: (string); +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy_Header__Output { + 'header_name': (string); +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy_Cookie { + 'name'?: (string); + 'ttl'?: (_google_protobuf_Duration); + 'path'?: (string); +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy_Cookie__Output { + 'name': (string); + 'ttl': (_google_protobuf_Duration__Output); + 'path': (string); +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties { + 'source_ip'?: (boolean); +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties__Output { + 'source_ip': (boolean); +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter { + 'name'?: (string); +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter__Output { + 'name': (string); +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy_FilterState { + 'key'?: (string); +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy_FilterState__Output { + 'key': (string); +} + +export interface _envoy_api_v2_route_RouteAction_UpgradeConfig { + 'upgrade_type'?: (string); + 'enabled'?: (_google_protobuf_BoolValue); +} + +export interface _envoy_api_v2_route_RouteAction_UpgradeConfig__Output { + 'upgrade_type': (string); + 'enabled': (_google_protobuf_BoolValue__Output); +} + +export interface RouteAction { + 'cluster'?: (string); + 'cluster_header'?: (string); + 'weighted_clusters'?: (_envoy_api_v2_route_WeightedCluster); + 'cluster_not_found_response_code'?: (_envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode | keyof typeof _envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode); + 'metadata_match'?: (_envoy_api_v2_core_Metadata); + 'prefix_rewrite'?: (string); + 'regex_rewrite'?: (_envoy_type_matcher_RegexMatchAndSubstitute); + 'host_rewrite'?: (string); + 'auto_host_rewrite'?: (_google_protobuf_BoolValue); + 'auto_host_rewrite_header'?: (string); + 'timeout'?: (_google_protobuf_Duration); + 'idle_timeout'?: (_google_protobuf_Duration); + 'retry_policy'?: (_envoy_api_v2_route_RetryPolicy); + 'retry_policy_typed_config'?: (_google_protobuf_Any); + 'request_mirror_policy'?: (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy); + 'request_mirror_policies'?: (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy)[]; + 'priority'?: (_envoy_api_v2_core_RoutingPriority | keyof typeof _envoy_api_v2_core_RoutingPriority); + 'rate_limits'?: (_envoy_api_v2_route_RateLimit)[]; + 'include_vh_rate_limits'?: (_google_protobuf_BoolValue); + 'hash_policy'?: (_envoy_api_v2_route_RouteAction_HashPolicy)[]; + 'cors'?: (_envoy_api_v2_route_CorsPolicy); + 'max_grpc_timeout'?: (_google_protobuf_Duration); + 'grpc_timeout_offset'?: (_google_protobuf_Duration); + 'upgrade_configs'?: (_envoy_api_v2_route_RouteAction_UpgradeConfig)[]; + 'internal_redirect_action'?: (_envoy_api_v2_route_RouteAction_InternalRedirectAction | keyof typeof _envoy_api_v2_route_RouteAction_InternalRedirectAction); + 'max_internal_redirects'?: (_google_protobuf_UInt32Value); + 'hedge_policy'?: (_envoy_api_v2_route_HedgePolicy); + 'cluster_specifier'?: "cluster"|"cluster_header"|"weighted_clusters"; + 'host_rewrite_specifier'?: "host_rewrite"|"auto_host_rewrite"|"auto_host_rewrite_header"; +} + +export interface RouteAction__Output { + 'cluster'?: (string); + 'cluster_header'?: (string); + 'weighted_clusters'?: (_envoy_api_v2_route_WeightedCluster__Output); + 'cluster_not_found_response_code': (keyof typeof _envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode); + 'metadata_match': (_envoy_api_v2_core_Metadata__Output); + 'prefix_rewrite': (string); + 'regex_rewrite': (_envoy_type_matcher_RegexMatchAndSubstitute__Output); + 'host_rewrite'?: (string); + 'auto_host_rewrite'?: (_google_protobuf_BoolValue__Output); + 'auto_host_rewrite_header'?: (string); + 'timeout': (_google_protobuf_Duration__Output); + 'idle_timeout': (_google_protobuf_Duration__Output); + 'retry_policy': (_envoy_api_v2_route_RetryPolicy__Output); + 'retry_policy_typed_config': (_google_protobuf_Any__Output); + 'request_mirror_policy': (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output); + 'request_mirror_policies': (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output)[]; + 'priority': (keyof typeof _envoy_api_v2_core_RoutingPriority); + 'rate_limits': (_envoy_api_v2_route_RateLimit__Output)[]; + 'include_vh_rate_limits': (_google_protobuf_BoolValue__Output); + 'hash_policy': (_envoy_api_v2_route_RouteAction_HashPolicy__Output)[]; + 'cors': (_envoy_api_v2_route_CorsPolicy__Output); + 'max_grpc_timeout': (_google_protobuf_Duration__Output); + 'grpc_timeout_offset': (_google_protobuf_Duration__Output); + 'upgrade_configs': (_envoy_api_v2_route_RouteAction_UpgradeConfig__Output)[]; + 'internal_redirect_action': (keyof typeof _envoy_api_v2_route_RouteAction_InternalRedirectAction); + 'max_internal_redirects': (_google_protobuf_UInt32Value__Output); + 'hedge_policy': (_envoy_api_v2_route_HedgePolicy__Output); + 'cluster_specifier': "cluster"|"cluster_header"|"weighted_clusters"; + 'host_rewrite_specifier': "host_rewrite"|"auto_host_rewrite"|"auto_host_rewrite_header"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.d.ts new file mode 100644 index 000000000..897583eaf --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.d.ts @@ -0,0 +1,51 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from '../../../../envoy/type/matcher/RegexMatcher'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; +import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from '../../../../envoy/api/v2/core/RuntimeFractionalPercent'; +import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from '../../../../envoy/api/v2/route/HeaderMatcher'; +import { QueryParameterMatcher as _envoy_api_v2_route_QueryParameterMatcher, QueryParameterMatcher__Output as _envoy_api_v2_route_QueryParameterMatcher__Output } from '../../../../envoy/api/v2/route/QueryParameterMatcher'; + +export interface _envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions { +} + +export interface _envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions__Output { +} + +export interface _envoy_api_v2_route_RouteMatch_TlsContextMatchOptions { + 'presented'?: (_google_protobuf_BoolValue); + 'validated'?: (_google_protobuf_BoolValue); +} + +export interface _envoy_api_v2_route_RouteMatch_TlsContextMatchOptions__Output { + 'presented': (_google_protobuf_BoolValue__Output); + 'validated': (_google_protobuf_BoolValue__Output); +} + +export interface RouteMatch { + 'prefix'?: (string); + 'path'?: (string); + 'regex'?: (string); + 'safe_regex'?: (_envoy_type_matcher_RegexMatcher); + 'case_sensitive'?: (_google_protobuf_BoolValue); + 'runtime_fraction'?: (_envoy_api_v2_core_RuntimeFractionalPercent); + 'headers'?: (_envoy_api_v2_route_HeaderMatcher)[]; + 'query_parameters'?: (_envoy_api_v2_route_QueryParameterMatcher)[]; + 'grpc'?: (_envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions); + 'tls_context'?: (_envoy_api_v2_route_RouteMatch_TlsContextMatchOptions); + 'path_specifier'?: "prefix"|"path"|"regex"|"safe_regex"; +} + +export interface RouteMatch__Output { + 'prefix'?: (string); + 'path'?: (string); + 'regex'?: (string); + 'safe_regex'?: (_envoy_type_matcher_RegexMatcher__Output); + 'case_sensitive': (_google_protobuf_BoolValue__Output); + 'runtime_fraction': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + 'headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; + 'query_parameters': (_envoy_api_v2_route_QueryParameterMatcher__Output)[]; + 'grpc': (_envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions__Output); + 'tls_context': (_envoy_api_v2_route_RouteMatch_TlsContextMatchOptions__Output); + 'path_specifier': "prefix"|"path"|"regex"|"safe_regex"; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.d.ts new file mode 100644 index 000000000..6709864e7 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.d.ts @@ -0,0 +1,18 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from '../../../../envoy/type/FractionalPercent'; +import { CustomTag as _envoy_type_tracing_v2_CustomTag, CustomTag__Output as _envoy_type_tracing_v2_CustomTag__Output } from '../../../../envoy/type/tracing/v2/CustomTag'; + +export interface Tracing { + 'client_sampling'?: (_envoy_type_FractionalPercent); + 'random_sampling'?: (_envoy_type_FractionalPercent); + 'overall_sampling'?: (_envoy_type_FractionalPercent); + 'custom_tags'?: (_envoy_type_tracing_v2_CustomTag)[]; +} + +export interface Tracing__Output { + 'client_sampling': (_envoy_type_FractionalPercent__Output); + 'random_sampling': (_envoy_type_FractionalPercent__Output); + 'overall_sampling': (_envoy_type_FractionalPercent__Output); + 'custom_tags': (_envoy_type_tracing_v2_CustomTag__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.d.ts new file mode 100644 index 000000000..e0c23d07a --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.d.ts @@ -0,0 +1,18 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from '../../../../envoy/api/v2/route/HeaderMatcher'; +import { RequestMethod as _envoy_api_v2_core_RequestMethod } from '../../../../envoy/api/v2/core/RequestMethod'; + +export interface VirtualCluster { + 'pattern'?: (string); + 'headers'?: (_envoy_api_v2_route_HeaderMatcher)[]; + 'name'?: (string); + 'method'?: (_envoy_api_v2_core_RequestMethod | keyof typeof _envoy_api_v2_core_RequestMethod); +} + +export interface VirtualCluster__Output { + 'pattern': (string); + 'headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; + 'name': (string); + 'method': (keyof typeof _envoy_api_v2_core_RequestMethod); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.d.ts new file mode 100644 index 000000000..4d046c805 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.d.ts @@ -0,0 +1,64 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { Route as _envoy_api_v2_route_Route, Route__Output as _envoy_api_v2_route_Route__Output } from '../../../../envoy/api/v2/route/Route'; +import { VirtualCluster as _envoy_api_v2_route_VirtualCluster, VirtualCluster__Output as _envoy_api_v2_route_VirtualCluster__Output } from '../../../../envoy/api/v2/route/VirtualCluster'; +import { RateLimit as _envoy_api_v2_route_RateLimit, RateLimit__Output as _envoy_api_v2_route_RateLimit__Output } from '../../../../envoy/api/v2/route/RateLimit'; +import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from '../../../../envoy/api/v2/core/HeaderValueOption'; +import { CorsPolicy as _envoy_api_v2_route_CorsPolicy, CorsPolicy__Output as _envoy_api_v2_route_CorsPolicy__Output } from '../../../../envoy/api/v2/route/CorsPolicy'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; +import { RetryPolicy as _envoy_api_v2_route_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_route_RetryPolicy__Output } from '../../../../envoy/api/v2/route/RetryPolicy'; +import { HedgePolicy as _envoy_api_v2_route_HedgePolicy, HedgePolicy__Output as _envoy_api_v2_route_HedgePolicy__Output } from '../../../../envoy/api/v2/route/HedgePolicy'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; + +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +export enum _envoy_api_v2_route_VirtualHost_TlsRequirementType { + NONE = 0, + EXTERNAL_ONLY = 1, + ALL = 2, +} + +export interface VirtualHost { + 'name'?: (string); + 'domains'?: (string)[]; + 'routes'?: (_envoy_api_v2_route_Route)[]; + 'require_tls'?: (_envoy_api_v2_route_VirtualHost_TlsRequirementType | keyof typeof _envoy_api_v2_route_VirtualHost_TlsRequirementType); + 'virtual_clusters'?: (_envoy_api_v2_route_VirtualCluster)[]; + 'rate_limits'?: (_envoy_api_v2_route_RateLimit)[]; + 'request_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + 'request_headers_to_remove'?: (string)[]; + 'response_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + 'response_headers_to_remove'?: (string)[]; + 'cors'?: (_envoy_api_v2_route_CorsPolicy); + 'per_filter_config'?: (_google_protobuf_Struct); + 'typed_per_filter_config'?: (_google_protobuf_Any); + 'include_request_attempt_count'?: (boolean); + 'include_attempt_count_in_response'?: (boolean); + 'retry_policy'?: (_envoy_api_v2_route_RetryPolicy); + 'retry_policy_typed_config'?: (_google_protobuf_Any); + 'hedge_policy'?: (_envoy_api_v2_route_HedgePolicy); + 'per_request_buffer_limit_bytes'?: (_google_protobuf_UInt32Value); +} + +export interface VirtualHost__Output { + 'name': (string); + 'domains': (string)[]; + 'routes': (_envoy_api_v2_route_Route__Output)[]; + 'require_tls': (keyof typeof _envoy_api_v2_route_VirtualHost_TlsRequirementType); + 'virtual_clusters': (_envoy_api_v2_route_VirtualCluster__Output)[]; + 'rate_limits': (_envoy_api_v2_route_RateLimit__Output)[]; + 'request_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + 'request_headers_to_remove': (string)[]; + 'response_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + 'response_headers_to_remove': (string)[]; + 'cors': (_envoy_api_v2_route_CorsPolicy__Output); + 'per_filter_config': (_google_protobuf_Struct__Output); + 'typed_per_filter_config': (_google_protobuf_Any__Output); + 'include_request_attempt_count': (boolean); + 'include_attempt_count_in_response': (boolean); + 'retry_policy': (_envoy_api_v2_route_RetryPolicy__Output); + 'retry_policy_typed_config': (_google_protobuf_Any__Output); + 'hedge_policy': (_envoy_api_v2_route_HedgePolicy__Output); + 'per_request_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.d.ts new file mode 100644 index 000000000..84ad2348b --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.d.ts @@ -0,0 +1,43 @@ +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../../envoy/api/v2/core/Metadata'; +import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from '../../../../envoy/api/v2/core/HeaderValueOption'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; + +export interface _envoy_api_v2_route_WeightedCluster_ClusterWeight { + 'name'?: (string); + 'weight'?: (_google_protobuf_UInt32Value); + 'metadata_match'?: (_envoy_api_v2_core_Metadata); + 'request_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + 'request_headers_to_remove'?: (string)[]; + 'response_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + 'response_headers_to_remove'?: (string)[]; + 'per_filter_config'?: (_google_protobuf_Struct); + 'typed_per_filter_config'?: (_google_protobuf_Any); +} + +export interface _envoy_api_v2_route_WeightedCluster_ClusterWeight__Output { + 'name': (string); + 'weight': (_google_protobuf_UInt32Value__Output); + 'metadata_match': (_envoy_api_v2_core_Metadata__Output); + 'request_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + 'request_headers_to_remove': (string)[]; + 'response_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + 'response_headers_to_remove': (string)[]; + 'per_filter_config': (_google_protobuf_Struct__Output); + 'typed_per_filter_config': (_google_protobuf_Any__Output); +} + +export interface WeightedCluster { + 'clusters'?: (_envoy_api_v2_route_WeightedCluster_ClusterWeight)[]; + 'total_weight'?: (_google_protobuf_UInt32Value); + 'runtime_key_prefix'?: (string); +} + +export interface WeightedCluster__Output { + 'clusters': (_envoy_api_v2_route_WeightedCluster_ClusterWeight__Output)[]; + 'total_weight': (_google_protobuf_UInt32Value__Output); + 'runtime_key_prefix': (string); +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.d.ts new file mode 100644 index 000000000..d89342b10 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.d.ts @@ -0,0 +1,21 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + +import { AccessLogFilter as _envoy_config_filter_accesslog_v2_AccessLogFilter, AccessLogFilter__Output as _envoy_config_filter_accesslog_v2_AccessLogFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/AccessLogFilter'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../../google/protobuf/Any'; + +export interface AccessLog { + 'name'?: (string); + 'filter'?: (_envoy_config_filter_accesslog_v2_AccessLogFilter); + 'config'?: (_google_protobuf_Struct); + 'typed_config'?: (_google_protobuf_Any); + 'config_type'?: "config"|"typed_config"; +} + +export interface AccessLog__Output { + 'name': (string); + 'filter': (_envoy_config_filter_accesslog_v2_AccessLogFilter__Output); + 'config'?: (_google_protobuf_Struct__Output); + 'typed_config'?: (_google_protobuf_Any__Output); + 'config_type': "config"|"typed_config"; +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLogFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLogFilter.d.ts new file mode 100644 index 000000000..ce399dc52 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLogFilter.d.ts @@ -0,0 +1,43 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + +import { StatusCodeFilter as _envoy_config_filter_accesslog_v2_StatusCodeFilter, StatusCodeFilter__Output as _envoy_config_filter_accesslog_v2_StatusCodeFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/StatusCodeFilter'; +import { DurationFilter as _envoy_config_filter_accesslog_v2_DurationFilter, DurationFilter__Output as _envoy_config_filter_accesslog_v2_DurationFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/DurationFilter'; +import { NotHealthCheckFilter as _envoy_config_filter_accesslog_v2_NotHealthCheckFilter, NotHealthCheckFilter__Output as _envoy_config_filter_accesslog_v2_NotHealthCheckFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/NotHealthCheckFilter'; +import { TraceableFilter as _envoy_config_filter_accesslog_v2_TraceableFilter, TraceableFilter__Output as _envoy_config_filter_accesslog_v2_TraceableFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/TraceableFilter'; +import { RuntimeFilter as _envoy_config_filter_accesslog_v2_RuntimeFilter, RuntimeFilter__Output as _envoy_config_filter_accesslog_v2_RuntimeFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/RuntimeFilter'; +import { AndFilter as _envoy_config_filter_accesslog_v2_AndFilter, AndFilter__Output as _envoy_config_filter_accesslog_v2_AndFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/AndFilter'; +import { OrFilter as _envoy_config_filter_accesslog_v2_OrFilter, OrFilter__Output as _envoy_config_filter_accesslog_v2_OrFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/OrFilter'; +import { HeaderFilter as _envoy_config_filter_accesslog_v2_HeaderFilter, HeaderFilter__Output as _envoy_config_filter_accesslog_v2_HeaderFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/HeaderFilter'; +import { ResponseFlagFilter as _envoy_config_filter_accesslog_v2_ResponseFlagFilter, ResponseFlagFilter__Output as _envoy_config_filter_accesslog_v2_ResponseFlagFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/ResponseFlagFilter'; +import { GrpcStatusFilter as _envoy_config_filter_accesslog_v2_GrpcStatusFilter, GrpcStatusFilter__Output as _envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/GrpcStatusFilter'; +import { ExtensionFilter as _envoy_config_filter_accesslog_v2_ExtensionFilter, ExtensionFilter__Output as _envoy_config_filter_accesslog_v2_ExtensionFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/ExtensionFilter'; + +export interface AccessLogFilter { + 'status_code_filter'?: (_envoy_config_filter_accesslog_v2_StatusCodeFilter); + 'duration_filter'?: (_envoy_config_filter_accesslog_v2_DurationFilter); + 'not_health_check_filter'?: (_envoy_config_filter_accesslog_v2_NotHealthCheckFilter); + 'traceable_filter'?: (_envoy_config_filter_accesslog_v2_TraceableFilter); + 'runtime_filter'?: (_envoy_config_filter_accesslog_v2_RuntimeFilter); + 'and_filter'?: (_envoy_config_filter_accesslog_v2_AndFilter); + 'or_filter'?: (_envoy_config_filter_accesslog_v2_OrFilter); + 'header_filter'?: (_envoy_config_filter_accesslog_v2_HeaderFilter); + 'response_flag_filter'?: (_envoy_config_filter_accesslog_v2_ResponseFlagFilter); + 'grpc_status_filter'?: (_envoy_config_filter_accesslog_v2_GrpcStatusFilter); + 'extension_filter'?: (_envoy_config_filter_accesslog_v2_ExtensionFilter); + 'filter_specifier'?: "status_code_filter"|"duration_filter"|"not_health_check_filter"|"traceable_filter"|"runtime_filter"|"and_filter"|"or_filter"|"header_filter"|"response_flag_filter"|"grpc_status_filter"|"extension_filter"; +} + +export interface AccessLogFilter__Output { + 'status_code_filter'?: (_envoy_config_filter_accesslog_v2_StatusCodeFilter__Output); + 'duration_filter'?: (_envoy_config_filter_accesslog_v2_DurationFilter__Output); + 'not_health_check_filter'?: (_envoy_config_filter_accesslog_v2_NotHealthCheckFilter__Output); + 'traceable_filter'?: (_envoy_config_filter_accesslog_v2_TraceableFilter__Output); + 'runtime_filter'?: (_envoy_config_filter_accesslog_v2_RuntimeFilter__Output); + 'and_filter'?: (_envoy_config_filter_accesslog_v2_AndFilter__Output); + 'or_filter'?: (_envoy_config_filter_accesslog_v2_OrFilter__Output); + 'header_filter'?: (_envoy_config_filter_accesslog_v2_HeaderFilter__Output); + 'response_flag_filter'?: (_envoy_config_filter_accesslog_v2_ResponseFlagFilter__Output); + 'grpc_status_filter'?: (_envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output); + 'extension_filter'?: (_envoy_config_filter_accesslog_v2_ExtensionFilter__Output); + 'filter_specifier': "status_code_filter"|"duration_filter"|"not_health_check_filter"|"traceable_filter"|"runtime_filter"|"and_filter"|"or_filter"|"header_filter"|"response_flag_filter"|"grpc_status_filter"|"extension_filter"; +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AndFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AndFilter.d.ts new file mode 100644 index 000000000..490962c54 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AndFilter.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + +import { AccessLogFilter as _envoy_config_filter_accesslog_v2_AccessLogFilter, AccessLogFilter__Output as _envoy_config_filter_accesslog_v2_AccessLogFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/AccessLogFilter'; + +export interface AndFilter { + 'filters'?: (_envoy_config_filter_accesslog_v2_AccessLogFilter)[]; +} + +export interface AndFilter__Output { + 'filters': (_envoy_config_filter_accesslog_v2_AccessLogFilter__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.d.ts new file mode 100644 index 000000000..518e5399c --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.d.ts @@ -0,0 +1,21 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + +import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from '../../../../../envoy/api/v2/core/RuntimeUInt32'; + +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + +export enum _envoy_config_filter_accesslog_v2_ComparisonFilter_Op { + EQ = 0, + GE = 1, + LE = 2, +} + +export interface ComparisonFilter { + 'op'?: (_envoy_config_filter_accesslog_v2_ComparisonFilter_Op | keyof typeof _envoy_config_filter_accesslog_v2_ComparisonFilter_Op); + 'value'?: (_envoy_api_v2_core_RuntimeUInt32); +} + +export interface ComparisonFilter__Output { + 'op': (keyof typeof _envoy_config_filter_accesslog_v2_ComparisonFilter_Op); + 'value': (_envoy_api_v2_core_RuntimeUInt32__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.d.ts new file mode 100644 index 000000000..495154e27 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + +import { ComparisonFilter as _envoy_config_filter_accesslog_v2_ComparisonFilter, ComparisonFilter__Output as _envoy_config_filter_accesslog_v2_ComparisonFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/ComparisonFilter'; + +export interface DurationFilter { + 'comparison'?: (_envoy_config_filter_accesslog_v2_ComparisonFilter); +} + +export interface DurationFilter__Output { + 'comparison': (_envoy_config_filter_accesslog_v2_ComparisonFilter__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ExtensionFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ExtensionFilter.d.ts new file mode 100644 index 000000000..047086c8b --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ExtensionFilter.d.ts @@ -0,0 +1,18 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../../google/protobuf/Any'; + +export interface ExtensionFilter { + 'name'?: (string); + 'config'?: (_google_protobuf_Struct); + 'typed_config'?: (_google_protobuf_Any); + 'config_type'?: "config"|"typed_config"; +} + +export interface ExtensionFilter__Output { + 'name': (string); + 'config'?: (_google_protobuf_Struct__Output); + 'typed_config'?: (_google_protobuf_Any__Output); + 'config_type': "config"|"typed_config"; +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/GrpcStatusFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/GrpcStatusFilter.d.ts new file mode 100644 index 000000000..086c08e3a --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/GrpcStatusFilter.d.ts @@ -0,0 +1,34 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + + +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + +export enum _envoy_config_filter_accesslog_v2_GrpcStatusFilter_Status { + OK = 0, + CANCELED = 1, + UNKNOWN = 2, + INVALID_ARGUMENT = 3, + DEADLINE_EXCEEDED = 4, + NOT_FOUND = 5, + ALREADY_EXISTS = 6, + PERMISSION_DENIED = 7, + RESOURCE_EXHAUSTED = 8, + FAILED_PRECONDITION = 9, + ABORTED = 10, + OUT_OF_RANGE = 11, + UNIMPLEMENTED = 12, + INTERNAL = 13, + UNAVAILABLE = 14, + DATA_LOSS = 15, + UNAUTHENTICATED = 16, +} + +export interface GrpcStatusFilter { + 'statuses'?: (_envoy_config_filter_accesslog_v2_GrpcStatusFilter_Status | keyof typeof _envoy_config_filter_accesslog_v2_GrpcStatusFilter_Status)[]; + 'exclude'?: (boolean); +} + +export interface GrpcStatusFilter__Output { + 'statuses': (keyof typeof _envoy_config_filter_accesslog_v2_GrpcStatusFilter_Status)[]; + 'exclude': (boolean); +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.d.ts new file mode 100644 index 000000000..7fe39f9ee --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + +import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from '../../../../../envoy/api/v2/route/HeaderMatcher'; + +export interface HeaderFilter { + 'header'?: (_envoy_api_v2_route_HeaderMatcher); +} + +export interface HeaderFilter__Output { + 'header': (_envoy_api_v2_route_HeaderMatcher__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/NotHealthCheckFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/NotHealthCheckFilter.d.ts new file mode 100644 index 000000000..0895567da --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/NotHealthCheckFilter.d.ts @@ -0,0 +1,8 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + + +export interface NotHealthCheckFilter { +} + +export interface NotHealthCheckFilter__Output { +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/OrFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/OrFilter.d.ts new file mode 100644 index 000000000..f4b2a19d2 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/OrFilter.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + +import { AccessLogFilter as _envoy_config_filter_accesslog_v2_AccessLogFilter, AccessLogFilter__Output as _envoy_config_filter_accesslog_v2_AccessLogFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/AccessLogFilter'; + +export interface OrFilter { + 'filters'?: (_envoy_config_filter_accesslog_v2_AccessLogFilter)[]; +} + +export interface OrFilter__Output { + 'filters': (_envoy_config_filter_accesslog_v2_AccessLogFilter__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ResponseFlagFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ResponseFlagFilter.d.ts new file mode 100644 index 000000000..bb744a0c6 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ResponseFlagFilter.d.ts @@ -0,0 +1,10 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + + +export interface ResponseFlagFilter { + 'flags'?: (string)[]; +} + +export interface ResponseFlagFilter__Output { + 'flags': (string)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.d.ts new file mode 100644 index 000000000..83e98db33 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.d.ts @@ -0,0 +1,15 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + +import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from '../../../../../envoy/type/FractionalPercent'; + +export interface RuntimeFilter { + 'runtime_key'?: (string); + 'percent_sampled'?: (_envoy_type_FractionalPercent); + 'use_independent_randomness'?: (boolean); +} + +export interface RuntimeFilter__Output { + 'runtime_key': (string); + 'percent_sampled': (_envoy_type_FractionalPercent__Output); + 'use_independent_randomness': (boolean); +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.d.ts new file mode 100644 index 000000000..6f8c46d22 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + +import { ComparisonFilter as _envoy_config_filter_accesslog_v2_ComparisonFilter, ComparisonFilter__Output as _envoy_config_filter_accesslog_v2_ComparisonFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/ComparisonFilter'; + +export interface StatusCodeFilter { + 'comparison'?: (_envoy_config_filter_accesslog_v2_ComparisonFilter); +} + +export interface StatusCodeFilter__Output { + 'comparison': (_envoy_config_filter_accesslog_v2_ComparisonFilter__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/TraceableFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/TraceableFilter.d.ts new file mode 100644 index 000000000..a428d1a8a --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/TraceableFilter.d.ts @@ -0,0 +1,8 @@ +// Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto + + +export interface TraceableFilter { +} + +export interface TraceableFilter__Output { +} diff --git a/packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.d.ts b/packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.d.ts new file mode 100644 index 000000000..8d3b82f04 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/config/listener/v2/api_listener.proto + +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; + +export interface ApiListener { + 'api_listener'?: (_google_protobuf_Any); +} + +export interface ApiListener__Output { + 'api_listener': (_google_protobuf_Any__Output); +} diff --git a/packages/grpc-js/src/generated/envoy/service/discovery/v2/AdsDummy.d.ts b/packages/grpc-js/src/generated/envoy/service/discovery/v2/AdsDummy.d.ts new file mode 100644 index 000000000..985cd2200 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/service/discovery/v2/AdsDummy.d.ts @@ -0,0 +1,8 @@ +// Original file: deps/envoy-api/envoy/service/discovery/v2/ads.proto + + +export interface AdsDummy { +} + +export interface AdsDummy__Output { +} diff --git a/packages/grpc-js/src/generated/envoy/type/CodecClientType.d.ts b/packages/grpc-js/src/generated/envoy/type/CodecClientType.d.ts new file mode 100644 index 000000000..b32b1b1a9 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/CodecClientType.d.ts @@ -0,0 +1,7 @@ +// Original file: deps/envoy-api/envoy/type/http.proto + +export enum CodecClientType { + HTTP1 = 0, + HTTP2 = 1, + HTTP3 = 2, +} diff --git a/packages/grpc-js/src/generated/envoy/type/DoubleRange.d.ts b/packages/grpc-js/src/generated/envoy/type/DoubleRange.d.ts new file mode 100644 index 000000000..9d9bb8958 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/DoubleRange.d.ts @@ -0,0 +1,12 @@ +// Original file: deps/envoy-api/envoy/type/range.proto + + +export interface DoubleRange { + 'start'?: (number | string); + 'end'?: (number | string); +} + +export interface DoubleRange__Output { + 'start': (number | string); + 'end': (number | string); +} diff --git a/packages/grpc-js/src/generated/envoy/type/FractionalPercent.d.ts b/packages/grpc-js/src/generated/envoy/type/FractionalPercent.d.ts new file mode 100644 index 000000000..bc7d3d52c --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/FractionalPercent.d.ts @@ -0,0 +1,20 @@ +// Original file: deps/envoy-api/envoy/type/percent.proto + + +// Original file: deps/envoy-api/envoy/type/percent.proto + +export enum _envoy_type_FractionalPercent_DenominatorType { + HUNDRED = 0, + TEN_THOUSAND = 1, + MILLION = 2, +} + +export interface FractionalPercent { + 'numerator'?: (number); + 'denominator'?: (_envoy_type_FractionalPercent_DenominatorType | keyof typeof _envoy_type_FractionalPercent_DenominatorType); +} + +export interface FractionalPercent__Output { + 'numerator': (number); + 'denominator': (keyof typeof _envoy_type_FractionalPercent_DenominatorType); +} diff --git a/packages/grpc-js/src/generated/envoy/type/Int32Range.d.ts b/packages/grpc-js/src/generated/envoy/type/Int32Range.d.ts new file mode 100644 index 000000000..3adec7571 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/Int32Range.d.ts @@ -0,0 +1,12 @@ +// Original file: deps/envoy-api/envoy/type/range.proto + + +export interface Int32Range { + 'start'?: (number); + 'end'?: (number); +} + +export interface Int32Range__Output { + 'start': (number); + 'end': (number); +} diff --git a/packages/grpc-js/src/generated/envoy/type/Int64Range.d.ts b/packages/grpc-js/src/generated/envoy/type/Int64Range.d.ts new file mode 100644 index 000000000..adc30bbd1 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/Int64Range.d.ts @@ -0,0 +1,13 @@ +// Original file: deps/envoy-api/envoy/type/range.proto + +import { Long } from '@grpc/proto-loader'; + +export interface Int64Range { + 'start'?: (number | string | Long); + 'end'?: (number | string | Long); +} + +export interface Int64Range__Output { + 'start': (string); + 'end': (string); +} diff --git a/packages/grpc-js/src/generated/envoy/type/Percent.d.ts b/packages/grpc-js/src/generated/envoy/type/Percent.d.ts new file mode 100644 index 000000000..656408905 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/Percent.d.ts @@ -0,0 +1,10 @@ +// Original file: deps/envoy-api/envoy/type/percent.proto + + +export interface Percent { + 'value'?: (number | string); +} + +export interface Percent__Output { + 'value': (number | string); +} diff --git a/packages/grpc-js/src/generated/envoy/type/SemanticVersion.d.ts b/packages/grpc-js/src/generated/envoy/type/SemanticVersion.d.ts new file mode 100644 index 000000000..aa1f7bc43 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/SemanticVersion.d.ts @@ -0,0 +1,14 @@ +// Original file: deps/envoy-api/envoy/type/semantic_version.proto + + +export interface SemanticVersion { + 'major_number'?: (number); + 'minor_number'?: (number); + 'patch'?: (number); +} + +export interface SemanticVersion__Output { + 'major_number': (number); + 'minor_number': (number); + 'patch': (number); +} diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/ListStringMatcher.d.ts b/packages/grpc-js/src/generated/envoy/type/matcher/ListStringMatcher.d.ts new file mode 100644 index 000000000..aab545afe --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/matcher/ListStringMatcher.d.ts @@ -0,0 +1,11 @@ +// Original file: deps/envoy-api/envoy/type/matcher/string.proto + +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../envoy/type/matcher/StringMatcher'; + +export interface ListStringMatcher { + 'patterns'?: (_envoy_type_matcher_StringMatcher)[]; +} + +export interface ListStringMatcher__Output { + 'patterns': (_envoy_type_matcher_StringMatcher__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.d.ts b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.d.ts new file mode 100644 index 000000000..6b4fa903c --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.d.ts @@ -0,0 +1,13 @@ +// Original file: deps/envoy-api/envoy/type/matcher/regex.proto + +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from '../../../envoy/type/matcher/RegexMatcher'; + +export interface RegexMatchAndSubstitute { + 'pattern'?: (_envoy_type_matcher_RegexMatcher); + 'substitution'?: (string); +} + +export interface RegexMatchAndSubstitute__Output { + 'pattern': (_envoy_type_matcher_RegexMatcher__Output); + 'substitution': (string); +} diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.d.ts b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.d.ts new file mode 100644 index 000000000..d4904964f --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.d.ts @@ -0,0 +1,23 @@ +// Original file: deps/envoy-api/envoy/type/matcher/regex.proto + +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../google/protobuf/UInt32Value'; + +export interface _envoy_type_matcher_RegexMatcher_GoogleRE2 { + 'max_program_size'?: (_google_protobuf_UInt32Value); +} + +export interface _envoy_type_matcher_RegexMatcher_GoogleRE2__Output { + 'max_program_size': (_google_protobuf_UInt32Value__Output); +} + +export interface RegexMatcher { + 'google_re2'?: (_envoy_type_matcher_RegexMatcher_GoogleRE2); + 'regex'?: (string); + 'engine_type'?: "google_re2"; +} + +export interface RegexMatcher__Output { + 'google_re2'?: (_envoy_type_matcher_RegexMatcher_GoogleRE2__Output); + 'regex': (string); + 'engine_type': "google_re2"; +} diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/StringMatcher.d.ts b/packages/grpc-js/src/generated/envoy/type/matcher/StringMatcher.d.ts new file mode 100644 index 000000000..6a63a54dc --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/matcher/StringMatcher.d.ts @@ -0,0 +1,23 @@ +// Original file: deps/envoy-api/envoy/type/matcher/string.proto + +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from '../../../envoy/type/matcher/RegexMatcher'; + +export interface StringMatcher { + 'exact'?: (string); + 'prefix'?: (string); + 'suffix'?: (string); + 'regex'?: (string); + 'safe_regex'?: (_envoy_type_matcher_RegexMatcher); + 'ignore_case'?: (boolean); + 'match_pattern'?: "exact"|"prefix"|"suffix"|"regex"|"safe_regex"; +} + +export interface StringMatcher__Output { + 'exact'?: (string); + 'prefix'?: (string); + 'suffix'?: (string); + 'regex'?: (string); + 'safe_regex'?: (_envoy_type_matcher_RegexMatcher__Output); + 'ignore_case': (boolean); + 'match_pattern': "exact"|"prefix"|"suffix"|"regex"|"safe_regex"; +} diff --git a/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKey.d.ts b/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKey.d.ts new file mode 100644 index 000000000..cb35fcef9 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKey.d.ts @@ -0,0 +1,22 @@ +// Original file: deps/envoy-api/envoy/type/metadata/v2/metadata.proto + + +export interface _envoy_type_metadata_v2_MetadataKey_PathSegment { + 'key'?: (string); + 'segment'?: "key"; +} + +export interface _envoy_type_metadata_v2_MetadataKey_PathSegment__Output { + 'key'?: (string); + 'segment': "key"; +} + +export interface MetadataKey { + 'key'?: (string); + 'path'?: (_envoy_type_metadata_v2_MetadataKey_PathSegment)[]; +} + +export interface MetadataKey__Output { + 'key': (string); + 'path': (_envoy_type_metadata_v2_MetadataKey_PathSegment__Output)[]; +} diff --git a/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.d.ts b/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.d.ts new file mode 100644 index 000000000..75c47776b --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.d.ts @@ -0,0 +1,42 @@ +// Original file: deps/envoy-api/envoy/type/metadata/v2/metadata.proto + + +export interface _envoy_type_metadata_v2_MetadataKind_Request { +} + +export interface _envoy_type_metadata_v2_MetadataKind_Request__Output { +} + +export interface _envoy_type_metadata_v2_MetadataKind_Route { +} + +export interface _envoy_type_metadata_v2_MetadataKind_Route__Output { +} + +export interface _envoy_type_metadata_v2_MetadataKind_Cluster { +} + +export interface _envoy_type_metadata_v2_MetadataKind_Cluster__Output { +} + +export interface _envoy_type_metadata_v2_MetadataKind_Host { +} + +export interface _envoy_type_metadata_v2_MetadataKind_Host__Output { +} + +export interface MetadataKind { + 'request'?: (_envoy_type_metadata_v2_MetadataKind_Request); + 'route'?: (_envoy_type_metadata_v2_MetadataKind_Route); + 'cluster'?: (_envoy_type_metadata_v2_MetadataKind_Cluster); + 'host'?: (_envoy_type_metadata_v2_MetadataKind_Host); + 'kind'?: "request"|"route"|"cluster"|"host"; +} + +export interface MetadataKind__Output { + 'request'?: (_envoy_type_metadata_v2_MetadataKind_Request__Output); + 'route'?: (_envoy_type_metadata_v2_MetadataKind_Route__Output); + 'cluster'?: (_envoy_type_metadata_v2_MetadataKind_Cluster__Output); + 'host'?: (_envoy_type_metadata_v2_MetadataKind_Host__Output); + 'kind': "request"|"route"|"cluster"|"host"; +} diff --git a/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.d.ts b/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.d.ts new file mode 100644 index 000000000..32baa84be --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.d.ts @@ -0,0 +1,62 @@ +// Original file: deps/envoy-api/envoy/type/tracing/v2/custom_tag.proto + +import { MetadataKind as _envoy_type_metadata_v2_MetadataKind, MetadataKind__Output as _envoy_type_metadata_v2_MetadataKind__Output } from '../../../../envoy/type/metadata/v2/MetadataKind'; +import { MetadataKey as _envoy_type_metadata_v2_MetadataKey, MetadataKey__Output as _envoy_type_metadata_v2_MetadataKey__Output } from '../../../../envoy/type/metadata/v2/MetadataKey'; + +export interface _envoy_type_tracing_v2_CustomTag_Literal { + 'value'?: (string); +} + +export interface _envoy_type_tracing_v2_CustomTag_Literal__Output { + 'value': (string); +} + +export interface _envoy_type_tracing_v2_CustomTag_Environment { + 'name'?: (string); + 'default_value'?: (string); +} + +export interface _envoy_type_tracing_v2_CustomTag_Environment__Output { + 'name': (string); + 'default_value': (string); +} + +export interface _envoy_type_tracing_v2_CustomTag_Header { + 'name'?: (string); + 'default_value'?: (string); +} + +export interface _envoy_type_tracing_v2_CustomTag_Header__Output { + 'name': (string); + 'default_value': (string); +} + +export interface _envoy_type_tracing_v2_CustomTag_Metadata { + 'kind'?: (_envoy_type_metadata_v2_MetadataKind); + 'metadata_key'?: (_envoy_type_metadata_v2_MetadataKey); + 'default_value'?: (string); +} + +export interface _envoy_type_tracing_v2_CustomTag_Metadata__Output { + 'kind': (_envoy_type_metadata_v2_MetadataKind__Output); + 'metadata_key': (_envoy_type_metadata_v2_MetadataKey__Output); + 'default_value': (string); +} + +export interface CustomTag { + 'tag'?: (string); + 'literal'?: (_envoy_type_tracing_v2_CustomTag_Literal); + 'environment'?: (_envoy_type_tracing_v2_CustomTag_Environment); + 'request_header'?: (_envoy_type_tracing_v2_CustomTag_Header); + 'metadata'?: (_envoy_type_tracing_v2_CustomTag_Metadata); + 'type'?: "literal"|"environment"|"request_header"|"metadata"; +} + +export interface CustomTag__Output { + 'tag': (string); + 'literal'?: (_envoy_type_tracing_v2_CustomTag_Literal__Output); + 'environment'?: (_envoy_type_tracing_v2_CustomTag_Environment__Output); + 'request_header'?: (_envoy_type_tracing_v2_CustomTag_Header__Output); + 'metadata'?: (_envoy_type_tracing_v2_CustomTag_Metadata__Output); + 'type': "literal"|"environment"|"request_header"|"metadata"; +} diff --git a/packages/grpc-js/src/generated/google/api/CustomHttpPattern.d.ts b/packages/grpc-js/src/generated/google/api/CustomHttpPattern.d.ts new file mode 100644 index 000000000..01ce13ba8 --- /dev/null +++ b/packages/grpc-js/src/generated/google/api/CustomHttpPattern.d.ts @@ -0,0 +1,12 @@ +// Original file: node_modules/protobufjs/google/api/http.proto + + +export interface CustomHttpPattern { + 'kind'?: (string); + 'path'?: (string); +} + +export interface CustomHttpPattern__Output { + 'kind': (string); + 'path': (string); +} diff --git a/packages/grpc-js/src/generated/google/api/Http.d.ts b/packages/grpc-js/src/generated/google/api/Http.d.ts new file mode 100644 index 000000000..6a04f7b8c --- /dev/null +++ b/packages/grpc-js/src/generated/google/api/Http.d.ts @@ -0,0 +1,11 @@ +// Original file: node_modules/protobufjs/google/api/http.proto + +import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from '../../google/api/HttpRule'; + +export interface Http { + 'rules'?: (_google_api_HttpRule)[]; +} + +export interface Http__Output { + 'rules': (_google_api_HttpRule__Output)[]; +} diff --git a/packages/grpc-js/src/generated/google/api/HttpRule.d.ts b/packages/grpc-js/src/generated/google/api/HttpRule.d.ts new file mode 100644 index 000000000..3bd9acd2b --- /dev/null +++ b/packages/grpc-js/src/generated/google/api/HttpRule.d.ts @@ -0,0 +1,30 @@ +// Original file: node_modules/protobufjs/google/api/http.proto + +import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from '../../google/api/CustomHttpPattern'; +import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from '../../google/api/HttpRule'; + +export interface HttpRule { + 'get'?: (string); + 'put'?: (string); + 'post'?: (string); + 'delete'?: (string); + 'patch'?: (string); + 'custom'?: (_google_api_CustomHttpPattern); + 'selector'?: (string); + 'body'?: (string); + 'additional_bindings'?: (_google_api_HttpRule)[]; + 'pattern'?: "get"|"put"|"post"|"delete"|"patch"|"custom"; +} + +export interface HttpRule__Output { + 'get'?: (string); + 'put'?: (string); + 'post'?: (string); + 'delete'?: (string); + 'patch'?: (string); + 'custom'?: (_google_api_CustomHttpPattern__Output); + 'selector': (string); + 'body': (string); + 'additional_bindings': (_google_api_HttpRule__Output)[]; + 'pattern': "get"|"put"|"post"|"delete"|"patch"|"custom"; +} diff --git a/packages/grpc-js/src/generated/google/protobuf/Any.d.ts b/packages/grpc-js/src/generated/google/protobuf/Any.d.ts new file mode 100644 index 000000000..b592af4ba --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/Any.d.ts @@ -0,0 +1,13 @@ +// Original file: null + +import { AnyExtension } from '@grpc/proto-loader'; + +export type Any = AnyExtension | { + type_url: string; + value: Buffer | Uint8Array | string; +} + +export type Any__Output = AnyExtension | { + type_url: string; + value: Buffer; +} diff --git a/packages/grpc-js/src/generated/google/protobuf/BoolValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/BoolValue.d.ts new file mode 100644 index 000000000..86507eaf1 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/BoolValue.d.ts @@ -0,0 +1,10 @@ +// Original file: null + + +export interface BoolValue { + 'value'?: (boolean); +} + +export interface BoolValue__Output { + 'value': (boolean); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/BytesValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/BytesValue.d.ts new file mode 100644 index 000000000..9cec76f71 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/BytesValue.d.ts @@ -0,0 +1,10 @@ +// Original file: null + + +export interface BytesValue { + 'value'?: (Buffer | Uint8Array | string); +} + +export interface BytesValue__Output { + 'value': (Buffer); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/DescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/DescriptorProto.d.ts new file mode 100644 index 000000000..97726c403 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/DescriptorProto.d.ts @@ -0,0 +1,53 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from '../../google/protobuf/FieldDescriptorProto'; +import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from '../../google/protobuf/DescriptorProto'; +import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from '../../google/protobuf/EnumDescriptorProto'; +import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from '../../google/protobuf/OneofDescriptorProto'; +import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from '../../google/protobuf/MessageOptions'; + +export interface _google_protobuf_DescriptorProto_ExtensionRange { + 'start'?: (number); + 'end'?: (number); +} + +export interface _google_protobuf_DescriptorProto_ExtensionRange__Output { + 'start': (number); + 'end': (number); +} + +export interface _google_protobuf_DescriptorProto_ReservedRange { + 'start'?: (number); + 'end'?: (number); +} + +export interface _google_protobuf_DescriptorProto_ReservedRange__Output { + 'start': (number); + 'end': (number); +} + +export interface DescriptorProto { + 'name'?: (string); + 'field'?: (_google_protobuf_FieldDescriptorProto)[]; + 'extension'?: (_google_protobuf_FieldDescriptorProto)[]; + 'nested_type'?: (_google_protobuf_DescriptorProto)[]; + 'enum_type'?: (_google_protobuf_EnumDescriptorProto)[]; + 'extension_range'?: (_google_protobuf_DescriptorProto_ExtensionRange)[]; + 'oneof_decl'?: (_google_protobuf_OneofDescriptorProto)[]; + 'options'?: (_google_protobuf_MessageOptions); + 'reserved_range'?: (_google_protobuf_DescriptorProto_ReservedRange)[]; + 'reserved_name'?: (string)[]; +} + +export interface DescriptorProto__Output { + 'name': (string); + 'field': (_google_protobuf_FieldDescriptorProto__Output)[]; + 'extension': (_google_protobuf_FieldDescriptorProto__Output)[]; + 'nested_type': (_google_protobuf_DescriptorProto__Output)[]; + 'enum_type': (_google_protobuf_EnumDescriptorProto__Output)[]; + 'extension_range': (_google_protobuf_DescriptorProto_ExtensionRange__Output)[]; + 'oneof_decl': (_google_protobuf_OneofDescriptorProto__Output)[]; + 'options': (_google_protobuf_MessageOptions__Output); + 'reserved_range': (_google_protobuf_DescriptorProto_ReservedRange__Output)[]; + 'reserved_name': (string)[]; +} diff --git a/packages/grpc-js/src/generated/google/protobuf/DoubleValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/DoubleValue.d.ts new file mode 100644 index 000000000..e4f2eb4b8 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/DoubleValue.d.ts @@ -0,0 +1,10 @@ +// Original file: null + + +export interface DoubleValue { + 'value'?: (number | string); +} + +export interface DoubleValue__Output { + 'value': (number | string); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/Duration.d.ts b/packages/grpc-js/src/generated/google/protobuf/Duration.d.ts new file mode 100644 index 000000000..78610b80a --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/Duration.d.ts @@ -0,0 +1,13 @@ +// Original file: null + +import { Long } from '@grpc/proto-loader'; + +export interface Duration { + 'seconds'?: (number | string | Long); + 'nanos'?: (number); +} + +export interface Duration__Output { + 'seconds': (string); + 'nanos': (number); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/Empty.d.ts b/packages/grpc-js/src/generated/google/protobuf/Empty.d.ts new file mode 100644 index 000000000..f32c2a284 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/Empty.d.ts @@ -0,0 +1,8 @@ +// Original file: null + + +export interface Empty { +} + +export interface Empty__Output { +} diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.d.ts new file mode 100644 index 000000000..55059ba9e --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.d.ts @@ -0,0 +1,16 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from '../../google/protobuf/EnumValueDescriptorProto'; +import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from '../../google/protobuf/EnumOptions'; + +export interface EnumDescriptorProto { + 'name'?: (string); + 'value'?: (_google_protobuf_EnumValueDescriptorProto)[]; + 'options'?: (_google_protobuf_EnumOptions); +} + +export interface EnumDescriptorProto__Output { + 'name': (string); + 'value': (_google_protobuf_EnumValueDescriptorProto__Output)[]; + 'options': (_google_protobuf_EnumOptions__Output); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/EnumOptions.d.ts new file mode 100644 index 000000000..1c096a306 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/EnumOptions.d.ts @@ -0,0 +1,18 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; +import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from '../../udpa/annotations/MigrateAnnotation'; + +export interface EnumOptions { + 'allow_alias'?: (boolean); + 'deprecated'?: (boolean); + 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; + '.udpa.annotations.enum_migrate'?: (_udpa_annotations_MigrateAnnotation); +} + +export interface EnumOptions__Output { + 'allow_alias': (boolean); + 'deprecated': (boolean); + 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; + '.udpa.annotations.enum_migrate': (_udpa_annotations_MigrateAnnotation__Output); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.d.ts new file mode 100644 index 000000000..a0b8308d8 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.d.ts @@ -0,0 +1,15 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from '../../google/protobuf/EnumValueOptions'; + +export interface EnumValueDescriptorProto { + 'name'?: (string); + 'number'?: (number); + 'options'?: (_google_protobuf_EnumValueOptions); +} + +export interface EnumValueDescriptorProto__Output { + 'name': (string); + 'number': (number); + 'options': (_google_protobuf_EnumValueOptions__Output); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.d.ts new file mode 100644 index 000000000..29c560438 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.d.ts @@ -0,0 +1,18 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; +import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from '../../udpa/annotations/MigrateAnnotation'; + +export interface EnumValueOptions { + 'deprecated'?: (boolean); + 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; + '.udpa.annotations.enum_value_migrate'?: (_udpa_annotations_MigrateAnnotation); + '.envoy.annotations.disallowed_by_default_enum'?: (boolean); +} + +export interface EnumValueOptions__Output { + 'deprecated': (boolean); + 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; + '.udpa.annotations.enum_value_migrate': (_udpa_annotations_MigrateAnnotation__Output); + '.envoy.annotations.disallowed_by_default_enum': (boolean); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.d.ts new file mode 100644 index 000000000..b5c089c9c --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.d.ts @@ -0,0 +1,60 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from '../../google/protobuf/FieldOptions'; + +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +export enum _google_protobuf_FieldDescriptorProto_Type { + TYPE_DOUBLE = 1, + TYPE_FLOAT = 2, + TYPE_INT64 = 3, + TYPE_UINT64 = 4, + TYPE_INT32 = 5, + TYPE_FIXED64 = 6, + TYPE_FIXED32 = 7, + TYPE_BOOL = 8, + TYPE_STRING = 9, + TYPE_GROUP = 10, + TYPE_MESSAGE = 11, + TYPE_BYTES = 12, + TYPE_UINT32 = 13, + TYPE_ENUM = 14, + TYPE_SFIXED32 = 15, + TYPE_SFIXED64 = 16, + TYPE_SINT32 = 17, + TYPE_SINT64 = 18, +} + +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +export enum _google_protobuf_FieldDescriptorProto_Label { + LABEL_OPTIONAL = 1, + LABEL_REQUIRED = 2, + LABEL_REPEATED = 3, +} + +export interface FieldDescriptorProto { + 'name'?: (string); + 'number'?: (number); + 'label'?: (_google_protobuf_FieldDescriptorProto_Label | keyof typeof _google_protobuf_FieldDescriptorProto_Label); + 'type'?: (_google_protobuf_FieldDescriptorProto_Type | keyof typeof _google_protobuf_FieldDescriptorProto_Type); + 'type_name'?: (string); + 'extendee'?: (string); + 'default_value'?: (string); + 'oneof_index'?: (number); + 'json_name'?: (string); + 'options'?: (_google_protobuf_FieldOptions); +} + +export interface FieldDescriptorProto__Output { + 'name': (string); + 'number': (number); + 'label': (keyof typeof _google_protobuf_FieldDescriptorProto_Label); + 'type': (keyof typeof _google_protobuf_FieldDescriptorProto_Type); + 'type_name': (string); + 'extendee': (string); + 'default_value': (string); + 'oneof_index': (number); + 'json_name': (string); + 'options': (_google_protobuf_FieldOptions__Output); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/FieldOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/FieldOptions.d.ts new file mode 100644 index 000000000..d2bec450d --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/FieldOptions.d.ts @@ -0,0 +1,49 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; +import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from '../../udpa/annotations/FieldMigrateAnnotation'; +import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from '../../validate/FieldRules'; + +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +export enum _google_protobuf_FieldOptions_CType { + STRING = 0, + CORD = 1, + STRING_PIECE = 2, +} + +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +export enum _google_protobuf_FieldOptions_JSType { + JS_NORMAL = 0, + JS_STRING = 1, + JS_NUMBER = 2, +} + +export interface FieldOptions { + 'ctype'?: (_google_protobuf_FieldOptions_CType | keyof typeof _google_protobuf_FieldOptions_CType); + 'packed'?: (boolean); + 'jstype'?: (_google_protobuf_FieldOptions_JSType | keyof typeof _google_protobuf_FieldOptions_JSType); + 'lazy'?: (boolean); + 'deprecated'?: (boolean); + 'weak'?: (boolean); + 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; + '.udpa.annotations.field_migrate'?: (_udpa_annotations_FieldMigrateAnnotation); + '.validate.rules'?: (_validate_FieldRules); + '.envoy.annotations.disallowed_by_default'?: (boolean); + '.udpa.annotations.sensitive'?: (boolean); +} + +export interface FieldOptions__Output { + 'ctype': (keyof typeof _google_protobuf_FieldOptions_CType); + 'packed': (boolean); + 'jstype': (keyof typeof _google_protobuf_FieldOptions_JSType); + 'lazy': (boolean); + 'deprecated': (boolean); + 'weak': (boolean); + 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; + '.udpa.annotations.field_migrate': (_udpa_annotations_FieldMigrateAnnotation__Output); + '.validate.rules': (_validate_FieldRules__Output); + '.envoy.annotations.disallowed_by_default': (boolean); + '.udpa.annotations.sensitive': (boolean); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.d.ts new file mode 100644 index 000000000..aeebbf242 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.d.ts @@ -0,0 +1,38 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from '../../google/protobuf/DescriptorProto'; +import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from '../../google/protobuf/EnumDescriptorProto'; +import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from '../../google/protobuf/ServiceDescriptorProto'; +import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from '../../google/protobuf/FieldDescriptorProto'; +import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from '../../google/protobuf/FileOptions'; +import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from '../../google/protobuf/SourceCodeInfo'; + +export interface FileDescriptorProto { + 'name'?: (string); + 'package'?: (string); + 'dependency'?: (string)[]; + 'public_dependency'?: (number)[]; + 'weak_dependency'?: (number)[]; + 'message_type'?: (_google_protobuf_DescriptorProto)[]; + 'enum_type'?: (_google_protobuf_EnumDescriptorProto)[]; + 'service'?: (_google_protobuf_ServiceDescriptorProto)[]; + 'extension'?: (_google_protobuf_FieldDescriptorProto)[]; + 'options'?: (_google_protobuf_FileOptions); + 'source_code_info'?: (_google_protobuf_SourceCodeInfo); + 'syntax'?: (string); +} + +export interface FileDescriptorProto__Output { + 'name': (string); + 'package': (string); + 'dependency': (string)[]; + 'public_dependency': (number)[]; + 'weak_dependency': (number)[]; + 'message_type': (_google_protobuf_DescriptorProto__Output)[]; + 'enum_type': (_google_protobuf_EnumDescriptorProto__Output)[]; + 'service': (_google_protobuf_ServiceDescriptorProto__Output)[]; + 'extension': (_google_protobuf_FieldDescriptorProto__Output)[]; + 'options': (_google_protobuf_FileOptions__Output); + 'source_code_info': (_google_protobuf_SourceCodeInfo__Output); + 'syntax': (string); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/FileDescriptorSet.d.ts b/packages/grpc-js/src/generated/google/protobuf/FileDescriptorSet.d.ts new file mode 100644 index 000000000..b30f4679c --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/FileDescriptorSet.d.ts @@ -0,0 +1,11 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from '../../google/protobuf/FileDescriptorProto'; + +export interface FileDescriptorSet { + 'file'?: (_google_protobuf_FileDescriptorProto)[]; +} + +export interface FileDescriptorSet__Output { + 'file': (_google_protobuf_FileDescriptorProto__Output)[]; +} diff --git a/packages/grpc-js/src/generated/google/protobuf/FileOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/FileOptions.d.ts new file mode 100644 index 000000000..337f38d82 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/FileOptions.d.ts @@ -0,0 +1,53 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; +import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from '../../udpa/annotations/FileMigrateAnnotation'; +import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from '../../udpa/annotations/StatusAnnotation'; + +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +export enum _google_protobuf_FileOptions_OptimizeMode { + SPEED = 1, + CODE_SIZE = 2, + LITE_RUNTIME = 3, +} + +export interface FileOptions { + 'java_package'?: (string); + 'java_outer_classname'?: (string); + 'java_multiple_files'?: (boolean); + 'java_generate_equals_and_hash'?: (boolean); + 'java_string_check_utf8'?: (boolean); + 'optimize_for'?: (_google_protobuf_FileOptions_OptimizeMode | keyof typeof _google_protobuf_FileOptions_OptimizeMode); + 'go_package'?: (string); + 'cc_generic_services'?: (boolean); + 'java_generic_services'?: (boolean); + 'py_generic_services'?: (boolean); + 'deprecated'?: (boolean); + 'cc_enable_arenas'?: (boolean); + 'objc_class_prefix'?: (string); + 'csharp_namespace'?: (string); + 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; + '.udpa.annotations.file_migrate'?: (_udpa_annotations_FileMigrateAnnotation); + '.udpa.annotations.file_status'?: (_udpa_annotations_StatusAnnotation); +} + +export interface FileOptions__Output { + 'java_package': (string); + 'java_outer_classname': (string); + 'java_multiple_files': (boolean); + 'java_generate_equals_and_hash': (boolean); + 'java_string_check_utf8': (boolean); + 'optimize_for': (keyof typeof _google_protobuf_FileOptions_OptimizeMode); + 'go_package': (string); + 'cc_generic_services': (boolean); + 'java_generic_services': (boolean); + 'py_generic_services': (boolean); + 'deprecated': (boolean); + 'cc_enable_arenas': (boolean); + 'objc_class_prefix': (string); + 'csharp_namespace': (string); + 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; + '.udpa.annotations.file_migrate': (_udpa_annotations_FileMigrateAnnotation__Output); + '.udpa.annotations.file_status': (_udpa_annotations_StatusAnnotation__Output); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/FloatValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/FloatValue.d.ts new file mode 100644 index 000000000..144a9a585 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/FloatValue.d.ts @@ -0,0 +1,10 @@ +// Original file: null + + +export interface FloatValue { + 'value'?: (number | string); +} + +export interface FloatValue__Output { + 'value': (number | string); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/GeneratedCodeInfo.d.ts b/packages/grpc-js/src/generated/google/protobuf/GeneratedCodeInfo.d.ts new file mode 100644 index 000000000..f925dbff1 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/GeneratedCodeInfo.d.ts @@ -0,0 +1,24 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + + +export interface _google_protobuf_GeneratedCodeInfo_Annotation { + 'path'?: (number)[]; + 'source_file'?: (string); + 'begin'?: (number); + 'end'?: (number); +} + +export interface _google_protobuf_GeneratedCodeInfo_Annotation__Output { + 'path': (number)[]; + 'source_file': (string); + 'begin': (number); + 'end': (number); +} + +export interface GeneratedCodeInfo { + 'annotation'?: (_google_protobuf_GeneratedCodeInfo_Annotation)[]; +} + +export interface GeneratedCodeInfo__Output { + 'annotation': (_google_protobuf_GeneratedCodeInfo_Annotation__Output)[]; +} diff --git a/packages/grpc-js/src/generated/google/protobuf/Int32Value.d.ts b/packages/grpc-js/src/generated/google/protobuf/Int32Value.d.ts new file mode 100644 index 000000000..ec4eeb7ec --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/Int32Value.d.ts @@ -0,0 +1,10 @@ +// Original file: null + + +export interface Int32Value { + 'value'?: (number); +} + +export interface Int32Value__Output { + 'value': (number); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/Int64Value.d.ts b/packages/grpc-js/src/generated/google/protobuf/Int64Value.d.ts new file mode 100644 index 000000000..38b0e28f3 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/Int64Value.d.ts @@ -0,0 +1,11 @@ +// Original file: null + +import { Long } from '@grpc/proto-loader'; + +export interface Int64Value { + 'value'?: (number | string | Long); +} + +export interface Int64Value__Output { + 'value': (string); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/ListValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/ListValue.d.ts new file mode 100644 index 000000000..4b3cf67d7 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/ListValue.d.ts @@ -0,0 +1,11 @@ +// Original file: null + +import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from '../../google/protobuf/Value'; + +export interface ListValue { + 'values'?: (_google_protobuf_Value)[]; +} + +export interface ListValue__Output { + 'values': (_google_protobuf_Value__Output)[]; +} diff --git a/packages/grpc-js/src/generated/google/protobuf/MessageOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/MessageOptions.d.ts new file mode 100644 index 000000000..ec6508b0c --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/MessageOptions.d.ts @@ -0,0 +1,24 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; +import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from '../../udpa/annotations/MigrateAnnotation'; + +export interface MessageOptions { + 'message_set_wire_format'?: (boolean); + 'no_standard_descriptor_accessor'?: (boolean); + 'deprecated'?: (boolean); + 'map_entry'?: (boolean); + 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; + '.udpa.annotations.message_migrate'?: (_udpa_annotations_MigrateAnnotation); + '.validate.disabled'?: (boolean); +} + +export interface MessageOptions__Output { + 'message_set_wire_format': (boolean); + 'no_standard_descriptor_accessor': (boolean); + 'deprecated': (boolean); + 'map_entry': (boolean); + 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; + '.udpa.annotations.message_migrate': (_udpa_annotations_MigrateAnnotation__Output); + '.validate.disabled': (boolean); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.d.ts new file mode 100644 index 000000000..a378ab637 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.d.ts @@ -0,0 +1,21 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from '../../google/protobuf/MethodOptions'; + +export interface MethodDescriptorProto { + 'name'?: (string); + 'input_type'?: (string); + 'output_type'?: (string); + 'options'?: (_google_protobuf_MethodOptions); + 'client_streaming'?: (boolean); + 'server_streaming'?: (boolean); +} + +export interface MethodDescriptorProto__Output { + 'name': (string); + 'input_type': (string); + 'output_type': (string); + 'options': (_google_protobuf_MethodOptions__Output); + 'client_streaming': (boolean); + 'server_streaming': (boolean); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/MethodOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/MethodOptions.d.ts new file mode 100644 index 000000000..582ba4bef --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/MethodOptions.d.ts @@ -0,0 +1,16 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; +import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from '../../google/api/HttpRule'; + +export interface MethodOptions { + 'deprecated'?: (boolean); + 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; + '.google.api.http'?: (_google_api_HttpRule); +} + +export interface MethodOptions__Output { + 'deprecated': (boolean); + 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; + '.google.api.http': (_google_api_HttpRule__Output); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/NullValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/NullValue.d.ts new file mode 100644 index 000000000..377aab885 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/NullValue.d.ts @@ -0,0 +1,5 @@ +// Original file: null + +export enum NullValue { + NULL_VALUE = 0, +} diff --git a/packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.d.ts new file mode 100644 index 000000000..084cabff5 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.d.ts @@ -0,0 +1,13 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from '../../google/protobuf/OneofOptions'; + +export interface OneofDescriptorProto { + 'name'?: (string); + 'options'?: (_google_protobuf_OneofOptions); +} + +export interface OneofDescriptorProto__Output { + 'name': (string); + 'options': (_google_protobuf_OneofOptions__Output); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/OneofOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/OneofOptions.d.ts new file mode 100644 index 000000000..ea07ab22f --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/OneofOptions.d.ts @@ -0,0 +1,13 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; + +export interface OneofOptions { + 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; + '.validate.required'?: (boolean); +} + +export interface OneofOptions__Output { + 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; + '.validate.required': (boolean); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.d.ts new file mode 100644 index 000000000..aab7736ce --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.d.ts @@ -0,0 +1,16 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from '../../google/protobuf/MethodDescriptorProto'; +import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from '../../google/protobuf/ServiceOptions'; + +export interface ServiceDescriptorProto { + 'name'?: (string); + 'method'?: (_google_protobuf_MethodDescriptorProto)[]; + 'options'?: (_google_protobuf_ServiceOptions); +} + +export interface ServiceDescriptorProto__Output { + 'name': (string); + 'method': (_google_protobuf_MethodDescriptorProto__Output)[]; + 'options': (_google_protobuf_ServiceOptions__Output); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/ServiceOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/ServiceOptions.d.ts new file mode 100644 index 000000000..602e670ad --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/ServiceOptions.d.ts @@ -0,0 +1,13 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; + +export interface ServiceOptions { + 'deprecated'?: (boolean); + 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; +} + +export interface ServiceOptions__Output { + 'deprecated': (boolean); + 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; +} diff --git a/packages/grpc-js/src/generated/google/protobuf/SourceCodeInfo.d.ts b/packages/grpc-js/src/generated/google/protobuf/SourceCodeInfo.d.ts new file mode 100644 index 000000000..cf68f3ac1 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/SourceCodeInfo.d.ts @@ -0,0 +1,26 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + + +export interface _google_protobuf_SourceCodeInfo_Location { + 'path'?: (number)[]; + 'span'?: (number)[]; + 'leading_comments'?: (string); + 'trailing_comments'?: (string); + 'leading_detached_comments'?: (string)[]; +} + +export interface _google_protobuf_SourceCodeInfo_Location__Output { + 'path': (number)[]; + 'span': (number)[]; + 'leading_comments': (string); + 'trailing_comments': (string); + 'leading_detached_comments': (string)[]; +} + +export interface SourceCodeInfo { + 'location'?: (_google_protobuf_SourceCodeInfo_Location)[]; +} + +export interface SourceCodeInfo__Output { + 'location': (_google_protobuf_SourceCodeInfo_Location__Output)[]; +} diff --git a/packages/grpc-js/src/generated/google/protobuf/StringValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/StringValue.d.ts new file mode 100644 index 000000000..673090e3f --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/StringValue.d.ts @@ -0,0 +1,10 @@ +// Original file: null + + +export interface StringValue { + 'value'?: (string); +} + +export interface StringValue__Output { + 'value': (string); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/Struct.d.ts b/packages/grpc-js/src/generated/google/protobuf/Struct.d.ts new file mode 100644 index 000000000..436a251a3 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/Struct.d.ts @@ -0,0 +1,11 @@ +// Original file: null + +import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from '../../google/protobuf/Value'; + +export interface Struct { + 'fields'?: (_google_protobuf_Value); +} + +export interface Struct__Output { + 'fields': (_google_protobuf_Value__Output); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/Timestamp.d.ts b/packages/grpc-js/src/generated/google/protobuf/Timestamp.d.ts new file mode 100644 index 000000000..f8747e93e --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/Timestamp.d.ts @@ -0,0 +1,13 @@ +// Original file: null + +import { Long } from '@grpc/proto-loader'; + +export interface Timestamp { + 'seconds'?: (number | string | Long); + 'nanos'?: (number); +} + +export interface Timestamp__Output { + 'seconds': (string); + 'nanos': (number); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/UInt32Value.d.ts b/packages/grpc-js/src/generated/google/protobuf/UInt32Value.d.ts new file mode 100644 index 000000000..973ab34a5 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/UInt32Value.d.ts @@ -0,0 +1,10 @@ +// Original file: null + + +export interface UInt32Value { + 'value'?: (number); +} + +export interface UInt32Value__Output { + 'value': (number); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/UInt64Value.d.ts b/packages/grpc-js/src/generated/google/protobuf/UInt64Value.d.ts new file mode 100644 index 000000000..790901733 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/UInt64Value.d.ts @@ -0,0 +1,11 @@ +// Original file: null + +import { Long } from '@grpc/proto-loader'; + +export interface UInt64Value { + 'value'?: (number | string | Long); +} + +export interface UInt64Value__Output { + 'value': (string); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/UninterpretedOption.d.ts b/packages/grpc-js/src/generated/google/protobuf/UninterpretedOption.d.ts new file mode 100644 index 000000000..770394761 --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/UninterpretedOption.d.ts @@ -0,0 +1,33 @@ +// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto + +import { Long } from '@grpc/proto-loader'; + +export interface _google_protobuf_UninterpretedOption_NamePart { + 'name_part'?: (string); + 'is_extension'?: (boolean); +} + +export interface _google_protobuf_UninterpretedOption_NamePart__Output { + 'name_part': (string); + 'is_extension': (boolean); +} + +export interface UninterpretedOption { + 'name'?: (_google_protobuf_UninterpretedOption_NamePart)[]; + 'identifier_value'?: (string); + 'positive_int_value'?: (number | string | Long); + 'negative_int_value'?: (number | string | Long); + 'double_value'?: (number | string); + 'string_value'?: (Buffer | Uint8Array | string); + 'aggregate_value'?: (string); +} + +export interface UninterpretedOption__Output { + 'name': (_google_protobuf_UninterpretedOption_NamePart__Output)[]; + 'identifier_value': (string); + 'positive_int_value': (string); + 'negative_int_value': (string); + 'double_value': (number | string); + 'string_value': (Buffer); + 'aggregate_value': (string); +} diff --git a/packages/grpc-js/src/generated/google/protobuf/Value.d.ts b/packages/grpc-js/src/generated/google/protobuf/Value.d.ts new file mode 100644 index 000000000..0097135be --- /dev/null +++ b/packages/grpc-js/src/generated/google/protobuf/Value.d.ts @@ -0,0 +1,25 @@ +// Original file: null + +import { NullValue as _google_protobuf_NullValue } from '../../google/protobuf/NullValue'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../google/protobuf/Struct'; +import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from '../../google/protobuf/ListValue'; + +export interface Value { + 'nullValue'?: (_google_protobuf_NullValue | keyof typeof _google_protobuf_NullValue); + 'numberValue'?: (number | string); + 'stringValue'?: (string); + 'boolValue'?: (boolean); + 'structValue'?: (_google_protobuf_Struct); + 'listValue'?: (_google_protobuf_ListValue); + 'kind'?: "nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"; +} + +export interface Value__Output { + 'nullValue'?: (keyof typeof _google_protobuf_NullValue); + 'numberValue'?: (number | string); + 'stringValue'?: (string); + 'boolValue'?: (boolean); + 'structValue'?: (_google_protobuf_Struct__Output); + 'listValue'?: (_google_protobuf_ListValue__Output); + 'kind': "nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"; +} diff --git a/packages/grpc-js/src/generated/google/rpc/Status.d.ts b/packages/grpc-js/src/generated/google/rpc/Status.d.ts new file mode 100644 index 000000000..f1d6ecbcf --- /dev/null +++ b/packages/grpc-js/src/generated/google/rpc/Status.d.ts @@ -0,0 +1,15 @@ +// Original file: deps/googleapis/google/rpc/status.proto + +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../google/protobuf/Any'; + +export interface Status { + 'code'?: (number); + 'message'?: (string); + 'details'?: (_google_protobuf_Any)[]; +} + +export interface Status__Output { + 'code': (number); + 'message': (string); + 'details': (_google_protobuf_Any__Output)[]; +} diff --git a/packages/grpc-js/src/generated/listener.d.ts b/packages/grpc-js/src/generated/listener.d.ts new file mode 100644 index 000000000..9d6d8cd6d --- /dev/null +++ b/packages/grpc-js/src/generated/listener.d.ts @@ -0,0 +1,1757 @@ +import * as grpc from '../index'; +import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; + +import { Listener as _envoy_api_v2_Listener, Listener__Output as _envoy_api_v2_Listener__Output } from './envoy/api/v2/Listener'; +import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; +import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; +import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; +import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; +import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; +import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; +import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; +import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; +import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; +import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; +import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; +import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; +import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; +import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; +import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; +import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; +import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; +import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; +import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; +import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; +import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; +import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; +import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; +import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; +import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from './envoy/api/v2/core/AggregatedConfigSource'; +import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from './envoy/api/v2/core/SelfConfigSource'; +import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; +import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; +import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; +import { UdpListenerConfig as _envoy_api_v2_listener_UdpListenerConfig, UdpListenerConfig__Output as _envoy_api_v2_listener_UdpListenerConfig__Output } from './envoy/api/v2/listener/UdpListenerConfig'; +import { ActiveRawUdpListenerConfig as _envoy_api_v2_listener_ActiveRawUdpListenerConfig, ActiveRawUdpListenerConfig__Output as _envoy_api_v2_listener_ActiveRawUdpListenerConfig__Output } from './envoy/api/v2/listener/ActiveRawUdpListenerConfig'; +import { Filter as _envoy_api_v2_listener_Filter, Filter__Output as _envoy_api_v2_listener_Filter__Output } from './envoy/api/v2/listener/Filter'; +import { FilterChainMatch as _envoy_api_v2_listener_FilterChainMatch, FilterChainMatch__Output as _envoy_api_v2_listener_FilterChainMatch__Output } from './envoy/api/v2/listener/FilterChainMatch'; +import { FilterChain as _envoy_api_v2_listener_FilterChain, FilterChain__Output as _envoy_api_v2_listener_FilterChain__Output } from './envoy/api/v2/listener/FilterChain'; +import { ListenerFilterChainMatchPredicate as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate, ListenerFilterChainMatchPredicate__Output as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output } from './envoy/api/v2/listener/ListenerFilterChainMatchPredicate'; +import { ListenerFilter as _envoy_api_v2_listener_ListenerFilter, ListenerFilter__Output as _envoy_api_v2_listener_ListenerFilter__Output } from './envoy/api/v2/listener/ListenerFilter'; +import { UpstreamTlsContext as _envoy_api_v2_auth_UpstreamTlsContext, UpstreamTlsContext__Output as _envoy_api_v2_auth_UpstreamTlsContext__Output } from './envoy/api/v2/auth/UpstreamTlsContext'; +import { DownstreamTlsContext as _envoy_api_v2_auth_DownstreamTlsContext, DownstreamTlsContext__Output as _envoy_api_v2_auth_DownstreamTlsContext__Output } from './envoy/api/v2/auth/DownstreamTlsContext'; +import { CommonTlsContext as _envoy_api_v2_auth_CommonTlsContext, CommonTlsContext__Output as _envoy_api_v2_auth_CommonTlsContext__Output } from './envoy/api/v2/auth/CommonTlsContext'; +import { GenericSecret as _envoy_api_v2_auth_GenericSecret, GenericSecret__Output as _envoy_api_v2_auth_GenericSecret__Output } from './envoy/api/v2/auth/GenericSecret'; +import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from './envoy/api/v2/auth/SdsSecretConfig'; +import { Secret as _envoy_api_v2_auth_Secret, Secret__Output as _envoy_api_v2_auth_Secret__Output } from './envoy/api/v2/auth/Secret'; +import { TlsParameters as _envoy_api_v2_auth_TlsParameters, TlsParameters__Output as _envoy_api_v2_auth_TlsParameters__Output } from './envoy/api/v2/auth/TlsParameters'; +import { PrivateKeyProvider as _envoy_api_v2_auth_PrivateKeyProvider, PrivateKeyProvider__Output as _envoy_api_v2_auth_PrivateKeyProvider__Output } from './envoy/api/v2/auth/PrivateKeyProvider'; +import { TlsCertificate as _envoy_api_v2_auth_TlsCertificate, TlsCertificate__Output as _envoy_api_v2_auth_TlsCertificate__Output } from './envoy/api/v2/auth/TlsCertificate'; +import { TlsSessionTicketKeys as _envoy_api_v2_auth_TlsSessionTicketKeys, TlsSessionTicketKeys__Output as _envoy_api_v2_auth_TlsSessionTicketKeys__Output } from './envoy/api/v2/auth/TlsSessionTicketKeys'; +import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from './envoy/api/v2/auth/CertificateValidationContext'; +import { VirtualHost as _envoy_api_v2_route_VirtualHost, VirtualHost__Output as _envoy_api_v2_route_VirtualHost__Output } from './envoy/api/v2/route/VirtualHost'; +import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from './envoy/api/v2/route/FilterAction'; +import { Route as _envoy_api_v2_route_Route, Route__Output as _envoy_api_v2_route_Route__Output } from './envoy/api/v2/route/Route'; +import { WeightedCluster as _envoy_api_v2_route_WeightedCluster, WeightedCluster__Output as _envoy_api_v2_route_WeightedCluster__Output } from './envoy/api/v2/route/WeightedCluster'; +import { RouteMatch as _envoy_api_v2_route_RouteMatch, RouteMatch__Output as _envoy_api_v2_route_RouteMatch__Output } from './envoy/api/v2/route/RouteMatch'; +import { CorsPolicy as _envoy_api_v2_route_CorsPolicy, CorsPolicy__Output as _envoy_api_v2_route_CorsPolicy__Output } from './envoy/api/v2/route/CorsPolicy'; +import { RouteAction as _envoy_api_v2_route_RouteAction, RouteAction__Output as _envoy_api_v2_route_RouteAction__Output } from './envoy/api/v2/route/RouteAction'; +import { RetryPolicy as _envoy_api_v2_route_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_route_RetryPolicy__Output } from './envoy/api/v2/route/RetryPolicy'; +import { HedgePolicy as _envoy_api_v2_route_HedgePolicy, HedgePolicy__Output as _envoy_api_v2_route_HedgePolicy__Output } from './envoy/api/v2/route/HedgePolicy'; +import { RedirectAction as _envoy_api_v2_route_RedirectAction, RedirectAction__Output as _envoy_api_v2_route_RedirectAction__Output } from './envoy/api/v2/route/RedirectAction'; +import { DirectResponseAction as _envoy_api_v2_route_DirectResponseAction, DirectResponseAction__Output as _envoy_api_v2_route_DirectResponseAction__Output } from './envoy/api/v2/route/DirectResponseAction'; +import { Decorator as _envoy_api_v2_route_Decorator, Decorator__Output as _envoy_api_v2_route_Decorator__Output } from './envoy/api/v2/route/Decorator'; +import { Tracing as _envoy_api_v2_route_Tracing, Tracing__Output as _envoy_api_v2_route_Tracing__Output } from './envoy/api/v2/route/Tracing'; +import { VirtualCluster as _envoy_api_v2_route_VirtualCluster, VirtualCluster__Output as _envoy_api_v2_route_VirtualCluster__Output } from './envoy/api/v2/route/VirtualCluster'; +import { RateLimit as _envoy_api_v2_route_RateLimit, RateLimit__Output as _envoy_api_v2_route_RateLimit__Output } from './envoy/api/v2/route/RateLimit'; +import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from './envoy/api/v2/route/HeaderMatcher'; +import { QueryParameterMatcher as _envoy_api_v2_route_QueryParameterMatcher, QueryParameterMatcher__Output as _envoy_api_v2_route_QueryParameterMatcher__Output } from './envoy/api/v2/route/QueryParameterMatcher'; +import { AccessLog as _envoy_config_filter_accesslog_v2_AccessLog, AccessLog__Output as _envoy_config_filter_accesslog_v2_AccessLog__Output } from './envoy/config/filter/accesslog/v2/AccessLog'; +import { AccessLogFilter as _envoy_config_filter_accesslog_v2_AccessLogFilter, AccessLogFilter__Output as _envoy_config_filter_accesslog_v2_AccessLogFilter__Output } from './envoy/config/filter/accesslog/v2/AccessLogFilter'; +import { ComparisonFilter as _envoy_config_filter_accesslog_v2_ComparisonFilter, ComparisonFilter__Output as _envoy_config_filter_accesslog_v2_ComparisonFilter__Output } from './envoy/config/filter/accesslog/v2/ComparisonFilter'; +import { StatusCodeFilter as _envoy_config_filter_accesslog_v2_StatusCodeFilter, StatusCodeFilter__Output as _envoy_config_filter_accesslog_v2_StatusCodeFilter__Output } from './envoy/config/filter/accesslog/v2/StatusCodeFilter'; +import { DurationFilter as _envoy_config_filter_accesslog_v2_DurationFilter, DurationFilter__Output as _envoy_config_filter_accesslog_v2_DurationFilter__Output } from './envoy/config/filter/accesslog/v2/DurationFilter'; +import { NotHealthCheckFilter as _envoy_config_filter_accesslog_v2_NotHealthCheckFilter, NotHealthCheckFilter__Output as _envoy_config_filter_accesslog_v2_NotHealthCheckFilter__Output } from './envoy/config/filter/accesslog/v2/NotHealthCheckFilter'; +import { TraceableFilter as _envoy_config_filter_accesslog_v2_TraceableFilter, TraceableFilter__Output as _envoy_config_filter_accesslog_v2_TraceableFilter__Output } from './envoy/config/filter/accesslog/v2/TraceableFilter'; +import { RuntimeFilter as _envoy_config_filter_accesslog_v2_RuntimeFilter, RuntimeFilter__Output as _envoy_config_filter_accesslog_v2_RuntimeFilter__Output } from './envoy/config/filter/accesslog/v2/RuntimeFilter'; +import { AndFilter as _envoy_config_filter_accesslog_v2_AndFilter, AndFilter__Output as _envoy_config_filter_accesslog_v2_AndFilter__Output } from './envoy/config/filter/accesslog/v2/AndFilter'; +import { OrFilter as _envoy_config_filter_accesslog_v2_OrFilter, OrFilter__Output as _envoy_config_filter_accesslog_v2_OrFilter__Output } from './envoy/config/filter/accesslog/v2/OrFilter'; +import { HeaderFilter as _envoy_config_filter_accesslog_v2_HeaderFilter, HeaderFilter__Output as _envoy_config_filter_accesslog_v2_HeaderFilter__Output } from './envoy/config/filter/accesslog/v2/HeaderFilter'; +import { ResponseFlagFilter as _envoy_config_filter_accesslog_v2_ResponseFlagFilter, ResponseFlagFilter__Output as _envoy_config_filter_accesslog_v2_ResponseFlagFilter__Output } from './envoy/config/filter/accesslog/v2/ResponseFlagFilter'; +import { GrpcStatusFilter as _envoy_config_filter_accesslog_v2_GrpcStatusFilter, GrpcStatusFilter__Output as _envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output } from './envoy/config/filter/accesslog/v2/GrpcStatusFilter'; +import { ExtensionFilter as _envoy_config_filter_accesslog_v2_ExtensionFilter, ExtensionFilter__Output as _envoy_config_filter_accesslog_v2_ExtensionFilter__Output } from './envoy/config/filter/accesslog/v2/ExtensionFilter'; +import { ApiListener as _envoy_config_listener_v2_ApiListener, ApiListener__Output as _envoy_config_listener_v2_ApiListener__Output } from './envoy/config/listener/v2/ApiListener'; +import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; +import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; +import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; +import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; +import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; +import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; +import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; +import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; +import { CustomTag as _envoy_type_tracing_v2_CustomTag, CustomTag__Output as _envoy_type_tracing_v2_CustomTag__Output } from './envoy/type/tracing/v2/CustomTag'; +import { MetadataKey as _envoy_type_metadata_v2_MetadataKey, MetadataKey__Output as _envoy_type_metadata_v2_MetadataKey__Output } from './envoy/type/metadata/v2/MetadataKey'; +import { MetadataKind as _envoy_type_metadata_v2_MetadataKind, MetadataKind__Output as _envoy_type_metadata_v2_MetadataKind__Output } from './envoy/type/metadata/v2/MetadataKind'; +import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; +import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; +import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; +import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; +import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; +import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; +import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; +import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; +import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; +import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; +import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; +import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; +import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; +import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; +import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; +import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; +import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; +import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; +import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; +import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; +import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; +import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; +import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; +import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; +import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; +import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; +import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; +import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; +import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; +import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; +import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; +import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; +import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; +import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; +import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; +import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; +import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; +import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; +import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; +import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; +import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; +import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; +import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; +import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; +import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; +import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; +import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; +import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; +import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; +import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; +import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; +import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; +import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; +import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; +import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; +import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; +import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; +import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; +import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; +import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; +import { Http as _google_api_Http, Http__Output as _google_api_Http__Output } from './google/api/Http'; +import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from './google/api/HttpRule'; +import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from './google/api/CustomHttpPattern'; + +export namespace messages { + export namespace envoy { + export namespace api { + export namespace v2 { + export type Listener = _envoy_api_v2_Listener; + export type Listener__Output = _envoy_api_v2_Listener__Output; + export namespace core { + export type Pipe = _envoy_api_v2_core_Pipe; + export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + export type SocketAddress = _envoy_api_v2_core_SocketAddress; + export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; + export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; + export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + export type BindConfig = _envoy_api_v2_core_BindConfig; + export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; + export type Address = _envoy_api_v2_core_Address; + export type Address__Output = _envoy_api_v2_core_Address__Output; + export type CidrRange = _envoy_api_v2_core_CidrRange; + export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + export type RequestMethod = _envoy_api_v2_core_RequestMethod; + export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + export type Locality = _envoy_api_v2_core_Locality; + export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type BuildVersion = _envoy_api_v2_core_BuildVersion; + export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + export type Extension = _envoy_api_v2_core_Extension; + export type Extension__Output = _envoy_api_v2_core_Extension__Output; + export type Node = _envoy_api_v2_core_Node; + export type Node__Output = _envoy_api_v2_core_Node__Output; + export type Metadata = _envoy_api_v2_core_Metadata; + export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; + export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + export type HeaderValue = _envoy_api_v2_core_HeaderValue; + export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; + export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; + export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; + export type HeaderMap = _envoy_api_v2_core_HeaderMap; + export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; + export type DataSource = _envoy_api_v2_core_DataSource; + export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; + export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; + export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; + export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + export type TransportSocket = _envoy_api_v2_core_TransportSocket; + export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; + export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; + export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; + export type ControlPlane = _envoy_api_v2_core_ControlPlane; + export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + export type SocketOption = _envoy_api_v2_core_SocketOption; + export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; + export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type ApiVersion = _envoy_api_v2_core_ApiVersion; + export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; + export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; + export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; + export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; + export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; + export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; + export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; + export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; + export type ConfigSource = _envoy_api_v2_core_ConfigSource; + export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; + export type GrpcService = _envoy_api_v2_core_GrpcService; + export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + } + export namespace listener { + export type UdpListenerConfig = _envoy_api_v2_listener_UdpListenerConfig; + export type UdpListenerConfig__Output = _envoy_api_v2_listener_UdpListenerConfig__Output; + export type ActiveRawUdpListenerConfig = _envoy_api_v2_listener_ActiveRawUdpListenerConfig; + export type ActiveRawUdpListenerConfig__Output = _envoy_api_v2_listener_ActiveRawUdpListenerConfig__Output; + export type Filter = _envoy_api_v2_listener_Filter; + export type Filter__Output = _envoy_api_v2_listener_Filter__Output; + export type FilterChainMatch = _envoy_api_v2_listener_FilterChainMatch; + export type FilterChainMatch__Output = _envoy_api_v2_listener_FilterChainMatch__Output; + export type FilterChain = _envoy_api_v2_listener_FilterChain; + export type FilterChain__Output = _envoy_api_v2_listener_FilterChain__Output; + export type ListenerFilterChainMatchPredicate = _envoy_api_v2_listener_ListenerFilterChainMatchPredicate; + export type ListenerFilterChainMatchPredicate__Output = _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output; + export type ListenerFilter = _envoy_api_v2_listener_ListenerFilter; + export type ListenerFilter__Output = _envoy_api_v2_listener_ListenerFilter__Output; + } + export namespace auth { + export type UpstreamTlsContext = _envoy_api_v2_auth_UpstreamTlsContext; + export type UpstreamTlsContext__Output = _envoy_api_v2_auth_UpstreamTlsContext__Output; + export type DownstreamTlsContext = _envoy_api_v2_auth_DownstreamTlsContext; + export type DownstreamTlsContext__Output = _envoy_api_v2_auth_DownstreamTlsContext__Output; + export type CommonTlsContext = _envoy_api_v2_auth_CommonTlsContext; + export type CommonTlsContext__Output = _envoy_api_v2_auth_CommonTlsContext__Output; + export type GenericSecret = _envoy_api_v2_auth_GenericSecret; + export type GenericSecret__Output = _envoy_api_v2_auth_GenericSecret__Output; + export type SdsSecretConfig = _envoy_api_v2_auth_SdsSecretConfig; + export type SdsSecretConfig__Output = _envoy_api_v2_auth_SdsSecretConfig__Output; + export type Secret = _envoy_api_v2_auth_Secret; + export type Secret__Output = _envoy_api_v2_auth_Secret__Output; + export type TlsParameters = _envoy_api_v2_auth_TlsParameters; + export type TlsParameters__Output = _envoy_api_v2_auth_TlsParameters__Output; + export type PrivateKeyProvider = _envoy_api_v2_auth_PrivateKeyProvider; + export type PrivateKeyProvider__Output = _envoy_api_v2_auth_PrivateKeyProvider__Output; + export type TlsCertificate = _envoy_api_v2_auth_TlsCertificate; + export type TlsCertificate__Output = _envoy_api_v2_auth_TlsCertificate__Output; + export type TlsSessionTicketKeys = _envoy_api_v2_auth_TlsSessionTicketKeys; + export type TlsSessionTicketKeys__Output = _envoy_api_v2_auth_TlsSessionTicketKeys__Output; + export type CertificateValidationContext = _envoy_api_v2_auth_CertificateValidationContext; + export type CertificateValidationContext__Output = _envoy_api_v2_auth_CertificateValidationContext__Output; + } + export namespace route { + export type VirtualHost = _envoy_api_v2_route_VirtualHost; + export type VirtualHost__Output = _envoy_api_v2_route_VirtualHost__Output; + export type FilterAction = _envoy_api_v2_route_FilterAction; + export type FilterAction__Output = _envoy_api_v2_route_FilterAction__Output; + export type Route = _envoy_api_v2_route_Route; + export type Route__Output = _envoy_api_v2_route_Route__Output; + export type WeightedCluster = _envoy_api_v2_route_WeightedCluster; + export type WeightedCluster__Output = _envoy_api_v2_route_WeightedCluster__Output; + export type RouteMatch = _envoy_api_v2_route_RouteMatch; + export type RouteMatch__Output = _envoy_api_v2_route_RouteMatch__Output; + export type CorsPolicy = _envoy_api_v2_route_CorsPolicy; + export type CorsPolicy__Output = _envoy_api_v2_route_CorsPolicy__Output; + export type RouteAction = _envoy_api_v2_route_RouteAction; + export type RouteAction__Output = _envoy_api_v2_route_RouteAction__Output; + export type RetryPolicy = _envoy_api_v2_route_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_route_RetryPolicy__Output; + export type HedgePolicy = _envoy_api_v2_route_HedgePolicy; + export type HedgePolicy__Output = _envoy_api_v2_route_HedgePolicy__Output; + export type RedirectAction = _envoy_api_v2_route_RedirectAction; + export type RedirectAction__Output = _envoy_api_v2_route_RedirectAction__Output; + export type DirectResponseAction = _envoy_api_v2_route_DirectResponseAction; + export type DirectResponseAction__Output = _envoy_api_v2_route_DirectResponseAction__Output; + export type Decorator = _envoy_api_v2_route_Decorator; + export type Decorator__Output = _envoy_api_v2_route_Decorator__Output; + export type Tracing = _envoy_api_v2_route_Tracing; + export type Tracing__Output = _envoy_api_v2_route_Tracing__Output; + export type VirtualCluster = _envoy_api_v2_route_VirtualCluster; + export type VirtualCluster__Output = _envoy_api_v2_route_VirtualCluster__Output; + export type RateLimit = _envoy_api_v2_route_RateLimit; + export type RateLimit__Output = _envoy_api_v2_route_RateLimit__Output; + export type HeaderMatcher = _envoy_api_v2_route_HeaderMatcher; + export type HeaderMatcher__Output = _envoy_api_v2_route_HeaderMatcher__Output; + export type QueryParameterMatcher = _envoy_api_v2_route_QueryParameterMatcher; + export type QueryParameterMatcher__Output = _envoy_api_v2_route_QueryParameterMatcher__Output; + } + } + } + export namespace config { + export namespace filter { + export namespace accesslog { + export namespace v2 { + export type AccessLog = _envoy_config_filter_accesslog_v2_AccessLog; + export type AccessLog__Output = _envoy_config_filter_accesslog_v2_AccessLog__Output; + export type AccessLogFilter = _envoy_config_filter_accesslog_v2_AccessLogFilter; + export type AccessLogFilter__Output = _envoy_config_filter_accesslog_v2_AccessLogFilter__Output; + export type ComparisonFilter = _envoy_config_filter_accesslog_v2_ComparisonFilter; + export type ComparisonFilter__Output = _envoy_config_filter_accesslog_v2_ComparisonFilter__Output; + export type StatusCodeFilter = _envoy_config_filter_accesslog_v2_StatusCodeFilter; + export type StatusCodeFilter__Output = _envoy_config_filter_accesslog_v2_StatusCodeFilter__Output; + export type DurationFilter = _envoy_config_filter_accesslog_v2_DurationFilter; + export type DurationFilter__Output = _envoy_config_filter_accesslog_v2_DurationFilter__Output; + export type NotHealthCheckFilter = _envoy_config_filter_accesslog_v2_NotHealthCheckFilter; + export type NotHealthCheckFilter__Output = _envoy_config_filter_accesslog_v2_NotHealthCheckFilter__Output; + export type TraceableFilter = _envoy_config_filter_accesslog_v2_TraceableFilter; + export type TraceableFilter__Output = _envoy_config_filter_accesslog_v2_TraceableFilter__Output; + export type RuntimeFilter = _envoy_config_filter_accesslog_v2_RuntimeFilter; + export type RuntimeFilter__Output = _envoy_config_filter_accesslog_v2_RuntimeFilter__Output; + export type AndFilter = _envoy_config_filter_accesslog_v2_AndFilter; + export type AndFilter__Output = _envoy_config_filter_accesslog_v2_AndFilter__Output; + export type OrFilter = _envoy_config_filter_accesslog_v2_OrFilter; + export type OrFilter__Output = _envoy_config_filter_accesslog_v2_OrFilter__Output; + export type HeaderFilter = _envoy_config_filter_accesslog_v2_HeaderFilter; + export type HeaderFilter__Output = _envoy_config_filter_accesslog_v2_HeaderFilter__Output; + export type ResponseFlagFilter = _envoy_config_filter_accesslog_v2_ResponseFlagFilter; + export type ResponseFlagFilter__Output = _envoy_config_filter_accesslog_v2_ResponseFlagFilter__Output; + export type GrpcStatusFilter = _envoy_config_filter_accesslog_v2_GrpcStatusFilter; + export type GrpcStatusFilter__Output = _envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output; + export type ExtensionFilter = _envoy_config_filter_accesslog_v2_ExtensionFilter; + export type ExtensionFilter__Output = _envoy_config_filter_accesslog_v2_ExtensionFilter__Output; + } + } + } + export namespace listener { + export namespace v2 { + export type ApiListener = _envoy_config_listener_v2_ApiListener; + export type ApiListener__Output = _envoy_config_listener_v2_ApiListener__Output; + } + } + } + export namespace type { + export type Percent = _envoy_type_Percent; + export type Percent__Output = _envoy_type_Percent__Output; + export type FractionalPercent = _envoy_type_FractionalPercent; + export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + export type SemanticVersion = _envoy_type_SemanticVersion; + export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; + export type Int64Range = _envoy_type_Int64Range; + export type Int64Range__Output = _envoy_type_Int64Range__Output; + export type Int32Range = _envoy_type_Int32Range; + export type Int32Range__Output = _envoy_type_Int32Range__Output; + export type DoubleRange = _envoy_type_DoubleRange; + export type DoubleRange__Output = _envoy_type_DoubleRange__Output; + export namespace matcher { + export type StringMatcher = _envoy_type_matcher_StringMatcher; + export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; + export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; + export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; + export type RegexMatcher = _envoy_type_matcher_RegexMatcher; + export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; + export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; + export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; + } + export namespace tracing { + export namespace v2 { + export type CustomTag = _envoy_type_tracing_v2_CustomTag; + export type CustomTag__Output = _envoy_type_tracing_v2_CustomTag__Output; + } + } + export namespace metadata { + export namespace v2 { + export type MetadataKey = _envoy_type_metadata_v2_MetadataKey; + export type MetadataKey__Output = _envoy_type_metadata_v2_MetadataKey__Output; + export type MetadataKind = _envoy_type_metadata_v2_MetadataKind; + export type MetadataKind__Output = _envoy_type_metadata_v2_MetadataKind__Output; + } + } + } + export namespace annotations { + } + } + export namespace udpa { + export namespace annotations { + export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; + export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; + export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; + export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; + export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; + export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; + export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; + export type StatusAnnotation = _udpa_annotations_StatusAnnotation; + export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; + } + } + export namespace validate { + export type FieldRules = _validate_FieldRules; + export type FieldRules__Output = _validate_FieldRules__Output; + export type FloatRules = _validate_FloatRules; + export type FloatRules__Output = _validate_FloatRules__Output; + export type DoubleRules = _validate_DoubleRules; + export type DoubleRules__Output = _validate_DoubleRules__Output; + export type Int32Rules = _validate_Int32Rules; + export type Int32Rules__Output = _validate_Int32Rules__Output; + export type Int64Rules = _validate_Int64Rules; + export type Int64Rules__Output = _validate_Int64Rules__Output; + export type UInt32Rules = _validate_UInt32Rules; + export type UInt32Rules__Output = _validate_UInt32Rules__Output; + export type UInt64Rules = _validate_UInt64Rules; + export type UInt64Rules__Output = _validate_UInt64Rules__Output; + export type SInt32Rules = _validate_SInt32Rules; + export type SInt32Rules__Output = _validate_SInt32Rules__Output; + export type SInt64Rules = _validate_SInt64Rules; + export type SInt64Rules__Output = _validate_SInt64Rules__Output; + export type Fixed32Rules = _validate_Fixed32Rules; + export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + export type Fixed64Rules = _validate_Fixed64Rules; + export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + export type SFixed32Rules = _validate_SFixed32Rules; + export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + export type SFixed64Rules = _validate_SFixed64Rules; + export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + export type BoolRules = _validate_BoolRules; + export type BoolRules__Output = _validate_BoolRules__Output; + export type StringRules = _validate_StringRules; + export type StringRules__Output = _validate_StringRules__Output; + export type KnownRegex = _validate_KnownRegex; + export type BytesRules = _validate_BytesRules; + export type BytesRules__Output = _validate_BytesRules__Output; + export type EnumRules = _validate_EnumRules; + export type EnumRules__Output = _validate_EnumRules__Output; + export type MessageRules = _validate_MessageRules; + export type MessageRules__Output = _validate_MessageRules__Output; + export type RepeatedRules = _validate_RepeatedRules; + export type RepeatedRules__Output = _validate_RepeatedRules__Output; + export type MapRules = _validate_MapRules; + export type MapRules__Output = _validate_MapRules__Output; + export type AnyRules = _validate_AnyRules; + export type AnyRules__Output = _validate_AnyRules__Output; + export type DurationRules = _validate_DurationRules; + export type DurationRules__Output = _validate_DurationRules__Output; + export type TimestampRules = _validate_TimestampRules; + export type TimestampRules__Output = _validate_TimestampRules__Output; + } + export namespace google { + export namespace protobuf { + export type Duration = _google_protobuf_Duration; + export type Duration__Output = _google_protobuf_Duration__Output; + export type DoubleValue = _google_protobuf_DoubleValue; + export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; + export type FloatValue = _google_protobuf_FloatValue; + export type FloatValue__Output = _google_protobuf_FloatValue__Output; + export type Int64Value = _google_protobuf_Int64Value; + export type Int64Value__Output = _google_protobuf_Int64Value__Output; + export type UInt64Value = _google_protobuf_UInt64Value; + export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; + export type Int32Value = _google_protobuf_Int32Value; + export type Int32Value__Output = _google_protobuf_Int32Value__Output; + export type UInt32Value = _google_protobuf_UInt32Value; + export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; + export type BoolValue = _google_protobuf_BoolValue; + export type BoolValue__Output = _google_protobuf_BoolValue__Output; + export type StringValue = _google_protobuf_StringValue; + export type StringValue__Output = _google_protobuf_StringValue__Output; + export type BytesValue = _google_protobuf_BytesValue; + export type BytesValue__Output = _google_protobuf_BytesValue__Output; + export type Any = _google_protobuf_Any; + export type Any__Output = _google_protobuf_Any__Output; + export type Struct = _google_protobuf_Struct; + export type Struct__Output = _google_protobuf_Struct__Output; + export type Value = _google_protobuf_Value; + export type Value__Output = _google_protobuf_Value__Output; + export type NullValue = _google_protobuf_NullValue; + export type ListValue = _google_protobuf_ListValue; + export type ListValue__Output = _google_protobuf_ListValue__Output; + export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; + export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; + export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; + export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; + export type DescriptorProto = _google_protobuf_DescriptorProto; + export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; + export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; + export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; + export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; + export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; + export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; + export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; + export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; + export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; + export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; + export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; + export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; + export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type FileOptions = _google_protobuf_FileOptions; + export type FileOptions__Output = _google_protobuf_FileOptions__Output; + export type MessageOptions = _google_protobuf_MessageOptions; + export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; + export type FieldOptions = _google_protobuf_FieldOptions; + export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type OneofOptions = _google_protobuf_OneofOptions; + export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; + export type EnumOptions = _google_protobuf_EnumOptions; + export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; + export type EnumValueOptions = _google_protobuf_EnumValueOptions; + export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type ServiceOptions = _google_protobuf_ServiceOptions; + export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; + export type MethodOptions = _google_protobuf_MethodOptions; + export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; + export type UninterpretedOption = _google_protobuf_UninterpretedOption; + export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; + export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; + export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; + export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; + export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; + export type Timestamp = _google_protobuf_Timestamp; + export type Timestamp__Output = _google_protobuf_Timestamp__Output; + export type Empty = _google_protobuf_Empty; + export type Empty__Output = _google_protobuf_Empty__Output; + } + export namespace api { + export type Http = _google_api_Http; + export type Http__Output = _google_api_Http__Output; + export type HttpRule = _google_api_HttpRule; + export type HttpRule__Output = _google_api_HttpRule__Output; + export type CustomHttpPattern = _google_api_CustomHttpPattern; + export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; + } + } +} + +export namespace ClientInterfaces { + export namespace envoy { + export namespace api { + export namespace v2 { + export namespace Listener { + export namespace DeprecatedV1 { + } + export namespace ConnectionBalanceConfig { + export namespace ExactBalance { + } + } + } + export namespace core { + export namespace Pipe { + } + export namespace SocketAddress { + } + export namespace TcpKeepalive { + } + export namespace BindConfig { + } + export namespace Address { + } + export namespace CidrRange { + } + export namespace Locality { + } + export namespace BuildVersion { + } + export namespace Extension { + } + export namespace Node { + } + export namespace Metadata { + } + export namespace RuntimeUInt32 { + } + export namespace RuntimeDouble { + } + export namespace RuntimeFeatureFlag { + } + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HeaderMap { + } + export namespace DataSource { + } + export namespace RetryPolicy { + } + export namespace RemoteDataSource { + } + export namespace AsyncDataSource { + } + export namespace TransportSocket { + } + export namespace RuntimeFractionalPercent { + } + export namespace ControlPlane { + } + export namespace SocketOption { + } + export namespace BackoffStrategy { + } + export namespace HttpUri { + } + export namespace ApiConfigSource { + } + export namespace AggregatedConfigSource { + } + export namespace SelfConfigSource { + } + export namespace RateLimitSettings { + } + export namespace ConfigSource { + } + export namespace GrpcService { + export namespace EnvoyGrpc { + } + export namespace GoogleGrpc { + export namespace SslCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace ChannelCredentials { + } + export namespace CallCredentials { + export namespace ServiceAccountJWTAccessCredentials { + } + export namespace GoogleIAMCredentials { + } + export namespace MetadataCredentialsFromPlugin { + } + export namespace StsService { + } + } + } + } + } + export namespace listener { + export namespace UdpListenerConfig { + } + export namespace ActiveRawUdpListenerConfig { + } + export namespace Filter { + } + export namespace FilterChainMatch { + } + export namespace FilterChain { + } + export namespace ListenerFilterChainMatchPredicate { + export namespace MatchSet { + } + } + export namespace ListenerFilter { + } + } + export namespace auth { + export namespace UpstreamTlsContext { + } + export namespace DownstreamTlsContext { + } + export namespace CommonTlsContext { + export namespace CombinedCertificateValidationContext { + } + } + export namespace GenericSecret { + } + export namespace SdsSecretConfig { + } + export namespace Secret { + } + export namespace TlsParameters { + } + export namespace PrivateKeyProvider { + } + export namespace TlsCertificate { + } + export namespace TlsSessionTicketKeys { + } + export namespace CertificateValidationContext { + } + } + export namespace route { + export namespace VirtualHost { + } + export namespace FilterAction { + } + export namespace Route { + } + export namespace WeightedCluster { + export namespace ClusterWeight { + } + } + export namespace RouteMatch { + export namespace GrpcRouteMatchOptions { + } + export namespace TlsContextMatchOptions { + } + } + export namespace CorsPolicy { + } + export namespace RouteAction { + export namespace RequestMirrorPolicy { + } + export namespace HashPolicy { + export namespace Header { + } + export namespace Cookie { + } + export namespace ConnectionProperties { + } + export namespace QueryParameter { + } + export namespace FilterState { + } + } + export namespace UpgradeConfig { + } + } + export namespace RetryPolicy { + export namespace RetryPriority { + } + export namespace RetryHostPredicate { + } + export namespace RetryBackOff { + } + } + export namespace HedgePolicy { + } + export namespace RedirectAction { + } + export namespace DirectResponseAction { + } + export namespace Decorator { + } + export namespace Tracing { + } + export namespace VirtualCluster { + } + export namespace RateLimit { + export namespace Action { + export namespace SourceCluster { + } + export namespace DestinationCluster { + } + export namespace RequestHeaders { + } + export namespace RemoteAddress { + } + export namespace GenericKey { + } + export namespace HeaderValueMatch { + } + } + } + export namespace HeaderMatcher { + } + export namespace QueryParameterMatcher { + } + } + } + } + export namespace config { + export namespace filter { + export namespace accesslog { + export namespace v2 { + export namespace AccessLog { + } + export namespace AccessLogFilter { + } + export namespace ComparisonFilter { + } + export namespace StatusCodeFilter { + } + export namespace DurationFilter { + } + export namespace NotHealthCheckFilter { + } + export namespace TraceableFilter { + } + export namespace RuntimeFilter { + } + export namespace AndFilter { + } + export namespace OrFilter { + } + export namespace HeaderFilter { + } + export namespace ResponseFlagFilter { + } + export namespace GrpcStatusFilter { + } + export namespace ExtensionFilter { + } + } + } + } + export namespace listener { + export namespace v2 { + export namespace ApiListener { + } + } + } + } + export namespace type { + export namespace Percent { + } + export namespace FractionalPercent { + } + export namespace SemanticVersion { + } + export namespace Int64Range { + } + export namespace Int32Range { + } + export namespace DoubleRange { + } + export namespace matcher { + export namespace StringMatcher { + } + export namespace ListStringMatcher { + } + export namespace RegexMatcher { + export namespace GoogleRE2 { + } + } + export namespace RegexMatchAndSubstitute { + } + } + export namespace tracing { + export namespace v2 { + export namespace CustomTag { + export namespace Literal { + } + export namespace Environment { + } + export namespace Header { + } + export namespace Metadata { + } + } + } + } + export namespace metadata { + export namespace v2 { + export namespace MetadataKey { + export namespace PathSegment { + } + } + export namespace MetadataKind { + export namespace Request { + } + export namespace Route { + } + export namespace Cluster { + } + export namespace Host { + } + } + } + } + } + export namespace annotations { + } + } + export namespace udpa { + export namespace annotations { + export namespace MigrateAnnotation { + } + export namespace FieldMigrateAnnotation { + } + export namespace FileMigrateAnnotation { + } + export namespace StatusAnnotation { + } + } + } + export namespace validate { + export namespace FieldRules { + } + export namespace FloatRules { + } + export namespace DoubleRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace BoolRules { + } + export namespace StringRules { + } + export namespace BytesRules { + } + export namespace EnumRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace MapRules { + } + export namespace AnyRules { + } + export namespace DurationRules { + } + export namespace TimestampRules { + } + } + export namespace google { + export namespace protobuf { + export namespace Duration { + } + export namespace DoubleValue { + } + export namespace FloatValue { + } + export namespace Int64Value { + } + export namespace UInt64Value { + } + export namespace Int32Value { + } + export namespace UInt32Value { + } + export namespace BoolValue { + } + export namespace StringValue { + } + export namespace BytesValue { + } + export namespace Any { + } + export namespace Struct { + } + export namespace Value { + } + export namespace ListValue { + } + export namespace FileDescriptorSet { + } + export namespace FileDescriptorProto { + } + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } + } + export namespace FieldDescriptorProto { + } + export namespace OneofDescriptorProto { + } + export namespace EnumDescriptorProto { + } + export namespace EnumValueDescriptorProto { + } + export namespace ServiceDescriptorProto { + } + export namespace MethodDescriptorProto { + } + export namespace FileOptions { + } + export namespace MessageOptions { + } + export namespace FieldOptions { + } + export namespace OneofOptions { + } + export namespace EnumOptions { + } + export namespace EnumValueOptions { + } + export namespace ServiceOptions { + } + export namespace MethodOptions { + } + export namespace UninterpretedOption { + export namespace NamePart { + } + } + export namespace SourceCodeInfo { + export namespace Location { + } + } + export namespace GeneratedCodeInfo { + export namespace Annotation { + } + } + export namespace Timestamp { + } + export namespace Empty { + } + } + export namespace api { + export namespace Http { + } + export namespace HttpRule { + } + export namespace CustomHttpPattern { + } + } + } +} + +type ConstructorArguments = Constructor extends new (...args: infer Args) => any ? Args: never; +type SubtypeConstructor = { + new(...args: ConstructorArguments): Subtype; +} + +export interface ProtoGrpcType { + envoy: { + api: { + v2: { + Listener: MessageTypeDefinition + core: { + Pipe: MessageTypeDefinition + SocketAddress: MessageTypeDefinition + TcpKeepalive: MessageTypeDefinition + BindConfig: MessageTypeDefinition + Address: MessageTypeDefinition + CidrRange: MessageTypeDefinition + RoutingPriority: EnumTypeDefinition + RequestMethod: EnumTypeDefinition + TrafficDirection: EnumTypeDefinition + Locality: MessageTypeDefinition + BuildVersion: MessageTypeDefinition + Extension: MessageTypeDefinition + Node: MessageTypeDefinition + Metadata: MessageTypeDefinition + RuntimeUInt32: MessageTypeDefinition + RuntimeDouble: MessageTypeDefinition + RuntimeFeatureFlag: MessageTypeDefinition + HeaderValue: MessageTypeDefinition + HeaderValueOption: MessageTypeDefinition + HeaderMap: MessageTypeDefinition + DataSource: MessageTypeDefinition + RetryPolicy: MessageTypeDefinition + RemoteDataSource: MessageTypeDefinition + AsyncDataSource: MessageTypeDefinition + TransportSocket: MessageTypeDefinition + RuntimeFractionalPercent: MessageTypeDefinition + ControlPlane: MessageTypeDefinition + SocketOption: MessageTypeDefinition + BackoffStrategy: MessageTypeDefinition + HttpUri: MessageTypeDefinition + ApiVersion: EnumTypeDefinition + ApiConfigSource: MessageTypeDefinition + AggregatedConfigSource: MessageTypeDefinition + SelfConfigSource: MessageTypeDefinition + RateLimitSettings: MessageTypeDefinition + ConfigSource: MessageTypeDefinition + GrpcService: MessageTypeDefinition + } + listener: { + UdpListenerConfig: MessageTypeDefinition + ActiveRawUdpListenerConfig: MessageTypeDefinition + Filter: MessageTypeDefinition + FilterChainMatch: MessageTypeDefinition + FilterChain: MessageTypeDefinition + ListenerFilterChainMatchPredicate: MessageTypeDefinition + ListenerFilter: MessageTypeDefinition + } + auth: { + UpstreamTlsContext: MessageTypeDefinition + DownstreamTlsContext: MessageTypeDefinition + CommonTlsContext: MessageTypeDefinition + GenericSecret: MessageTypeDefinition + SdsSecretConfig: MessageTypeDefinition + Secret: MessageTypeDefinition + TlsParameters: MessageTypeDefinition + PrivateKeyProvider: MessageTypeDefinition + TlsCertificate: MessageTypeDefinition + TlsSessionTicketKeys: MessageTypeDefinition + CertificateValidationContext: MessageTypeDefinition + } + route: { + VirtualHost: MessageTypeDefinition + FilterAction: MessageTypeDefinition + Route: MessageTypeDefinition + WeightedCluster: MessageTypeDefinition + RouteMatch: MessageTypeDefinition + CorsPolicy: MessageTypeDefinition + RouteAction: MessageTypeDefinition + RetryPolicy: MessageTypeDefinition + HedgePolicy: MessageTypeDefinition + RedirectAction: MessageTypeDefinition + DirectResponseAction: MessageTypeDefinition + Decorator: MessageTypeDefinition + Tracing: MessageTypeDefinition + VirtualCluster: MessageTypeDefinition + RateLimit: MessageTypeDefinition + HeaderMatcher: MessageTypeDefinition + QueryParameterMatcher: MessageTypeDefinition + } + } + } + config: { + filter: { + accesslog: { + v2: { + AccessLog: MessageTypeDefinition + AccessLogFilter: MessageTypeDefinition + ComparisonFilter: MessageTypeDefinition + StatusCodeFilter: MessageTypeDefinition + DurationFilter: MessageTypeDefinition + NotHealthCheckFilter: MessageTypeDefinition + TraceableFilter: MessageTypeDefinition + RuntimeFilter: MessageTypeDefinition + AndFilter: MessageTypeDefinition + OrFilter: MessageTypeDefinition + HeaderFilter: MessageTypeDefinition + ResponseFlagFilter: MessageTypeDefinition + GrpcStatusFilter: MessageTypeDefinition + ExtensionFilter: MessageTypeDefinition + } + } + } + listener: { + v2: { + ApiListener: MessageTypeDefinition + } + } + } + type: { + Percent: MessageTypeDefinition + FractionalPercent: MessageTypeDefinition + SemanticVersion: MessageTypeDefinition + Int64Range: MessageTypeDefinition + Int32Range: MessageTypeDefinition + DoubleRange: MessageTypeDefinition + matcher: { + StringMatcher: MessageTypeDefinition + ListStringMatcher: MessageTypeDefinition + RegexMatcher: MessageTypeDefinition + RegexMatchAndSubstitute: MessageTypeDefinition + } + tracing: { + v2: { + CustomTag: MessageTypeDefinition + } + } + metadata: { + v2: { + MetadataKey: MessageTypeDefinition + MetadataKind: MessageTypeDefinition + } + } + } + annotations: { + } + } + udpa: { + annotations: { + MigrateAnnotation: MessageTypeDefinition + FieldMigrateAnnotation: MessageTypeDefinition + FileMigrateAnnotation: MessageTypeDefinition + PackageVersionStatus: EnumTypeDefinition + StatusAnnotation: MessageTypeDefinition + } + } + validate: { + FieldRules: MessageTypeDefinition + FloatRules: MessageTypeDefinition + DoubleRules: MessageTypeDefinition + Int32Rules: MessageTypeDefinition + Int64Rules: MessageTypeDefinition + UInt32Rules: MessageTypeDefinition + UInt64Rules: MessageTypeDefinition + SInt32Rules: MessageTypeDefinition + SInt64Rules: MessageTypeDefinition + Fixed32Rules: MessageTypeDefinition + Fixed64Rules: MessageTypeDefinition + SFixed32Rules: MessageTypeDefinition + SFixed64Rules: MessageTypeDefinition + BoolRules: MessageTypeDefinition + StringRules: MessageTypeDefinition + KnownRegex: EnumTypeDefinition + BytesRules: MessageTypeDefinition + EnumRules: MessageTypeDefinition + MessageRules: MessageTypeDefinition + RepeatedRules: MessageTypeDefinition + MapRules: MessageTypeDefinition + AnyRules: MessageTypeDefinition + DurationRules: MessageTypeDefinition + TimestampRules: MessageTypeDefinition + } + google: { + protobuf: { + Duration: MessageTypeDefinition + DoubleValue: MessageTypeDefinition + FloatValue: MessageTypeDefinition + Int64Value: MessageTypeDefinition + UInt64Value: MessageTypeDefinition + Int32Value: MessageTypeDefinition + UInt32Value: MessageTypeDefinition + BoolValue: MessageTypeDefinition + StringValue: MessageTypeDefinition + BytesValue: MessageTypeDefinition + Any: MessageTypeDefinition + Struct: MessageTypeDefinition + Value: MessageTypeDefinition + NullValue: EnumTypeDefinition + ListValue: MessageTypeDefinition + FileDescriptorSet: MessageTypeDefinition + FileDescriptorProto: MessageTypeDefinition + DescriptorProto: MessageTypeDefinition + FieldDescriptorProto: MessageTypeDefinition + OneofDescriptorProto: MessageTypeDefinition + EnumDescriptorProto: MessageTypeDefinition + EnumValueDescriptorProto: MessageTypeDefinition + ServiceDescriptorProto: MessageTypeDefinition + MethodDescriptorProto: MessageTypeDefinition + FileOptions: MessageTypeDefinition + MessageOptions: MessageTypeDefinition + FieldOptions: MessageTypeDefinition + OneofOptions: MessageTypeDefinition + EnumOptions: MessageTypeDefinition + EnumValueOptions: MessageTypeDefinition + ServiceOptions: MessageTypeDefinition + MethodOptions: MessageTypeDefinition + UninterpretedOption: MessageTypeDefinition + SourceCodeInfo: MessageTypeDefinition + GeneratedCodeInfo: MessageTypeDefinition + Timestamp: MessageTypeDefinition + Empty: MessageTypeDefinition + } + api: { + Http: MessageTypeDefinition + HttpRule: MessageTypeDefinition + CustomHttpPattern: MessageTypeDefinition + } + } +} + +export namespace ServiceHandlers { + export namespace envoy { + export namespace api { + export namespace v2 { + export namespace Listener { + export namespace DeprecatedV1 { + } + export namespace ConnectionBalanceConfig { + export namespace ExactBalance { + } + } + } + export namespace core { + export namespace Pipe { + } + export namespace SocketAddress { + } + export namespace TcpKeepalive { + } + export namespace BindConfig { + } + export namespace Address { + } + export namespace CidrRange { + } + export namespace Locality { + } + export namespace BuildVersion { + } + export namespace Extension { + } + export namespace Node { + } + export namespace Metadata { + } + export namespace RuntimeUInt32 { + } + export namespace RuntimeDouble { + } + export namespace RuntimeFeatureFlag { + } + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HeaderMap { + } + export namespace DataSource { + } + export namespace RetryPolicy { + } + export namespace RemoteDataSource { + } + export namespace AsyncDataSource { + } + export namespace TransportSocket { + } + export namespace RuntimeFractionalPercent { + } + export namespace ControlPlane { + } + export namespace SocketOption { + } + export namespace BackoffStrategy { + } + export namespace HttpUri { + } + export namespace ApiConfigSource { + } + export namespace AggregatedConfigSource { + } + export namespace SelfConfigSource { + } + export namespace RateLimitSettings { + } + export namespace ConfigSource { + } + export namespace GrpcService { + export namespace EnvoyGrpc { + } + export namespace GoogleGrpc { + export namespace SslCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace ChannelCredentials { + } + export namespace CallCredentials { + export namespace ServiceAccountJWTAccessCredentials { + } + export namespace GoogleIAMCredentials { + } + export namespace MetadataCredentialsFromPlugin { + } + export namespace StsService { + } + } + } + } + } + export namespace listener { + export namespace UdpListenerConfig { + } + export namespace ActiveRawUdpListenerConfig { + } + export namespace Filter { + } + export namespace FilterChainMatch { + } + export namespace FilterChain { + } + export namespace ListenerFilterChainMatchPredicate { + export namespace MatchSet { + } + } + export namespace ListenerFilter { + } + } + export namespace auth { + export namespace UpstreamTlsContext { + } + export namespace DownstreamTlsContext { + } + export namespace CommonTlsContext { + export namespace CombinedCertificateValidationContext { + } + } + export namespace GenericSecret { + } + export namespace SdsSecretConfig { + } + export namespace Secret { + } + export namespace TlsParameters { + } + export namespace PrivateKeyProvider { + } + export namespace TlsCertificate { + } + export namespace TlsSessionTicketKeys { + } + export namespace CertificateValidationContext { + } + } + export namespace route { + export namespace VirtualHost { + } + export namespace FilterAction { + } + export namespace Route { + } + export namespace WeightedCluster { + export namespace ClusterWeight { + } + } + export namespace RouteMatch { + export namespace GrpcRouteMatchOptions { + } + export namespace TlsContextMatchOptions { + } + } + export namespace CorsPolicy { + } + export namespace RouteAction { + export namespace RequestMirrorPolicy { + } + export namespace HashPolicy { + export namespace Header { + } + export namespace Cookie { + } + export namespace ConnectionProperties { + } + export namespace QueryParameter { + } + export namespace FilterState { + } + } + export namespace UpgradeConfig { + } + } + export namespace RetryPolicy { + export namespace RetryPriority { + } + export namespace RetryHostPredicate { + } + export namespace RetryBackOff { + } + } + export namespace HedgePolicy { + } + export namespace RedirectAction { + } + export namespace DirectResponseAction { + } + export namespace Decorator { + } + export namespace Tracing { + } + export namespace VirtualCluster { + } + export namespace RateLimit { + export namespace Action { + export namespace SourceCluster { + } + export namespace DestinationCluster { + } + export namespace RequestHeaders { + } + export namespace RemoteAddress { + } + export namespace GenericKey { + } + export namespace HeaderValueMatch { + } + } + } + export namespace HeaderMatcher { + } + export namespace QueryParameterMatcher { + } + } + } + } + export namespace config { + export namespace filter { + export namespace accesslog { + export namespace v2 { + export namespace AccessLog { + } + export namespace AccessLogFilter { + } + export namespace ComparisonFilter { + } + export namespace StatusCodeFilter { + } + export namespace DurationFilter { + } + export namespace NotHealthCheckFilter { + } + export namespace TraceableFilter { + } + export namespace RuntimeFilter { + } + export namespace AndFilter { + } + export namespace OrFilter { + } + export namespace HeaderFilter { + } + export namespace ResponseFlagFilter { + } + export namespace GrpcStatusFilter { + } + export namespace ExtensionFilter { + } + } + } + } + export namespace listener { + export namespace v2 { + export namespace ApiListener { + } + } + } + } + export namespace type { + export namespace Percent { + } + export namespace FractionalPercent { + } + export namespace SemanticVersion { + } + export namespace Int64Range { + } + export namespace Int32Range { + } + export namespace DoubleRange { + } + export namespace matcher { + export namespace StringMatcher { + } + export namespace ListStringMatcher { + } + export namespace RegexMatcher { + export namespace GoogleRE2 { + } + } + export namespace RegexMatchAndSubstitute { + } + } + export namespace tracing { + export namespace v2 { + export namespace CustomTag { + export namespace Literal { + } + export namespace Environment { + } + export namespace Header { + } + export namespace Metadata { + } + } + } + } + export namespace metadata { + export namespace v2 { + export namespace MetadataKey { + export namespace PathSegment { + } + } + export namespace MetadataKind { + export namespace Request { + } + export namespace Route { + } + export namespace Cluster { + } + export namespace Host { + } + } + } + } + } + export namespace annotations { + } + } + export namespace udpa { + export namespace annotations { + export namespace MigrateAnnotation { + } + export namespace FieldMigrateAnnotation { + } + export namespace FileMigrateAnnotation { + } + export namespace StatusAnnotation { + } + } + } + export namespace validate { + export namespace FieldRules { + } + export namespace FloatRules { + } + export namespace DoubleRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace BoolRules { + } + export namespace StringRules { + } + export namespace BytesRules { + } + export namespace EnumRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace MapRules { + } + export namespace AnyRules { + } + export namespace DurationRules { + } + export namespace TimestampRules { + } + } + export namespace google { + export namespace protobuf { + export namespace Duration { + } + export namespace DoubleValue { + } + export namespace FloatValue { + } + export namespace Int64Value { + } + export namespace UInt64Value { + } + export namespace Int32Value { + } + export namespace UInt32Value { + } + export namespace BoolValue { + } + export namespace StringValue { + } + export namespace BytesValue { + } + export namespace Any { + } + export namespace Struct { + } + export namespace Value { + } + export namespace ListValue { + } + export namespace FileDescriptorSet { + } + export namespace FileDescriptorProto { + } + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } + } + export namespace FieldDescriptorProto { + } + export namespace OneofDescriptorProto { + } + export namespace EnumDescriptorProto { + } + export namespace EnumValueDescriptorProto { + } + export namespace ServiceDescriptorProto { + } + export namespace MethodDescriptorProto { + } + export namespace FileOptions { + } + export namespace MessageOptions { + } + export namespace FieldOptions { + } + export namespace OneofOptions { + } + export namespace EnumOptions { + } + export namespace EnumValueOptions { + } + export namespace ServiceOptions { + } + export namespace MethodOptions { + } + export namespace UninterpretedOption { + export namespace NamePart { + } + } + export namespace SourceCodeInfo { + export namespace Location { + } + } + export namespace GeneratedCodeInfo { + export namespace Annotation { + } + } + export namespace Timestamp { + } + export namespace Empty { + } + } + export namespace api { + export namespace Http { + } + export namespace HttpRule { + } + export namespace CustomHttpPattern { + } + } + } +} diff --git a/packages/grpc-js/src/generated/route.d.ts b/packages/grpc-js/src/generated/route.d.ts new file mode 100644 index 000000000..d1326917f --- /dev/null +++ b/packages/grpc-js/src/generated/route.d.ts @@ -0,0 +1,1385 @@ +import * as grpc from '../index'; +import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; + +import { RouteConfiguration as _envoy_api_v2_RouteConfiguration, RouteConfiguration__Output as _envoy_api_v2_RouteConfiguration__Output } from './envoy/api/v2/RouteConfiguration'; +import { Vhds as _envoy_api_v2_Vhds, Vhds__Output as _envoy_api_v2_Vhds__Output } from './envoy/api/v2/Vhds'; +import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; +import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; +import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; +import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; +import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; +import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; +import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; +import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; +import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; +import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; +import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; +import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; +import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; +import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; +import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; +import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; +import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; +import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; +import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from './envoy/api/v2/core/AggregatedConfigSource'; +import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from './envoy/api/v2/core/SelfConfigSource'; +import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; +import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; +import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; +import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; +import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; +import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; +import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; +import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; +import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; +import { VirtualHost as _envoy_api_v2_route_VirtualHost, VirtualHost__Output as _envoy_api_v2_route_VirtualHost__Output } from './envoy/api/v2/route/VirtualHost'; +import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from './envoy/api/v2/route/FilterAction'; +import { Route as _envoy_api_v2_route_Route, Route__Output as _envoy_api_v2_route_Route__Output } from './envoy/api/v2/route/Route'; +import { WeightedCluster as _envoy_api_v2_route_WeightedCluster, WeightedCluster__Output as _envoy_api_v2_route_WeightedCluster__Output } from './envoy/api/v2/route/WeightedCluster'; +import { RouteMatch as _envoy_api_v2_route_RouteMatch, RouteMatch__Output as _envoy_api_v2_route_RouteMatch__Output } from './envoy/api/v2/route/RouteMatch'; +import { CorsPolicy as _envoy_api_v2_route_CorsPolicy, CorsPolicy__Output as _envoy_api_v2_route_CorsPolicy__Output } from './envoy/api/v2/route/CorsPolicy'; +import { RouteAction as _envoy_api_v2_route_RouteAction, RouteAction__Output as _envoy_api_v2_route_RouteAction__Output } from './envoy/api/v2/route/RouteAction'; +import { RetryPolicy as _envoy_api_v2_route_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_route_RetryPolicy__Output } from './envoy/api/v2/route/RetryPolicy'; +import { HedgePolicy as _envoy_api_v2_route_HedgePolicy, HedgePolicy__Output as _envoy_api_v2_route_HedgePolicy__Output } from './envoy/api/v2/route/HedgePolicy'; +import { RedirectAction as _envoy_api_v2_route_RedirectAction, RedirectAction__Output as _envoy_api_v2_route_RedirectAction__Output } from './envoy/api/v2/route/RedirectAction'; +import { DirectResponseAction as _envoy_api_v2_route_DirectResponseAction, DirectResponseAction__Output as _envoy_api_v2_route_DirectResponseAction__Output } from './envoy/api/v2/route/DirectResponseAction'; +import { Decorator as _envoy_api_v2_route_Decorator, Decorator__Output as _envoy_api_v2_route_Decorator__Output } from './envoy/api/v2/route/Decorator'; +import { Tracing as _envoy_api_v2_route_Tracing, Tracing__Output as _envoy_api_v2_route_Tracing__Output } from './envoy/api/v2/route/Tracing'; +import { VirtualCluster as _envoy_api_v2_route_VirtualCluster, VirtualCluster__Output as _envoy_api_v2_route_VirtualCluster__Output } from './envoy/api/v2/route/VirtualCluster'; +import { RateLimit as _envoy_api_v2_route_RateLimit, RateLimit__Output as _envoy_api_v2_route_RateLimit__Output } from './envoy/api/v2/route/RateLimit'; +import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from './envoy/api/v2/route/HeaderMatcher'; +import { QueryParameterMatcher as _envoy_api_v2_route_QueryParameterMatcher, QueryParameterMatcher__Output as _envoy_api_v2_route_QueryParameterMatcher__Output } from './envoy/api/v2/route/QueryParameterMatcher'; +import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; +import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; +import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; +import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; +import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; +import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; +import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; +import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; +import { CustomTag as _envoy_type_tracing_v2_CustomTag, CustomTag__Output as _envoy_type_tracing_v2_CustomTag__Output } from './envoy/type/tracing/v2/CustomTag'; +import { MetadataKey as _envoy_type_metadata_v2_MetadataKey, MetadataKey__Output as _envoy_type_metadata_v2_MetadataKey__Output } from './envoy/type/metadata/v2/MetadataKey'; +import { MetadataKind as _envoy_type_metadata_v2_MetadataKind, MetadataKind__Output as _envoy_type_metadata_v2_MetadataKind__Output } from './envoy/type/metadata/v2/MetadataKind'; +import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; +import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; +import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; +import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; +import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; +import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; +import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; +import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; +import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; +import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; +import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; +import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; +import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; +import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; +import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; +import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; +import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; +import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; +import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; +import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; +import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; +import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; +import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; +import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; +import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; +import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; +import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; +import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; +import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; +import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; +import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; +import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; +import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; +import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; +import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; +import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; +import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; +import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; +import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; +import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; +import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; +import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; +import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; +import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; +import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; +import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; +import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; +import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; +import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; +import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; +import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; +import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; +import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; +import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; +import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; +import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; +import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; +import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; +import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; +import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; + +export namespace messages { + export namespace envoy { + export namespace api { + export namespace v2 { + export type RouteConfiguration = _envoy_api_v2_RouteConfiguration; + export type RouteConfiguration__Output = _envoy_api_v2_RouteConfiguration__Output; + export type Vhds = _envoy_api_v2_Vhds; + export type Vhds__Output = _envoy_api_v2_Vhds__Output; + export namespace core { + export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + export type RequestMethod = _envoy_api_v2_core_RequestMethod; + export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + export type Locality = _envoy_api_v2_core_Locality; + export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type BuildVersion = _envoy_api_v2_core_BuildVersion; + export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + export type Extension = _envoy_api_v2_core_Extension; + export type Extension__Output = _envoy_api_v2_core_Extension__Output; + export type Node = _envoy_api_v2_core_Node; + export type Node__Output = _envoy_api_v2_core_Node__Output; + export type Metadata = _envoy_api_v2_core_Metadata; + export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; + export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + export type HeaderValue = _envoy_api_v2_core_HeaderValue; + export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; + export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; + export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; + export type HeaderMap = _envoy_api_v2_core_HeaderMap; + export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; + export type DataSource = _envoy_api_v2_core_DataSource; + export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; + export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; + export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; + export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + export type TransportSocket = _envoy_api_v2_core_TransportSocket; + export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; + export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; + export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; + export type ControlPlane = _envoy_api_v2_core_ControlPlane; + export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + export type ApiVersion = _envoy_api_v2_core_ApiVersion; + export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; + export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; + export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; + export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; + export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; + export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; + export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; + export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; + export type ConfigSource = _envoy_api_v2_core_ConfigSource; + export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; + export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type SocketOption = _envoy_api_v2_core_SocketOption; + export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; + export type Pipe = _envoy_api_v2_core_Pipe; + export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + export type SocketAddress = _envoy_api_v2_core_SocketAddress; + export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; + export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; + export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + export type BindConfig = _envoy_api_v2_core_BindConfig; + export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; + export type Address = _envoy_api_v2_core_Address; + export type Address__Output = _envoy_api_v2_core_Address__Output; + export type CidrRange = _envoy_api_v2_core_CidrRange; + export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + export type GrpcService = _envoy_api_v2_core_GrpcService; + export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + } + export namespace route { + export type VirtualHost = _envoy_api_v2_route_VirtualHost; + export type VirtualHost__Output = _envoy_api_v2_route_VirtualHost__Output; + export type FilterAction = _envoy_api_v2_route_FilterAction; + export type FilterAction__Output = _envoy_api_v2_route_FilterAction__Output; + export type Route = _envoy_api_v2_route_Route; + export type Route__Output = _envoy_api_v2_route_Route__Output; + export type WeightedCluster = _envoy_api_v2_route_WeightedCluster; + export type WeightedCluster__Output = _envoy_api_v2_route_WeightedCluster__Output; + export type RouteMatch = _envoy_api_v2_route_RouteMatch; + export type RouteMatch__Output = _envoy_api_v2_route_RouteMatch__Output; + export type CorsPolicy = _envoy_api_v2_route_CorsPolicy; + export type CorsPolicy__Output = _envoy_api_v2_route_CorsPolicy__Output; + export type RouteAction = _envoy_api_v2_route_RouteAction; + export type RouteAction__Output = _envoy_api_v2_route_RouteAction__Output; + export type RetryPolicy = _envoy_api_v2_route_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_route_RetryPolicy__Output; + export type HedgePolicy = _envoy_api_v2_route_HedgePolicy; + export type HedgePolicy__Output = _envoy_api_v2_route_HedgePolicy__Output; + export type RedirectAction = _envoy_api_v2_route_RedirectAction; + export type RedirectAction__Output = _envoy_api_v2_route_RedirectAction__Output; + export type DirectResponseAction = _envoy_api_v2_route_DirectResponseAction; + export type DirectResponseAction__Output = _envoy_api_v2_route_DirectResponseAction__Output; + export type Decorator = _envoy_api_v2_route_Decorator; + export type Decorator__Output = _envoy_api_v2_route_Decorator__Output; + export type Tracing = _envoy_api_v2_route_Tracing; + export type Tracing__Output = _envoy_api_v2_route_Tracing__Output; + export type VirtualCluster = _envoy_api_v2_route_VirtualCluster; + export type VirtualCluster__Output = _envoy_api_v2_route_VirtualCluster__Output; + export type RateLimit = _envoy_api_v2_route_RateLimit; + export type RateLimit__Output = _envoy_api_v2_route_RateLimit__Output; + export type HeaderMatcher = _envoy_api_v2_route_HeaderMatcher; + export type HeaderMatcher__Output = _envoy_api_v2_route_HeaderMatcher__Output; + export type QueryParameterMatcher = _envoy_api_v2_route_QueryParameterMatcher; + export type QueryParameterMatcher__Output = _envoy_api_v2_route_QueryParameterMatcher__Output; + } + } + } + export namespace type { + export type Percent = _envoy_type_Percent; + export type Percent__Output = _envoy_type_Percent__Output; + export type FractionalPercent = _envoy_type_FractionalPercent; + export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + export type Int64Range = _envoy_type_Int64Range; + export type Int64Range__Output = _envoy_type_Int64Range__Output; + export type Int32Range = _envoy_type_Int32Range; + export type Int32Range__Output = _envoy_type_Int32Range__Output; + export type DoubleRange = _envoy_type_DoubleRange; + export type DoubleRange__Output = _envoy_type_DoubleRange__Output; + export namespace matcher { + export type RegexMatcher = _envoy_type_matcher_RegexMatcher; + export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; + export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; + export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; + export type StringMatcher = _envoy_type_matcher_StringMatcher; + export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; + export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; + export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; + } + export type SemanticVersion = _envoy_type_SemanticVersion; + export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; + export namespace tracing { + export namespace v2 { + export type CustomTag = _envoy_type_tracing_v2_CustomTag; + export type CustomTag__Output = _envoy_type_tracing_v2_CustomTag__Output; + } + } + export namespace metadata { + export namespace v2 { + export type MetadataKey = _envoy_type_metadata_v2_MetadataKey; + export type MetadataKey__Output = _envoy_type_metadata_v2_MetadataKey__Output; + export type MetadataKind = _envoy_type_metadata_v2_MetadataKind; + export type MetadataKind__Output = _envoy_type_metadata_v2_MetadataKind__Output; + } + } + } + export namespace annotations { + } + } + export namespace udpa { + export namespace annotations { + export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; + export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; + export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; + export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; + export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; + export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; + export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; + export type StatusAnnotation = _udpa_annotations_StatusAnnotation; + export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; + } + } + export namespace validate { + export type FieldRules = _validate_FieldRules; + export type FieldRules__Output = _validate_FieldRules__Output; + export type FloatRules = _validate_FloatRules; + export type FloatRules__Output = _validate_FloatRules__Output; + export type DoubleRules = _validate_DoubleRules; + export type DoubleRules__Output = _validate_DoubleRules__Output; + export type Int32Rules = _validate_Int32Rules; + export type Int32Rules__Output = _validate_Int32Rules__Output; + export type Int64Rules = _validate_Int64Rules; + export type Int64Rules__Output = _validate_Int64Rules__Output; + export type UInt32Rules = _validate_UInt32Rules; + export type UInt32Rules__Output = _validate_UInt32Rules__Output; + export type UInt64Rules = _validate_UInt64Rules; + export type UInt64Rules__Output = _validate_UInt64Rules__Output; + export type SInt32Rules = _validate_SInt32Rules; + export type SInt32Rules__Output = _validate_SInt32Rules__Output; + export type SInt64Rules = _validate_SInt64Rules; + export type SInt64Rules__Output = _validate_SInt64Rules__Output; + export type Fixed32Rules = _validate_Fixed32Rules; + export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + export type Fixed64Rules = _validate_Fixed64Rules; + export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + export type SFixed32Rules = _validate_SFixed32Rules; + export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + export type SFixed64Rules = _validate_SFixed64Rules; + export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + export type BoolRules = _validate_BoolRules; + export type BoolRules__Output = _validate_BoolRules__Output; + export type StringRules = _validate_StringRules; + export type StringRules__Output = _validate_StringRules__Output; + export type KnownRegex = _validate_KnownRegex; + export type BytesRules = _validate_BytesRules; + export type BytesRules__Output = _validate_BytesRules__Output; + export type EnumRules = _validate_EnumRules; + export type EnumRules__Output = _validate_EnumRules__Output; + export type MessageRules = _validate_MessageRules; + export type MessageRules__Output = _validate_MessageRules__Output; + export type RepeatedRules = _validate_RepeatedRules; + export type RepeatedRules__Output = _validate_RepeatedRules__Output; + export type MapRules = _validate_MapRules; + export type MapRules__Output = _validate_MapRules__Output; + export type AnyRules = _validate_AnyRules; + export type AnyRules__Output = _validate_AnyRules__Output; + export type DurationRules = _validate_DurationRules; + export type DurationRules__Output = _validate_DurationRules__Output; + export type TimestampRules = _validate_TimestampRules; + export type TimestampRules__Output = _validate_TimestampRules__Output; + } + export namespace google { + export namespace protobuf { + export type DoubleValue = _google_protobuf_DoubleValue; + export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; + export type FloatValue = _google_protobuf_FloatValue; + export type FloatValue__Output = _google_protobuf_FloatValue__Output; + export type Int64Value = _google_protobuf_Int64Value; + export type Int64Value__Output = _google_protobuf_Int64Value__Output; + export type UInt64Value = _google_protobuf_UInt64Value; + export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; + export type Int32Value = _google_protobuf_Int32Value; + export type Int32Value__Output = _google_protobuf_Int32Value__Output; + export type UInt32Value = _google_protobuf_UInt32Value; + export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; + export type BoolValue = _google_protobuf_BoolValue; + export type BoolValue__Output = _google_protobuf_BoolValue__Output; + export type StringValue = _google_protobuf_StringValue; + export type StringValue__Output = _google_protobuf_StringValue__Output; + export type BytesValue = _google_protobuf_BytesValue; + export type BytesValue__Output = _google_protobuf_BytesValue__Output; + export type Any = _google_protobuf_Any; + export type Any__Output = _google_protobuf_Any__Output; + export type Duration = _google_protobuf_Duration; + export type Duration__Output = _google_protobuf_Duration__Output; + export type Struct = _google_protobuf_Struct; + export type Struct__Output = _google_protobuf_Struct__Output; + export type Value = _google_protobuf_Value; + export type Value__Output = _google_protobuf_Value__Output; + export type NullValue = _google_protobuf_NullValue; + export type ListValue = _google_protobuf_ListValue; + export type ListValue__Output = _google_protobuf_ListValue__Output; + export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; + export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; + export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; + export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; + export type DescriptorProto = _google_protobuf_DescriptorProto; + export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; + export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; + export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; + export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; + export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; + export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; + export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; + export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; + export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; + export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; + export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; + export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; + export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type FileOptions = _google_protobuf_FileOptions; + export type FileOptions__Output = _google_protobuf_FileOptions__Output; + export type MessageOptions = _google_protobuf_MessageOptions; + export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; + export type FieldOptions = _google_protobuf_FieldOptions; + export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type OneofOptions = _google_protobuf_OneofOptions; + export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; + export type EnumOptions = _google_protobuf_EnumOptions; + export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; + export type EnumValueOptions = _google_protobuf_EnumValueOptions; + export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type ServiceOptions = _google_protobuf_ServiceOptions; + export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; + export type MethodOptions = _google_protobuf_MethodOptions; + export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; + export type UninterpretedOption = _google_protobuf_UninterpretedOption; + export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; + export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; + export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; + export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; + export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; + export type Timestamp = _google_protobuf_Timestamp; + export type Timestamp__Output = _google_protobuf_Timestamp__Output; + export type Empty = _google_protobuf_Empty; + export type Empty__Output = _google_protobuf_Empty__Output; + } + } +} + +export namespace ClientInterfaces { + export namespace envoy { + export namespace api { + export namespace v2 { + export namespace RouteConfiguration { + } + export namespace Vhds { + } + export namespace core { + export namespace Locality { + } + export namespace BuildVersion { + } + export namespace Extension { + } + export namespace Node { + } + export namespace Metadata { + } + export namespace RuntimeUInt32 { + } + export namespace RuntimeDouble { + } + export namespace RuntimeFeatureFlag { + } + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HeaderMap { + } + export namespace DataSource { + } + export namespace RetryPolicy { + } + export namespace RemoteDataSource { + } + export namespace AsyncDataSource { + } + export namespace TransportSocket { + } + export namespace RuntimeFractionalPercent { + } + export namespace ControlPlane { + } + export namespace ApiConfigSource { + } + export namespace AggregatedConfigSource { + } + export namespace SelfConfigSource { + } + export namespace RateLimitSettings { + } + export namespace ConfigSource { + } + export namespace BackoffStrategy { + } + export namespace HttpUri { + } + export namespace SocketOption { + } + export namespace Pipe { + } + export namespace SocketAddress { + } + export namespace TcpKeepalive { + } + export namespace BindConfig { + } + export namespace Address { + } + export namespace CidrRange { + } + export namespace GrpcService { + export namespace EnvoyGrpc { + } + export namespace GoogleGrpc { + export namespace SslCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace ChannelCredentials { + } + export namespace CallCredentials { + export namespace ServiceAccountJWTAccessCredentials { + } + export namespace GoogleIAMCredentials { + } + export namespace MetadataCredentialsFromPlugin { + } + export namespace StsService { + } + } + } + } + } + export namespace route { + export namespace VirtualHost { + } + export namespace FilterAction { + } + export namespace Route { + } + export namespace WeightedCluster { + export namespace ClusterWeight { + } + } + export namespace RouteMatch { + export namespace GrpcRouteMatchOptions { + } + export namespace TlsContextMatchOptions { + } + } + export namespace CorsPolicy { + } + export namespace RouteAction { + export namespace RequestMirrorPolicy { + } + export namespace HashPolicy { + export namespace Header { + } + export namespace Cookie { + } + export namespace ConnectionProperties { + } + export namespace QueryParameter { + } + export namespace FilterState { + } + } + export namespace UpgradeConfig { + } + } + export namespace RetryPolicy { + export namespace RetryPriority { + } + export namespace RetryHostPredicate { + } + export namespace RetryBackOff { + } + } + export namespace HedgePolicy { + } + export namespace RedirectAction { + } + export namespace DirectResponseAction { + } + export namespace Decorator { + } + export namespace Tracing { + } + export namespace VirtualCluster { + } + export namespace RateLimit { + export namespace Action { + export namespace SourceCluster { + } + export namespace DestinationCluster { + } + export namespace RequestHeaders { + } + export namespace RemoteAddress { + } + export namespace GenericKey { + } + export namespace HeaderValueMatch { + } + } + } + export namespace HeaderMatcher { + } + export namespace QueryParameterMatcher { + } + } + } + } + export namespace type { + export namespace Percent { + } + export namespace FractionalPercent { + } + export namespace Int64Range { + } + export namespace Int32Range { + } + export namespace DoubleRange { + } + export namespace matcher { + export namespace RegexMatcher { + export namespace GoogleRE2 { + } + } + export namespace RegexMatchAndSubstitute { + } + export namespace StringMatcher { + } + export namespace ListStringMatcher { + } + } + export namespace SemanticVersion { + } + export namespace tracing { + export namespace v2 { + export namespace CustomTag { + export namespace Literal { + } + export namespace Environment { + } + export namespace Header { + } + export namespace Metadata { + } + } + } + } + export namespace metadata { + export namespace v2 { + export namespace MetadataKey { + export namespace PathSegment { + } + } + export namespace MetadataKind { + export namespace Request { + } + export namespace Route { + } + export namespace Cluster { + } + export namespace Host { + } + } + } + } + } + export namespace annotations { + } + } + export namespace udpa { + export namespace annotations { + export namespace MigrateAnnotation { + } + export namespace FieldMigrateAnnotation { + } + export namespace FileMigrateAnnotation { + } + export namespace StatusAnnotation { + } + } + } + export namespace validate { + export namespace FieldRules { + } + export namespace FloatRules { + } + export namespace DoubleRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace BoolRules { + } + export namespace StringRules { + } + export namespace BytesRules { + } + export namespace EnumRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace MapRules { + } + export namespace AnyRules { + } + export namespace DurationRules { + } + export namespace TimestampRules { + } + } + export namespace google { + export namespace protobuf { + export namespace DoubleValue { + } + export namespace FloatValue { + } + export namespace Int64Value { + } + export namespace UInt64Value { + } + export namespace Int32Value { + } + export namespace UInt32Value { + } + export namespace BoolValue { + } + export namespace StringValue { + } + export namespace BytesValue { + } + export namespace Any { + } + export namespace Duration { + } + export namespace Struct { + } + export namespace Value { + } + export namespace ListValue { + } + export namespace FileDescriptorSet { + } + export namespace FileDescriptorProto { + } + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } + } + export namespace FieldDescriptorProto { + } + export namespace OneofDescriptorProto { + } + export namespace EnumDescriptorProto { + } + export namespace EnumValueDescriptorProto { + } + export namespace ServiceDescriptorProto { + } + export namespace MethodDescriptorProto { + } + export namespace FileOptions { + } + export namespace MessageOptions { + } + export namespace FieldOptions { + } + export namespace OneofOptions { + } + export namespace EnumOptions { + } + export namespace EnumValueOptions { + } + export namespace ServiceOptions { + } + export namespace MethodOptions { + } + export namespace UninterpretedOption { + export namespace NamePart { + } + } + export namespace SourceCodeInfo { + export namespace Location { + } + } + export namespace GeneratedCodeInfo { + export namespace Annotation { + } + } + export namespace Timestamp { + } + export namespace Empty { + } + } + } +} + +type ConstructorArguments = Constructor extends new (...args: infer Args) => any ? Args: never; +type SubtypeConstructor = { + new(...args: ConstructorArguments): Subtype; +} + +export interface ProtoGrpcType { + envoy: { + api: { + v2: { + RouteConfiguration: MessageTypeDefinition + Vhds: MessageTypeDefinition + core: { + RoutingPriority: EnumTypeDefinition + RequestMethod: EnumTypeDefinition + TrafficDirection: EnumTypeDefinition + Locality: MessageTypeDefinition + BuildVersion: MessageTypeDefinition + Extension: MessageTypeDefinition + Node: MessageTypeDefinition + Metadata: MessageTypeDefinition + RuntimeUInt32: MessageTypeDefinition + RuntimeDouble: MessageTypeDefinition + RuntimeFeatureFlag: MessageTypeDefinition + HeaderValue: MessageTypeDefinition + HeaderValueOption: MessageTypeDefinition + HeaderMap: MessageTypeDefinition + DataSource: MessageTypeDefinition + RetryPolicy: MessageTypeDefinition + RemoteDataSource: MessageTypeDefinition + AsyncDataSource: MessageTypeDefinition + TransportSocket: MessageTypeDefinition + RuntimeFractionalPercent: MessageTypeDefinition + ControlPlane: MessageTypeDefinition + ApiVersion: EnumTypeDefinition + ApiConfigSource: MessageTypeDefinition + AggregatedConfigSource: MessageTypeDefinition + SelfConfigSource: MessageTypeDefinition + RateLimitSettings: MessageTypeDefinition + ConfigSource: MessageTypeDefinition + BackoffStrategy: MessageTypeDefinition + HttpUri: MessageTypeDefinition + SocketOption: MessageTypeDefinition + Pipe: MessageTypeDefinition + SocketAddress: MessageTypeDefinition + TcpKeepalive: MessageTypeDefinition + BindConfig: MessageTypeDefinition + Address: MessageTypeDefinition + CidrRange: MessageTypeDefinition + GrpcService: MessageTypeDefinition + } + route: { + VirtualHost: MessageTypeDefinition + FilterAction: MessageTypeDefinition + Route: MessageTypeDefinition + WeightedCluster: MessageTypeDefinition + RouteMatch: MessageTypeDefinition + CorsPolicy: MessageTypeDefinition + RouteAction: MessageTypeDefinition + RetryPolicy: MessageTypeDefinition + HedgePolicy: MessageTypeDefinition + RedirectAction: MessageTypeDefinition + DirectResponseAction: MessageTypeDefinition + Decorator: MessageTypeDefinition + Tracing: MessageTypeDefinition + VirtualCluster: MessageTypeDefinition + RateLimit: MessageTypeDefinition + HeaderMatcher: MessageTypeDefinition + QueryParameterMatcher: MessageTypeDefinition + } + } + } + type: { + Percent: MessageTypeDefinition + FractionalPercent: MessageTypeDefinition + Int64Range: MessageTypeDefinition + Int32Range: MessageTypeDefinition + DoubleRange: MessageTypeDefinition + matcher: { + RegexMatcher: MessageTypeDefinition + RegexMatchAndSubstitute: MessageTypeDefinition + StringMatcher: MessageTypeDefinition + ListStringMatcher: MessageTypeDefinition + } + SemanticVersion: MessageTypeDefinition + tracing: { + v2: { + CustomTag: MessageTypeDefinition + } + } + metadata: { + v2: { + MetadataKey: MessageTypeDefinition + MetadataKind: MessageTypeDefinition + } + } + } + annotations: { + } + } + udpa: { + annotations: { + MigrateAnnotation: MessageTypeDefinition + FieldMigrateAnnotation: MessageTypeDefinition + FileMigrateAnnotation: MessageTypeDefinition + PackageVersionStatus: EnumTypeDefinition + StatusAnnotation: MessageTypeDefinition + } + } + validate: { + FieldRules: MessageTypeDefinition + FloatRules: MessageTypeDefinition + DoubleRules: MessageTypeDefinition + Int32Rules: MessageTypeDefinition + Int64Rules: MessageTypeDefinition + UInt32Rules: MessageTypeDefinition + UInt64Rules: MessageTypeDefinition + SInt32Rules: MessageTypeDefinition + SInt64Rules: MessageTypeDefinition + Fixed32Rules: MessageTypeDefinition + Fixed64Rules: MessageTypeDefinition + SFixed32Rules: MessageTypeDefinition + SFixed64Rules: MessageTypeDefinition + BoolRules: MessageTypeDefinition + StringRules: MessageTypeDefinition + KnownRegex: EnumTypeDefinition + BytesRules: MessageTypeDefinition + EnumRules: MessageTypeDefinition + MessageRules: MessageTypeDefinition + RepeatedRules: MessageTypeDefinition + MapRules: MessageTypeDefinition + AnyRules: MessageTypeDefinition + DurationRules: MessageTypeDefinition + TimestampRules: MessageTypeDefinition + } + google: { + protobuf: { + DoubleValue: MessageTypeDefinition + FloatValue: MessageTypeDefinition + Int64Value: MessageTypeDefinition + UInt64Value: MessageTypeDefinition + Int32Value: MessageTypeDefinition + UInt32Value: MessageTypeDefinition + BoolValue: MessageTypeDefinition + StringValue: MessageTypeDefinition + BytesValue: MessageTypeDefinition + Any: MessageTypeDefinition + Duration: MessageTypeDefinition + Struct: MessageTypeDefinition + Value: MessageTypeDefinition + NullValue: EnumTypeDefinition + ListValue: MessageTypeDefinition + FileDescriptorSet: MessageTypeDefinition + FileDescriptorProto: MessageTypeDefinition + DescriptorProto: MessageTypeDefinition + FieldDescriptorProto: MessageTypeDefinition + OneofDescriptorProto: MessageTypeDefinition + EnumDescriptorProto: MessageTypeDefinition + EnumValueDescriptorProto: MessageTypeDefinition + ServiceDescriptorProto: MessageTypeDefinition + MethodDescriptorProto: MessageTypeDefinition + FileOptions: MessageTypeDefinition + MessageOptions: MessageTypeDefinition + FieldOptions: MessageTypeDefinition + OneofOptions: MessageTypeDefinition + EnumOptions: MessageTypeDefinition + EnumValueOptions: MessageTypeDefinition + ServiceOptions: MessageTypeDefinition + MethodOptions: MessageTypeDefinition + UninterpretedOption: MessageTypeDefinition + SourceCodeInfo: MessageTypeDefinition + GeneratedCodeInfo: MessageTypeDefinition + Timestamp: MessageTypeDefinition + Empty: MessageTypeDefinition + } + } +} + +export namespace ServiceHandlers { + export namespace envoy { + export namespace api { + export namespace v2 { + export namespace RouteConfiguration { + } + export namespace Vhds { + } + export namespace core { + export namespace Locality { + } + export namespace BuildVersion { + } + export namespace Extension { + } + export namespace Node { + } + export namespace Metadata { + } + export namespace RuntimeUInt32 { + } + export namespace RuntimeDouble { + } + export namespace RuntimeFeatureFlag { + } + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HeaderMap { + } + export namespace DataSource { + } + export namespace RetryPolicy { + } + export namespace RemoteDataSource { + } + export namespace AsyncDataSource { + } + export namespace TransportSocket { + } + export namespace RuntimeFractionalPercent { + } + export namespace ControlPlane { + } + export namespace ApiConfigSource { + } + export namespace AggregatedConfigSource { + } + export namespace SelfConfigSource { + } + export namespace RateLimitSettings { + } + export namespace ConfigSource { + } + export namespace BackoffStrategy { + } + export namespace HttpUri { + } + export namespace SocketOption { + } + export namespace Pipe { + } + export namespace SocketAddress { + } + export namespace TcpKeepalive { + } + export namespace BindConfig { + } + export namespace Address { + } + export namespace CidrRange { + } + export namespace GrpcService { + export namespace EnvoyGrpc { + } + export namespace GoogleGrpc { + export namespace SslCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace ChannelCredentials { + } + export namespace CallCredentials { + export namespace ServiceAccountJWTAccessCredentials { + } + export namespace GoogleIAMCredentials { + } + export namespace MetadataCredentialsFromPlugin { + } + export namespace StsService { + } + } + } + } + } + export namespace route { + export namespace VirtualHost { + } + export namespace FilterAction { + } + export namespace Route { + } + export namespace WeightedCluster { + export namespace ClusterWeight { + } + } + export namespace RouteMatch { + export namespace GrpcRouteMatchOptions { + } + export namespace TlsContextMatchOptions { + } + } + export namespace CorsPolicy { + } + export namespace RouteAction { + export namespace RequestMirrorPolicy { + } + export namespace HashPolicy { + export namespace Header { + } + export namespace Cookie { + } + export namespace ConnectionProperties { + } + export namespace QueryParameter { + } + export namespace FilterState { + } + } + export namespace UpgradeConfig { + } + } + export namespace RetryPolicy { + export namespace RetryPriority { + } + export namespace RetryHostPredicate { + } + export namespace RetryBackOff { + } + } + export namespace HedgePolicy { + } + export namespace RedirectAction { + } + export namespace DirectResponseAction { + } + export namespace Decorator { + } + export namespace Tracing { + } + export namespace VirtualCluster { + } + export namespace RateLimit { + export namespace Action { + export namespace SourceCluster { + } + export namespace DestinationCluster { + } + export namespace RequestHeaders { + } + export namespace RemoteAddress { + } + export namespace GenericKey { + } + export namespace HeaderValueMatch { + } + } + } + export namespace HeaderMatcher { + } + export namespace QueryParameterMatcher { + } + } + } + } + export namespace type { + export namespace Percent { + } + export namespace FractionalPercent { + } + export namespace Int64Range { + } + export namespace Int32Range { + } + export namespace DoubleRange { + } + export namespace matcher { + export namespace RegexMatcher { + export namespace GoogleRE2 { + } + } + export namespace RegexMatchAndSubstitute { + } + export namespace StringMatcher { + } + export namespace ListStringMatcher { + } + } + export namespace SemanticVersion { + } + export namespace tracing { + export namespace v2 { + export namespace CustomTag { + export namespace Literal { + } + export namespace Environment { + } + export namespace Header { + } + export namespace Metadata { + } + } + } + } + export namespace metadata { + export namespace v2 { + export namespace MetadataKey { + export namespace PathSegment { + } + } + export namespace MetadataKind { + export namespace Request { + } + export namespace Route { + } + export namespace Cluster { + } + export namespace Host { + } + } + } + } + } + export namespace annotations { + } + } + export namespace udpa { + export namespace annotations { + export namespace MigrateAnnotation { + } + export namespace FieldMigrateAnnotation { + } + export namespace FileMigrateAnnotation { + } + export namespace StatusAnnotation { + } + } + } + export namespace validate { + export namespace FieldRules { + } + export namespace FloatRules { + } + export namespace DoubleRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace BoolRules { + } + export namespace StringRules { + } + export namespace BytesRules { + } + export namespace EnumRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace MapRules { + } + export namespace AnyRules { + } + export namespace DurationRules { + } + export namespace TimestampRules { + } + } + export namespace google { + export namespace protobuf { + export namespace DoubleValue { + } + export namespace FloatValue { + } + export namespace Int64Value { + } + export namespace UInt64Value { + } + export namespace Int32Value { + } + export namespace UInt32Value { + } + export namespace BoolValue { + } + export namespace StringValue { + } + export namespace BytesValue { + } + export namespace Any { + } + export namespace Duration { + } + export namespace Struct { + } + export namespace Value { + } + export namespace ListValue { + } + export namespace FileDescriptorSet { + } + export namespace FileDescriptorProto { + } + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } + } + export namespace FieldDescriptorProto { + } + export namespace OneofDescriptorProto { + } + export namespace EnumDescriptorProto { + } + export namespace EnumValueDescriptorProto { + } + export namespace ServiceDescriptorProto { + } + export namespace MethodDescriptorProto { + } + export namespace FileOptions { + } + export namespace MessageOptions { + } + export namespace FieldOptions { + } + export namespace OneofOptions { + } + export namespace EnumOptions { + } + export namespace EnumValueOptions { + } + export namespace ServiceOptions { + } + export namespace MethodOptions { + } + export namespace UninterpretedOption { + export namespace NamePart { + } + } + export namespace SourceCodeInfo { + export namespace Location { + } + } + export namespace GeneratedCodeInfo { + export namespace Annotation { + } + } + export namespace Timestamp { + } + export namespace Empty { + } + } + } +} diff --git a/packages/grpc-js/src/generated/udpa/annotations/FieldMigrateAnnotation.d.ts b/packages/grpc-js/src/generated/udpa/annotations/FieldMigrateAnnotation.d.ts new file mode 100644 index 000000000..375c1f5be --- /dev/null +++ b/packages/grpc-js/src/generated/udpa/annotations/FieldMigrateAnnotation.d.ts @@ -0,0 +1,12 @@ +// Original file: deps/udpa/udpa/annotations/migrate.proto + + +export interface FieldMigrateAnnotation { + 'rename'?: (string); + 'oneof_promotion'?: (string); +} + +export interface FieldMigrateAnnotation__Output { + 'rename': (string); + 'oneof_promotion': (string); +} diff --git a/packages/grpc-js/src/generated/udpa/annotations/FileMigrateAnnotation.d.ts b/packages/grpc-js/src/generated/udpa/annotations/FileMigrateAnnotation.d.ts new file mode 100644 index 000000000..a6f113694 --- /dev/null +++ b/packages/grpc-js/src/generated/udpa/annotations/FileMigrateAnnotation.d.ts @@ -0,0 +1,10 @@ +// Original file: deps/udpa/udpa/annotations/migrate.proto + + +export interface FileMigrateAnnotation { + 'move_to_package'?: (string); +} + +export interface FileMigrateAnnotation__Output { + 'move_to_package': (string); +} diff --git a/packages/grpc-js/src/generated/udpa/annotations/MigrateAnnotation.d.ts b/packages/grpc-js/src/generated/udpa/annotations/MigrateAnnotation.d.ts new file mode 100644 index 000000000..57402231f --- /dev/null +++ b/packages/grpc-js/src/generated/udpa/annotations/MigrateAnnotation.d.ts @@ -0,0 +1,10 @@ +// Original file: deps/udpa/udpa/annotations/migrate.proto + + +export interface MigrateAnnotation { + 'rename'?: (string); +} + +export interface MigrateAnnotation__Output { + 'rename': (string); +} diff --git a/packages/grpc-js/src/generated/udpa/annotations/PackageVersionStatus.d.ts b/packages/grpc-js/src/generated/udpa/annotations/PackageVersionStatus.d.ts new file mode 100644 index 000000000..9888e1d14 --- /dev/null +++ b/packages/grpc-js/src/generated/udpa/annotations/PackageVersionStatus.d.ts @@ -0,0 +1,8 @@ +// Original file: deps/udpa/udpa/annotations/status.proto + +export enum PackageVersionStatus { + UNKNOWN = 0, + FROZEN = 1, + ACTIVE = 2, + NEXT_MAJOR_VERSION_CANDIDATE = 3, +} diff --git a/packages/grpc-js/src/generated/udpa/annotations/StatusAnnotation.d.ts b/packages/grpc-js/src/generated/udpa/annotations/StatusAnnotation.d.ts new file mode 100644 index 000000000..3b4748c00 --- /dev/null +++ b/packages/grpc-js/src/generated/udpa/annotations/StatusAnnotation.d.ts @@ -0,0 +1,13 @@ +// Original file: deps/udpa/udpa/annotations/status.proto + +import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from '../../udpa/annotations/PackageVersionStatus'; + +export interface StatusAnnotation { + 'work_in_progress'?: (boolean); + 'package_version_status'?: (_udpa_annotations_PackageVersionStatus | keyof typeof _udpa_annotations_PackageVersionStatus); +} + +export interface StatusAnnotation__Output { + 'work_in_progress': (boolean); + 'package_version_status': (keyof typeof _udpa_annotations_PackageVersionStatus); +} diff --git a/packages/grpc-js/src/generated/validate/AnyRules.d.ts b/packages/grpc-js/src/generated/validate/AnyRules.d.ts new file mode 100644 index 000000000..c55a03f58 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/AnyRules.d.ts @@ -0,0 +1,14 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + + +export interface AnyRules { + 'required'?: (boolean); + 'in'?: (string)[]; + 'not_in'?: (string)[]; +} + +export interface AnyRules__Output { + 'required': (boolean); + 'in': (string)[]; + 'not_in': (string)[]; +} diff --git a/packages/grpc-js/src/generated/validate/BoolRules.d.ts b/packages/grpc-js/src/generated/validate/BoolRules.d.ts new file mode 100644 index 000000000..85db6c621 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/BoolRules.d.ts @@ -0,0 +1,10 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + + +export interface BoolRules { + 'const'?: (boolean); +} + +export interface BoolRules__Output { + 'const': (boolean); +} diff --git a/packages/grpc-js/src/generated/validate/BytesRules.d.ts b/packages/grpc-js/src/generated/validate/BytesRules.d.ts new file mode 100644 index 000000000..7d356fef2 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/BytesRules.d.ts @@ -0,0 +1,37 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + +import { Long } from '@grpc/proto-loader'; + +export interface BytesRules { + 'const'?: (Buffer | Uint8Array | string); + 'len'?: (number | string | Long); + 'min_len'?: (number | string | Long); + 'max_len'?: (number | string | Long); + 'pattern'?: (string); + 'prefix'?: (Buffer | Uint8Array | string); + 'suffix'?: (Buffer | Uint8Array | string); + 'contains'?: (Buffer | Uint8Array | string); + 'in'?: (Buffer | Uint8Array | string)[]; + 'not_in'?: (Buffer | Uint8Array | string)[]; + 'ip'?: (boolean); + 'ipv4'?: (boolean); + 'ipv6'?: (boolean); + 'well_known'?: "ip"|"ipv4"|"ipv6"; +} + +export interface BytesRules__Output { + 'const': (Buffer); + 'len': (string); + 'min_len': (string); + 'max_len': (string); + 'pattern': (string); + 'prefix': (Buffer); + 'suffix': (Buffer); + 'contains': (Buffer); + 'in': (Buffer)[]; + 'not_in': (Buffer)[]; + 'ip'?: (boolean); + 'ipv4'?: (boolean); + 'ipv6'?: (boolean); + 'well_known': "ip"|"ipv4"|"ipv6"; +} diff --git a/packages/grpc-js/src/generated/validate/DoubleRules.d.ts b/packages/grpc-js/src/generated/validate/DoubleRules.d.ts new file mode 100644 index 000000000..476d0b9bc --- /dev/null +++ b/packages/grpc-js/src/generated/validate/DoubleRules.d.ts @@ -0,0 +1,22 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + + +export interface DoubleRules { + 'const'?: (number | string); + 'lt'?: (number | string); + 'lte'?: (number | string); + 'gt'?: (number | string); + 'gte'?: (number | string); + 'in'?: (number | string)[]; + 'not_in'?: (number | string)[]; +} + +export interface DoubleRules__Output { + 'const': (number | string); + 'lt': (number | string); + 'lte': (number | string); + 'gt': (number | string); + 'gte': (number | string); + 'in': (number | string)[]; + 'not_in': (number | string)[]; +} diff --git a/packages/grpc-js/src/generated/validate/DurationRules.d.ts b/packages/grpc-js/src/generated/validate/DurationRules.d.ts new file mode 100644 index 000000000..6bd07149d --- /dev/null +++ b/packages/grpc-js/src/generated/validate/DurationRules.d.ts @@ -0,0 +1,25 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../google/protobuf/Duration'; + +export interface DurationRules { + 'required'?: (boolean); + 'const'?: (_google_protobuf_Duration); + 'lt'?: (_google_protobuf_Duration); + 'lte'?: (_google_protobuf_Duration); + 'gt'?: (_google_protobuf_Duration); + 'gte'?: (_google_protobuf_Duration); + 'in'?: (_google_protobuf_Duration)[]; + 'not_in'?: (_google_protobuf_Duration)[]; +} + +export interface DurationRules__Output { + 'required': (boolean); + 'const': (_google_protobuf_Duration__Output); + 'lt': (_google_protobuf_Duration__Output); + 'lte': (_google_protobuf_Duration__Output); + 'gt': (_google_protobuf_Duration__Output); + 'gte': (_google_protobuf_Duration__Output); + 'in': (_google_protobuf_Duration__Output)[]; + 'not_in': (_google_protobuf_Duration__Output)[]; +} diff --git a/packages/grpc-js/src/generated/validate/EnumRules.d.ts b/packages/grpc-js/src/generated/validate/EnumRules.d.ts new file mode 100644 index 000000000..02ae6330e --- /dev/null +++ b/packages/grpc-js/src/generated/validate/EnumRules.d.ts @@ -0,0 +1,16 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + + +export interface EnumRules { + 'const'?: (number); + 'defined_only'?: (boolean); + 'in'?: (number)[]; + 'not_in'?: (number)[]; +} + +export interface EnumRules__Output { + 'const': (number); + 'defined_only': (boolean); + 'in': (number)[]; + 'not_in': (number)[]; +} diff --git a/packages/grpc-js/src/generated/validate/FieldRules.d.ts b/packages/grpc-js/src/generated/validate/FieldRules.d.ts new file mode 100644 index 000000000..099391f44 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/FieldRules.d.ts @@ -0,0 +1,77 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + +import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from '../validate/MessageRules'; +import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from '../validate/FloatRules'; +import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from '../validate/DoubleRules'; +import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from '../validate/Int32Rules'; +import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from '../validate/Int64Rules'; +import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from '../validate/UInt32Rules'; +import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from '../validate/UInt64Rules'; +import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from '../validate/SInt32Rules'; +import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from '../validate/SInt64Rules'; +import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from '../validate/Fixed32Rules'; +import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from '../validate/Fixed64Rules'; +import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from '../validate/SFixed32Rules'; +import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from '../validate/SFixed64Rules'; +import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from '../validate/BoolRules'; +import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from '../validate/StringRules'; +import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from '../validate/BytesRules'; +import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from '../validate/EnumRules'; +import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from '../validate/RepeatedRules'; +import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from '../validate/MapRules'; +import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from '../validate/AnyRules'; +import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from '../validate/DurationRules'; +import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from '../validate/TimestampRules'; +import { Long } from '@grpc/proto-loader'; + +export interface FieldRules { + 'message'?: (_validate_MessageRules); + 'float'?: (_validate_FloatRules); + 'double'?: (_validate_DoubleRules); + 'int32'?: (_validate_Int32Rules); + 'int64'?: (_validate_Int64Rules); + 'uint32'?: (_validate_UInt32Rules); + 'uint64'?: (_validate_UInt64Rules); + 'sint32'?: (_validate_SInt32Rules); + 'sint64'?: (_validate_SInt64Rules); + 'fixed32'?: (_validate_Fixed32Rules); + 'fixed64'?: (_validate_Fixed64Rules); + 'sfixed32'?: (_validate_SFixed32Rules); + 'sfixed64'?: (_validate_SFixed64Rules); + 'bool'?: (_validate_BoolRules); + 'string'?: (_validate_StringRules); + 'bytes'?: (_validate_BytesRules); + 'enum'?: (_validate_EnumRules); + 'repeated'?: (_validate_RepeatedRules); + 'map'?: (_validate_MapRules); + 'any'?: (_validate_AnyRules); + 'duration'?: (_validate_DurationRules); + 'timestamp'?: (_validate_TimestampRules); + 'type'?: "float"|"double"|"int32"|"int64"|"uint32"|"uint64"|"sint32"|"sint64"|"fixed32"|"fixed64"|"sfixed32"|"sfixed64"|"bool"|"string"|"bytes"|"enum"|"repeated"|"map"|"any"|"duration"|"timestamp"; +} + +export interface FieldRules__Output { + 'message': (_validate_MessageRules__Output); + 'float'?: (_validate_FloatRules__Output); + 'double'?: (_validate_DoubleRules__Output); + 'int32'?: (_validate_Int32Rules__Output); + 'int64'?: (_validate_Int64Rules__Output); + 'uint32'?: (_validate_UInt32Rules__Output); + 'uint64'?: (_validate_UInt64Rules__Output); + 'sint32'?: (_validate_SInt32Rules__Output); + 'sint64'?: (_validate_SInt64Rules__Output); + 'fixed32'?: (_validate_Fixed32Rules__Output); + 'fixed64'?: (_validate_Fixed64Rules__Output); + 'sfixed32'?: (_validate_SFixed32Rules__Output); + 'sfixed64'?: (_validate_SFixed64Rules__Output); + 'bool'?: (_validate_BoolRules__Output); + 'string'?: (_validate_StringRules__Output); + 'bytes'?: (_validate_BytesRules__Output); + 'enum'?: (_validate_EnumRules__Output); + 'repeated'?: (_validate_RepeatedRules__Output); + 'map'?: (_validate_MapRules__Output); + 'any'?: (_validate_AnyRules__Output); + 'duration'?: (_validate_DurationRules__Output); + 'timestamp'?: (_validate_TimestampRules__Output); + 'type': "float"|"double"|"int32"|"int64"|"uint32"|"uint64"|"sint32"|"sint64"|"fixed32"|"fixed64"|"sfixed32"|"sfixed64"|"bool"|"string"|"bytes"|"enum"|"repeated"|"map"|"any"|"duration"|"timestamp"; +} diff --git a/packages/grpc-js/src/generated/validate/Fixed32Rules.d.ts b/packages/grpc-js/src/generated/validate/Fixed32Rules.d.ts new file mode 100644 index 000000000..27bbdad93 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/Fixed32Rules.d.ts @@ -0,0 +1,22 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + + +export interface Fixed32Rules { + 'const'?: (number); + 'lt'?: (number); + 'lte'?: (number); + 'gt'?: (number); + 'gte'?: (number); + 'in'?: (number)[]; + 'not_in'?: (number)[]; +} + +export interface Fixed32Rules__Output { + 'const': (number); + 'lt': (number); + 'lte': (number); + 'gt': (number); + 'gte': (number); + 'in': (number)[]; + 'not_in': (number)[]; +} diff --git a/packages/grpc-js/src/generated/validate/Fixed64Rules.d.ts b/packages/grpc-js/src/generated/validate/Fixed64Rules.d.ts new file mode 100644 index 000000000..8a211bac0 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/Fixed64Rules.d.ts @@ -0,0 +1,23 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + +import { Long } from '@grpc/proto-loader'; + +export interface Fixed64Rules { + 'const'?: (number | string | Long); + 'lt'?: (number | string | Long); + 'lte'?: (number | string | Long); + 'gt'?: (number | string | Long); + 'gte'?: (number | string | Long); + 'in'?: (number | string | Long)[]; + 'not_in'?: (number | string | Long)[]; +} + +export interface Fixed64Rules__Output { + 'const': (string); + 'lt': (string); + 'lte': (string); + 'gt': (string); + 'gte': (string); + 'in': (string)[]; + 'not_in': (string)[]; +} diff --git a/packages/grpc-js/src/generated/validate/FloatRules.d.ts b/packages/grpc-js/src/generated/validate/FloatRules.d.ts new file mode 100644 index 000000000..6d29f67d8 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/FloatRules.d.ts @@ -0,0 +1,22 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + + +export interface FloatRules { + 'const'?: (number | string); + 'lt'?: (number | string); + 'lte'?: (number | string); + 'gt'?: (number | string); + 'gte'?: (number | string); + 'in'?: (number | string)[]; + 'not_in'?: (number | string)[]; +} + +export interface FloatRules__Output { + 'const': (number | string); + 'lt': (number | string); + 'lte': (number | string); + 'gt': (number | string); + 'gte': (number | string); + 'in': (number | string)[]; + 'not_in': (number | string)[]; +} diff --git a/packages/grpc-js/src/generated/validate/Int32Rules.d.ts b/packages/grpc-js/src/generated/validate/Int32Rules.d.ts new file mode 100644 index 000000000..03fb112c7 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/Int32Rules.d.ts @@ -0,0 +1,22 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + + +export interface Int32Rules { + 'const'?: (number); + 'lt'?: (number); + 'lte'?: (number); + 'gt'?: (number); + 'gte'?: (number); + 'in'?: (number)[]; + 'not_in'?: (number)[]; +} + +export interface Int32Rules__Output { + 'const': (number); + 'lt': (number); + 'lte': (number); + 'gt': (number); + 'gte': (number); + 'in': (number)[]; + 'not_in': (number)[]; +} diff --git a/packages/grpc-js/src/generated/validate/Int64Rules.d.ts b/packages/grpc-js/src/generated/validate/Int64Rules.d.ts new file mode 100644 index 000000000..91551365a --- /dev/null +++ b/packages/grpc-js/src/generated/validate/Int64Rules.d.ts @@ -0,0 +1,23 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + +import { Long } from '@grpc/proto-loader'; + +export interface Int64Rules { + 'const'?: (number | string | Long); + 'lt'?: (number | string | Long); + 'lte'?: (number | string | Long); + 'gt'?: (number | string | Long); + 'gte'?: (number | string | Long); + 'in'?: (number | string | Long)[]; + 'not_in'?: (number | string | Long)[]; +} + +export interface Int64Rules__Output { + 'const': (string); + 'lt': (string); + 'lte': (string); + 'gt': (string); + 'gte': (string); + 'in': (string)[]; + 'not_in': (string)[]; +} diff --git a/packages/grpc-js/src/generated/validate/KnownRegex.d.ts b/packages/grpc-js/src/generated/validate/KnownRegex.d.ts new file mode 100644 index 000000000..68938449e --- /dev/null +++ b/packages/grpc-js/src/generated/validate/KnownRegex.d.ts @@ -0,0 +1,7 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + +export enum KnownRegex { + UNKNOWN = 0, + HTTP_HEADER_NAME = 1, + HTTP_HEADER_VALUE = 2, +} diff --git a/packages/grpc-js/src/generated/validate/MapRules.d.ts b/packages/grpc-js/src/generated/validate/MapRules.d.ts new file mode 100644 index 000000000..159c9bc07 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/MapRules.d.ts @@ -0,0 +1,20 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + +import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from '../validate/FieldRules'; +import { Long } from '@grpc/proto-loader'; + +export interface MapRules { + 'min_pairs'?: (number | string | Long); + 'max_pairs'?: (number | string | Long); + 'no_sparse'?: (boolean); + 'keys'?: (_validate_FieldRules); + 'values'?: (_validate_FieldRules); +} + +export interface MapRules__Output { + 'min_pairs': (string); + 'max_pairs': (string); + 'no_sparse': (boolean); + 'keys': (_validate_FieldRules__Output); + 'values': (_validate_FieldRules__Output); +} diff --git a/packages/grpc-js/src/generated/validate/MessageRules.d.ts b/packages/grpc-js/src/generated/validate/MessageRules.d.ts new file mode 100644 index 000000000..9229b1940 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/MessageRules.d.ts @@ -0,0 +1,12 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + + +export interface MessageRules { + 'skip'?: (boolean); + 'required'?: (boolean); +} + +export interface MessageRules__Output { + 'skip': (boolean); + 'required': (boolean); +} diff --git a/packages/grpc-js/src/generated/validate/RepeatedRules.d.ts b/packages/grpc-js/src/generated/validate/RepeatedRules.d.ts new file mode 100644 index 000000000..3b41cd1ee --- /dev/null +++ b/packages/grpc-js/src/generated/validate/RepeatedRules.d.ts @@ -0,0 +1,18 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + +import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from '../validate/FieldRules'; +import { Long } from '@grpc/proto-loader'; + +export interface RepeatedRules { + 'min_items'?: (number | string | Long); + 'max_items'?: (number | string | Long); + 'unique'?: (boolean); + 'items'?: (_validate_FieldRules); +} + +export interface RepeatedRules__Output { + 'min_items': (string); + 'max_items': (string); + 'unique': (boolean); + 'items': (_validate_FieldRules__Output); +} diff --git a/packages/grpc-js/src/generated/validate/SFixed32Rules.d.ts b/packages/grpc-js/src/generated/validate/SFixed32Rules.d.ts new file mode 100644 index 000000000..55f2e695a --- /dev/null +++ b/packages/grpc-js/src/generated/validate/SFixed32Rules.d.ts @@ -0,0 +1,22 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + + +export interface SFixed32Rules { + 'const'?: (number); + 'lt'?: (number); + 'lte'?: (number); + 'gt'?: (number); + 'gte'?: (number); + 'in'?: (number)[]; + 'not_in'?: (number)[]; +} + +export interface SFixed32Rules__Output { + 'const': (number); + 'lt': (number); + 'lte': (number); + 'gt': (number); + 'gte': (number); + 'in': (number)[]; + 'not_in': (number)[]; +} diff --git a/packages/grpc-js/src/generated/validate/SFixed64Rules.d.ts b/packages/grpc-js/src/generated/validate/SFixed64Rules.d.ts new file mode 100644 index 000000000..262d98418 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/SFixed64Rules.d.ts @@ -0,0 +1,23 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + +import { Long } from '@grpc/proto-loader'; + +export interface SFixed64Rules { + 'const'?: (number | string | Long); + 'lt'?: (number | string | Long); + 'lte'?: (number | string | Long); + 'gt'?: (number | string | Long); + 'gte'?: (number | string | Long); + 'in'?: (number | string | Long)[]; + 'not_in'?: (number | string | Long)[]; +} + +export interface SFixed64Rules__Output { + 'const': (string); + 'lt': (string); + 'lte': (string); + 'gt': (string); + 'gte': (string); + 'in': (string)[]; + 'not_in': (string)[]; +} diff --git a/packages/grpc-js/src/generated/validate/SInt32Rules.d.ts b/packages/grpc-js/src/generated/validate/SInt32Rules.d.ts new file mode 100644 index 000000000..9acd90794 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/SInt32Rules.d.ts @@ -0,0 +1,22 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + + +export interface SInt32Rules { + 'const'?: (number); + 'lt'?: (number); + 'lte'?: (number); + 'gt'?: (number); + 'gte'?: (number); + 'in'?: (number)[]; + 'not_in'?: (number)[]; +} + +export interface SInt32Rules__Output { + 'const': (number); + 'lt': (number); + 'lte': (number); + 'gt': (number); + 'gte': (number); + 'in': (number)[]; + 'not_in': (number)[]; +} diff --git a/packages/grpc-js/src/generated/validate/SInt64Rules.d.ts b/packages/grpc-js/src/generated/validate/SInt64Rules.d.ts new file mode 100644 index 000000000..c85200031 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/SInt64Rules.d.ts @@ -0,0 +1,23 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + +import { Long } from '@grpc/proto-loader'; + +export interface SInt64Rules { + 'const'?: (number | string | Long); + 'lt'?: (number | string | Long); + 'lte'?: (number | string | Long); + 'gt'?: (number | string | Long); + 'gte'?: (number | string | Long); + 'in'?: (number | string | Long)[]; + 'not_in'?: (number | string | Long)[]; +} + +export interface SInt64Rules__Output { + 'const': (string); + 'lt': (string); + 'lte': (string); + 'gt': (string); + 'gte': (string); + 'in': (string)[]; + 'not_in': (string)[]; +} diff --git a/packages/grpc-js/src/generated/validate/StringRules.d.ts b/packages/grpc-js/src/generated/validate/StringRules.d.ts new file mode 100644 index 000000000..ed4339f90 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/StringRules.d.ts @@ -0,0 +1,62 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + +import { KnownRegex as _validate_KnownRegex } from '../validate/KnownRegex'; +import { Long } from '@grpc/proto-loader'; + +export interface StringRules { + 'const'?: (string); + 'len'?: (number | string | Long); + 'min_len'?: (number | string | Long); + 'max_len'?: (number | string | Long); + 'len_bytes'?: (number | string | Long); + 'min_bytes'?: (number | string | Long); + 'max_bytes'?: (number | string | Long); + 'pattern'?: (string); + 'prefix'?: (string); + 'suffix'?: (string); + 'contains'?: (string); + 'not_contains'?: (string); + 'in'?: (string)[]; + 'not_in'?: (string)[]; + 'email'?: (boolean); + 'hostname'?: (boolean); + 'ip'?: (boolean); + 'ipv4'?: (boolean); + 'ipv6'?: (boolean); + 'uri'?: (boolean); + 'uri_ref'?: (boolean); + 'address'?: (boolean); + 'uuid'?: (boolean); + 'well_known_regex'?: (_validate_KnownRegex | keyof typeof _validate_KnownRegex); + 'strict'?: (boolean); + 'well_known'?: "email"|"hostname"|"ip"|"ipv4"|"ipv6"|"uri"|"uri_ref"|"address"|"uuid"|"well_known_regex"; +} + +export interface StringRules__Output { + 'const': (string); + 'len': (string); + 'min_len': (string); + 'max_len': (string); + 'len_bytes': (string); + 'min_bytes': (string); + 'max_bytes': (string); + 'pattern': (string); + 'prefix': (string); + 'suffix': (string); + 'contains': (string); + 'not_contains': (string); + 'in': (string)[]; + 'not_in': (string)[]; + 'email'?: (boolean); + 'hostname'?: (boolean); + 'ip'?: (boolean); + 'ipv4'?: (boolean); + 'ipv6'?: (boolean); + 'uri'?: (boolean); + 'uri_ref'?: (boolean); + 'address'?: (boolean); + 'uuid'?: (boolean); + 'well_known_regex'?: (keyof typeof _validate_KnownRegex); + 'strict': (boolean); + 'well_known': "email"|"hostname"|"ip"|"ipv4"|"ipv6"|"uri"|"uri_ref"|"address"|"uuid"|"well_known_regex"; +} diff --git a/packages/grpc-js/src/generated/validate/TimestampRules.d.ts b/packages/grpc-js/src/generated/validate/TimestampRules.d.ts new file mode 100644 index 000000000..63a6ba4f2 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/TimestampRules.d.ts @@ -0,0 +1,28 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + +import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../google/protobuf/Timestamp'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../google/protobuf/Duration'; + +export interface TimestampRules { + 'required'?: (boolean); + 'const'?: (_google_protobuf_Timestamp); + 'lt'?: (_google_protobuf_Timestamp); + 'lte'?: (_google_protobuf_Timestamp); + 'gt'?: (_google_protobuf_Timestamp); + 'gte'?: (_google_protobuf_Timestamp); + 'lt_now'?: (boolean); + 'gt_now'?: (boolean); + 'within'?: (_google_protobuf_Duration); +} + +export interface TimestampRules__Output { + 'required': (boolean); + 'const': (_google_protobuf_Timestamp__Output); + 'lt': (_google_protobuf_Timestamp__Output); + 'lte': (_google_protobuf_Timestamp__Output); + 'gt': (_google_protobuf_Timestamp__Output); + 'gte': (_google_protobuf_Timestamp__Output); + 'lt_now': (boolean); + 'gt_now': (boolean); + 'within': (_google_protobuf_Duration__Output); +} diff --git a/packages/grpc-js/src/generated/validate/UInt32Rules.d.ts b/packages/grpc-js/src/generated/validate/UInt32Rules.d.ts new file mode 100644 index 000000000..bc12fe5ce --- /dev/null +++ b/packages/grpc-js/src/generated/validate/UInt32Rules.d.ts @@ -0,0 +1,22 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + + +export interface UInt32Rules { + 'const'?: (number); + 'lt'?: (number); + 'lte'?: (number); + 'gt'?: (number); + 'gte'?: (number); + 'in'?: (number)[]; + 'not_in'?: (number)[]; +} + +export interface UInt32Rules__Output { + 'const': (number); + 'lt': (number); + 'lte': (number); + 'gt': (number); + 'gte': (number); + 'in': (number)[]; + 'not_in': (number)[]; +} diff --git a/packages/grpc-js/src/generated/validate/UInt64Rules.d.ts b/packages/grpc-js/src/generated/validate/UInt64Rules.d.ts new file mode 100644 index 000000000..3c8a81ce9 --- /dev/null +++ b/packages/grpc-js/src/generated/validate/UInt64Rules.d.ts @@ -0,0 +1,23 @@ +// Original file: deps/protoc-gen-validate/validate/validate.proto + +import { Long } from '@grpc/proto-loader'; + +export interface UInt64Rules { + 'const'?: (number | string | Long); + 'lt'?: (number | string | Long); + 'lte'?: (number | string | Long); + 'gt'?: (number | string | Long); + 'gte'?: (number | string | Long); + 'in'?: (number | string | Long)[]; + 'not_in'?: (number | string | Long)[]; +} + +export interface UInt64Rules__Output { + 'const': (string); + 'lt': (string); + 'lte': (string); + 'gt': (string); + 'gte': (string); + 'in': (string)[]; + 'not_in': (string)[]; +} From 5767f7d10773204cb705d8f8cd2d76813d3f53c9 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Tue, 7 Jul 2020 09:26:52 -0700 Subject: [PATCH 04/19] Complete most of the endpoint watcher implementation --- packages/grpc-js/package.json | 2 +- packages/grpc-js/src/xds-client.ts | 243 ++++++++++++++++++++++++++++- 2 files changed, 240 insertions(+), 5 deletions(-) diff --git a/packages/grpc-js/package.json b/packages/grpc-js/package.json index 2e5836f52..280950245 100644 --- a/packages/grpc-js/package.json +++ b/packages/grpc-js/package.json @@ -15,7 +15,7 @@ "types": "build/src/index.d.ts", "license": "Apache-2.0", "devDependencies": { - "@grpc/proto-loader": "^0.6.0-pre3", + "@grpc/proto-loader": "^0.6.0-pre5", "@types/gulp": "^4.0.6", "@types/gulp-mocha": "0.0.32", "@types/lodash": "^4.14.108", diff --git a/packages/grpc-js/src/xds-client.ts b/packages/grpc-js/src/xds-client.ts index e8eea6f30..6d80f3b79 100644 --- a/packages/grpc-js/src/xds-client.ts +++ b/packages/grpc-js/src/xds-client.ts @@ -19,9 +19,26 @@ import * as fs from 'fs'; import * as protoLoader from '@grpc/proto-loader'; import { loadPackageDefinition } from './make-client'; import * as adsTypes from './generated/ads'; -import { ChannelCredentials } from './channel-credentials'; +import * as edsTypes from './generated/endpoint'; +import { ChannelCredentials, createGoogleDefaultCredentials } from './channel-credentials'; +import { loadBootstrapInfo } from './xds-bootstrap'; +import { ClientDuplexStream, ServiceError } from './call'; +import { StatusObject } from './call-stream'; +import { isIPv4, isIPv6 } from 'net'; +import { Status } from './constants'; +import { Metadata } from './metadata'; -const packageDefinition = protoLoader.loadSync([ +const clientVersion = require('../../package.json').version; + +const EDS_TYPE_URL = 'type.googleapis.com/envoy.api.v2.ClusterLoadAssignment'; + +let loadedProtos: Promise | null = null; + +function loadAdsProtos(): Promise { + if (loadedProtos !== null) { + return loadedProtos; + } + loadedProtos = protoLoader.load([ 'envoy/service/discovery/v2/ads.proto', 'envoy/api/v2/listener.proto', 'envoy/api/v2/route.proto', @@ -40,10 +57,228 @@ const packageDefinition = protoLoader.loadSync([ 'deps/googleapis/', 'deps/protoc-gen-validate/' ] - }); + }).then(packageDefinition => loadPackageDefinition(packageDefinition) as unknown as adsTypes.ProtoGrpcType); + return loadedProtos; +} -const loadedDefinition = loadPackageDefinition(packageDefinition) as unknown as adsTypes.ProtoGrpcType; +export interface Watcher { + onValidUpdate(update: UpdateType): void; + onTransientError(error: StatusObject): void; + onResourceDoesNotExist(): void; +} export class XdsClient { + private node: adsTypes.messages.envoy.api.v2.core.Node | null = null; + private client: adsTypes.ClientInterfaces.envoy.service.discovery.v2.AggregatedDiscoveryServiceClient | null = null; + private adsCall: ClientDuplexStream | null = null; + + private endpointWatchers: Map[]> = new Map[]>(); + private lastEdsVersionInfo: string = ''; + private lastEdsNonce: string = ''; + + constructor() { + Promise.all([loadBootstrapInfo(), loadAdsProtos()]).then(([bootstrapInfo, protoDefinitions]) => { + this.node = { + ...bootstrapInfo.node, + build_version: `gRPC Node Pure JS ${clientVersion}`, + user_agent_name: 'gRPC Node Pure JS' + } + this.client = new protoDefinitions.envoy.service.discovery.v2.AggregatedDiscoveryService(bootstrapInfo.xdsServers[0].serverUri, createGoogleDefaultCredentials()); + this.maybeStartAdsStream(); + }, (error) => { + // Bubble this error up to any listeners + for (const watcherList of this.endpointWatchers.values()) { + for (const watcher of watcherList) { + watcher.onTransientError({ + code: Status.INTERNAL, + details: `Failed to initialize xDS Client. ${error.message}`, + metadata: new Metadata() + }) + } + } + }); + } + + /** + * Start the ADS stream if the client exists and there is not already an + * existing stream. + */ + private maybeStartAdsStream() { + if (this.client === null) { + return; + } + if (this.adsCall !== null) { + return; + } + this.adsCall = this.client.StreamAggregatedResources(); + this.adsCall.on('data', (message: adsTypes.messages.envoy.api.v2.DiscoveryResponse__Output) => { + switch (message.type_url) { + case EDS_TYPE_URL: + const edsResponses: edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output[] = []; + for (const resource of message.resources) { + if (protoLoader.isAnyExtension(resource) && resource['@type'] === EDS_TYPE_URL) { + const resp = resource as protoLoader.AnyExtension & edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output; + if (!this.validateEdsResponse(resp)) { + this.nackEds('ClusterLoadAssignment validation failed'); + return; + } + edsResponses.push(resp); + } else { + this.nackEds(`Invalid resource type ${protoLoader.isAnyExtension(resource) ? resource['@type'] : resource.type_url}`); + return; + } + } + for (const message of edsResponses) { + this.handleEdsResponse(message); + } + this.lastEdsVersionInfo = message.version_info; + this.lastEdsNonce = message.nonce; + this.ackEds(); + break; + default: + this.nackUnknown(message.type_url, message.version_info, message.nonce); + } + }); + this.adsCall.on('error', (error: ServiceError) => { + this.adsCall = null; + this.reportStreamError(error); + this.maybeStartAdsStream(); + }); + const endpointWatcherNames = Array.from(this.endpointWatchers.keys()); + if (endpointWatcherNames.length > 0) { + this.adsCall.write({ + node: this.node, + type_url: EDS_TYPE_URL, + resource_names: endpointWatcherNames + }); + } + } + + private nackUnknown(typeUrl: string, versionInfo: string, nonce: string) { + if (!this.adsCall) { + return; + } + this.adsCall.write({ + node: this.node, + type_url: typeUrl, + version_info: versionInfo, + response_nonce: nonce, + error_detail: { + message: `Unknown type_url ${typeUrl}` + } + }); + } + + /** + * Acknowledge an EDS update. This should be called after the local nonce and + * version info are updated so that it sends the post-update values. + */ + private ackEds() { + if (!this.adsCall) { + return; + } + this.adsCall.write({ + node: this.node, + type_url: EDS_TYPE_URL, + resource_names: Array.from(this.endpointWatchers.keys()), + response_nonce: this.lastEdsNonce, + version_info: this.lastEdsVersionInfo + }); + } + + /** + * Reject an EDS update. This should be called without updating the local + * nonce and version info. + */ + private nackEds(message: string) { + if (!this.adsCall) { + return; + } + this.adsCall.write({ + node: this.node, + type_url: EDS_TYPE_URL, + resource_names: Array.from(this.endpointWatchers.keys()), + response_nonce: this.lastEdsNonce, + version_info: this.lastEdsVersionInfo, + error_detail: { + message + } + }); + } + + private validateEdsResponse(message: edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output): boolean { + for (const endpoint of message.endpoints) { + for (const lb of endpoint.lb_endpoints) { + if (!lb.endpoint) { + return false; + } + if (!lb.endpoint.address) { + return false; + } + if (!lb.endpoint.address.socket_address) { + return false; + } + const socketAddress = lb.endpoint.address.socket_address; + if (socketAddress.port_specifier !== 'port_value') { + return false; + } + if (!(isIPv4(socketAddress.address) || isIPv6(socketAddress.address))) { + return false; + } + } + } + return true; + } + + private handleEdsResponse(message: edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output) { + const watchers = this.endpointWatchers.get(message.cluster_name) ?? []; + for (const watcher of watchers) { + watcher.onValidUpdate(message); + } + } + + private updateEdsNames() { + if (this.adsCall) { + this.adsCall.write({ + node: this.node, + type_url: EDS_TYPE_URL, + resource_names: Array.from(this.endpointWatchers.keys()), + response_nonce: this.lastEdsNonce, + version_info: this.lastEdsVersionInfo + }); + } + } + + private reportStreamError(status: StatusObject) { + for (const watcherList of this.endpointWatchers.values()) { + for (const watcher of watcherList) { + watcher.onTransientError(status); + } + } + // Also do the same for other types of watchers when those are implemented + } + + addEndpointWatcher(edsServiceName: string, watcher: Watcher) { + let watchersEntry = this.endpointWatchers.get(edsServiceName); + let addedServiceName = false; + if (watchersEntry === undefined) { + addedServiceName = true; + watchersEntry = []; + this.endpointWatchers.set(edsServiceName, watchersEntry); + } + watchersEntry.push(watcher); + if (addedServiceName) { + this.updateEdsNames(); + } + } + removeEndpointWatcher(edsServiceName: string, watcher: Watcher) { + const watchersEntry = this.endpointWatchers.get(edsServiceName); + if (watchersEntry !== undefined) { + const entryIndex = watchersEntry.indexOf(watcher); + if (entryIndex >= 0) { + watchersEntry.splice(entryIndex, 1); + } + } + } } \ No newline at end of file From 8a2c5af8f70754b87f70eb5fcb07b44891a2a1f8 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Wed, 8 Jul 2020 14:48:54 -0700 Subject: [PATCH 05/19] Finish up bootstrap and EDS client code --- packages/grpc-js/src/xds-bootstrap.ts | 113 +++++++++++++++++++++++++- packages/grpc-js/src/xds-client.ts | 107 +++++++++++++++++------- 2 files changed, 190 insertions(+), 30 deletions(-) diff --git a/packages/grpc-js/src/xds-bootstrap.ts b/packages/grpc-js/src/xds-bootstrap.ts index 95fd96e3a..c8e88a01d 100644 --- a/packages/grpc-js/src/xds-bootstrap.ts +++ b/packages/grpc-js/src/xds-bootstrap.ts @@ -75,8 +75,117 @@ function validateXdsServerConfig(obj: any): XdsServerConfig { }; } +function validateValue(obj: any): adsTypes.messages.google.protobuf.Value { + if (Array.isArray(obj)) { + return { + kind: 'listValue', + listValue: { + values: obj.map(value => validateValue(value)) + } + } + } else { + switch (typeof obj) { + case 'boolean': + return { + kind: 'boolValue', + boolValue: obj + }; + case 'number': + return { + kind: 'numberValue', + numberValue: obj + }; + case 'string': + return { + kind: 'stringValue', + stringValue: obj + }; + case 'object': + if (obj === null) { + return { + kind: 'nullValue', + nullValue: 'NULL_VALUE' + }; + } else { + return { + kind: 'structValue', + structValue: getStructFromJson(obj) + }; + } + default: + throw new Error(`Could not handle struct value of type ${typeof obj}`); + } + } +} + +function getStructFromJson(obj: any): adsTypes.messages.google.protobuf.Struct { + if (typeof obj !== 'object' || obj === null) { + throw new Error('Invalid JSON object for Struct field'); + } + const result = Object.keys(obj).map(key => validateValue(key)); + if (result.length === 1) { + return { + fields: result[0] + } + } else { + return { + fields: { + kind: 'listValue', + listValue: { + values: result + } + } + } + }; +} + +/** + * Validate that the input obj is a valid Node proto message. Only checks the + * fields we expect to see: id, cluster, locality, and metadata. + * @param obj + */ function validateNode(obj: any): adsTypes.messages.envoy.api.v2.core.Node { - throw new Error('Not implemented'); + const result: adsTypes.messages.envoy.api.v2.core.Node = {}; + if (!('id' in obj)) { + throw new Error('id field missing in node element'); + } + if (typeof obj.id !== 'string') { + throw new Error(`node.id field: expected string, got ${typeof obj.id}`); + } + result.id = obj.id; + if (!('cluster' in obj)) { + throw new Error('cluster field missing in node element'); + } + if (typeof obj.cluster !== 'string') { + throw new Error(`node.cluster field: expected string, got ${typeof obj.cluster}`); + } + result.cluster = obj.cluster; + if (!('locality' in obj)) { + throw new Error('locality field missing in node element'); + } + result.locality = {}; + if ('region' in obj.locality) { + if (typeof obj.locality.region !== 'string') { + throw new Error(`node.locality.region field: expected string, got ${typeof obj.locality.region}`); + } + result.locality.region = obj.locality.region; + } + if ('zone' in obj.locality) { + if (typeof obj.locality.region !== 'string') { + throw new Error(`node.locality.zone field: expected string, got ${typeof obj.locality.zone}`); + } + result.locality.zone = obj.locality.zone; + } + if ('sub_zone' in obj.locality) { + if (typeof obj.locality.sub_zone !== 'string') { + throw new Error(`node.locality.sub_zone field: expected string, got ${typeof obj.locality.sub_zone}`); + } + result.locality.sub_zone = obj.locality.sub_zone; + } + if ('metadata' in obj) { + result.metadata = getStructFromJson(obj.metadata); + } + return result; } function validateBootstrapFile(obj: any): BootstrapInfo { @@ -94,7 +203,7 @@ export async function loadBootstrapInfo(): Promise { } const bootstrapPath = process.env.GRPC_XDS_BOOTSTRAP; if (bootstrapPath === undefined) { - return Promise.reject(new Error('GRPC_XDS_BOOTSTRAP environment variable needs to be set to the path to the bootstrap file to use xDS')); + return Promise.reject(new Error('The GRPC_XDS_BOOTSTRAP environment variable needs to be set to the path to the bootstrap file to use xDS')); } loadedBootstrapInfo = new Promise((resolve, reject) => { fs.readFile(bootstrapPath, { encoding: 'utf8'}, (err, data) => { diff --git a/packages/grpc-js/src/xds-client.ts b/packages/grpc-js/src/xds-client.ts index 6d80f3b79..050762141 100644 --- a/packages/grpc-js/src/xds-client.ts +++ b/packages/grpc-js/src/xds-client.ts @@ -15,18 +15,26 @@ * */ -import * as fs from 'fs'; import * as protoLoader from '@grpc/proto-loader'; import { loadPackageDefinition } from './make-client'; import * as adsTypes from './generated/ads'; import * as edsTypes from './generated/endpoint'; -import { ChannelCredentials, createGoogleDefaultCredentials } from './channel-credentials'; +import { createGoogleDefaultCredentials } from './channel-credentials'; import { loadBootstrapInfo } from './xds-bootstrap'; import { ClientDuplexStream, ServiceError } from './call'; import { StatusObject } from './call-stream'; import { isIPv4, isIPv6 } from 'net'; -import { Status } from './constants'; +import { Status, LogVerbosity } from './constants'; import { Metadata } from './metadata'; +import * as logging from './logging'; +import { ServiceConfig } from './service-config'; +import { ChannelOptions } from './channel-options'; + +const TRACER_NAME = 'xds_client'; + +function trace(text: string): void { + logging.trace(LogVerbosity.DEBUG, TRACER_NAME, text); +} const clientVersion = require('../../package.json').version; @@ -72,36 +80,57 @@ export class XdsClient { private client: adsTypes.ClientInterfaces.envoy.service.discovery.v2.AggregatedDiscoveryServiceClient | null = null; private adsCall: ClientDuplexStream | null = null; + private hasShutdown: boolean = false; + private endpointWatchers: Map[]> = new Map[]>(); private lastEdsVersionInfo: string = ''; private lastEdsNonce: string = ''; - constructor() { + constructor(private targetName: string, private serviceConfigWatcher: Watcher, channelOptions: ChannelOptions) { + const channelArgs = {...channelOptions}; + const channelArgsToRemove = [ + /* The SSL target name override corresponds to the target, and this + * client has its own target */ + 'grpc.ssl_target_name_override', + /* The default authority also corresponds to the target */ + 'grpc.default_authority', + /* This client will have its own specific keepalive time setting */ + 'grpc.keepalive_time_ms', + /* The service config specifies the load balancing policy. This channel + * needs its own separate load balancing policy setting. In particular, + * recursively using an xDS load balancer for the xDS client would be + * bad */ + 'grpc.service_config' + ]; + for (const arg of channelArgsToRemove) { + delete channelArgs[arg]; + } + channelArgs['grpc.keepalive_time_ms'] = 5000; Promise.all([loadBootstrapInfo(), loadAdsProtos()]).then(([bootstrapInfo, protoDefinitions]) => { + if (this.hasShutdown) { + return; + } this.node = { ...bootstrapInfo.node, build_version: `gRPC Node Pure JS ${clientVersion}`, user_agent_name: 'gRPC Node Pure JS' } - this.client = new protoDefinitions.envoy.service.discovery.v2.AggregatedDiscoveryService(bootstrapInfo.xdsServers[0].serverUri, createGoogleDefaultCredentials()); + this.client = new protoDefinitions.envoy.service.discovery.v2.AggregatedDiscoveryService(bootstrapInfo.xdsServers[0].serverUri, createGoogleDefaultCredentials(), channelArgs); this.maybeStartAdsStream(); }, (error) => { + trace('Failed to initialize xDS Client. ' + error.message); // Bubble this error up to any listeners - for (const watcherList of this.endpointWatchers.values()) { - for (const watcher of watcherList) { - watcher.onTransientError({ - code: Status.INTERNAL, - details: `Failed to initialize xDS Client. ${error.message}`, - metadata: new Metadata() - }) - } - } + this.reportStreamError({ + code: Status.INTERNAL, + details: `Failed to initialize xDS Client. ${error.message}`, + metadata: new Metadata() + }); }); } /** * Start the ADS stream if the client exists and there is not already an - * existing stream. + * existing stream, and there */ private maybeStartAdsStream() { if (this.client === null) { @@ -110,6 +139,9 @@ export class XdsClient { if (this.adsCall !== null) { return; } + if (this.hasShutdown) { + return; + } this.adsCall = this.client.StreamAggregatedResources(); this.adsCall.on('data', (message: adsTypes.messages.envoy.api.v2.DiscoveryResponse__Output) => { switch (message.type_url) { @@ -140,14 +172,18 @@ export class XdsClient { } }); this.adsCall.on('error', (error: ServiceError) => { + trace('ADS stream ended. code=' + error.code + ' details= ' + error.details); this.adsCall = null; this.reportStreamError(error); + /* Connection backoff is handled by the client object, so we can + * immediately start a new request to indicate that it should try to + * reconnect */ this.maybeStartAdsStream(); }); const endpointWatcherNames = Array.from(this.endpointWatchers.keys()); if (endpointWatcherNames.length > 0) { this.adsCall.write({ - node: this.node, + node: this.node!, type_url: EDS_TYPE_URL, resource_names: endpointWatcherNames }); @@ -159,7 +195,7 @@ export class XdsClient { return; } this.adsCall.write({ - node: this.node, + node: this.node!, type_url: typeUrl, version_info: versionInfo, response_nonce: nonce, @@ -178,7 +214,7 @@ export class XdsClient { return; } this.adsCall.write({ - node: this.node, + node: this.node!, type_url: EDS_TYPE_URL, resource_names: Array.from(this.endpointWatchers.keys()), response_nonce: this.lastEdsNonce, @@ -195,7 +231,7 @@ export class XdsClient { return; } this.adsCall.write({ - node: this.node, + node: this.node!, type_url: EDS_TYPE_URL, resource_names: Array.from(this.endpointWatchers.keys()), response_nonce: this.lastEdsNonce, @@ -206,19 +242,18 @@ export class XdsClient { }); } + /** + * Validate the ClusterLoadAssignment object by these rules: + * https://github.com/grpc/proposal/blob/master/A27-xds-global-load-balancing.md#clusterloadassignment-proto + * @param message + */ private validateEdsResponse(message: edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output): boolean { for (const endpoint of message.endpoints) { for (const lb of endpoint.lb_endpoints) { - if (!lb.endpoint) { - return false; - } - if (!lb.endpoint.address) { - return false; - } - if (!lb.endpoint.address.socket_address) { + const socketAddress = lb.endpoint?.address?.socket_address; + if (!socketAddress) { return false; } - const socketAddress = lb.endpoint.address.socket_address; if (socketAddress.port_specifier !== 'port_value') { return false; } @@ -240,7 +275,7 @@ export class XdsClient { private updateEdsNames() { if (this.adsCall) { this.adsCall.write({ - node: this.node, + node: this.node!, type_url: EDS_TYPE_URL, resource_names: Array.from(this.endpointWatchers.keys()), response_nonce: this.lastEdsNonce, @@ -259,6 +294,7 @@ export class XdsClient { } addEndpointWatcher(edsServiceName: string, watcher: Watcher) { + trace('Watcher added for endpoint ' + edsServiceName); let watchersEntry = this.endpointWatchers.get(edsServiceName); let addedServiceName = false; if (watchersEntry === undefined) { @@ -273,12 +309,27 @@ export class XdsClient { } removeEndpointWatcher(edsServiceName: string, watcher: Watcher) { + trace('Watcher removed for endpoint ' + edsServiceName); const watchersEntry = this.endpointWatchers.get(edsServiceName); + let removedServiceName = false; if (watchersEntry !== undefined) { const entryIndex = watchersEntry.indexOf(watcher); if (entryIndex >= 0) { watchersEntry.splice(entryIndex, 1); } + if (watchersEntry.length === 0) { + removedServiceName = true; + this.endpointWatchers.delete(edsServiceName); + } + } + if (removedServiceName) { + this.updateEdsNames(); } } + + shutdown(): void { + this.adsCall?.cancel(); + this.client?.close(); + this.hasShutdown = true; + } } \ No newline at end of file From dbef8619484f87b6e6209126fdaab4abfda511f2 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Wed, 8 Jul 2020 14:49:28 -0700 Subject: [PATCH 06/19] Add files, dependencies, and generation script to package.json --- packages/grpc-js/generateTypes.sh | 20 -------------------- packages/grpc-js/package.json | 15 +++++++++++---- 2 files changed, 11 insertions(+), 24 deletions(-) delete mode 100644 packages/grpc-js/generateTypes.sh diff --git a/packages/grpc-js/generateTypes.sh b/packages/grpc-js/generateTypes.sh deleted file mode 100644 index 8eee726c0..000000000 --- a/packages/grpc-js/generateTypes.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# Copyright 2020 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. - -base=$(dirname $0) - -./node_modules/.bin/proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --json\ - --includeDirs deps/envoy-api/ deps/udpa/ node_modules/protobufjs/ deps/googleapis/ deps/protoc-gen-validate/ \ - -O src/generated/ --grpcLib ../index envoy/service/discovery/v2/ads.proto envoy/api/v2/listener.proto envoy/api/v2/route.proto envoy/api/v2/cluster.proto envoy/api/v2/endpoint.proto \ No newline at end of file diff --git a/packages/grpc-js/package.json b/packages/grpc-js/package.json index 280950245..8a20a6842 100644 --- a/packages/grpc-js/package.json +++ b/packages/grpc-js/package.json @@ -15,7 +15,6 @@ "types": "build/src/index.d.ts", "license": "Apache-2.0", "devDependencies": { - "@grpc/proto-loader": "^0.6.0-pre5", "@types/gulp": "^4.0.6", "@types/gulp-mocha": "0.0.32", "@types/lodash": "^4.14.108", @@ -48,6 +47,7 @@ "clean": "node -e 'require(\"rimraf\")(\"./build\", () => {})'", "compile": "tsc -p .", "format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts", + "generate-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --json --includeDirs deps/envoy-api/ deps/udpa/ node_modules/protobufjs/ deps/googleapis/ deps/protoc-gen-validate/ -O src/generated/ --grpcLib ../index envoy/service/discovery/v2/ads.proto envoy/api/v2/listener.proto envoy/api/v2/route.proto envoy/api/v2/cluster.proto envoy/api/v2/endpoint.proto", "lint": "npm run check", "prepare": "npm run compile", "test": "gulp test", @@ -57,16 +57,23 @@ "posttest": "npm run check" }, "dependencies": { + "@grpc/proto-loader": "^0.6.0-pre6", "semver": "^6.2.0" }, "peerDependencies": { "google-auth-library": "5.x || 6.x" }, "files": [ - "src/*.ts", + "src/**/*.ts", "build/src/*.{js,d.ts,js.map}", "LICENSE", - "deps/envoy-api/envoy/**/*.proto", - "deps/udpa/udpa/**/*.proto" + "deps/envoy-api/envoy/api/v2/**/*.proto", + "deps/envoy-api/envoy/config/**/*.proto", + "deps/envoy-api/envoy/service/**/*.proto", + "deps/envoy-api/envoy/type/**/*.proto", + "deps/udpa/udpa/**/*.proto", + "deps/googleapis/google/api/*.proto", + "deps/googleapis/google/rpc/*.proto", + "deps/protoc-gen-validate/validate/**/*.proto" ] } From 0c41a4e039a7e8300bf873dbd1477bec1e4bc905 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Wed, 8 Jul 2020 15:13:02 -0700 Subject: [PATCH 07/19] Move the generated files to .ts instead of .d.ts --- .../src/generated/{ads.d.ts => ads.ts} | 32 +- .../generated/{cluster.d.ts => cluster.ts} | 508 +++++++++--------- .../generated/{endpoint.d.ts => endpoint.ts} | 196 +++---- .../envoy/api/v2/{Cluster.d.ts => Cluster.ts} | 0 ...signment.d.ts => ClusterLoadAssignment.ts} | 0 ...yRequest.d.ts => DeltaDiscoveryRequest.ts} | 0 ...esponse.d.ts => DeltaDiscoveryResponse.ts} | 0 ...coveryRequest.d.ts => DiscoveryRequest.ts} | 0 ...veryResponse.d.ts => DiscoveryResponse.ts} | 0 .../api/v2/{Listener.d.ts => Listener.ts} | 0 ...cingPolicy.d.ts => LoadBalancingPolicy.ts} | 0 .../api/v2/{Resource.d.ts => Resource.ts} | 0 ...nfiguration.d.ts => RouteConfiguration.ts} | 0 ...mBindConfig.d.ts => UpstreamBindConfig.ts} | 0 ...ions.d.ts => UpstreamConnectionOptions.ts} | 0 .../envoy/api/v2/{Vhds.d.ts => Vhds.ts} | 0 ...t.d.ts => CertificateValidationContext.ts} | 0 ...monTlsContext.d.ts => CommonTlsContext.ts} | 0 ...lsContext.d.ts => DownstreamTlsContext.ts} | 0 .../{GenericSecret.d.ts => GenericSecret.ts} | 0 ...KeyProvider.d.ts => PrivateKeyProvider.ts} | 0 ...dsSecretConfig.d.ts => SdsSecretConfig.ts} | 0 .../api/v2/auth/{Secret.d.ts => Secret.ts} | 0 ...{TlsCertificate.d.ts => TlsCertificate.ts} | 0 .../{TlsParameters.d.ts => TlsParameters.ts} | 0 ...icketKeys.d.ts => TlsSessionTicketKeys.ts} | 0 ...mTlsContext.d.ts => UpstreamTlsContext.ts} | 0 ...ircuitBreakers.d.ts => CircuitBreakers.ts} | 0 .../api/v2/cluster/{Filter.d.ts => Filter.ts} | 0 ...lierDetection.d.ts => OutlierDetection.ts} | 0 .../api/v2/core/{Address.d.ts => Address.ts} | 0 ...gSource.d.ts => AggregatedConfigSource.ts} | 0 ...piConfigSource.d.ts => ApiConfigSource.ts} | 0 .../core/{ApiVersion.d.ts => ApiVersion.ts} | 0 ...syncDataSource.d.ts => AsyncDataSource.ts} | 0 ...ackoffStrategy.d.ts => BackoffStrategy.ts} | 0 .../core/{BindConfig.d.ts => BindConfig.ts} | 0 .../{BuildVersion.d.ts => BuildVersion.ts} | 0 .../v2/core/{CidrRange.d.ts => CidrRange.ts} | 0 .../{ConfigSource.d.ts => ConfigSource.ts} | 0 .../{ControlPlane.d.ts => ControlPlane.ts} | 0 .../core/{DataSource.d.ts => DataSource.ts} | 0 ...rviceConfig.d.ts => EventServiceConfig.ts} | 0 .../v2/core/{Extension.d.ts => Extension.ts} | 0 ...colOptions.d.ts => GrpcProtocolOptions.ts} | 0 .../core/{GrpcService.d.ts => GrpcService.ts} | 0 .../v2/core/{HeaderMap.d.ts => HeaderMap.ts} | 0 .../core/{HeaderValue.d.ts => HeaderValue.ts} | 0 ...rValueOption.d.ts => HeaderValueOption.ts} | 0 .../core/{HealthCheck.d.ts => HealthCheck.ts} | 0 .../{HealthStatus.d.ts => HealthStatus.ts} | 0 ...olOptions.d.ts => Http1ProtocolOptions.ts} | 0 ...olOptions.d.ts => Http2ProtocolOptions.ts} | 0 ...colOptions.d.ts => HttpProtocolOptions.ts} | 0 .../api/v2/core/{HttpUri.d.ts => HttpUri.ts} | 0 .../v2/core/{Locality.d.ts => Locality.ts} | 0 .../v2/core/{Metadata.d.ts => Metadata.ts} | 0 .../envoy/api/v2/core/{Node.d.ts => Node.ts} | 0 .../envoy/api/v2/core/{Pipe.d.ts => Pipe.ts} | 0 ...imitSettings.d.ts => RateLimitSettings.ts} | 0 ...oteDataSource.d.ts => RemoteDataSource.ts} | 0 .../{RequestMethod.d.ts => RequestMethod.ts} | 0 .../core/{RetryPolicy.d.ts => RetryPolicy.ts} | 0 ...outingPriority.d.ts => RoutingPriority.ts} | 0 .../{RuntimeDouble.d.ts => RuntimeDouble.ts} | 0 ...FeatureFlag.d.ts => RuntimeFeatureFlag.ts} | 0 ...rcent.d.ts => RuntimeFractionalPercent.ts} | 0 .../{RuntimeUInt32.d.ts => RuntimeUInt32.ts} | 0 ...fConfigSource.d.ts => SelfConfigSource.ts} | 0 .../{SocketAddress.d.ts => SocketAddress.ts} | 0 .../{SocketOption.d.ts => SocketOption.ts} | 0 .../{TcpKeepalive.d.ts => TcpKeepalive.ts} | 0 ...ocolOptions.d.ts => TcpProtocolOptions.ts} | 0 ...fficDirection.d.ts => TrafficDirection.ts} | 0 ...ransportSocket.d.ts => TransportSocket.ts} | 0 ...ns.d.ts => UpstreamHttpProtocolOptions.ts} | 0 .../endpoint/{Endpoint.d.ts => Endpoint.ts} | 0 .../{LbEndpoint.d.ts => LbEndpoint.ts} | 0 ...bEndpoints.d.ts => LocalityLbEndpoints.ts} | 0 ...fig.d.ts => ActiveRawUdpListenerConfig.ts} | 0 .../v2/listener/{Filter.d.ts => Filter.ts} | 0 .../{FilterChain.d.ts => FilterChain.ts} | 0 ...terChainMatch.d.ts => FilterChainMatch.ts} | 0 ...{ListenerFilter.d.ts => ListenerFilter.ts} | 0 ...s => ListenerFilterChainMatchPredicate.ts} | 0 ...stenerConfig.d.ts => UdpListenerConfig.ts} | 0 .../route/{CorsPolicy.d.ts => CorsPolicy.ts} | 0 .../v2/route/{Decorator.d.ts => Decorator.ts} | 0 ...nseAction.d.ts => DirectResponseAction.ts} | 0 .../{FilterAction.d.ts => FilterAction.ts} | 0 .../{HeaderMatcher.d.ts => HeaderMatcher.ts} | 0 .../{HedgePolicy.d.ts => HedgePolicy.ts} | 0 ...rMatcher.d.ts => QueryParameterMatcher.ts} | 0 .../v2/route/{RateLimit.d.ts => RateLimit.ts} | 0 ...{RedirectAction.d.ts => RedirectAction.ts} | 0 .../{RetryPolicy.d.ts => RetryPolicy.ts} | 0 .../api/v2/route/{Route.d.ts => Route.ts} | 0 .../{RouteAction.d.ts => RouteAction.ts} | 0 .../route/{RouteMatch.d.ts => RouteMatch.ts} | 0 .../api/v2/route/{Tracing.d.ts => Tracing.ts} | 0 ...{VirtualCluster.d.ts => VirtualCluster.ts} | 0 .../{VirtualHost.d.ts => VirtualHost.ts} | 0 ...eightedCluster.d.ts => WeightedCluster.ts} | 0 .../v2/{AccessLog.d.ts => AccessLog.ts} | 0 ...ccessLogFilter.d.ts => AccessLogFilter.ts} | 0 .../v2/{AndFilter.d.ts => AndFilter.ts} | 0 ...parisonFilter.d.ts => ComparisonFilter.ts} | 0 ...{DurationFilter.d.ts => DurationFilter.ts} | 0 ...xtensionFilter.d.ts => ExtensionFilter.ts} | 0 ...cStatusFilter.d.ts => GrpcStatusFilter.ts} | 0 .../v2/{HeaderFilter.d.ts => HeaderFilter.ts} | 0 ...eckFilter.d.ts => NotHealthCheckFilter.ts} | 0 .../v2/{OrFilter.d.ts => OrFilter.ts} | 0 ...eFlagFilter.d.ts => ResponseFlagFilter.ts} | 0 .../{RuntimeFilter.d.ts => RuntimeFilter.ts} | 0 ...tusCodeFilter.d.ts => StatusCodeFilter.ts} | 0 ...raceableFilter.d.ts => TraceableFilter.ts} | 0 .../v2/{ApiListener.d.ts => ApiListener.ts} | 0 .../v2/{AdsDummy.d.ts => AdsDummy.ts} | 0 ...odecClientType.d.ts => CodecClientType.ts} | 0 .../type/{DoubleRange.d.ts => DoubleRange.ts} | 0 ...ionalPercent.d.ts => FractionalPercent.ts} | 0 .../type/{Int32Range.d.ts => Int32Range.ts} | 0 .../type/{Int64Range.d.ts => Int64Range.ts} | 0 .../envoy/type/{Percent.d.ts => Percent.ts} | 0 ...emanticVersion.d.ts => SemanticVersion.ts} | 0 ...tringMatcher.d.ts => ListStringMatcher.ts} | 0 ...titute.d.ts => RegexMatchAndSubstitute.ts} | 0 .../{RegexMatcher.d.ts => RegexMatcher.ts} | 0 .../{StringMatcher.d.ts => StringMatcher.ts} | 0 .../v2/{MetadataKey.d.ts => MetadataKey.ts} | 0 .../v2/{MetadataKind.d.ts => MetadataKind.ts} | 0 .../v2/{CustomTag.d.ts => CustomTag.ts} | 0 ...mHttpPattern.d.ts => CustomHttpPattern.ts} | 0 .../google/api/{Http.d.ts => Http.ts} | 0 .../google/api/{HttpRule.d.ts => HttpRule.ts} | 0 .../google/protobuf/{Any.d.ts => Any.ts} | 0 .../protobuf/{BoolValue.d.ts => BoolValue.ts} | 0 .../{BytesValue.d.ts => BytesValue.ts} | 0 ...escriptorProto.d.ts => DescriptorProto.ts} | 0 .../{DoubleValue.d.ts => DoubleValue.ts} | 0 .../protobuf/{Duration.d.ts => Duration.ts} | 0 .../google/protobuf/{Empty.d.ts => Empty.ts} | 0 ...iptorProto.d.ts => EnumDescriptorProto.ts} | 0 .../{EnumOptions.d.ts => EnumOptions.ts} | 0 ...Proto.d.ts => EnumValueDescriptorProto.ts} | 0 ...mValueOptions.d.ts => EnumValueOptions.ts} | 0 ...ptorProto.d.ts => FieldDescriptorProto.ts} | 0 .../{FieldOptions.d.ts => FieldOptions.ts} | 0 ...iptorProto.d.ts => FileDescriptorProto.ts} | 0 ...escriptorSet.d.ts => FileDescriptorSet.ts} | 0 .../{FileOptions.d.ts => FileOptions.ts} | 0 .../{FloatValue.d.ts => FloatValue.ts} | 0 ...atedCodeInfo.d.ts => GeneratedCodeInfo.ts} | 0 .../{Int32Value.d.ts => Int32Value.ts} | 0 .../{Int64Value.d.ts => Int64Value.ts} | 0 .../protobuf/{ListValue.d.ts => ListValue.ts} | 0 ...{MessageOptions.d.ts => MessageOptions.ts} | 0 ...torProto.d.ts => MethodDescriptorProto.ts} | 0 .../{MethodOptions.d.ts => MethodOptions.ts} | 0 .../protobuf/{NullValue.d.ts => NullValue.ts} | 0 ...ptorProto.d.ts => OneofDescriptorProto.ts} | 0 .../{OneofOptions.d.ts => OneofOptions.ts} | 0 ...orProto.d.ts => ServiceDescriptorProto.ts} | 0 ...{ServiceOptions.d.ts => ServiceOptions.ts} | 0 ...{SourceCodeInfo.d.ts => SourceCodeInfo.ts} | 0 .../{StringValue.d.ts => StringValue.ts} | 0 .../protobuf/{Struct.d.ts => Struct.ts} | 0 .../protobuf/{Timestamp.d.ts => Timestamp.ts} | 0 .../{UInt32Value.d.ts => UInt32Value.ts} | 0 .../{UInt64Value.d.ts => UInt64Value.ts} | 0 ...etedOption.d.ts => UninterpretedOption.ts} | 0 .../google/protobuf/{Value.d.ts => Value.ts} | 0 .../google/rpc/{Status.d.ts => Status.ts} | 0 .../generated/{listener.d.ts => listener.ts} | 208 +++---- .../src/generated/{route.d.ts => route.ts} | 126 ++--- ...otation.d.ts => FieldMigrateAnnotation.ts} | 0 ...notation.d.ts => FileMigrateAnnotation.ts} | 0 ...teAnnotation.d.ts => MigrateAnnotation.ts} | 0 ...ionStatus.d.ts => PackageVersionStatus.ts} | 0 ...tusAnnotation.d.ts => StatusAnnotation.ts} | 0 .../validate/{AnyRules.d.ts => AnyRules.ts} | 0 .../validate/{BoolRules.d.ts => BoolRules.ts} | 0 .../{BytesRules.d.ts => BytesRules.ts} | 0 .../{DoubleRules.d.ts => DoubleRules.ts} | 0 .../{DurationRules.d.ts => DurationRules.ts} | 0 .../validate/{EnumRules.d.ts => EnumRules.ts} | 0 .../{FieldRules.d.ts => FieldRules.ts} | 0 .../{Fixed32Rules.d.ts => Fixed32Rules.ts} | 0 .../{Fixed64Rules.d.ts => Fixed64Rules.ts} | 0 .../{FloatRules.d.ts => FloatRules.ts} | 0 .../{Int32Rules.d.ts => Int32Rules.ts} | 0 .../{Int64Rules.d.ts => Int64Rules.ts} | 0 .../{KnownRegex.d.ts => KnownRegex.ts} | 0 .../validate/{MapRules.d.ts => MapRules.ts} | 0 .../{MessageRules.d.ts => MessageRules.ts} | 0 .../{RepeatedRules.d.ts => RepeatedRules.ts} | 0 .../{SFixed32Rules.d.ts => SFixed32Rules.ts} | 0 .../{SFixed64Rules.d.ts => SFixed64Rules.ts} | 0 .../{SInt32Rules.d.ts => SInt32Rules.ts} | 0 .../{SInt64Rules.d.ts => SInt64Rules.ts} | 0 .../{StringRules.d.ts => StringRules.ts} | 0 ...{TimestampRules.d.ts => TimestampRules.ts} | 0 .../{UInt32Rules.d.ts => UInt32Rules.ts} | 0 .../{UInt64Rules.d.ts => UInt64Rules.ts} | 0 205 files changed, 535 insertions(+), 535 deletions(-) rename packages/grpc-js/src/generated/{ads.d.ts => ads.ts} (100%) rename packages/grpc-js/src/generated/{cluster.d.ts => cluster.ts} (100%) rename packages/grpc-js/src/generated/{endpoint.d.ts => endpoint.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/{Cluster.d.ts => Cluster.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/{ClusterLoadAssignment.d.ts => ClusterLoadAssignment.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/{DeltaDiscoveryRequest.d.ts => DeltaDiscoveryRequest.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/{DeltaDiscoveryResponse.d.ts => DeltaDiscoveryResponse.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/{DiscoveryRequest.d.ts => DiscoveryRequest.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/{DiscoveryResponse.d.ts => DiscoveryResponse.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/{Listener.d.ts => Listener.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/{LoadBalancingPolicy.d.ts => LoadBalancingPolicy.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/{Resource.d.ts => Resource.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/{RouteConfiguration.d.ts => RouteConfiguration.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/{UpstreamBindConfig.d.ts => UpstreamBindConfig.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/{UpstreamConnectionOptions.d.ts => UpstreamConnectionOptions.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/{Vhds.d.ts => Vhds.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/auth/{CertificateValidationContext.d.ts => CertificateValidationContext.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/auth/{CommonTlsContext.d.ts => CommonTlsContext.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/auth/{DownstreamTlsContext.d.ts => DownstreamTlsContext.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/auth/{GenericSecret.d.ts => GenericSecret.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/auth/{PrivateKeyProvider.d.ts => PrivateKeyProvider.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/auth/{SdsSecretConfig.d.ts => SdsSecretConfig.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/auth/{Secret.d.ts => Secret.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/auth/{TlsCertificate.d.ts => TlsCertificate.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/auth/{TlsParameters.d.ts => TlsParameters.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/auth/{TlsSessionTicketKeys.d.ts => TlsSessionTicketKeys.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/auth/{UpstreamTlsContext.d.ts => UpstreamTlsContext.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/cluster/{CircuitBreakers.d.ts => CircuitBreakers.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/cluster/{Filter.d.ts => Filter.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/cluster/{OutlierDetection.d.ts => OutlierDetection.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{Address.d.ts => Address.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{AggregatedConfigSource.d.ts => AggregatedConfigSource.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{ApiConfigSource.d.ts => ApiConfigSource.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{ApiVersion.d.ts => ApiVersion.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{AsyncDataSource.d.ts => AsyncDataSource.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{BackoffStrategy.d.ts => BackoffStrategy.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{BindConfig.d.ts => BindConfig.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{BuildVersion.d.ts => BuildVersion.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{CidrRange.d.ts => CidrRange.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{ConfigSource.d.ts => ConfigSource.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{ControlPlane.d.ts => ControlPlane.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{DataSource.d.ts => DataSource.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{EventServiceConfig.d.ts => EventServiceConfig.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{Extension.d.ts => Extension.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{GrpcProtocolOptions.d.ts => GrpcProtocolOptions.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{GrpcService.d.ts => GrpcService.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{HeaderMap.d.ts => HeaderMap.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{HeaderValue.d.ts => HeaderValue.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{HeaderValueOption.d.ts => HeaderValueOption.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{HealthCheck.d.ts => HealthCheck.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{HealthStatus.d.ts => HealthStatus.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{Http1ProtocolOptions.d.ts => Http1ProtocolOptions.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{Http2ProtocolOptions.d.ts => Http2ProtocolOptions.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{HttpProtocolOptions.d.ts => HttpProtocolOptions.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{HttpUri.d.ts => HttpUri.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{Locality.d.ts => Locality.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{Metadata.d.ts => Metadata.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{Node.d.ts => Node.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{Pipe.d.ts => Pipe.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{RateLimitSettings.d.ts => RateLimitSettings.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{RemoteDataSource.d.ts => RemoteDataSource.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{RequestMethod.d.ts => RequestMethod.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{RetryPolicy.d.ts => RetryPolicy.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{RoutingPriority.d.ts => RoutingPriority.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{RuntimeDouble.d.ts => RuntimeDouble.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{RuntimeFeatureFlag.d.ts => RuntimeFeatureFlag.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{RuntimeFractionalPercent.d.ts => RuntimeFractionalPercent.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{RuntimeUInt32.d.ts => RuntimeUInt32.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{SelfConfigSource.d.ts => SelfConfigSource.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{SocketAddress.d.ts => SocketAddress.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{SocketOption.d.ts => SocketOption.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{TcpKeepalive.d.ts => TcpKeepalive.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{TcpProtocolOptions.d.ts => TcpProtocolOptions.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{TrafficDirection.d.ts => TrafficDirection.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{TransportSocket.d.ts => TransportSocket.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/core/{UpstreamHttpProtocolOptions.d.ts => UpstreamHttpProtocolOptions.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/endpoint/{Endpoint.d.ts => Endpoint.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/endpoint/{LbEndpoint.d.ts => LbEndpoint.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/endpoint/{LocalityLbEndpoints.d.ts => LocalityLbEndpoints.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/listener/{ActiveRawUdpListenerConfig.d.ts => ActiveRawUdpListenerConfig.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/listener/{Filter.d.ts => Filter.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/listener/{FilterChain.d.ts => FilterChain.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/listener/{FilterChainMatch.d.ts => FilterChainMatch.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/listener/{ListenerFilter.d.ts => ListenerFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/listener/{ListenerFilterChainMatchPredicate.d.ts => ListenerFilterChainMatchPredicate.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/listener/{UdpListenerConfig.d.ts => UdpListenerConfig.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{CorsPolicy.d.ts => CorsPolicy.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{Decorator.d.ts => Decorator.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{DirectResponseAction.d.ts => DirectResponseAction.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{FilterAction.d.ts => FilterAction.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{HeaderMatcher.d.ts => HeaderMatcher.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{HedgePolicy.d.ts => HedgePolicy.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{QueryParameterMatcher.d.ts => QueryParameterMatcher.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{RateLimit.d.ts => RateLimit.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{RedirectAction.d.ts => RedirectAction.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{RetryPolicy.d.ts => RetryPolicy.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{Route.d.ts => Route.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{RouteAction.d.ts => RouteAction.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{RouteMatch.d.ts => RouteMatch.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{Tracing.d.ts => Tracing.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{VirtualCluster.d.ts => VirtualCluster.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{VirtualHost.d.ts => VirtualHost.ts} (100%) rename packages/grpc-js/src/generated/envoy/api/v2/route/{WeightedCluster.d.ts => WeightedCluster.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{AccessLog.d.ts => AccessLog.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{AccessLogFilter.d.ts => AccessLogFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{AndFilter.d.ts => AndFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{ComparisonFilter.d.ts => ComparisonFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{DurationFilter.d.ts => DurationFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{ExtensionFilter.d.ts => ExtensionFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{GrpcStatusFilter.d.ts => GrpcStatusFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{HeaderFilter.d.ts => HeaderFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{NotHealthCheckFilter.d.ts => NotHealthCheckFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{OrFilter.d.ts => OrFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{ResponseFlagFilter.d.ts => ResponseFlagFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{RuntimeFilter.d.ts => RuntimeFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{StatusCodeFilter.d.ts => StatusCodeFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/{TraceableFilter.d.ts => TraceableFilter.ts} (100%) rename packages/grpc-js/src/generated/envoy/config/listener/v2/{ApiListener.d.ts => ApiListener.ts} (100%) rename packages/grpc-js/src/generated/envoy/service/discovery/v2/{AdsDummy.d.ts => AdsDummy.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/{CodecClientType.d.ts => CodecClientType.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/{DoubleRange.d.ts => DoubleRange.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/{FractionalPercent.d.ts => FractionalPercent.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/{Int32Range.d.ts => Int32Range.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/{Int64Range.d.ts => Int64Range.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/{Percent.d.ts => Percent.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/{SemanticVersion.d.ts => SemanticVersion.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/matcher/{ListStringMatcher.d.ts => ListStringMatcher.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/matcher/{RegexMatchAndSubstitute.d.ts => RegexMatchAndSubstitute.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/matcher/{RegexMatcher.d.ts => RegexMatcher.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/matcher/{StringMatcher.d.ts => StringMatcher.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/metadata/v2/{MetadataKey.d.ts => MetadataKey.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/metadata/v2/{MetadataKind.d.ts => MetadataKind.ts} (100%) rename packages/grpc-js/src/generated/envoy/type/tracing/v2/{CustomTag.d.ts => CustomTag.ts} (100%) rename packages/grpc-js/src/generated/google/api/{CustomHttpPattern.d.ts => CustomHttpPattern.ts} (100%) rename packages/grpc-js/src/generated/google/api/{Http.d.ts => Http.ts} (100%) rename packages/grpc-js/src/generated/google/api/{HttpRule.d.ts => HttpRule.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{Any.d.ts => Any.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{BoolValue.d.ts => BoolValue.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{BytesValue.d.ts => BytesValue.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{DescriptorProto.d.ts => DescriptorProto.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{DoubleValue.d.ts => DoubleValue.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{Duration.d.ts => Duration.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{Empty.d.ts => Empty.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{EnumDescriptorProto.d.ts => EnumDescriptorProto.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{EnumOptions.d.ts => EnumOptions.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{EnumValueDescriptorProto.d.ts => EnumValueDescriptorProto.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{EnumValueOptions.d.ts => EnumValueOptions.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{FieldDescriptorProto.d.ts => FieldDescriptorProto.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{FieldOptions.d.ts => FieldOptions.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{FileDescriptorProto.d.ts => FileDescriptorProto.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{FileDescriptorSet.d.ts => FileDescriptorSet.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{FileOptions.d.ts => FileOptions.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{FloatValue.d.ts => FloatValue.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{GeneratedCodeInfo.d.ts => GeneratedCodeInfo.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{Int32Value.d.ts => Int32Value.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{Int64Value.d.ts => Int64Value.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{ListValue.d.ts => ListValue.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{MessageOptions.d.ts => MessageOptions.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{MethodDescriptorProto.d.ts => MethodDescriptorProto.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{MethodOptions.d.ts => MethodOptions.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{NullValue.d.ts => NullValue.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{OneofDescriptorProto.d.ts => OneofDescriptorProto.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{OneofOptions.d.ts => OneofOptions.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{ServiceDescriptorProto.d.ts => ServiceDescriptorProto.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{ServiceOptions.d.ts => ServiceOptions.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{SourceCodeInfo.d.ts => SourceCodeInfo.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{StringValue.d.ts => StringValue.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{Struct.d.ts => Struct.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{Timestamp.d.ts => Timestamp.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{UInt32Value.d.ts => UInt32Value.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{UInt64Value.d.ts => UInt64Value.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{UninterpretedOption.d.ts => UninterpretedOption.ts} (100%) rename packages/grpc-js/src/generated/google/protobuf/{Value.d.ts => Value.ts} (100%) rename packages/grpc-js/src/generated/google/rpc/{Status.d.ts => Status.ts} (100%) rename packages/grpc-js/src/generated/{listener.d.ts => listener.ts} (100%) rename packages/grpc-js/src/generated/{route.d.ts => route.ts} (100%) rename packages/grpc-js/src/generated/udpa/annotations/{FieldMigrateAnnotation.d.ts => FieldMigrateAnnotation.ts} (100%) rename packages/grpc-js/src/generated/udpa/annotations/{FileMigrateAnnotation.d.ts => FileMigrateAnnotation.ts} (100%) rename packages/grpc-js/src/generated/udpa/annotations/{MigrateAnnotation.d.ts => MigrateAnnotation.ts} (100%) rename packages/grpc-js/src/generated/udpa/annotations/{PackageVersionStatus.d.ts => PackageVersionStatus.ts} (100%) rename packages/grpc-js/src/generated/udpa/annotations/{StatusAnnotation.d.ts => StatusAnnotation.ts} (100%) rename packages/grpc-js/src/generated/validate/{AnyRules.d.ts => AnyRules.ts} (100%) rename packages/grpc-js/src/generated/validate/{BoolRules.d.ts => BoolRules.ts} (100%) rename packages/grpc-js/src/generated/validate/{BytesRules.d.ts => BytesRules.ts} (100%) rename packages/grpc-js/src/generated/validate/{DoubleRules.d.ts => DoubleRules.ts} (100%) rename packages/grpc-js/src/generated/validate/{DurationRules.d.ts => DurationRules.ts} (100%) rename packages/grpc-js/src/generated/validate/{EnumRules.d.ts => EnumRules.ts} (100%) rename packages/grpc-js/src/generated/validate/{FieldRules.d.ts => FieldRules.ts} (100%) rename packages/grpc-js/src/generated/validate/{Fixed32Rules.d.ts => Fixed32Rules.ts} (100%) rename packages/grpc-js/src/generated/validate/{Fixed64Rules.d.ts => Fixed64Rules.ts} (100%) rename packages/grpc-js/src/generated/validate/{FloatRules.d.ts => FloatRules.ts} (100%) rename packages/grpc-js/src/generated/validate/{Int32Rules.d.ts => Int32Rules.ts} (100%) rename packages/grpc-js/src/generated/validate/{Int64Rules.d.ts => Int64Rules.ts} (100%) rename packages/grpc-js/src/generated/validate/{KnownRegex.d.ts => KnownRegex.ts} (100%) rename packages/grpc-js/src/generated/validate/{MapRules.d.ts => MapRules.ts} (100%) rename packages/grpc-js/src/generated/validate/{MessageRules.d.ts => MessageRules.ts} (100%) rename packages/grpc-js/src/generated/validate/{RepeatedRules.d.ts => RepeatedRules.ts} (100%) rename packages/grpc-js/src/generated/validate/{SFixed32Rules.d.ts => SFixed32Rules.ts} (100%) rename packages/grpc-js/src/generated/validate/{SFixed64Rules.d.ts => SFixed64Rules.ts} (100%) rename packages/grpc-js/src/generated/validate/{SInt32Rules.d.ts => SInt32Rules.ts} (100%) rename packages/grpc-js/src/generated/validate/{SInt64Rules.d.ts => SInt64Rules.ts} (100%) rename packages/grpc-js/src/generated/validate/{StringRules.d.ts => StringRules.ts} (100%) rename packages/grpc-js/src/generated/validate/{TimestampRules.d.ts => TimestampRules.ts} (100%) rename packages/grpc-js/src/generated/validate/{UInt32Rules.d.ts => UInt32Rules.ts} (100%) rename packages/grpc-js/src/generated/validate/{UInt64Rules.d.ts => UInt64Rules.ts} (100%) diff --git a/packages/grpc-js/src/generated/ads.d.ts b/packages/grpc-js/src/generated/ads.ts similarity index 100% rename from packages/grpc-js/src/generated/ads.d.ts rename to packages/grpc-js/src/generated/ads.ts index fee58a0ed..fd9f8e2c4 100644 --- a/packages/grpc-js/src/generated/ads.d.ts +++ b/packages/grpc-js/src/generated/ads.ts @@ -28,8 +28,6 @@ import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource_ import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; @@ -37,6 +35,8 @@ import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _env import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; @@ -171,10 +171,6 @@ export namespace messages { export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; export type ControlPlane = _envoy_api_v2_core_ControlPlane; export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; - export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; - export type HttpUri = _envoy_api_v2_core_HttpUri; - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; export type Pipe = _envoy_api_v2_core_Pipe; export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; export type SocketAddress = _envoy_api_v2_core_SocketAddress; @@ -189,6 +185,10 @@ export namespace messages { export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; export type SocketOption = _envoy_api_v2_core_SocketOption; export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; } } } @@ -415,10 +415,6 @@ export namespace ClientInterfaces { } export namespace ControlPlane { } - export namespace BackoffStrategy { - } - export namespace HttpUri { - } export namespace Pipe { } export namespace SocketAddress { @@ -433,6 +429,10 @@ export namespace ClientInterfaces { } export namespace SocketOption { } + export namespace HttpUri { + } + export namespace BackoffStrategy { + } } } } @@ -639,8 +639,6 @@ export interface ProtoGrpcType { TransportSocket: MessageTypeDefinition RuntimeFractionalPercent: MessageTypeDefinition ControlPlane: MessageTypeDefinition - BackoffStrategy: MessageTypeDefinition - HttpUri: MessageTypeDefinition Pipe: MessageTypeDefinition SocketAddress: MessageTypeDefinition TcpKeepalive: MessageTypeDefinition @@ -648,6 +646,8 @@ export interface ProtoGrpcType { Address: MessageTypeDefinition CidrRange: MessageTypeDefinition SocketOption: MessageTypeDefinition + HttpUri: MessageTypeDefinition + BackoffStrategy: MessageTypeDefinition } } } @@ -802,10 +802,6 @@ export namespace ServiceHandlers { } export namespace ControlPlane { } - export namespace BackoffStrategy { - } - export namespace HttpUri { - } export namespace Pipe { } export namespace SocketAddress { @@ -820,6 +816,10 @@ export namespace ServiceHandlers { } export namespace SocketOption { } + export namespace HttpUri { + } + export namespace BackoffStrategy { + } } } } diff --git a/packages/grpc-js/src/generated/cluster.d.ts b/packages/grpc-js/src/generated/cluster.ts similarity index 100% rename from packages/grpc-js/src/generated/cluster.d.ts rename to packages/grpc-js/src/generated/cluster.ts index bb137fbdd..6c45ee4cd 100644 --- a/packages/grpc-js/src/generated/cluster.d.ts +++ b/packages/grpc-js/src/generated/cluster.ts @@ -5,6 +5,9 @@ import { Cluster as _envoy_api_v2_Cluster, Cluster__Output as _envoy_api_v2_Clus import { LoadBalancingPolicy as _envoy_api_v2_LoadBalancingPolicy, LoadBalancingPolicy__Output as _envoy_api_v2_LoadBalancingPolicy__Output } from './envoy/api/v2/LoadBalancingPolicy'; import { UpstreamBindConfig as _envoy_api_v2_UpstreamBindConfig, UpstreamBindConfig__Output as _envoy_api_v2_UpstreamBindConfig__Output } from './envoy/api/v2/UpstreamBindConfig'; import { UpstreamConnectionOptions as _envoy_api_v2_UpstreamConnectionOptions, UpstreamConnectionOptions__Output as _envoy_api_v2_UpstreamConnectionOptions__Output } from './envoy/api/v2/UpstreamConnectionOptions'; +import { Filter as _envoy_api_v2_cluster_Filter, Filter__Output as _envoy_api_v2_cluster_Filter__Output } from './envoy/api/v2/cluster/Filter'; +import { CircuitBreakers as _envoy_api_v2_cluster_CircuitBreakers, CircuitBreakers__Output as _envoy_api_v2_cluster_CircuitBreakers__Output } from './envoy/api/v2/cluster/CircuitBreakers'; +import { OutlierDetection as _envoy_api_v2_cluster_OutlierDetection, OutlierDetection__Output as _envoy_api_v2_cluster_OutlierDetection__Output } from './envoy/api/v2/cluster/OutlierDetection'; import { UpstreamTlsContext as _envoy_api_v2_auth_UpstreamTlsContext, UpstreamTlsContext__Output as _envoy_api_v2_auth_UpstreamTlsContext__Output } from './envoy/api/v2/auth/UpstreamTlsContext'; import { DownstreamTlsContext as _envoy_api_v2_auth_DownstreamTlsContext, DownstreamTlsContext__Output as _envoy_api_v2_auth_DownstreamTlsContext__Output } from './envoy/api/v2/auth/DownstreamTlsContext'; import { CommonTlsContext as _envoy_api_v2_auth_CommonTlsContext, CommonTlsContext__Output as _envoy_api_v2_auth_CommonTlsContext__Output } from './envoy/api/v2/auth/CommonTlsContext'; @@ -16,6 +19,26 @@ import { PrivateKeyProvider as _envoy_api_v2_auth_PrivateKeyProvider, PrivateKey import { TlsCertificate as _envoy_api_v2_auth_TlsCertificate, TlsCertificate__Output as _envoy_api_v2_auth_TlsCertificate__Output } from './envoy/api/v2/auth/TlsCertificate'; import { TlsSessionTicketKeys as _envoy_api_v2_auth_TlsSessionTicketKeys, TlsSessionTicketKeys__Output as _envoy_api_v2_auth_TlsSessionTicketKeys__Output } from './envoy/api/v2/auth/TlsSessionTicketKeys'; import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from './envoy/api/v2/auth/CertificateValidationContext'; +import { TcpProtocolOptions as _envoy_api_v2_core_TcpProtocolOptions, TcpProtocolOptions__Output as _envoy_api_v2_core_TcpProtocolOptions__Output } from './envoy/api/v2/core/TcpProtocolOptions'; +import { UpstreamHttpProtocolOptions as _envoy_api_v2_core_UpstreamHttpProtocolOptions, UpstreamHttpProtocolOptions__Output as _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output } from './envoy/api/v2/core/UpstreamHttpProtocolOptions'; +import { HttpProtocolOptions as _envoy_api_v2_core_HttpProtocolOptions, HttpProtocolOptions__Output as _envoy_api_v2_core_HttpProtocolOptions__Output } from './envoy/api/v2/core/HttpProtocolOptions'; +import { Http1ProtocolOptions as _envoy_api_v2_core_Http1ProtocolOptions, Http1ProtocolOptions__Output as _envoy_api_v2_core_Http1ProtocolOptions__Output } from './envoy/api/v2/core/Http1ProtocolOptions'; +import { Http2ProtocolOptions as _envoy_api_v2_core_Http2ProtocolOptions, Http2ProtocolOptions__Output as _envoy_api_v2_core_Http2ProtocolOptions__Output } from './envoy/api/v2/core/Http2ProtocolOptions'; +import { GrpcProtocolOptions as _envoy_api_v2_core_GrpcProtocolOptions, GrpcProtocolOptions__Output as _envoy_api_v2_core_GrpcProtocolOptions__Output } from './envoy/api/v2/core/GrpcProtocolOptions'; +import { HealthStatus as _envoy_api_v2_core_HealthStatus } from './envoy/api/v2/core/HealthStatus'; +import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from './envoy/api/v2/core/HealthCheck'; +import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; +import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; +import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; +import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; +import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; +import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; +import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; +import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from './envoy/api/v2/core/AggregatedConfigSource'; +import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from './envoy/api/v2/core/SelfConfigSource'; +import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; +import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; @@ -37,49 +60,26 @@ import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource_ import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { HealthStatus as _envoy_api_v2_core_HealthStatus } from './envoy/api/v2/core/HealthStatus'; -import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from './envoy/api/v2/core/HealthCheck'; -import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; -import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; -import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; -import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; -import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; -import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; -import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; -import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; -import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from './envoy/api/v2/core/AggregatedConfigSource'; -import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from './envoy/api/v2/core/SelfConfigSource'; -import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; -import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; -import { TcpProtocolOptions as _envoy_api_v2_core_TcpProtocolOptions, TcpProtocolOptions__Output as _envoy_api_v2_core_TcpProtocolOptions__Output } from './envoy/api/v2/core/TcpProtocolOptions'; -import { UpstreamHttpProtocolOptions as _envoy_api_v2_core_UpstreamHttpProtocolOptions, UpstreamHttpProtocolOptions__Output as _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output } from './envoy/api/v2/core/UpstreamHttpProtocolOptions'; -import { HttpProtocolOptions as _envoy_api_v2_core_HttpProtocolOptions, HttpProtocolOptions__Output as _envoy_api_v2_core_HttpProtocolOptions__Output } from './envoy/api/v2/core/HttpProtocolOptions'; -import { Http1ProtocolOptions as _envoy_api_v2_core_Http1ProtocolOptions, Http1ProtocolOptions__Output as _envoy_api_v2_core_Http1ProtocolOptions__Output } from './envoy/api/v2/core/Http1ProtocolOptions'; -import { Http2ProtocolOptions as _envoy_api_v2_core_Http2ProtocolOptions, Http2ProtocolOptions__Output as _envoy_api_v2_core_Http2ProtocolOptions__Output } from './envoy/api/v2/core/Http2ProtocolOptions'; -import { GrpcProtocolOptions as _envoy_api_v2_core_GrpcProtocolOptions, GrpcProtocolOptions__Output as _envoy_api_v2_core_GrpcProtocolOptions__Output } from './envoy/api/v2/core/GrpcProtocolOptions'; -import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; -import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; import { EventServiceConfig as _envoy_api_v2_core_EventServiceConfig, EventServiceConfig__Output as _envoy_api_v2_core_EventServiceConfig__Output } from './envoy/api/v2/core/EventServiceConfig'; import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; -import { CircuitBreakers as _envoy_api_v2_cluster_CircuitBreakers, CircuitBreakers__Output as _envoy_api_v2_cluster_CircuitBreakers__Output } from './envoy/api/v2/cluster/CircuitBreakers'; -import { Filter as _envoy_api_v2_cluster_Filter, Filter__Output as _envoy_api_v2_cluster_Filter__Output } from './envoy/api/v2/cluster/Filter'; -import { OutlierDetection as _envoy_api_v2_cluster_OutlierDetection, OutlierDetection__Output as _envoy_api_v2_cluster_OutlierDetection__Output } from './envoy/api/v2/cluster/OutlierDetection'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; +import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; import { ClusterLoadAssignment as _envoy_api_v2_ClusterLoadAssignment, ClusterLoadAssignment__Output as _envoy_api_v2_ClusterLoadAssignment__Output } from './envoy/api/v2/ClusterLoadAssignment'; import { Endpoint as _envoy_api_v2_endpoint_Endpoint, Endpoint__Output as _envoy_api_v2_endpoint_Endpoint__Output } from './envoy/api/v2/endpoint/Endpoint'; import { LbEndpoint as _envoy_api_v2_endpoint_LbEndpoint, LbEndpoint__Output as _envoy_api_v2_endpoint_LbEndpoint__Output } from './envoy/api/v2/endpoint/LbEndpoint'; import { LocalityLbEndpoints as _envoy_api_v2_endpoint_LocalityLbEndpoints, LocalityLbEndpoints__Output as _envoy_api_v2_endpoint_LocalityLbEndpoints__Output } from './envoy/api/v2/endpoint/LocalityLbEndpoints'; import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; -import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; -import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; -import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; -import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; +import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; +import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; +import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; import { CodecClientType as _envoy_type_CodecClientType } from './envoy/type/CodecClientType'; +import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; @@ -162,6 +162,14 @@ export namespace messages { export type UpstreamBindConfig__Output = _envoy_api_v2_UpstreamBindConfig__Output; export type UpstreamConnectionOptions = _envoy_api_v2_UpstreamConnectionOptions; export type UpstreamConnectionOptions__Output = _envoy_api_v2_UpstreamConnectionOptions__Output; + export namespace cluster { + export type Filter = _envoy_api_v2_cluster_Filter; + export type Filter__Output = _envoy_api_v2_cluster_Filter__Output; + export type CircuitBreakers = _envoy_api_v2_cluster_CircuitBreakers; + export type CircuitBreakers__Output = _envoy_api_v2_cluster_CircuitBreakers__Output; + export type OutlierDetection = _envoy_api_v2_cluster_OutlierDetection; + export type OutlierDetection__Output = _envoy_api_v2_cluster_OutlierDetection__Output; + } export namespace auth { export type UpstreamTlsContext = _envoy_api_v2_auth_UpstreamTlsContext; export type UpstreamTlsContext__Output = _envoy_api_v2_auth_UpstreamTlsContext__Output; @@ -187,6 +195,44 @@ export namespace messages { export type CertificateValidationContext__Output = _envoy_api_v2_auth_CertificateValidationContext__Output; } export namespace core { + export type TcpProtocolOptions = _envoy_api_v2_core_TcpProtocolOptions; + export type TcpProtocolOptions__Output = _envoy_api_v2_core_TcpProtocolOptions__Output; + export type UpstreamHttpProtocolOptions = _envoy_api_v2_core_UpstreamHttpProtocolOptions; + export type UpstreamHttpProtocolOptions__Output = _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output; + export type HttpProtocolOptions = _envoy_api_v2_core_HttpProtocolOptions; + export type HttpProtocolOptions__Output = _envoy_api_v2_core_HttpProtocolOptions__Output; + export type Http1ProtocolOptions = _envoy_api_v2_core_Http1ProtocolOptions; + export type Http1ProtocolOptions__Output = _envoy_api_v2_core_Http1ProtocolOptions__Output; + export type Http2ProtocolOptions = _envoy_api_v2_core_Http2ProtocolOptions; + export type Http2ProtocolOptions__Output = _envoy_api_v2_core_Http2ProtocolOptions__Output; + export type GrpcProtocolOptions = _envoy_api_v2_core_GrpcProtocolOptions; + export type GrpcProtocolOptions__Output = _envoy_api_v2_core_GrpcProtocolOptions__Output; + export type HealthStatus = _envoy_api_v2_core_HealthStatus; + export type HealthCheck = _envoy_api_v2_core_HealthCheck; + export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; + export type Pipe = _envoy_api_v2_core_Pipe; + export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + export type SocketAddress = _envoy_api_v2_core_SocketAddress; + export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; + export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; + export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + export type BindConfig = _envoy_api_v2_core_BindConfig; + export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; + export type Address = _envoy_api_v2_core_Address; + export type Address__Output = _envoy_api_v2_core_Address__Output; + export type CidrRange = _envoy_api_v2_core_CidrRange; + export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + export type ApiVersion = _envoy_api_v2_core_ApiVersion; + export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; + export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; + export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; + export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; + export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; + export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; + export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; + export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; + export type ConfigSource = _envoy_api_v2_core_ConfigSource; + export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; export type RequestMethod = _envoy_api_v2_core_RequestMethod; export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; @@ -226,62 +272,16 @@ export namespace messages { export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; export type ControlPlane = _envoy_api_v2_core_ControlPlane; export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - export type HealthStatus = _envoy_api_v2_core_HealthStatus; - export type HealthCheck = _envoy_api_v2_core_HealthCheck; - export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; - export type Pipe = _envoy_api_v2_core_Pipe; - export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; - export type SocketAddress = _envoy_api_v2_core_SocketAddress; - export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; - export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; - export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; - export type BindConfig = _envoy_api_v2_core_BindConfig; - export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; - export type Address = _envoy_api_v2_core_Address; - export type Address__Output = _envoy_api_v2_core_Address__Output; - export type CidrRange = _envoy_api_v2_core_CidrRange; - export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; - export type ApiVersion = _envoy_api_v2_core_ApiVersion; - export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; - export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; - export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; - export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; - export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; - export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; - export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; - export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; - export type ConfigSource = _envoy_api_v2_core_ConfigSource; - export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; - export type TcpProtocolOptions = _envoy_api_v2_core_TcpProtocolOptions; - export type TcpProtocolOptions__Output = _envoy_api_v2_core_TcpProtocolOptions__Output; - export type UpstreamHttpProtocolOptions = _envoy_api_v2_core_UpstreamHttpProtocolOptions; - export type UpstreamHttpProtocolOptions__Output = _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output; - export type HttpProtocolOptions = _envoy_api_v2_core_HttpProtocolOptions; - export type HttpProtocolOptions__Output = _envoy_api_v2_core_HttpProtocolOptions__Output; - export type Http1ProtocolOptions = _envoy_api_v2_core_Http1ProtocolOptions; - export type Http1ProtocolOptions__Output = _envoy_api_v2_core_Http1ProtocolOptions__Output; - export type Http2ProtocolOptions = _envoy_api_v2_core_Http2ProtocolOptions; - export type Http2ProtocolOptions__Output = _envoy_api_v2_core_Http2ProtocolOptions__Output; - export type GrpcProtocolOptions = _envoy_api_v2_core_GrpcProtocolOptions; - export type GrpcProtocolOptions__Output = _envoy_api_v2_core_GrpcProtocolOptions__Output; - export type SocketOption = _envoy_api_v2_core_SocketOption; - export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; - export type HttpUri = _envoy_api_v2_core_HttpUri; - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; - export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; - export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; export type EventServiceConfig = _envoy_api_v2_core_EventServiceConfig; export type EventServiceConfig__Output = _envoy_api_v2_core_EventServiceConfig__Output; export type GrpcService = _envoy_api_v2_core_GrpcService; export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; - } - export namespace cluster { - export type CircuitBreakers = _envoy_api_v2_cluster_CircuitBreakers; - export type CircuitBreakers__Output = _envoy_api_v2_cluster_CircuitBreakers__Output; - export type Filter = _envoy_api_v2_cluster_Filter; - export type Filter__Output = _envoy_api_v2_cluster_Filter__Output; - export type OutlierDetection = _envoy_api_v2_cluster_OutlierDetection; - export type OutlierDetection__Output = _envoy_api_v2_cluster_OutlierDetection__Output; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type SocketOption = _envoy_api_v2_core_SocketOption; + export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; } export type ClusterLoadAssignment = _envoy_api_v2_ClusterLoadAssignment; export type ClusterLoadAssignment__Output = _envoy_api_v2_ClusterLoadAssignment__Output; @@ -295,19 +295,13 @@ export namespace messages { } } } + export namespace annotations { + } export namespace type { export type Percent = _envoy_type_Percent; export type Percent__Output = _envoy_type_Percent__Output; export type FractionalPercent = _envoy_type_FractionalPercent; export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; - export type SemanticVersion = _envoy_type_SemanticVersion; - export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; - export type Int64Range = _envoy_type_Int64Range; - export type Int64Range__Output = _envoy_type_Int64Range__Output; - export type Int32Range = _envoy_type_Int32Range; - export type Int32Range__Output = _envoy_type_Int32Range__Output; - export type DoubleRange = _envoy_type_DoubleRange; - export type DoubleRange__Output = _envoy_type_DoubleRange__Output; export namespace matcher { export type StringMatcher = _envoy_type_matcher_StringMatcher; export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; @@ -318,9 +312,15 @@ export namespace messages { export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; } + export type Int64Range = _envoy_type_Int64Range; + export type Int64Range__Output = _envoy_type_Int64Range__Output; + export type Int32Range = _envoy_type_Int32Range; + export type Int32Range__Output = _envoy_type_Int32Range__Output; + export type DoubleRange = _envoy_type_DoubleRange; + export type DoubleRange__Output = _envoy_type_DoubleRange__Output; export type CodecClientType = _envoy_type_CodecClientType; - } - export namespace annotations { + export type SemanticVersion = _envoy_type_SemanticVersion; + export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; } } export namespace udpa { @@ -512,6 +512,18 @@ export namespace ClientInterfaces { } export namespace UpstreamConnectionOptions { } + export namespace cluster { + export namespace Filter { + } + export namespace CircuitBreakers { + export namespace Thresholds { + export namespace RetryBudget { + } + } + } + export namespace OutlierDetection { + } + } export namespace auth { export namespace UpstreamTlsContext { } @@ -539,41 +551,23 @@ export namespace ClientInterfaces { } } export namespace core { - export namespace Locality { - } - export namespace BuildVersion { - } - export namespace Extension { - } - export namespace Node { - } - export namespace Metadata { - } - export namespace RuntimeUInt32 { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { - } - export namespace HeaderMap { - } - export namespace DataSource { - } - export namespace RetryPolicy { + export namespace TcpProtocolOptions { } - export namespace RemoteDataSource { + export namespace UpstreamHttpProtocolOptions { } - export namespace AsyncDataSource { + export namespace HttpProtocolOptions { } - export namespace TransportSocket { + export namespace Http1ProtocolOptions { + export namespace HeaderKeyFormat { + export namespace ProperCaseWords { + } + } } - export namespace RuntimeFractionalPercent { + export namespace Http2ProtocolOptions { + export namespace SettingsParameter { + } } - export namespace ControlPlane { + export namespace GrpcProtocolOptions { } export namespace HealthCheck { export namespace Payload { @@ -613,29 +607,41 @@ export namespace ClientInterfaces { } export namespace ConfigSource { } - export namespace TcpProtocolOptions { + export namespace Locality { } - export namespace UpstreamHttpProtocolOptions { + export namespace BuildVersion { } - export namespace HttpProtocolOptions { + export namespace Extension { } - export namespace Http1ProtocolOptions { - export namespace HeaderKeyFormat { - export namespace ProperCaseWords { - } - } + export namespace Node { } - export namespace Http2ProtocolOptions { - export namespace SettingsParameter { - } + export namespace Metadata { } - export namespace GrpcProtocolOptions { + export namespace RuntimeUInt32 { } - export namespace SocketOption { + export namespace RuntimeDouble { } - export namespace HttpUri { + export namespace RuntimeFeatureFlag { } - export namespace BackoffStrategy { + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HeaderMap { + } + export namespace DataSource { + } + export namespace RetryPolicy { + } + export namespace RemoteDataSource { + } + export namespace AsyncDataSource { + } + export namespace TransportSocket { + } + export namespace RuntimeFractionalPercent { + } + export namespace ControlPlane { } export namespace EventServiceConfig { } @@ -661,17 +667,11 @@ export namespace ClientInterfaces { } } } - } - export namespace cluster { - export namespace CircuitBreakers { - export namespace Thresholds { - export namespace RetryBudget { - } - } + export namespace HttpUri { } - export namespace Filter { + export namespace BackoffStrategy { } - export namespace OutlierDetection { + export namespace SocketOption { } } export namespace ClusterLoadAssignment { @@ -692,19 +692,13 @@ export namespace ClientInterfaces { } } } + export namespace annotations { + } export namespace type { export namespace Percent { } export namespace FractionalPercent { } - export namespace SemanticVersion { - } - export namespace Int64Range { - } - export namespace Int32Range { - } - export namespace DoubleRange { - } export namespace matcher { export namespace StringMatcher { } @@ -717,8 +711,14 @@ export namespace ClientInterfaces { export namespace RegexMatchAndSubstitute { } } - } - export namespace annotations { + export namespace Int64Range { + } + export namespace Int32Range { + } + export namespace DoubleRange { + } + export namespace SemanticVersion { + } } } export namespace udpa { @@ -890,6 +890,11 @@ export interface ProtoGrpcType { LoadBalancingPolicy: MessageTypeDefinition UpstreamBindConfig: MessageTypeDefinition UpstreamConnectionOptions: MessageTypeDefinition + cluster: { + Filter: MessageTypeDefinition + CircuitBreakers: MessageTypeDefinition + OutlierDetection: MessageTypeDefinition + } auth: { UpstreamTlsContext: MessageTypeDefinition DownstreamTlsContext: MessageTypeDefinition @@ -904,6 +909,26 @@ export interface ProtoGrpcType { CertificateValidationContext: MessageTypeDefinition } core: { + TcpProtocolOptions: MessageTypeDefinition + UpstreamHttpProtocolOptions: MessageTypeDefinition + HttpProtocolOptions: MessageTypeDefinition + Http1ProtocolOptions: MessageTypeDefinition + Http2ProtocolOptions: MessageTypeDefinition + GrpcProtocolOptions: MessageTypeDefinition + HealthStatus: EnumTypeDefinition + HealthCheck: MessageTypeDefinition + Pipe: MessageTypeDefinition + SocketAddress: MessageTypeDefinition + TcpKeepalive: MessageTypeDefinition + BindConfig: MessageTypeDefinition + Address: MessageTypeDefinition + CidrRange: MessageTypeDefinition + ApiVersion: EnumTypeDefinition + ApiConfigSource: MessageTypeDefinition + AggregatedConfigSource: MessageTypeDefinition + SelfConfigSource: MessageTypeDefinition + RateLimitSettings: MessageTypeDefinition + ConfigSource: MessageTypeDefinition RoutingPriority: EnumTypeDefinition RequestMethod: EnumTypeDefinition TrafficDirection: EnumTypeDefinition @@ -925,36 +950,11 @@ export interface ProtoGrpcType { TransportSocket: MessageTypeDefinition RuntimeFractionalPercent: MessageTypeDefinition ControlPlane: MessageTypeDefinition - HealthStatus: EnumTypeDefinition - HealthCheck: MessageTypeDefinition - Pipe: MessageTypeDefinition - SocketAddress: MessageTypeDefinition - TcpKeepalive: MessageTypeDefinition - BindConfig: MessageTypeDefinition - Address: MessageTypeDefinition - CidrRange: MessageTypeDefinition - ApiVersion: EnumTypeDefinition - ApiConfigSource: MessageTypeDefinition - AggregatedConfigSource: MessageTypeDefinition - SelfConfigSource: MessageTypeDefinition - RateLimitSettings: MessageTypeDefinition - ConfigSource: MessageTypeDefinition - TcpProtocolOptions: MessageTypeDefinition - UpstreamHttpProtocolOptions: MessageTypeDefinition - HttpProtocolOptions: MessageTypeDefinition - Http1ProtocolOptions: MessageTypeDefinition - Http2ProtocolOptions: MessageTypeDefinition - GrpcProtocolOptions: MessageTypeDefinition - SocketOption: MessageTypeDefinition - HttpUri: MessageTypeDefinition - BackoffStrategy: MessageTypeDefinition EventServiceConfig: MessageTypeDefinition GrpcService: MessageTypeDefinition - } - cluster: { - CircuitBreakers: MessageTypeDefinition - Filter: MessageTypeDefinition - OutlierDetection: MessageTypeDefinition + HttpUri: MessageTypeDefinition + BackoffStrategy: MessageTypeDefinition + SocketOption: MessageTypeDefinition } ClusterLoadAssignment: MessageTypeDefinition endpoint: { @@ -964,22 +964,22 @@ export interface ProtoGrpcType { } } } + annotations: { + } type: { Percent: MessageTypeDefinition FractionalPercent: MessageTypeDefinition - SemanticVersion: MessageTypeDefinition - Int64Range: MessageTypeDefinition - Int32Range: MessageTypeDefinition - DoubleRange: MessageTypeDefinition matcher: { StringMatcher: MessageTypeDefinition ListStringMatcher: MessageTypeDefinition RegexMatcher: MessageTypeDefinition RegexMatchAndSubstitute: MessageTypeDefinition } + Int64Range: MessageTypeDefinition + Int32Range: MessageTypeDefinition + DoubleRange: MessageTypeDefinition CodecClientType: EnumTypeDefinition - } - annotations: { + SemanticVersion: MessageTypeDefinition } } udpa: { @@ -1105,6 +1105,18 @@ export namespace ServiceHandlers { } export namespace UpstreamConnectionOptions { } + export namespace cluster { + export namespace Filter { + } + export namespace CircuitBreakers { + export namespace Thresholds { + export namespace RetryBudget { + } + } + } + export namespace OutlierDetection { + } + } export namespace auth { export namespace UpstreamTlsContext { } @@ -1132,41 +1144,23 @@ export namespace ServiceHandlers { } } export namespace core { - export namespace Locality { - } - export namespace BuildVersion { - } - export namespace Extension { - } - export namespace Node { - } - export namespace Metadata { - } - export namespace RuntimeUInt32 { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { - } - export namespace HeaderMap { - } - export namespace DataSource { - } - export namespace RetryPolicy { + export namespace TcpProtocolOptions { } - export namespace RemoteDataSource { + export namespace UpstreamHttpProtocolOptions { } - export namespace AsyncDataSource { + export namespace HttpProtocolOptions { } - export namespace TransportSocket { + export namespace Http1ProtocolOptions { + export namespace HeaderKeyFormat { + export namespace ProperCaseWords { + } + } } - export namespace RuntimeFractionalPercent { + export namespace Http2ProtocolOptions { + export namespace SettingsParameter { + } } - export namespace ControlPlane { + export namespace GrpcProtocolOptions { } export namespace HealthCheck { export namespace Payload { @@ -1206,29 +1200,41 @@ export namespace ServiceHandlers { } export namespace ConfigSource { } - export namespace TcpProtocolOptions { + export namespace Locality { } - export namespace UpstreamHttpProtocolOptions { + export namespace BuildVersion { } - export namespace HttpProtocolOptions { + export namespace Extension { } - export namespace Http1ProtocolOptions { - export namespace HeaderKeyFormat { - export namespace ProperCaseWords { - } - } + export namespace Node { } - export namespace Http2ProtocolOptions { - export namespace SettingsParameter { - } + export namespace Metadata { } - export namespace GrpcProtocolOptions { + export namespace RuntimeUInt32 { } - export namespace SocketOption { + export namespace RuntimeDouble { } - export namespace HttpUri { + export namespace RuntimeFeatureFlag { } - export namespace BackoffStrategy { + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HeaderMap { + } + export namespace DataSource { + } + export namespace RetryPolicy { + } + export namespace RemoteDataSource { + } + export namespace AsyncDataSource { + } + export namespace TransportSocket { + } + export namespace RuntimeFractionalPercent { + } + export namespace ControlPlane { } export namespace EventServiceConfig { } @@ -1254,17 +1260,11 @@ export namespace ServiceHandlers { } } } - } - export namespace cluster { - export namespace CircuitBreakers { - export namespace Thresholds { - export namespace RetryBudget { - } - } + export namespace HttpUri { } - export namespace Filter { + export namespace BackoffStrategy { } - export namespace OutlierDetection { + export namespace SocketOption { } } export namespace ClusterLoadAssignment { @@ -1285,19 +1285,13 @@ export namespace ServiceHandlers { } } } + export namespace annotations { + } export namespace type { export namespace Percent { } export namespace FractionalPercent { } - export namespace SemanticVersion { - } - export namespace Int64Range { - } - export namespace Int32Range { - } - export namespace DoubleRange { - } export namespace matcher { export namespace StringMatcher { } @@ -1310,8 +1304,14 @@ export namespace ServiceHandlers { export namespace RegexMatchAndSubstitute { } } - } - export namespace annotations { + export namespace Int64Range { + } + export namespace Int32Range { + } + export namespace DoubleRange { + } + export namespace SemanticVersion { + } } } export namespace udpa { diff --git a/packages/grpc-js/src/generated/endpoint.d.ts b/packages/grpc-js/src/generated/endpoint.ts similarity index 100% rename from packages/grpc-js/src/generated/endpoint.d.ts rename to packages/grpc-js/src/generated/endpoint.ts index e796f717f..b9d7dbeea 100644 --- a/packages/grpc-js/src/generated/endpoint.d.ts +++ b/packages/grpc-js/src/generated/endpoint.ts @@ -5,12 +5,8 @@ import { ClusterLoadAssignment as _envoy_api_v2_ClusterLoadAssignment, ClusterLo import { Endpoint as _envoy_api_v2_endpoint_Endpoint, Endpoint__Output as _envoy_api_v2_endpoint_Endpoint__Output } from './envoy/api/v2/endpoint/Endpoint'; import { LbEndpoint as _envoy_api_v2_endpoint_LbEndpoint, LbEndpoint__Output as _envoy_api_v2_endpoint_LbEndpoint__Output } from './envoy/api/v2/endpoint/LbEndpoint'; import { LocalityLbEndpoints as _envoy_api_v2_endpoint_LocalityLbEndpoints, LocalityLbEndpoints__Output as _envoy_api_v2_endpoint_LocalityLbEndpoints__Output } from './envoy/api/v2/endpoint/LocalityLbEndpoints'; -import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; -import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; -import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; -import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; -import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; -import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; +import { HealthStatus as _envoy_api_v2_core_HealthStatus } from './envoy/api/v2/core/HealthStatus'; +import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from './envoy/api/v2/core/HealthCheck'; import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; @@ -32,17 +28,21 @@ import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource_ import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { HealthStatus as _envoy_api_v2_core_HealthStatus } from './envoy/api/v2/core/HealthStatus'; -import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from './envoy/api/v2/core/HealthCheck'; -import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; +import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; +import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; +import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; +import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; import { EventServiceConfig as _envoy_api_v2_core_EventServiceConfig, EventServiceConfig__Output as _envoy_api_v2_core_EventServiceConfig__Output } from './envoy/api/v2/core/EventServiceConfig'; import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; -import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; import { CodecClientType as _envoy_type_CodecClientType } from './envoy/type/CodecClientType'; +import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; @@ -135,18 +135,9 @@ export namespace messages { export type LocalityLbEndpoints__Output = _envoy_api_v2_endpoint_LocalityLbEndpoints__Output; } export namespace core { - export type Pipe = _envoy_api_v2_core_Pipe; - export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; - export type SocketAddress = _envoy_api_v2_core_SocketAddress; - export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; - export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; - export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; - export type BindConfig = _envoy_api_v2_core_BindConfig; - export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; - export type Address = _envoy_api_v2_core_Address; - export type Address__Output = _envoy_api_v2_core_Address__Output; - export type CidrRange = _envoy_api_v2_core_CidrRange; - export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + export type HealthStatus = _envoy_api_v2_core_HealthStatus; + export type HealthCheck = _envoy_api_v2_core_HealthCheck; + export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; export type RequestMethod = _envoy_api_v2_core_RequestMethod; export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; @@ -186,17 +177,26 @@ export namespace messages { export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; export type ControlPlane = _envoy_api_v2_core_ControlPlane; export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - export type HealthStatus = _envoy_api_v2_core_HealthStatus; - export type HealthCheck = _envoy_api_v2_core_HealthCheck; - export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; - export type SocketOption = _envoy_api_v2_core_SocketOption; - export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; - export type HttpUri = _envoy_api_v2_core_HttpUri; - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type Pipe = _envoy_api_v2_core_Pipe; + export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + export type SocketAddress = _envoy_api_v2_core_SocketAddress; + export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; + export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; + export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + export type BindConfig = _envoy_api_v2_core_BindConfig; + export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; + export type Address = _envoy_api_v2_core_Address; + export type Address__Output = _envoy_api_v2_core_Address__Output; + export type CidrRange = _envoy_api_v2_core_CidrRange; + export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; export type EventServiceConfig = _envoy_api_v2_core_EventServiceConfig; export type EventServiceConfig__Output = _envoy_api_v2_core_EventServiceConfig__Output; export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type SocketOption = _envoy_api_v2_core_SocketOption; + export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; export type GrpcService = _envoy_api_v2_core_GrpcService; export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; } @@ -207,9 +207,9 @@ export namespace messages { export type Percent__Output = _envoy_type_Percent__Output; export type FractionalPercent = _envoy_type_FractionalPercent; export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + export type CodecClientType = _envoy_type_CodecClientType; export type SemanticVersion = _envoy_type_SemanticVersion; export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; - export type CodecClientType = _envoy_type_CodecClientType; export namespace matcher { export type StringMatcher = _envoy_type_matcher_StringMatcher; export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; @@ -400,17 +400,21 @@ export namespace ClientInterfaces { } } export namespace core { - export namespace Pipe { - } - export namespace SocketAddress { - } - export namespace TcpKeepalive { - } - export namespace BindConfig { - } - export namespace Address { - } - export namespace CidrRange { + export namespace HealthCheck { + export namespace Payload { + } + export namespace HttpHealthCheck { + } + export namespace TcpHealthCheck { + } + export namespace RedisHealthCheck { + } + export namespace GrpcHealthCheck { + } + export namespace CustomHealthCheck { + } + export namespace TlsOptions { + } } export namespace Locality { } @@ -448,30 +452,26 @@ export namespace ClientInterfaces { } export namespace ControlPlane { } - export namespace HealthCheck { - export namespace Payload { - } - export namespace HttpHealthCheck { - } - export namespace TcpHealthCheck { - } - export namespace RedisHealthCheck { - } - export namespace GrpcHealthCheck { - } - export namespace CustomHealthCheck { - } - export namespace TlsOptions { - } + export namespace Pipe { } - export namespace SocketOption { + export namespace SocketAddress { } - export namespace HttpUri { + export namespace TcpKeepalive { + } + export namespace BindConfig { + } + export namespace Address { + } + export namespace CidrRange { } export namespace EventServiceConfig { } export namespace BackoffStrategy { } + export namespace HttpUri { + } + export namespace SocketOption { + } export namespace GrpcService { export namespace EnvoyGrpc { } @@ -698,12 +698,8 @@ export interface ProtoGrpcType { LocalityLbEndpoints: MessageTypeDefinition } core: { - Pipe: MessageTypeDefinition - SocketAddress: MessageTypeDefinition - TcpKeepalive: MessageTypeDefinition - BindConfig: MessageTypeDefinition - Address: MessageTypeDefinition - CidrRange: MessageTypeDefinition + HealthStatus: EnumTypeDefinition + HealthCheck: MessageTypeDefinition RoutingPriority: EnumTypeDefinition RequestMethod: EnumTypeDefinition TrafficDirection: EnumTypeDefinition @@ -725,12 +721,16 @@ export interface ProtoGrpcType { TransportSocket: MessageTypeDefinition RuntimeFractionalPercent: MessageTypeDefinition ControlPlane: MessageTypeDefinition - HealthStatus: EnumTypeDefinition - HealthCheck: MessageTypeDefinition - SocketOption: MessageTypeDefinition - HttpUri: MessageTypeDefinition + Pipe: MessageTypeDefinition + SocketAddress: MessageTypeDefinition + TcpKeepalive: MessageTypeDefinition + BindConfig: MessageTypeDefinition + Address: MessageTypeDefinition + CidrRange: MessageTypeDefinition EventServiceConfig: MessageTypeDefinition BackoffStrategy: MessageTypeDefinition + HttpUri: MessageTypeDefinition + SocketOption: MessageTypeDefinition GrpcService: MessageTypeDefinition } } @@ -738,8 +738,8 @@ export interface ProtoGrpcType { type: { Percent: MessageTypeDefinition FractionalPercent: MessageTypeDefinition - SemanticVersion: MessageTypeDefinition CodecClientType: EnumTypeDefinition + SemanticVersion: MessageTypeDefinition matcher: { StringMatcher: MessageTypeDefinition ListStringMatcher: MessageTypeDefinition @@ -857,17 +857,21 @@ export namespace ServiceHandlers { } } export namespace core { - export namespace Pipe { - } - export namespace SocketAddress { - } - export namespace TcpKeepalive { - } - export namespace BindConfig { - } - export namespace Address { - } - export namespace CidrRange { + export namespace HealthCheck { + export namespace Payload { + } + export namespace HttpHealthCheck { + } + export namespace TcpHealthCheck { + } + export namespace RedisHealthCheck { + } + export namespace GrpcHealthCheck { + } + export namespace CustomHealthCheck { + } + export namespace TlsOptions { + } } export namespace Locality { } @@ -905,30 +909,26 @@ export namespace ServiceHandlers { } export namespace ControlPlane { } - export namespace HealthCheck { - export namespace Payload { - } - export namespace HttpHealthCheck { - } - export namespace TcpHealthCheck { - } - export namespace RedisHealthCheck { - } - export namespace GrpcHealthCheck { - } - export namespace CustomHealthCheck { - } - export namespace TlsOptions { - } + export namespace Pipe { } - export namespace SocketOption { + export namespace SocketAddress { } - export namespace HttpUri { + export namespace TcpKeepalive { + } + export namespace BindConfig { + } + export namespace Address { + } + export namespace CidrRange { } export namespace EventServiceConfig { } export namespace BackoffStrategy { } + export namespace HttpUri { + } + export namespace SocketOption { + } export namespace GrpcService { export namespace EnvoyGrpc { } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Cluster.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/Cluster.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Listener.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/Listener.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/Listener.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Resource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/Resource.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/Resource.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/Resource.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Vhds.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/Vhds.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/Vhds.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/Vhds.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/PrivateKeyProvider.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/PrivateKeyProvider.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/auth/PrivateKeyProvider.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/auth/PrivateKeyProvider.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/Secret.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/Secret.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/auth/Secret.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/auth/Secret.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsParameters.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsParameters.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/auth/TlsParameters.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/auth/TlsParameters.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsSessionTicketKeys.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsSessionTicketKeys.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/auth/TlsSessionTicketKeys.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/auth/TlsSessionTicketKeys.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Address.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Address.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/Address.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/Address.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/AggregatedConfigSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/AggregatedConfigSource.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/AggregatedConfigSource.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/AggregatedConfigSource.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ApiVersion.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiVersion.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/ApiVersion.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/ApiVersion.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/AsyncDataSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/AsyncDataSource.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/AsyncDataSource.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/AsyncDataSource.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ControlPlane.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ControlPlane.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/ControlPlane.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/ControlPlane.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/DataSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/DataSource.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/DataSource.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/DataSource.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/EventServiceConfig.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/EventServiceConfig.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/EventServiceConfig.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/EventServiceConfig.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Extension.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Extension.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/Extension.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/Extension.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderMap.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderMap.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/HeaderMap.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/HeaderMap.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValue.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValue.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValue.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValue.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthStatus.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthStatus.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/HealthStatus.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/HealthStatus.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Locality.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Locality.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/Locality.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/Locality.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Node.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Node.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/Node.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/Node.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Pipe.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Pipe.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/Pipe.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/Pipe.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RequestMethod.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RequestMethod.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/RequestMethod.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/RequestMethod.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RoutingPriority.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RoutingPriority.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/RoutingPriority.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/RoutingPriority.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeDouble.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeDouble.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeDouble.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeDouble.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeUInt32.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeUInt32.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeUInt32.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeUInt32.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/SelfConfigSource.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/SelfConfigSource.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/SelfConfigSource.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/SelfConfigSource.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/SocketAddress.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/SocketAddress.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/SocketAddress.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/SocketAddress.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/SocketOption.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/SocketOption.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/SocketOption.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/SocketOption.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/TcpProtocolOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/TcpProtocolOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/TcpProtocolOptions.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/TcpProtocolOptions.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/TrafficDirection.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/TrafficDirection.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/TrafficDirection.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/TrafficDirection.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/TransportSocket.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/TransportSocket.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/TransportSocket.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/TransportSocket.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/UpstreamHttpProtocolOptions.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/UpstreamHttpProtocolOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/core/UpstreamHttpProtocolOptions.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/core/UpstreamHttpProtocolOptions.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/ActiveRawUdpListenerConfig.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/ActiveRawUdpListenerConfig.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/listener/ActiveRawUdpListenerConfig.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/listener/ActiveRawUdpListenerConfig.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/Filter.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/Filter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/listener/Filter.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/listener/Filter.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilterChainMatchPredicate.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilterChainMatchPredicate.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilterChainMatchPredicate.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilterChainMatchPredicate.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/UdpListenerConfig.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/UdpListenerConfig.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/listener/UdpListenerConfig.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/listener/UdpListenerConfig.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/Route.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/Route.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.d.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.d.ts rename to packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLogFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLogFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLogFilter.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLogFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AndFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AndFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AndFilter.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AndFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ExtensionFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ExtensionFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ExtensionFilter.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ExtensionFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/GrpcStatusFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/GrpcStatusFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/GrpcStatusFilter.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/GrpcStatusFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/NotHealthCheckFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/NotHealthCheckFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/NotHealthCheckFilter.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/NotHealthCheckFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/OrFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/OrFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/OrFilter.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/OrFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ResponseFlagFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ResponseFlagFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ResponseFlagFilter.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ResponseFlagFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/TraceableFilter.d.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/TraceableFilter.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/TraceableFilter.d.ts rename to packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/TraceableFilter.ts diff --git a/packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.d.ts b/packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.d.ts rename to packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.ts diff --git a/packages/grpc-js/src/generated/envoy/service/discovery/v2/AdsDummy.d.ts b/packages/grpc-js/src/generated/envoy/service/discovery/v2/AdsDummy.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/service/discovery/v2/AdsDummy.d.ts rename to packages/grpc-js/src/generated/envoy/service/discovery/v2/AdsDummy.ts diff --git a/packages/grpc-js/src/generated/envoy/type/CodecClientType.d.ts b/packages/grpc-js/src/generated/envoy/type/CodecClientType.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/CodecClientType.d.ts rename to packages/grpc-js/src/generated/envoy/type/CodecClientType.ts diff --git a/packages/grpc-js/src/generated/envoy/type/DoubleRange.d.ts b/packages/grpc-js/src/generated/envoy/type/DoubleRange.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/DoubleRange.d.ts rename to packages/grpc-js/src/generated/envoy/type/DoubleRange.ts diff --git a/packages/grpc-js/src/generated/envoy/type/FractionalPercent.d.ts b/packages/grpc-js/src/generated/envoy/type/FractionalPercent.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/FractionalPercent.d.ts rename to packages/grpc-js/src/generated/envoy/type/FractionalPercent.ts diff --git a/packages/grpc-js/src/generated/envoy/type/Int32Range.d.ts b/packages/grpc-js/src/generated/envoy/type/Int32Range.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/Int32Range.d.ts rename to packages/grpc-js/src/generated/envoy/type/Int32Range.ts diff --git a/packages/grpc-js/src/generated/envoy/type/Int64Range.d.ts b/packages/grpc-js/src/generated/envoy/type/Int64Range.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/Int64Range.d.ts rename to packages/grpc-js/src/generated/envoy/type/Int64Range.ts diff --git a/packages/grpc-js/src/generated/envoy/type/Percent.d.ts b/packages/grpc-js/src/generated/envoy/type/Percent.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/Percent.d.ts rename to packages/grpc-js/src/generated/envoy/type/Percent.ts diff --git a/packages/grpc-js/src/generated/envoy/type/SemanticVersion.d.ts b/packages/grpc-js/src/generated/envoy/type/SemanticVersion.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/SemanticVersion.d.ts rename to packages/grpc-js/src/generated/envoy/type/SemanticVersion.ts diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/ListStringMatcher.d.ts b/packages/grpc-js/src/generated/envoy/type/matcher/ListStringMatcher.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/matcher/ListStringMatcher.d.ts rename to packages/grpc-js/src/generated/envoy/type/matcher/ListStringMatcher.ts diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.d.ts b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.d.ts rename to packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.ts diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.d.ts b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.d.ts rename to packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.ts diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/StringMatcher.d.ts b/packages/grpc-js/src/generated/envoy/type/matcher/StringMatcher.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/matcher/StringMatcher.d.ts rename to packages/grpc-js/src/generated/envoy/type/matcher/StringMatcher.ts diff --git a/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKey.d.ts b/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKey.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKey.d.ts rename to packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKey.ts diff --git a/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.d.ts b/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.d.ts rename to packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.ts diff --git a/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.d.ts b/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts similarity index 100% rename from packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.d.ts rename to packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts diff --git a/packages/grpc-js/src/generated/google/api/CustomHttpPattern.d.ts b/packages/grpc-js/src/generated/google/api/CustomHttpPattern.ts similarity index 100% rename from packages/grpc-js/src/generated/google/api/CustomHttpPattern.d.ts rename to packages/grpc-js/src/generated/google/api/CustomHttpPattern.ts diff --git a/packages/grpc-js/src/generated/google/api/Http.d.ts b/packages/grpc-js/src/generated/google/api/Http.ts similarity index 100% rename from packages/grpc-js/src/generated/google/api/Http.d.ts rename to packages/grpc-js/src/generated/google/api/Http.ts diff --git a/packages/grpc-js/src/generated/google/api/HttpRule.d.ts b/packages/grpc-js/src/generated/google/api/HttpRule.ts similarity index 100% rename from packages/grpc-js/src/generated/google/api/HttpRule.d.ts rename to packages/grpc-js/src/generated/google/api/HttpRule.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/Any.d.ts b/packages/grpc-js/src/generated/google/protobuf/Any.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/Any.d.ts rename to packages/grpc-js/src/generated/google/protobuf/Any.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/BoolValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/BoolValue.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/BoolValue.d.ts rename to packages/grpc-js/src/generated/google/protobuf/BoolValue.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/BytesValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/BytesValue.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/BytesValue.d.ts rename to packages/grpc-js/src/generated/google/protobuf/BytesValue.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/DescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/DescriptorProto.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/DescriptorProto.d.ts rename to packages/grpc-js/src/generated/google/protobuf/DescriptorProto.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/DoubleValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/DoubleValue.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/DoubleValue.d.ts rename to packages/grpc-js/src/generated/google/protobuf/DoubleValue.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/Duration.d.ts b/packages/grpc-js/src/generated/google/protobuf/Duration.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/Duration.d.ts rename to packages/grpc-js/src/generated/google/protobuf/Duration.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/Empty.d.ts b/packages/grpc-js/src/generated/google/protobuf/Empty.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/Empty.d.ts rename to packages/grpc-js/src/generated/google/protobuf/Empty.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.d.ts rename to packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/EnumOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/EnumOptions.d.ts rename to packages/grpc-js/src/generated/google/protobuf/EnumOptions.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.d.ts rename to packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.d.ts rename to packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.d.ts rename to packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/FieldOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/FieldOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/FieldOptions.d.ts rename to packages/grpc-js/src/generated/google/protobuf/FieldOptions.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.d.ts rename to packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/FileDescriptorSet.d.ts b/packages/grpc-js/src/generated/google/protobuf/FileDescriptorSet.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/FileDescriptorSet.d.ts rename to packages/grpc-js/src/generated/google/protobuf/FileDescriptorSet.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/FileOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/FileOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/FileOptions.d.ts rename to packages/grpc-js/src/generated/google/protobuf/FileOptions.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/FloatValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/FloatValue.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/FloatValue.d.ts rename to packages/grpc-js/src/generated/google/protobuf/FloatValue.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/GeneratedCodeInfo.d.ts b/packages/grpc-js/src/generated/google/protobuf/GeneratedCodeInfo.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/GeneratedCodeInfo.d.ts rename to packages/grpc-js/src/generated/google/protobuf/GeneratedCodeInfo.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/Int32Value.d.ts b/packages/grpc-js/src/generated/google/protobuf/Int32Value.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/Int32Value.d.ts rename to packages/grpc-js/src/generated/google/protobuf/Int32Value.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/Int64Value.d.ts b/packages/grpc-js/src/generated/google/protobuf/Int64Value.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/Int64Value.d.ts rename to packages/grpc-js/src/generated/google/protobuf/Int64Value.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/ListValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/ListValue.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/ListValue.d.ts rename to packages/grpc-js/src/generated/google/protobuf/ListValue.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/MessageOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/MessageOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/MessageOptions.d.ts rename to packages/grpc-js/src/generated/google/protobuf/MessageOptions.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.d.ts rename to packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/MethodOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/MethodOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/MethodOptions.d.ts rename to packages/grpc-js/src/generated/google/protobuf/MethodOptions.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/NullValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/NullValue.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/NullValue.d.ts rename to packages/grpc-js/src/generated/google/protobuf/NullValue.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.d.ts rename to packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/OneofOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/OneofOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/OneofOptions.d.ts rename to packages/grpc-js/src/generated/google/protobuf/OneofOptions.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.d.ts b/packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.d.ts rename to packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/ServiceOptions.d.ts b/packages/grpc-js/src/generated/google/protobuf/ServiceOptions.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/ServiceOptions.d.ts rename to packages/grpc-js/src/generated/google/protobuf/ServiceOptions.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/SourceCodeInfo.d.ts b/packages/grpc-js/src/generated/google/protobuf/SourceCodeInfo.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/SourceCodeInfo.d.ts rename to packages/grpc-js/src/generated/google/protobuf/SourceCodeInfo.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/StringValue.d.ts b/packages/grpc-js/src/generated/google/protobuf/StringValue.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/StringValue.d.ts rename to packages/grpc-js/src/generated/google/protobuf/StringValue.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/Struct.d.ts b/packages/grpc-js/src/generated/google/protobuf/Struct.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/Struct.d.ts rename to packages/grpc-js/src/generated/google/protobuf/Struct.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/Timestamp.d.ts b/packages/grpc-js/src/generated/google/protobuf/Timestamp.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/Timestamp.d.ts rename to packages/grpc-js/src/generated/google/protobuf/Timestamp.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/UInt32Value.d.ts b/packages/grpc-js/src/generated/google/protobuf/UInt32Value.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/UInt32Value.d.ts rename to packages/grpc-js/src/generated/google/protobuf/UInt32Value.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/UInt64Value.d.ts b/packages/grpc-js/src/generated/google/protobuf/UInt64Value.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/UInt64Value.d.ts rename to packages/grpc-js/src/generated/google/protobuf/UInt64Value.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/UninterpretedOption.d.ts b/packages/grpc-js/src/generated/google/protobuf/UninterpretedOption.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/UninterpretedOption.d.ts rename to packages/grpc-js/src/generated/google/protobuf/UninterpretedOption.ts diff --git a/packages/grpc-js/src/generated/google/protobuf/Value.d.ts b/packages/grpc-js/src/generated/google/protobuf/Value.ts similarity index 100% rename from packages/grpc-js/src/generated/google/protobuf/Value.d.ts rename to packages/grpc-js/src/generated/google/protobuf/Value.ts diff --git a/packages/grpc-js/src/generated/google/rpc/Status.d.ts b/packages/grpc-js/src/generated/google/rpc/Status.ts similarity index 100% rename from packages/grpc-js/src/generated/google/rpc/Status.d.ts rename to packages/grpc-js/src/generated/google/rpc/Status.ts diff --git a/packages/grpc-js/src/generated/listener.d.ts b/packages/grpc-js/src/generated/listener.ts similarity index 100% rename from packages/grpc-js/src/generated/listener.d.ts rename to packages/grpc-js/src/generated/listener.ts index 9d6d8cd6d..ef657d3a3 100644 --- a/packages/grpc-js/src/generated/listener.d.ts +++ b/packages/grpc-js/src/generated/listener.ts @@ -2,6 +2,7 @@ import * as grpc from '../index'; import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; import { Listener as _envoy_api_v2_Listener, Listener__Output as _envoy_api_v2_Listener__Output } from './envoy/api/v2/Listener'; +import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; @@ -29,7 +30,6 @@ import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource_ import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; @@ -39,24 +39,24 @@ import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSour import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; -import { UdpListenerConfig as _envoy_api_v2_listener_UdpListenerConfig, UdpListenerConfig__Output as _envoy_api_v2_listener_UdpListenerConfig__Output } from './envoy/api/v2/listener/UdpListenerConfig'; -import { ActiveRawUdpListenerConfig as _envoy_api_v2_listener_ActiveRawUdpListenerConfig, ActiveRawUdpListenerConfig__Output as _envoy_api_v2_listener_ActiveRawUdpListenerConfig__Output } from './envoy/api/v2/listener/ActiveRawUdpListenerConfig'; import { Filter as _envoy_api_v2_listener_Filter, Filter__Output as _envoy_api_v2_listener_Filter__Output } from './envoy/api/v2/listener/Filter'; import { FilterChainMatch as _envoy_api_v2_listener_FilterChainMatch, FilterChainMatch__Output as _envoy_api_v2_listener_FilterChainMatch__Output } from './envoy/api/v2/listener/FilterChainMatch'; import { FilterChain as _envoy_api_v2_listener_FilterChain, FilterChain__Output as _envoy_api_v2_listener_FilterChain__Output } from './envoy/api/v2/listener/FilterChain'; import { ListenerFilterChainMatchPredicate as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate, ListenerFilterChainMatchPredicate__Output as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output } from './envoy/api/v2/listener/ListenerFilterChainMatchPredicate'; import { ListenerFilter as _envoy_api_v2_listener_ListenerFilter, ListenerFilter__Output as _envoy_api_v2_listener_ListenerFilter__Output } from './envoy/api/v2/listener/ListenerFilter'; +import { UdpListenerConfig as _envoy_api_v2_listener_UdpListenerConfig, UdpListenerConfig__Output as _envoy_api_v2_listener_UdpListenerConfig__Output } from './envoy/api/v2/listener/UdpListenerConfig'; +import { ActiveRawUdpListenerConfig as _envoy_api_v2_listener_ActiveRawUdpListenerConfig, ActiveRawUdpListenerConfig__Output as _envoy_api_v2_listener_ActiveRawUdpListenerConfig__Output } from './envoy/api/v2/listener/ActiveRawUdpListenerConfig'; import { UpstreamTlsContext as _envoy_api_v2_auth_UpstreamTlsContext, UpstreamTlsContext__Output as _envoy_api_v2_auth_UpstreamTlsContext__Output } from './envoy/api/v2/auth/UpstreamTlsContext'; import { DownstreamTlsContext as _envoy_api_v2_auth_DownstreamTlsContext, DownstreamTlsContext__Output as _envoy_api_v2_auth_DownstreamTlsContext__Output } from './envoy/api/v2/auth/DownstreamTlsContext'; import { CommonTlsContext as _envoy_api_v2_auth_CommonTlsContext, CommonTlsContext__Output as _envoy_api_v2_auth_CommonTlsContext__Output } from './envoy/api/v2/auth/CommonTlsContext'; -import { GenericSecret as _envoy_api_v2_auth_GenericSecret, GenericSecret__Output as _envoy_api_v2_auth_GenericSecret__Output } from './envoy/api/v2/auth/GenericSecret'; -import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from './envoy/api/v2/auth/SdsSecretConfig'; -import { Secret as _envoy_api_v2_auth_Secret, Secret__Output as _envoy_api_v2_auth_Secret__Output } from './envoy/api/v2/auth/Secret'; import { TlsParameters as _envoy_api_v2_auth_TlsParameters, TlsParameters__Output as _envoy_api_v2_auth_TlsParameters__Output } from './envoy/api/v2/auth/TlsParameters'; import { PrivateKeyProvider as _envoy_api_v2_auth_PrivateKeyProvider, PrivateKeyProvider__Output as _envoy_api_v2_auth_PrivateKeyProvider__Output } from './envoy/api/v2/auth/PrivateKeyProvider'; import { TlsCertificate as _envoy_api_v2_auth_TlsCertificate, TlsCertificate__Output as _envoy_api_v2_auth_TlsCertificate__Output } from './envoy/api/v2/auth/TlsCertificate'; import { TlsSessionTicketKeys as _envoy_api_v2_auth_TlsSessionTicketKeys, TlsSessionTicketKeys__Output as _envoy_api_v2_auth_TlsSessionTicketKeys__Output } from './envoy/api/v2/auth/TlsSessionTicketKeys'; import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from './envoy/api/v2/auth/CertificateValidationContext'; +import { GenericSecret as _envoy_api_v2_auth_GenericSecret, GenericSecret__Output as _envoy_api_v2_auth_GenericSecret__Output } from './envoy/api/v2/auth/GenericSecret'; +import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from './envoy/api/v2/auth/SdsSecretConfig'; +import { Secret as _envoy_api_v2_auth_Secret, Secret__Output as _envoy_api_v2_auth_Secret__Output } from './envoy/api/v2/auth/Secret'; import { VirtualHost as _envoy_api_v2_route_VirtualHost, VirtualHost__Output as _envoy_api_v2_route_VirtualHost__Output } from './envoy/api/v2/route/VirtualHost'; import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from './envoy/api/v2/route/FilterAction'; import { Route as _envoy_api_v2_route_Route, Route__Output as _envoy_api_v2_route_Route__Output } from './envoy/api/v2/route/Route'; @@ -74,6 +74,7 @@ import { VirtualCluster as _envoy_api_v2_route_VirtualCluster, VirtualCluster__O import { RateLimit as _envoy_api_v2_route_RateLimit, RateLimit__Output as _envoy_api_v2_route_RateLimit__Output } from './envoy/api/v2/route/RateLimit'; import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from './envoy/api/v2/route/HeaderMatcher'; import { QueryParameterMatcher as _envoy_api_v2_route_QueryParameterMatcher, QueryParameterMatcher__Output as _envoy_api_v2_route_QueryParameterMatcher__Output } from './envoy/api/v2/route/QueryParameterMatcher'; +import { ApiListener as _envoy_config_listener_v2_ApiListener, ApiListener__Output as _envoy_config_listener_v2_ApiListener__Output } from './envoy/config/listener/v2/ApiListener'; import { AccessLog as _envoy_config_filter_accesslog_v2_AccessLog, AccessLog__Output as _envoy_config_filter_accesslog_v2_AccessLog__Output } from './envoy/config/filter/accesslog/v2/AccessLog'; import { AccessLogFilter as _envoy_config_filter_accesslog_v2_AccessLogFilter, AccessLogFilter__Output as _envoy_config_filter_accesslog_v2_AccessLogFilter__Output } from './envoy/config/filter/accesslog/v2/AccessLogFilter'; import { ComparisonFilter as _envoy_config_filter_accesslog_v2_ComparisonFilter, ComparisonFilter__Output as _envoy_config_filter_accesslog_v2_ComparisonFilter__Output } from './envoy/config/filter/accesslog/v2/ComparisonFilter'; @@ -88,17 +89,16 @@ import { HeaderFilter as _envoy_config_filter_accesslog_v2_HeaderFilter, HeaderF import { ResponseFlagFilter as _envoy_config_filter_accesslog_v2_ResponseFlagFilter, ResponseFlagFilter__Output as _envoy_config_filter_accesslog_v2_ResponseFlagFilter__Output } from './envoy/config/filter/accesslog/v2/ResponseFlagFilter'; import { GrpcStatusFilter as _envoy_config_filter_accesslog_v2_GrpcStatusFilter, GrpcStatusFilter__Output as _envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output } from './envoy/config/filter/accesslog/v2/GrpcStatusFilter'; import { ExtensionFilter as _envoy_config_filter_accesslog_v2_ExtensionFilter, ExtensionFilter__Output as _envoy_config_filter_accesslog_v2_ExtensionFilter__Output } from './envoy/config/filter/accesslog/v2/ExtensionFilter'; -import { ApiListener as _envoy_config_listener_v2_ApiListener, ApiListener__Output as _envoy_config_listener_v2_ApiListener__Output } from './envoy/config/listener/v2/ApiListener'; import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; -import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; -import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; -import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; +import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; +import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; import { CustomTag as _envoy_type_tracing_v2_CustomTag, CustomTag__Output as _envoy_type_tracing_v2_CustomTag__Output } from './envoy/type/tracing/v2/CustomTag'; import { MetadataKey as _envoy_type_metadata_v2_MetadataKey, MetadataKey__Output as _envoy_type_metadata_v2_MetadataKey__Output } from './envoy/type/metadata/v2/MetadataKey'; import { MetadataKind as _envoy_type_metadata_v2_MetadataKind, MetadataKind__Output as _envoy_type_metadata_v2_MetadataKind__Output } from './envoy/type/metadata/v2/MetadataKind'; @@ -146,6 +146,7 @@ import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_S import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; +import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; @@ -166,7 +167,6 @@ import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; -import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; import { Http as _google_api_Http, Http__Output as _google_api_Http__Output } from './google/api/Http'; import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from './google/api/HttpRule'; @@ -179,6 +179,8 @@ export namespace messages { export type Listener = _envoy_api_v2_Listener; export type Listener__Output = _envoy_api_v2_Listener__Output; export namespace core { + export type SocketOption = _envoy_api_v2_core_SocketOption; + export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; export type Pipe = _envoy_api_v2_core_Pipe; export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; export type SocketAddress = _envoy_api_v2_core_SocketAddress; @@ -230,8 +232,6 @@ export namespace messages { export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; export type ControlPlane = _envoy_api_v2_core_ControlPlane; export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - export type SocketOption = _envoy_api_v2_core_SocketOption; - export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; export type HttpUri = _envoy_api_v2_core_HttpUri; @@ -251,10 +251,6 @@ export namespace messages { export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; } export namespace listener { - export type UdpListenerConfig = _envoy_api_v2_listener_UdpListenerConfig; - export type UdpListenerConfig__Output = _envoy_api_v2_listener_UdpListenerConfig__Output; - export type ActiveRawUdpListenerConfig = _envoy_api_v2_listener_ActiveRawUdpListenerConfig; - export type ActiveRawUdpListenerConfig__Output = _envoy_api_v2_listener_ActiveRawUdpListenerConfig__Output; export type Filter = _envoy_api_v2_listener_Filter; export type Filter__Output = _envoy_api_v2_listener_Filter__Output; export type FilterChainMatch = _envoy_api_v2_listener_FilterChainMatch; @@ -265,6 +261,10 @@ export namespace messages { export type ListenerFilterChainMatchPredicate__Output = _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output; export type ListenerFilter = _envoy_api_v2_listener_ListenerFilter; export type ListenerFilter__Output = _envoy_api_v2_listener_ListenerFilter__Output; + export type UdpListenerConfig = _envoy_api_v2_listener_UdpListenerConfig; + export type UdpListenerConfig__Output = _envoy_api_v2_listener_UdpListenerConfig__Output; + export type ActiveRawUdpListenerConfig = _envoy_api_v2_listener_ActiveRawUdpListenerConfig; + export type ActiveRawUdpListenerConfig__Output = _envoy_api_v2_listener_ActiveRawUdpListenerConfig__Output; } export namespace auth { export type UpstreamTlsContext = _envoy_api_v2_auth_UpstreamTlsContext; @@ -273,12 +273,6 @@ export namespace messages { export type DownstreamTlsContext__Output = _envoy_api_v2_auth_DownstreamTlsContext__Output; export type CommonTlsContext = _envoy_api_v2_auth_CommonTlsContext; export type CommonTlsContext__Output = _envoy_api_v2_auth_CommonTlsContext__Output; - export type GenericSecret = _envoy_api_v2_auth_GenericSecret; - export type GenericSecret__Output = _envoy_api_v2_auth_GenericSecret__Output; - export type SdsSecretConfig = _envoy_api_v2_auth_SdsSecretConfig; - export type SdsSecretConfig__Output = _envoy_api_v2_auth_SdsSecretConfig__Output; - export type Secret = _envoy_api_v2_auth_Secret; - export type Secret__Output = _envoy_api_v2_auth_Secret__Output; export type TlsParameters = _envoy_api_v2_auth_TlsParameters; export type TlsParameters__Output = _envoy_api_v2_auth_TlsParameters__Output; export type PrivateKeyProvider = _envoy_api_v2_auth_PrivateKeyProvider; @@ -289,6 +283,12 @@ export namespace messages { export type TlsSessionTicketKeys__Output = _envoy_api_v2_auth_TlsSessionTicketKeys__Output; export type CertificateValidationContext = _envoy_api_v2_auth_CertificateValidationContext; export type CertificateValidationContext__Output = _envoy_api_v2_auth_CertificateValidationContext__Output; + export type GenericSecret = _envoy_api_v2_auth_GenericSecret; + export type GenericSecret__Output = _envoy_api_v2_auth_GenericSecret__Output; + export type SdsSecretConfig = _envoy_api_v2_auth_SdsSecretConfig; + export type SdsSecretConfig__Output = _envoy_api_v2_auth_SdsSecretConfig__Output; + export type Secret = _envoy_api_v2_auth_Secret; + export type Secret__Output = _envoy_api_v2_auth_Secret__Output; } export namespace route { export type VirtualHost = _envoy_api_v2_route_VirtualHost; @@ -329,6 +329,12 @@ export namespace messages { } } export namespace config { + export namespace listener { + export namespace v2 { + export type ApiListener = _envoy_config_listener_v2_ApiListener; + export type ApiListener__Output = _envoy_config_listener_v2_ApiListener__Output; + } + } export namespace filter { export namespace accesslog { export namespace v2 { @@ -363,35 +369,29 @@ export namespace messages { } } } - export namespace listener { - export namespace v2 { - export type ApiListener = _envoy_config_listener_v2_ApiListener; - export type ApiListener__Output = _envoy_config_listener_v2_ApiListener__Output; - } - } } export namespace type { export type Percent = _envoy_type_Percent; export type Percent__Output = _envoy_type_Percent__Output; export type FractionalPercent = _envoy_type_FractionalPercent; export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; - export type SemanticVersion = _envoy_type_SemanticVersion; - export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; export type Int64Range = _envoy_type_Int64Range; export type Int64Range__Output = _envoy_type_Int64Range__Output; export type Int32Range = _envoy_type_Int32Range; export type Int32Range__Output = _envoy_type_Int32Range__Output; export type DoubleRange = _envoy_type_DoubleRange; export type DoubleRange__Output = _envoy_type_DoubleRange__Output; + export type SemanticVersion = _envoy_type_SemanticVersion; + export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; export namespace matcher { - export type StringMatcher = _envoy_type_matcher_StringMatcher; - export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; - export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; - export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; export type RegexMatcher = _envoy_type_matcher_RegexMatcher; export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; + export type StringMatcher = _envoy_type_matcher_StringMatcher; + export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; + export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; + export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; } export namespace tracing { export namespace v2 { @@ -504,6 +504,8 @@ export namespace messages { export type NullValue = _google_protobuf_NullValue; export type ListValue = _google_protobuf_ListValue; export type ListValue__Output = _google_protobuf_ListValue__Output; + export type Timestamp = _google_protobuf_Timestamp; + export type Timestamp__Output = _google_protobuf_Timestamp__Output; export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; @@ -544,8 +546,6 @@ export namespace messages { export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; - export type Timestamp = _google_protobuf_Timestamp; - export type Timestamp__Output = _google_protobuf_Timestamp__Output; export type Empty = _google_protobuf_Empty; export type Empty__Output = _google_protobuf_Empty__Output; } @@ -573,6 +573,8 @@ export namespace ClientInterfaces { } } export namespace core { + export namespace SocketOption { + } export namespace Pipe { } export namespace SocketAddress { @@ -621,8 +623,6 @@ export namespace ClientInterfaces { } export namespace ControlPlane { } - export namespace SocketOption { - } export namespace BackoffStrategy { } export namespace HttpUri { @@ -661,10 +661,6 @@ export namespace ClientInterfaces { } } export namespace listener { - export namespace UdpListenerConfig { - } - export namespace ActiveRawUdpListenerConfig { - } export namespace Filter { } export namespace FilterChainMatch { @@ -677,6 +673,10 @@ export namespace ClientInterfaces { } export namespace ListenerFilter { } + export namespace UdpListenerConfig { + } + export namespace ActiveRawUdpListenerConfig { + } } export namespace auth { export namespace UpstreamTlsContext { @@ -687,12 +687,6 @@ export namespace ClientInterfaces { export namespace CombinedCertificateValidationContext { } } - export namespace GenericSecret { - } - export namespace SdsSecretConfig { - } - export namespace Secret { - } export namespace TlsParameters { } export namespace PrivateKeyProvider { @@ -703,6 +697,12 @@ export namespace ClientInterfaces { } export namespace CertificateValidationContext { } + export namespace GenericSecret { + } + export namespace SdsSecretConfig { + } + export namespace Secret { + } } export namespace route { export namespace VirtualHost { @@ -785,6 +785,12 @@ export namespace ClientInterfaces { } } export namespace config { + export namespace listener { + export namespace v2 { + export namespace ApiListener { + } + } + } export namespace filter { export namespace accesslog { export namespace v2 { @@ -819,37 +825,31 @@ export namespace ClientInterfaces { } } } - export namespace listener { - export namespace v2 { - export namespace ApiListener { - } - } - } } export namespace type { export namespace Percent { } export namespace FractionalPercent { } - export namespace SemanticVersion { - } export namespace Int64Range { } export namespace Int32Range { } export namespace DoubleRange { } + export namespace SemanticVersion { + } export namespace matcher { - export namespace StringMatcher { - } - export namespace ListStringMatcher { - } export namespace RegexMatcher { export namespace GoogleRE2 { } } export namespace RegexMatchAndSubstitute { } + export namespace StringMatcher { + } + export namespace ListStringMatcher { + } } export namespace tracing { export namespace v2 { @@ -977,6 +977,8 @@ export namespace ClientInterfaces { } export namespace ListValue { } + export namespace Timestamp { + } export namespace FileDescriptorSet { } export namespace FileDescriptorProto { @@ -1027,8 +1029,6 @@ export namespace ClientInterfaces { export namespace Annotation { } } - export namespace Timestamp { - } export namespace Empty { } } @@ -1054,6 +1054,7 @@ export interface ProtoGrpcType { v2: { Listener: MessageTypeDefinition core: { + SocketOption: MessageTypeDefinition Pipe: MessageTypeDefinition SocketAddress: MessageTypeDefinition TcpKeepalive: MessageTypeDefinition @@ -1081,7 +1082,6 @@ export interface ProtoGrpcType { TransportSocket: MessageTypeDefinition RuntimeFractionalPercent: MessageTypeDefinition ControlPlane: MessageTypeDefinition - SocketOption: MessageTypeDefinition BackoffStrategy: MessageTypeDefinition HttpUri: MessageTypeDefinition ApiVersion: EnumTypeDefinition @@ -1093,26 +1093,26 @@ export interface ProtoGrpcType { GrpcService: MessageTypeDefinition } listener: { - UdpListenerConfig: MessageTypeDefinition - ActiveRawUdpListenerConfig: MessageTypeDefinition Filter: MessageTypeDefinition FilterChainMatch: MessageTypeDefinition FilterChain: MessageTypeDefinition ListenerFilterChainMatchPredicate: MessageTypeDefinition ListenerFilter: MessageTypeDefinition + UdpListenerConfig: MessageTypeDefinition + ActiveRawUdpListenerConfig: MessageTypeDefinition } auth: { UpstreamTlsContext: MessageTypeDefinition DownstreamTlsContext: MessageTypeDefinition CommonTlsContext: MessageTypeDefinition - GenericSecret: MessageTypeDefinition - SdsSecretConfig: MessageTypeDefinition - Secret: MessageTypeDefinition TlsParameters: MessageTypeDefinition PrivateKeyProvider: MessageTypeDefinition TlsCertificate: MessageTypeDefinition TlsSessionTicketKeys: MessageTypeDefinition CertificateValidationContext: MessageTypeDefinition + GenericSecret: MessageTypeDefinition + SdsSecretConfig: MessageTypeDefinition + Secret: MessageTypeDefinition } route: { VirtualHost: MessageTypeDefinition @@ -1136,6 +1136,11 @@ export interface ProtoGrpcType { } } config: { + listener: { + v2: { + ApiListener: MessageTypeDefinition + } + } filter: { accesslog: { v2: { @@ -1156,24 +1161,19 @@ export interface ProtoGrpcType { } } } - listener: { - v2: { - ApiListener: MessageTypeDefinition - } - } } type: { Percent: MessageTypeDefinition FractionalPercent: MessageTypeDefinition - SemanticVersion: MessageTypeDefinition Int64Range: MessageTypeDefinition Int32Range: MessageTypeDefinition DoubleRange: MessageTypeDefinition + SemanticVersion: MessageTypeDefinition matcher: { - StringMatcher: MessageTypeDefinition - ListStringMatcher: MessageTypeDefinition RegexMatcher: MessageTypeDefinition RegexMatchAndSubstitute: MessageTypeDefinition + StringMatcher: MessageTypeDefinition + ListStringMatcher: MessageTypeDefinition } tracing: { v2: { @@ -1242,6 +1242,7 @@ export interface ProtoGrpcType { Value: MessageTypeDefinition NullValue: EnumTypeDefinition ListValue: MessageTypeDefinition + Timestamp: MessageTypeDefinition FileDescriptorSet: MessageTypeDefinition FileDescriptorProto: MessageTypeDefinition DescriptorProto: MessageTypeDefinition @@ -1262,7 +1263,6 @@ export interface ProtoGrpcType { UninterpretedOption: MessageTypeDefinition SourceCodeInfo: MessageTypeDefinition GeneratedCodeInfo: MessageTypeDefinition - Timestamp: MessageTypeDefinition Empty: MessageTypeDefinition } api: { @@ -1286,6 +1286,8 @@ export namespace ServiceHandlers { } } export namespace core { + export namespace SocketOption { + } export namespace Pipe { } export namespace SocketAddress { @@ -1334,8 +1336,6 @@ export namespace ServiceHandlers { } export namespace ControlPlane { } - export namespace SocketOption { - } export namespace BackoffStrategy { } export namespace HttpUri { @@ -1374,10 +1374,6 @@ export namespace ServiceHandlers { } } export namespace listener { - export namespace UdpListenerConfig { - } - export namespace ActiveRawUdpListenerConfig { - } export namespace Filter { } export namespace FilterChainMatch { @@ -1390,6 +1386,10 @@ export namespace ServiceHandlers { } export namespace ListenerFilter { } + export namespace UdpListenerConfig { + } + export namespace ActiveRawUdpListenerConfig { + } } export namespace auth { export namespace UpstreamTlsContext { @@ -1400,12 +1400,6 @@ export namespace ServiceHandlers { export namespace CombinedCertificateValidationContext { } } - export namespace GenericSecret { - } - export namespace SdsSecretConfig { - } - export namespace Secret { - } export namespace TlsParameters { } export namespace PrivateKeyProvider { @@ -1416,6 +1410,12 @@ export namespace ServiceHandlers { } export namespace CertificateValidationContext { } + export namespace GenericSecret { + } + export namespace SdsSecretConfig { + } + export namespace Secret { + } } export namespace route { export namespace VirtualHost { @@ -1498,6 +1498,12 @@ export namespace ServiceHandlers { } } export namespace config { + export namespace listener { + export namespace v2 { + export namespace ApiListener { + } + } + } export namespace filter { export namespace accesslog { export namespace v2 { @@ -1532,37 +1538,31 @@ export namespace ServiceHandlers { } } } - export namespace listener { - export namespace v2 { - export namespace ApiListener { - } - } - } } export namespace type { export namespace Percent { } export namespace FractionalPercent { } - export namespace SemanticVersion { - } export namespace Int64Range { } export namespace Int32Range { } export namespace DoubleRange { } + export namespace SemanticVersion { + } export namespace matcher { - export namespace StringMatcher { - } - export namespace ListStringMatcher { - } export namespace RegexMatcher { export namespace GoogleRE2 { } } export namespace RegexMatchAndSubstitute { } + export namespace StringMatcher { + } + export namespace ListStringMatcher { + } } export namespace tracing { export namespace v2 { @@ -1690,6 +1690,8 @@ export namespace ServiceHandlers { } export namespace ListValue { } + export namespace Timestamp { + } export namespace FileDescriptorSet { } export namespace FileDescriptorProto { @@ -1740,8 +1742,6 @@ export namespace ServiceHandlers { export namespace Annotation { } } - export namespace Timestamp { - } export namespace Empty { } } diff --git a/packages/grpc-js/src/generated/route.d.ts b/packages/grpc-js/src/generated/route.ts similarity index 100% rename from packages/grpc-js/src/generated/route.d.ts rename to packages/grpc-js/src/generated/route.ts index d1326917f..b7d34ee2e 100644 --- a/packages/grpc-js/src/generated/route.d.ts +++ b/packages/grpc-js/src/generated/route.ts @@ -31,15 +31,15 @@ import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSour import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; -import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; +import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; import { VirtualHost as _envoy_api_v2_route_VirtualHost, VirtualHost__Output as _envoy_api_v2_route_VirtualHost__Output } from './envoy/api/v2/route/VirtualHost'; import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from './envoy/api/v2/route/FilterAction'; import { Route as _envoy_api_v2_route_Route, Route__Output as _envoy_api_v2_route_Route__Output } from './envoy/api/v2/route/Route'; @@ -59,22 +59,22 @@ import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Outp import { QueryParameterMatcher as _envoy_api_v2_route_QueryParameterMatcher, QueryParameterMatcher__Output as _envoy_api_v2_route_QueryParameterMatcher__Output } from './envoy/api/v2/route/QueryParameterMatcher'; import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; -import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; -import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; -import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; +import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; -import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; +import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; +import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; +import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; import { CustomTag as _envoy_type_tracing_v2_CustomTag, CustomTag__Output as _envoy_type_tracing_v2_CustomTag__Output } from './envoy/type/tracing/v2/CustomTag'; import { MetadataKey as _envoy_type_metadata_v2_MetadataKey, MetadataKey__Output as _envoy_type_metadata_v2_MetadataKey__Output } from './envoy/type/metadata/v2/MetadataKey'; import { MetadataKind as _envoy_type_metadata_v2_MetadataKind, MetadataKind__Output as _envoy_type_metadata_v2_MetadataKind__Output } from './envoy/type/metadata/v2/MetadataKind'; +import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; +import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; -import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; -import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; @@ -114,6 +114,7 @@ import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_S import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; +import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; @@ -134,7 +135,6 @@ import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; -import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; export namespace messages { @@ -198,10 +198,6 @@ export namespace messages { export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; - export type HttpUri = _envoy_api_v2_core_HttpUri; - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; - export type SocketOption = _envoy_api_v2_core_SocketOption; - export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; export type Pipe = _envoy_api_v2_core_Pipe; export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; export type SocketAddress = _envoy_api_v2_core_SocketAddress; @@ -214,8 +210,12 @@ export namespace messages { export type Address__Output = _envoy_api_v2_core_Address__Output; export type CidrRange = _envoy_api_v2_core_CidrRange; export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; export type GrpcService = _envoy_api_v2_core_GrpcService; export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + export type SocketOption = _envoy_api_v2_core_SocketOption; + export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; } export namespace route { export type VirtualHost = _envoy_api_v2_route_VirtualHost; @@ -260,12 +260,8 @@ export namespace messages { export type Percent__Output = _envoy_type_Percent__Output; export type FractionalPercent = _envoy_type_FractionalPercent; export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; - export type Int64Range = _envoy_type_Int64Range; - export type Int64Range__Output = _envoy_type_Int64Range__Output; - export type Int32Range = _envoy_type_Int32Range; - export type Int32Range__Output = _envoy_type_Int32Range__Output; - export type DoubleRange = _envoy_type_DoubleRange; - export type DoubleRange__Output = _envoy_type_DoubleRange__Output; + export type SemanticVersion = _envoy_type_SemanticVersion; + export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; export namespace matcher { export type RegexMatcher = _envoy_type_matcher_RegexMatcher; export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; @@ -276,8 +272,12 @@ export namespace messages { export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; } - export type SemanticVersion = _envoy_type_SemanticVersion; - export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; + export type Int64Range = _envoy_type_Int64Range; + export type Int64Range__Output = _envoy_type_Int64Range__Output; + export type Int32Range = _envoy_type_Int32Range; + export type Int32Range__Output = _envoy_type_Int32Range__Output; + export type DoubleRange = _envoy_type_DoubleRange; + export type DoubleRange__Output = _envoy_type_DoubleRange__Output; export namespace tracing { export namespace v2 { export type CustomTag = _envoy_type_tracing_v2_CustomTag; @@ -298,15 +298,15 @@ export namespace messages { } export namespace udpa { export namespace annotations { + export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; + export type StatusAnnotation = _udpa_annotations_StatusAnnotation; + export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; - export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; - export type StatusAnnotation = _udpa_annotations_StatusAnnotation; - export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; } } export namespace validate { @@ -389,6 +389,8 @@ export namespace messages { export type NullValue = _google_protobuf_NullValue; export type ListValue = _google_protobuf_ListValue; export type ListValue__Output = _google_protobuf_ListValue__Output; + export type Timestamp = _google_protobuf_Timestamp; + export type Timestamp__Output = _google_protobuf_Timestamp__Output; export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; @@ -429,8 +431,6 @@ export namespace messages { export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; - export type Timestamp = _google_protobuf_Timestamp; - export type Timestamp__Output = _google_protobuf_Timestamp__Output; export type Empty = _google_protobuf_Empty; export type Empty__Output = _google_protobuf_Empty__Output; } @@ -494,10 +494,6 @@ export namespace ClientInterfaces { } export namespace BackoffStrategy { } - export namespace HttpUri { - } - export namespace SocketOption { - } export namespace Pipe { } export namespace SocketAddress { @@ -510,6 +506,8 @@ export namespace ClientInterfaces { } export namespace CidrRange { } + export namespace HttpUri { + } export namespace GrpcService { export namespace EnvoyGrpc { } @@ -532,6 +530,8 @@ export namespace ClientInterfaces { } } } + export namespace SocketOption { + } } export namespace route { export namespace VirtualHost { @@ -618,11 +618,7 @@ export namespace ClientInterfaces { } export namespace FractionalPercent { } - export namespace Int64Range { - } - export namespace Int32Range { - } - export namespace DoubleRange { + export namespace SemanticVersion { } export namespace matcher { export namespace RegexMatcher { @@ -636,7 +632,11 @@ export namespace ClientInterfaces { export namespace ListStringMatcher { } } - export namespace SemanticVersion { + export namespace Int64Range { + } + export namespace Int32Range { + } + export namespace DoubleRange { } export namespace tracing { export namespace v2 { @@ -676,14 +676,14 @@ export namespace ClientInterfaces { } export namespace udpa { export namespace annotations { + export namespace StatusAnnotation { + } export namespace MigrateAnnotation { } export namespace FieldMigrateAnnotation { } export namespace FileMigrateAnnotation { } - export namespace StatusAnnotation { - } } } export namespace validate { @@ -764,6 +764,8 @@ export namespace ClientInterfaces { } export namespace ListValue { } + export namespace Timestamp { + } export namespace FileDescriptorSet { } export namespace FileDescriptorProto { @@ -814,8 +816,6 @@ export namespace ClientInterfaces { export namespace Annotation { } } - export namespace Timestamp { - } export namespace Empty { } } @@ -862,15 +862,15 @@ export interface ProtoGrpcType { RateLimitSettings: MessageTypeDefinition ConfigSource: MessageTypeDefinition BackoffStrategy: MessageTypeDefinition - HttpUri: MessageTypeDefinition - SocketOption: MessageTypeDefinition Pipe: MessageTypeDefinition SocketAddress: MessageTypeDefinition TcpKeepalive: MessageTypeDefinition BindConfig: MessageTypeDefinition Address: MessageTypeDefinition CidrRange: MessageTypeDefinition + HttpUri: MessageTypeDefinition GrpcService: MessageTypeDefinition + SocketOption: MessageTypeDefinition } route: { VirtualHost: MessageTypeDefinition @@ -896,16 +896,16 @@ export interface ProtoGrpcType { type: { Percent: MessageTypeDefinition FractionalPercent: MessageTypeDefinition - Int64Range: MessageTypeDefinition - Int32Range: MessageTypeDefinition - DoubleRange: MessageTypeDefinition + SemanticVersion: MessageTypeDefinition matcher: { RegexMatcher: MessageTypeDefinition RegexMatchAndSubstitute: MessageTypeDefinition StringMatcher: MessageTypeDefinition ListStringMatcher: MessageTypeDefinition } - SemanticVersion: MessageTypeDefinition + Int64Range: MessageTypeDefinition + Int32Range: MessageTypeDefinition + DoubleRange: MessageTypeDefinition tracing: { v2: { CustomTag: MessageTypeDefinition @@ -923,11 +923,11 @@ export interface ProtoGrpcType { } udpa: { annotations: { + PackageVersionStatus: EnumTypeDefinition + StatusAnnotation: MessageTypeDefinition MigrateAnnotation: MessageTypeDefinition FieldMigrateAnnotation: MessageTypeDefinition FileMigrateAnnotation: MessageTypeDefinition - PackageVersionStatus: EnumTypeDefinition - StatusAnnotation: MessageTypeDefinition } } validate: { @@ -973,6 +973,7 @@ export interface ProtoGrpcType { Value: MessageTypeDefinition NullValue: EnumTypeDefinition ListValue: MessageTypeDefinition + Timestamp: MessageTypeDefinition FileDescriptorSet: MessageTypeDefinition FileDescriptorProto: MessageTypeDefinition DescriptorProto: MessageTypeDefinition @@ -993,7 +994,6 @@ export interface ProtoGrpcType { UninterpretedOption: MessageTypeDefinition SourceCodeInfo: MessageTypeDefinition GeneratedCodeInfo: MessageTypeDefinition - Timestamp: MessageTypeDefinition Empty: MessageTypeDefinition } } @@ -1056,10 +1056,6 @@ export namespace ServiceHandlers { } export namespace BackoffStrategy { } - export namespace HttpUri { - } - export namespace SocketOption { - } export namespace Pipe { } export namespace SocketAddress { @@ -1072,6 +1068,8 @@ export namespace ServiceHandlers { } export namespace CidrRange { } + export namespace HttpUri { + } export namespace GrpcService { export namespace EnvoyGrpc { } @@ -1094,6 +1092,8 @@ export namespace ServiceHandlers { } } } + export namespace SocketOption { + } } export namespace route { export namespace VirtualHost { @@ -1180,11 +1180,7 @@ export namespace ServiceHandlers { } export namespace FractionalPercent { } - export namespace Int64Range { - } - export namespace Int32Range { - } - export namespace DoubleRange { + export namespace SemanticVersion { } export namespace matcher { export namespace RegexMatcher { @@ -1198,7 +1194,11 @@ export namespace ServiceHandlers { export namespace ListStringMatcher { } } - export namespace SemanticVersion { + export namespace Int64Range { + } + export namespace Int32Range { + } + export namespace DoubleRange { } export namespace tracing { export namespace v2 { @@ -1238,14 +1238,14 @@ export namespace ServiceHandlers { } export namespace udpa { export namespace annotations { + export namespace StatusAnnotation { + } export namespace MigrateAnnotation { } export namespace FieldMigrateAnnotation { } export namespace FileMigrateAnnotation { } - export namespace StatusAnnotation { - } } } export namespace validate { @@ -1326,6 +1326,8 @@ export namespace ServiceHandlers { } export namespace ListValue { } + export namespace Timestamp { + } export namespace FileDescriptorSet { } export namespace FileDescriptorProto { @@ -1376,8 +1378,6 @@ export namespace ServiceHandlers { export namespace Annotation { } } - export namespace Timestamp { - } export namespace Empty { } } diff --git a/packages/grpc-js/src/generated/udpa/annotations/FieldMigrateAnnotation.d.ts b/packages/grpc-js/src/generated/udpa/annotations/FieldMigrateAnnotation.ts similarity index 100% rename from packages/grpc-js/src/generated/udpa/annotations/FieldMigrateAnnotation.d.ts rename to packages/grpc-js/src/generated/udpa/annotations/FieldMigrateAnnotation.ts diff --git a/packages/grpc-js/src/generated/udpa/annotations/FileMigrateAnnotation.d.ts b/packages/grpc-js/src/generated/udpa/annotations/FileMigrateAnnotation.ts similarity index 100% rename from packages/grpc-js/src/generated/udpa/annotations/FileMigrateAnnotation.d.ts rename to packages/grpc-js/src/generated/udpa/annotations/FileMigrateAnnotation.ts diff --git a/packages/grpc-js/src/generated/udpa/annotations/MigrateAnnotation.d.ts b/packages/grpc-js/src/generated/udpa/annotations/MigrateAnnotation.ts similarity index 100% rename from packages/grpc-js/src/generated/udpa/annotations/MigrateAnnotation.d.ts rename to packages/grpc-js/src/generated/udpa/annotations/MigrateAnnotation.ts diff --git a/packages/grpc-js/src/generated/udpa/annotations/PackageVersionStatus.d.ts b/packages/grpc-js/src/generated/udpa/annotations/PackageVersionStatus.ts similarity index 100% rename from packages/grpc-js/src/generated/udpa/annotations/PackageVersionStatus.d.ts rename to packages/grpc-js/src/generated/udpa/annotations/PackageVersionStatus.ts diff --git a/packages/grpc-js/src/generated/udpa/annotations/StatusAnnotation.d.ts b/packages/grpc-js/src/generated/udpa/annotations/StatusAnnotation.ts similarity index 100% rename from packages/grpc-js/src/generated/udpa/annotations/StatusAnnotation.d.ts rename to packages/grpc-js/src/generated/udpa/annotations/StatusAnnotation.ts diff --git a/packages/grpc-js/src/generated/validate/AnyRules.d.ts b/packages/grpc-js/src/generated/validate/AnyRules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/AnyRules.d.ts rename to packages/grpc-js/src/generated/validate/AnyRules.ts diff --git a/packages/grpc-js/src/generated/validate/BoolRules.d.ts b/packages/grpc-js/src/generated/validate/BoolRules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/BoolRules.d.ts rename to packages/grpc-js/src/generated/validate/BoolRules.ts diff --git a/packages/grpc-js/src/generated/validate/BytesRules.d.ts b/packages/grpc-js/src/generated/validate/BytesRules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/BytesRules.d.ts rename to packages/grpc-js/src/generated/validate/BytesRules.ts diff --git a/packages/grpc-js/src/generated/validate/DoubleRules.d.ts b/packages/grpc-js/src/generated/validate/DoubleRules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/DoubleRules.d.ts rename to packages/grpc-js/src/generated/validate/DoubleRules.ts diff --git a/packages/grpc-js/src/generated/validate/DurationRules.d.ts b/packages/grpc-js/src/generated/validate/DurationRules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/DurationRules.d.ts rename to packages/grpc-js/src/generated/validate/DurationRules.ts diff --git a/packages/grpc-js/src/generated/validate/EnumRules.d.ts b/packages/grpc-js/src/generated/validate/EnumRules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/EnumRules.d.ts rename to packages/grpc-js/src/generated/validate/EnumRules.ts diff --git a/packages/grpc-js/src/generated/validate/FieldRules.d.ts b/packages/grpc-js/src/generated/validate/FieldRules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/FieldRules.d.ts rename to packages/grpc-js/src/generated/validate/FieldRules.ts diff --git a/packages/grpc-js/src/generated/validate/Fixed32Rules.d.ts b/packages/grpc-js/src/generated/validate/Fixed32Rules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/Fixed32Rules.d.ts rename to packages/grpc-js/src/generated/validate/Fixed32Rules.ts diff --git a/packages/grpc-js/src/generated/validate/Fixed64Rules.d.ts b/packages/grpc-js/src/generated/validate/Fixed64Rules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/Fixed64Rules.d.ts rename to packages/grpc-js/src/generated/validate/Fixed64Rules.ts diff --git a/packages/grpc-js/src/generated/validate/FloatRules.d.ts b/packages/grpc-js/src/generated/validate/FloatRules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/FloatRules.d.ts rename to packages/grpc-js/src/generated/validate/FloatRules.ts diff --git a/packages/grpc-js/src/generated/validate/Int32Rules.d.ts b/packages/grpc-js/src/generated/validate/Int32Rules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/Int32Rules.d.ts rename to packages/grpc-js/src/generated/validate/Int32Rules.ts diff --git a/packages/grpc-js/src/generated/validate/Int64Rules.d.ts b/packages/grpc-js/src/generated/validate/Int64Rules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/Int64Rules.d.ts rename to packages/grpc-js/src/generated/validate/Int64Rules.ts diff --git a/packages/grpc-js/src/generated/validate/KnownRegex.d.ts b/packages/grpc-js/src/generated/validate/KnownRegex.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/KnownRegex.d.ts rename to packages/grpc-js/src/generated/validate/KnownRegex.ts diff --git a/packages/grpc-js/src/generated/validate/MapRules.d.ts b/packages/grpc-js/src/generated/validate/MapRules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/MapRules.d.ts rename to packages/grpc-js/src/generated/validate/MapRules.ts diff --git a/packages/grpc-js/src/generated/validate/MessageRules.d.ts b/packages/grpc-js/src/generated/validate/MessageRules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/MessageRules.d.ts rename to packages/grpc-js/src/generated/validate/MessageRules.ts diff --git a/packages/grpc-js/src/generated/validate/RepeatedRules.d.ts b/packages/grpc-js/src/generated/validate/RepeatedRules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/RepeatedRules.d.ts rename to packages/grpc-js/src/generated/validate/RepeatedRules.ts diff --git a/packages/grpc-js/src/generated/validate/SFixed32Rules.d.ts b/packages/grpc-js/src/generated/validate/SFixed32Rules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/SFixed32Rules.d.ts rename to packages/grpc-js/src/generated/validate/SFixed32Rules.ts diff --git a/packages/grpc-js/src/generated/validate/SFixed64Rules.d.ts b/packages/grpc-js/src/generated/validate/SFixed64Rules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/SFixed64Rules.d.ts rename to packages/grpc-js/src/generated/validate/SFixed64Rules.ts diff --git a/packages/grpc-js/src/generated/validate/SInt32Rules.d.ts b/packages/grpc-js/src/generated/validate/SInt32Rules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/SInt32Rules.d.ts rename to packages/grpc-js/src/generated/validate/SInt32Rules.ts diff --git a/packages/grpc-js/src/generated/validate/SInt64Rules.d.ts b/packages/grpc-js/src/generated/validate/SInt64Rules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/SInt64Rules.d.ts rename to packages/grpc-js/src/generated/validate/SInt64Rules.ts diff --git a/packages/grpc-js/src/generated/validate/StringRules.d.ts b/packages/grpc-js/src/generated/validate/StringRules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/StringRules.d.ts rename to packages/grpc-js/src/generated/validate/StringRules.ts diff --git a/packages/grpc-js/src/generated/validate/TimestampRules.d.ts b/packages/grpc-js/src/generated/validate/TimestampRules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/TimestampRules.d.ts rename to packages/grpc-js/src/generated/validate/TimestampRules.ts diff --git a/packages/grpc-js/src/generated/validate/UInt32Rules.d.ts b/packages/grpc-js/src/generated/validate/UInt32Rules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/UInt32Rules.d.ts rename to packages/grpc-js/src/generated/validate/UInt32Rules.ts diff --git a/packages/grpc-js/src/generated/validate/UInt64Rules.d.ts b/packages/grpc-js/src/generated/validate/UInt64Rules.ts similarity index 100% rename from packages/grpc-js/src/generated/validate/UInt64Rules.d.ts rename to packages/grpc-js/src/generated/validate/UInt64Rules.ts From 7b1bd147a67ab76e11cebc6b0dfd74f253feec3b Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Wed, 8 Jul 2020 15:18:15 -0700 Subject: [PATCH 08/19] gts fix --- packages/grpc-js/package.json | 2 +- packages/grpc-js/src/xds-bootstrap.ts | 477 +++++++++-------- packages/grpc-js/src/xds-client.ts | 734 ++++++++++++++------------ 3 files changed, 655 insertions(+), 558 deletions(-) diff --git a/packages/grpc-js/package.json b/packages/grpc-js/package.json index 8a20a6842..8831891de 100644 --- a/packages/grpc-js/package.json +++ b/packages/grpc-js/package.json @@ -52,7 +52,7 @@ "prepare": "npm run compile", "test": "gulp test", "check": "gts check src/**/*.ts", - "fix": "gts fix src/**/*.ts", + "fix": "gts fix src/*.ts", "pretest": "npm run compile", "posttest": "npm run check" }, diff --git a/packages/grpc-js/src/xds-bootstrap.ts b/packages/grpc-js/src/xds-bootstrap.ts index c8e88a01d..90cded00a 100644 --- a/packages/grpc-js/src/xds-bootstrap.ts +++ b/packages/grpc-js/src/xds-bootstrap.ts @@ -1,222 +1,255 @@ -/* - * Copyright 2020 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. - * - */ - -import * as fs from 'fs'; -import * as adsTypes from './generated/ads'; - -/* eslint-disable @typescript-eslint/no-explicit-any */ - -export interface ChannelCredsConfig { - type: string; - config?: object; -} - -export interface XdsServerConfig { - serverUri: string; - channelCreds: ChannelCredsConfig[]; -} - -export interface BootstrapInfo { - xdsServers: XdsServerConfig[]; - node: adsTypes.messages.envoy.api.v2.core.Node; -} - -function validateChannelCredsConfig(obj: any): ChannelCredsConfig { - if (!('type' in obj)) { - throw new Error('type field missing in xds_servers.channel_creds element'); - } - if (typeof obj.type !== 'string') { - throw new Error(`xds_servers.channel_creds.type field: expected string, got ${typeof obj.type}`); - } - if ('config' in obj) { - if (typeof obj.config !== 'object' || obj.config === null) { - throw new Error('xds_servers.channel_creds config field must be an object if provided'); - } - } - return { - type: obj.type, - config: obj.config - } -} - -function validateXdsServerConfig(obj: any): XdsServerConfig { - if (!('server_uri' in obj)) { - throw new Error('server_uri field missing in xds_servers element'); - } - if (typeof obj.server_uri !== 'string') { - throw new Error(`xds_servers.server_uri field: expected string, got ${typeof obj.server_uri}`); - } - if (!('channel_creds' in obj)) { - throw new Error('channel_creds missing in xds_servers element'); - } - if (!Array.isArray(obj.channel_creds)) { - throw new Error(`xds_servers.channel_creds field: expected array, got ${typeof obj.channel_creds}`); - } - if (obj.channel_creds.length === 0) { - throw new Error('xds_servers.channel_creds field: at least one entry is required'); - } - return { - serverUri: obj.server_uri, - channelCreds: obj.channel_creds.map(validateChannelCredsConfig) - }; -} - -function validateValue(obj: any): adsTypes.messages.google.protobuf.Value { - if (Array.isArray(obj)) { - return { - kind: 'listValue', - listValue: { - values: obj.map(value => validateValue(value)) - } - } - } else { - switch (typeof obj) { - case 'boolean': - return { - kind: 'boolValue', - boolValue: obj - }; - case 'number': - return { - kind: 'numberValue', - numberValue: obj - }; - case 'string': - return { - kind: 'stringValue', - stringValue: obj - }; - case 'object': - if (obj === null) { - return { - kind: 'nullValue', - nullValue: 'NULL_VALUE' - }; - } else { - return { - kind: 'structValue', - structValue: getStructFromJson(obj) - }; - } - default: - throw new Error(`Could not handle struct value of type ${typeof obj}`); - } - } -} - -function getStructFromJson(obj: any): adsTypes.messages.google.protobuf.Struct { - if (typeof obj !== 'object' || obj === null) { - throw new Error('Invalid JSON object for Struct field'); - } - const result = Object.keys(obj).map(key => validateValue(key)); - if (result.length === 1) { - return { - fields: result[0] - } - } else { - return { - fields: { - kind: 'listValue', - listValue: { - values: result - } - } - } - }; -} - -/** - * Validate that the input obj is a valid Node proto message. Only checks the - * fields we expect to see: id, cluster, locality, and metadata. - * @param obj - */ -function validateNode(obj: any): adsTypes.messages.envoy.api.v2.core.Node { - const result: adsTypes.messages.envoy.api.v2.core.Node = {}; - if (!('id' in obj)) { - throw new Error('id field missing in node element'); - } - if (typeof obj.id !== 'string') { - throw new Error(`node.id field: expected string, got ${typeof obj.id}`); - } - result.id = obj.id; - if (!('cluster' in obj)) { - throw new Error('cluster field missing in node element'); - } - if (typeof obj.cluster !== 'string') { - throw new Error(`node.cluster field: expected string, got ${typeof obj.cluster}`); - } - result.cluster = obj.cluster; - if (!('locality' in obj)) { - throw new Error('locality field missing in node element'); - } - result.locality = {}; - if ('region' in obj.locality) { - if (typeof obj.locality.region !== 'string') { - throw new Error(`node.locality.region field: expected string, got ${typeof obj.locality.region}`); - } - result.locality.region = obj.locality.region; - } - if ('zone' in obj.locality) { - if (typeof obj.locality.region !== 'string') { - throw new Error(`node.locality.zone field: expected string, got ${typeof obj.locality.zone}`); - } - result.locality.zone = obj.locality.zone; - } - if ('sub_zone' in obj.locality) { - if (typeof obj.locality.sub_zone !== 'string') { - throw new Error(`node.locality.sub_zone field: expected string, got ${typeof obj.locality.sub_zone}`); - } - result.locality.sub_zone = obj.locality.sub_zone; - } - if ('metadata' in obj) { - result.metadata = getStructFromJson(obj.metadata); - } - return result; -} - -function validateBootstrapFile(obj: any): BootstrapInfo { - return { - xdsServers: obj.xds_servers.map(validateXdsServerConfig), - node: validateNode(obj.node) - } -} - -let loadedBootstrapInfo: Promise | null = null; - -export async function loadBootstrapInfo(): Promise { - if (loadedBootstrapInfo !== null) { - return loadedBootstrapInfo; - } - const bootstrapPath = process.env.GRPC_XDS_BOOTSTRAP; - if (bootstrapPath === undefined) { - return Promise.reject(new Error('The GRPC_XDS_BOOTSTRAP environment variable needs to be set to the path to the bootstrap file to use xDS')); - } - loadedBootstrapInfo = new Promise((resolve, reject) => { - fs.readFile(bootstrapPath, { encoding: 'utf8'}, (err, data) => { - if (err) { - reject(new Error(`Failed to read xDS bootstrap file from path ${bootstrapPath} with error ${err.message}`)); - } - try { - const parsedFile = JSON.parse(data); - resolve(validateBootstrapFile(parsedFile)); - } catch (e) { - reject(new Error(`Failed to parse xDS bootstrap file at path ${bootstrapPath} with error ${e.message}`)); - } - }); - }); - return loadedBootstrapInfo; -} \ No newline at end of file +/* + * Copyright 2020 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. + * + */ + +import * as fs from 'fs'; +import * as adsTypes from './generated/ads'; + +/* eslint-disable @typescript-eslint/no-explicit-any */ + +export interface ChannelCredsConfig { + type: string; + config?: object; +} + +export interface XdsServerConfig { + serverUri: string; + channelCreds: ChannelCredsConfig[]; +} + +export interface BootstrapInfo { + xdsServers: XdsServerConfig[]; + node: adsTypes.messages.envoy.api.v2.core.Node; +} + +function validateChannelCredsConfig(obj: any): ChannelCredsConfig { + if (!('type' in obj)) { + throw new Error('type field missing in xds_servers.channel_creds element'); + } + if (typeof obj.type !== 'string') { + throw new Error( + `xds_servers.channel_creds.type field: expected string, got ${typeof obj.type}` + ); + } + if ('config' in obj) { + if (typeof obj.config !== 'object' || obj.config === null) { + throw new Error( + 'xds_servers.channel_creds config field must be an object if provided' + ); + } + } + return { + type: obj.type, + config: obj.config, + }; +} + +function validateXdsServerConfig(obj: any): XdsServerConfig { + if (!('server_uri' in obj)) { + throw new Error('server_uri field missing in xds_servers element'); + } + if (typeof obj.server_uri !== 'string') { + throw new Error( + `xds_servers.server_uri field: expected string, got ${typeof obj.server_uri}` + ); + } + if (!('channel_creds' in obj)) { + throw new Error('channel_creds missing in xds_servers element'); + } + if (!Array.isArray(obj.channel_creds)) { + throw new Error( + `xds_servers.channel_creds field: expected array, got ${typeof obj.channel_creds}` + ); + } + if (obj.channel_creds.length === 0) { + throw new Error( + 'xds_servers.channel_creds field: at least one entry is required' + ); + } + return { + serverUri: obj.server_uri, + channelCreds: obj.channel_creds.map(validateChannelCredsConfig), + }; +} + +function validateValue(obj: any): adsTypes.messages.google.protobuf.Value { + if (Array.isArray(obj)) { + return { + kind: 'listValue', + listValue: { + values: obj.map((value) => validateValue(value)), + }, + }; + } else { + switch (typeof obj) { + case 'boolean': + return { + kind: 'boolValue', + boolValue: obj, + }; + case 'number': + return { + kind: 'numberValue', + numberValue: obj, + }; + case 'string': + return { + kind: 'stringValue', + stringValue: obj, + }; + case 'object': + if (obj === null) { + return { + kind: 'nullValue', + nullValue: 'NULL_VALUE', + }; + } else { + return { + kind: 'structValue', + structValue: getStructFromJson(obj), + }; + } + default: + throw new Error(`Could not handle struct value of type ${typeof obj}`); + } + } +} + +function getStructFromJson(obj: any): adsTypes.messages.google.protobuf.Struct { + if (typeof obj !== 'object' || obj === null) { + throw new Error('Invalid JSON object for Struct field'); + } + const result = Object.keys(obj).map((key) => validateValue(key)); + if (result.length === 1) { + return { + fields: result[0], + }; + } else { + return { + fields: { + kind: 'listValue', + listValue: { + values: result, + }, + }, + }; + } +} + +/** + * Validate that the input obj is a valid Node proto message. Only checks the + * fields we expect to see: id, cluster, locality, and metadata. + * @param obj + */ +function validateNode(obj: any): adsTypes.messages.envoy.api.v2.core.Node { + const result: adsTypes.messages.envoy.api.v2.core.Node = {}; + if (!('id' in obj)) { + throw new Error('id field missing in node element'); + } + if (typeof obj.id !== 'string') { + throw new Error(`node.id field: expected string, got ${typeof obj.id}`); + } + result.id = obj.id; + if (!('cluster' in obj)) { + throw new Error('cluster field missing in node element'); + } + if (typeof obj.cluster !== 'string') { + throw new Error( + `node.cluster field: expected string, got ${typeof obj.cluster}` + ); + } + result.cluster = obj.cluster; + if (!('locality' in obj)) { + throw new Error('locality field missing in node element'); + } + result.locality = {}; + if ('region' in obj.locality) { + if (typeof obj.locality.region !== 'string') { + throw new Error( + `node.locality.region field: expected string, got ${typeof obj.locality + .region}` + ); + } + result.locality.region = obj.locality.region; + } + if ('zone' in obj.locality) { + if (typeof obj.locality.region !== 'string') { + throw new Error( + `node.locality.zone field: expected string, got ${typeof obj.locality + .zone}` + ); + } + result.locality.zone = obj.locality.zone; + } + if ('sub_zone' in obj.locality) { + if (typeof obj.locality.sub_zone !== 'string') { + throw new Error( + `node.locality.sub_zone field: expected string, got ${typeof obj + .locality.sub_zone}` + ); + } + result.locality.sub_zone = obj.locality.sub_zone; + } + if ('metadata' in obj) { + result.metadata = getStructFromJson(obj.metadata); + } + return result; +} + +function validateBootstrapFile(obj: any): BootstrapInfo { + return { + xdsServers: obj.xds_servers.map(validateXdsServerConfig), + node: validateNode(obj.node), + }; +} + +let loadedBootstrapInfo: Promise | null = null; + +export async function loadBootstrapInfo(): Promise { + if (loadedBootstrapInfo !== null) { + return loadedBootstrapInfo; + } + const bootstrapPath = process.env.GRPC_XDS_BOOTSTRAP; + if (bootstrapPath === undefined) { + return Promise.reject( + new Error( + 'The GRPC_XDS_BOOTSTRAP environment variable needs to be set to the path to the bootstrap file to use xDS' + ) + ); + } + loadedBootstrapInfo = new Promise((resolve, reject) => { + fs.readFile(bootstrapPath, { encoding: 'utf8' }, (err, data) => { + if (err) { + reject( + new Error( + `Failed to read xDS bootstrap file from path ${bootstrapPath} with error ${err.message}` + ) + ); + } + try { + const parsedFile = JSON.parse(data); + resolve(validateBootstrapFile(parsedFile)); + } catch (e) { + reject( + new Error( + `Failed to parse xDS bootstrap file at path ${bootstrapPath} with error ${e.message}` + ) + ); + } + }); + }); + return loadedBootstrapInfo; +} diff --git a/packages/grpc-js/src/xds-client.ts b/packages/grpc-js/src/xds-client.ts index 050762141..732858a3a 100644 --- a/packages/grpc-js/src/xds-client.ts +++ b/packages/grpc-js/src/xds-client.ts @@ -1,335 +1,399 @@ -/* - * Copyright 2020 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. - * - */ - -import * as protoLoader from '@grpc/proto-loader'; -import { loadPackageDefinition } from './make-client'; -import * as adsTypes from './generated/ads'; -import * as edsTypes from './generated/endpoint'; -import { createGoogleDefaultCredentials } from './channel-credentials'; -import { loadBootstrapInfo } from './xds-bootstrap'; -import { ClientDuplexStream, ServiceError } from './call'; -import { StatusObject } from './call-stream'; -import { isIPv4, isIPv6 } from 'net'; -import { Status, LogVerbosity } from './constants'; -import { Metadata } from './metadata'; -import * as logging from './logging'; -import { ServiceConfig } from './service-config'; -import { ChannelOptions } from './channel-options'; - -const TRACER_NAME = 'xds_client'; - -function trace(text: string): void { - logging.trace(LogVerbosity.DEBUG, TRACER_NAME, text); -} - -const clientVersion = require('../../package.json').version; - -const EDS_TYPE_URL = 'type.googleapis.com/envoy.api.v2.ClusterLoadAssignment'; - -let loadedProtos: Promise | null = null; - -function loadAdsProtos(): Promise { - if (loadedProtos !== null) { - return loadedProtos; - } - loadedProtos = protoLoader.load([ - 'envoy/service/discovery/v2/ads.proto', - 'envoy/api/v2/listener.proto', - 'envoy/api/v2/route.proto', - 'envoy/api/v2/cluster.proto', - 'envoy/api/v2/endpoint.proto' - ], { - keepCase: true, - longs: String, - enums: String, - defaults: true, - oneofs: true, - includeDirs: [ - 'deps/envoy-api/', - 'deps/udpa/', - 'node_modules/protobufjs/', - 'deps/googleapis/', - 'deps/protoc-gen-validate/' - ] - }).then(packageDefinition => loadPackageDefinition(packageDefinition) as unknown as adsTypes.ProtoGrpcType); - return loadedProtos; -} - -export interface Watcher { - onValidUpdate(update: UpdateType): void; - onTransientError(error: StatusObject): void; - onResourceDoesNotExist(): void; -} - -export class XdsClient { - private node: adsTypes.messages.envoy.api.v2.core.Node | null = null; - private client: adsTypes.ClientInterfaces.envoy.service.discovery.v2.AggregatedDiscoveryServiceClient | null = null; - private adsCall: ClientDuplexStream | null = null; - - private hasShutdown: boolean = false; - - private endpointWatchers: Map[]> = new Map[]>(); - private lastEdsVersionInfo: string = ''; - private lastEdsNonce: string = ''; - - constructor(private targetName: string, private serviceConfigWatcher: Watcher, channelOptions: ChannelOptions) { - const channelArgs = {...channelOptions}; - const channelArgsToRemove = [ - /* The SSL target name override corresponds to the target, and this - * client has its own target */ - 'grpc.ssl_target_name_override', - /* The default authority also corresponds to the target */ - 'grpc.default_authority', - /* This client will have its own specific keepalive time setting */ - 'grpc.keepalive_time_ms', - /* The service config specifies the load balancing policy. This channel - * needs its own separate load balancing policy setting. In particular, - * recursively using an xDS load balancer for the xDS client would be - * bad */ - 'grpc.service_config' - ]; - for (const arg of channelArgsToRemove) { - delete channelArgs[arg]; - } - channelArgs['grpc.keepalive_time_ms'] = 5000; - Promise.all([loadBootstrapInfo(), loadAdsProtos()]).then(([bootstrapInfo, protoDefinitions]) => { - if (this.hasShutdown) { - return; - } - this.node = { - ...bootstrapInfo.node, - build_version: `gRPC Node Pure JS ${clientVersion}`, - user_agent_name: 'gRPC Node Pure JS' - } - this.client = new protoDefinitions.envoy.service.discovery.v2.AggregatedDiscoveryService(bootstrapInfo.xdsServers[0].serverUri, createGoogleDefaultCredentials(), channelArgs); - this.maybeStartAdsStream(); - }, (error) => { - trace('Failed to initialize xDS Client. ' + error.message); - // Bubble this error up to any listeners - this.reportStreamError({ - code: Status.INTERNAL, - details: `Failed to initialize xDS Client. ${error.message}`, - metadata: new Metadata() - }); - }); - } - - /** - * Start the ADS stream if the client exists and there is not already an - * existing stream, and there - */ - private maybeStartAdsStream() { - if (this.client === null) { - return; - } - if (this.adsCall !== null) { - return; - } - if (this.hasShutdown) { - return; - } - this.adsCall = this.client.StreamAggregatedResources(); - this.adsCall.on('data', (message: adsTypes.messages.envoy.api.v2.DiscoveryResponse__Output) => { - switch (message.type_url) { - case EDS_TYPE_URL: - const edsResponses: edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output[] = []; - for (const resource of message.resources) { - if (protoLoader.isAnyExtension(resource) && resource['@type'] === EDS_TYPE_URL) { - const resp = resource as protoLoader.AnyExtension & edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output; - if (!this.validateEdsResponse(resp)) { - this.nackEds('ClusterLoadAssignment validation failed'); - return; - } - edsResponses.push(resp); - } else { - this.nackEds(`Invalid resource type ${protoLoader.isAnyExtension(resource) ? resource['@type'] : resource.type_url}`); - return; - } - } - for (const message of edsResponses) { - this.handleEdsResponse(message); - } - this.lastEdsVersionInfo = message.version_info; - this.lastEdsNonce = message.nonce; - this.ackEds(); - break; - default: - this.nackUnknown(message.type_url, message.version_info, message.nonce); - } - }); - this.adsCall.on('error', (error: ServiceError) => { - trace('ADS stream ended. code=' + error.code + ' details= ' + error.details); - this.adsCall = null; - this.reportStreamError(error); - /* Connection backoff is handled by the client object, so we can - * immediately start a new request to indicate that it should try to - * reconnect */ - this.maybeStartAdsStream(); - }); - const endpointWatcherNames = Array.from(this.endpointWatchers.keys()); - if (endpointWatcherNames.length > 0) { - this.adsCall.write({ - node: this.node!, - type_url: EDS_TYPE_URL, - resource_names: endpointWatcherNames - }); - } - } - - private nackUnknown(typeUrl: string, versionInfo: string, nonce: string) { - if (!this.adsCall) { - return; - } - this.adsCall.write({ - node: this.node!, - type_url: typeUrl, - version_info: versionInfo, - response_nonce: nonce, - error_detail: { - message: `Unknown type_url ${typeUrl}` - } - }); - } - - /** - * Acknowledge an EDS update. This should be called after the local nonce and - * version info are updated so that it sends the post-update values. - */ - private ackEds() { - if (!this.adsCall) { - return; - } - this.adsCall.write({ - node: this.node!, - type_url: EDS_TYPE_URL, - resource_names: Array.from(this.endpointWatchers.keys()), - response_nonce: this.lastEdsNonce, - version_info: this.lastEdsVersionInfo - }); - } - - /** - * Reject an EDS update. This should be called without updating the local - * nonce and version info. - */ - private nackEds(message: string) { - if (!this.adsCall) { - return; - } - this.adsCall.write({ - node: this.node!, - type_url: EDS_TYPE_URL, - resource_names: Array.from(this.endpointWatchers.keys()), - response_nonce: this.lastEdsNonce, - version_info: this.lastEdsVersionInfo, - error_detail: { - message - } - }); - } - - /** - * Validate the ClusterLoadAssignment object by these rules: - * https://github.com/grpc/proposal/blob/master/A27-xds-global-load-balancing.md#clusterloadassignment-proto - * @param message - */ - private validateEdsResponse(message: edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output): boolean { - for (const endpoint of message.endpoints) { - for (const lb of endpoint.lb_endpoints) { - const socketAddress = lb.endpoint?.address?.socket_address; - if (!socketAddress) { - return false; - } - if (socketAddress.port_specifier !== 'port_value') { - return false; - } - if (!(isIPv4(socketAddress.address) || isIPv6(socketAddress.address))) { - return false; - } - } - } - return true; - } - - private handleEdsResponse(message: edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output) { - const watchers = this.endpointWatchers.get(message.cluster_name) ?? []; - for (const watcher of watchers) { - watcher.onValidUpdate(message); - } - } - - private updateEdsNames() { - if (this.adsCall) { - this.adsCall.write({ - node: this.node!, - type_url: EDS_TYPE_URL, - resource_names: Array.from(this.endpointWatchers.keys()), - response_nonce: this.lastEdsNonce, - version_info: this.lastEdsVersionInfo - }); - } - } - - private reportStreamError(status: StatusObject) { - for (const watcherList of this.endpointWatchers.values()) { - for (const watcher of watcherList) { - watcher.onTransientError(status); - } - } - // Also do the same for other types of watchers when those are implemented - } - - addEndpointWatcher(edsServiceName: string, watcher: Watcher) { - trace('Watcher added for endpoint ' + edsServiceName); - let watchersEntry = this.endpointWatchers.get(edsServiceName); - let addedServiceName = false; - if (watchersEntry === undefined) { - addedServiceName = true; - watchersEntry = []; - this.endpointWatchers.set(edsServiceName, watchersEntry); - } - watchersEntry.push(watcher); - if (addedServiceName) { - this.updateEdsNames(); - } - } - - removeEndpointWatcher(edsServiceName: string, watcher: Watcher) { - trace('Watcher removed for endpoint ' + edsServiceName); - const watchersEntry = this.endpointWatchers.get(edsServiceName); - let removedServiceName = false; - if (watchersEntry !== undefined) { - const entryIndex = watchersEntry.indexOf(watcher); - if (entryIndex >= 0) { - watchersEntry.splice(entryIndex, 1); - } - if (watchersEntry.length === 0) { - removedServiceName = true; - this.endpointWatchers.delete(edsServiceName); - } - } - if (removedServiceName) { - this.updateEdsNames(); - } - } - - shutdown(): void { - this.adsCall?.cancel(); - this.client?.close(); - this.hasShutdown = true; - } -} \ No newline at end of file +/* + * Copyright 2020 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. + * + */ + +import * as protoLoader from '@grpc/proto-loader'; +import { loadPackageDefinition } from './make-client'; +import * as adsTypes from './generated/ads'; +import * as edsTypes from './generated/endpoint'; +import { createGoogleDefaultCredentials } from './channel-credentials'; +import { loadBootstrapInfo } from './xds-bootstrap'; +import { ClientDuplexStream, ServiceError } from './call'; +import { StatusObject } from './call-stream'; +import { isIPv4, isIPv6 } from 'net'; +import { Status, LogVerbosity } from './constants'; +import { Metadata } from './metadata'; +import * as logging from './logging'; +import { ServiceConfig } from './service-config'; +import { ChannelOptions } from './channel-options'; + +const TRACER_NAME = 'xds_client'; + +function trace(text: string): void { + logging.trace(LogVerbosity.DEBUG, TRACER_NAME, text); +} + +const clientVersion = require('../../package.json').version; + +const EDS_TYPE_URL = 'type.googleapis.com/envoy.api.v2.ClusterLoadAssignment'; + +let loadedProtos: Promise | null = null; + +function loadAdsProtos(): Promise { + if (loadedProtos !== null) { + return loadedProtos; + } + loadedProtos = protoLoader + .load( + [ + 'envoy/service/discovery/v2/ads.proto', + 'envoy/api/v2/listener.proto', + 'envoy/api/v2/route.proto', + 'envoy/api/v2/cluster.proto', + 'envoy/api/v2/endpoint.proto', + ], + { + keepCase: true, + longs: String, + enums: String, + defaults: true, + oneofs: true, + includeDirs: [ + 'deps/envoy-api/', + 'deps/udpa/', + 'node_modules/protobufjs/', + 'deps/googleapis/', + 'deps/protoc-gen-validate/', + ], + } + ) + .then( + (packageDefinition) => + (loadPackageDefinition( + packageDefinition + ) as unknown) as adsTypes.ProtoGrpcType + ); + return loadedProtos; +} + +export interface Watcher { + onValidUpdate(update: UpdateType): void; + onTransientError(error: StatusObject): void; + onResourceDoesNotExist(): void; +} + +export class XdsClient { + private node: adsTypes.messages.envoy.api.v2.core.Node | null = null; + private client: adsTypes.ClientInterfaces.envoy.service.discovery.v2.AggregatedDiscoveryServiceClient | null = null; + private adsCall: ClientDuplexStream< + adsTypes.messages.envoy.api.v2.DiscoveryRequest, + adsTypes.messages.envoy.api.v2.DiscoveryResponse__Output + > | null = null; + + private hasShutdown = false; + + private endpointWatchers: Map< + string, + Watcher[] + > = new Map< + string, + Watcher[] + >(); + private lastEdsVersionInfo = ''; + private lastEdsNonce = ''; + + constructor( + private targetName: string, + private serviceConfigWatcher: Watcher, + channelOptions: ChannelOptions + ) { + const channelArgs = { ...channelOptions }; + const channelArgsToRemove = [ + /* The SSL target name override corresponds to the target, and this + * client has its own target */ + 'grpc.ssl_target_name_override', + /* The default authority also corresponds to the target */ + 'grpc.default_authority', + /* This client will have its own specific keepalive time setting */ + 'grpc.keepalive_time_ms', + /* The service config specifies the load balancing policy. This channel + * needs its own separate load balancing policy setting. In particular, + * recursively using an xDS load balancer for the xDS client would be + * bad */ + 'grpc.service_config', + ]; + for (const arg of channelArgsToRemove) { + delete channelArgs[arg]; + } + channelArgs['grpc.keepalive_time_ms'] = 5000; + Promise.all([loadBootstrapInfo(), loadAdsProtos()]).then( + ([bootstrapInfo, protoDefinitions]) => { + if (this.hasShutdown) { + return; + } + this.node = { + ...bootstrapInfo.node, + build_version: `gRPC Node Pure JS ${clientVersion}`, + user_agent_name: 'gRPC Node Pure JS', + }; + this.client = new protoDefinitions.envoy.service.discovery.v2.AggregatedDiscoveryService( + bootstrapInfo.xdsServers[0].serverUri, + createGoogleDefaultCredentials(), + channelArgs + ); + this.maybeStartAdsStream(); + }, + (error) => { + trace('Failed to initialize xDS Client. ' + error.message); + // Bubble this error up to any listeners + this.reportStreamError({ + code: Status.INTERNAL, + details: `Failed to initialize xDS Client. ${error.message}`, + metadata: new Metadata(), + }); + } + ); + } + + /** + * Start the ADS stream if the client exists and there is not already an + * existing stream, and there + */ + private maybeStartAdsStream() { + if (this.client === null) { + return; + } + if (this.adsCall !== null) { + return; + } + if (this.hasShutdown) { + return; + } + this.adsCall = this.client.StreamAggregatedResources(); + this.adsCall.on( + 'data', + (message: adsTypes.messages.envoy.api.v2.DiscoveryResponse__Output) => { + switch (message.type_url) { + case EDS_TYPE_URL: { + const edsResponses: edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output[] = []; + for (const resource of message.resources) { + if ( + protoLoader.isAnyExtension(resource) && + resource['@type'] === EDS_TYPE_URL + ) { + const resp = resource as protoLoader.AnyExtension & + edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output; + if (!this.validateEdsResponse(resp)) { + this.nackEds('ClusterLoadAssignment validation failed'); + return; + } + edsResponses.push(resp); + } else { + this.nackEds( + `Invalid resource type ${ + protoLoader.isAnyExtension(resource) + ? resource['@type'] + : resource.type_url + }` + ); + return; + } + } + for (const message of edsResponses) { + this.handleEdsResponse(message); + } + this.lastEdsVersionInfo = message.version_info; + this.lastEdsNonce = message.nonce; + this.ackEds(); + break; + } + default: + this.nackUnknown( + message.type_url, + message.version_info, + message.nonce + ); + } + } + ); + this.adsCall.on('error', (error: ServiceError) => { + trace( + 'ADS stream ended. code=' + error.code + ' details= ' + error.details + ); + this.adsCall = null; + this.reportStreamError(error); + /* Connection backoff is handled by the client object, so we can + * immediately start a new request to indicate that it should try to + * reconnect */ + this.maybeStartAdsStream(); + }); + const endpointWatcherNames = Array.from(this.endpointWatchers.keys()); + if (endpointWatcherNames.length > 0) { + this.adsCall.write({ + node: this.node!, + type_url: EDS_TYPE_URL, + resource_names: endpointWatcherNames, + }); + } + } + + private nackUnknown(typeUrl: string, versionInfo: string, nonce: string) { + if (!this.adsCall) { + return; + } + this.adsCall.write({ + node: this.node!, + type_url: typeUrl, + version_info: versionInfo, + response_nonce: nonce, + error_detail: { + message: `Unknown type_url ${typeUrl}`, + }, + }); + } + + /** + * Acknowledge an EDS update. This should be called after the local nonce and + * version info are updated so that it sends the post-update values. + */ + private ackEds() { + if (!this.adsCall) { + return; + } + this.adsCall.write({ + node: this.node!, + type_url: EDS_TYPE_URL, + resource_names: Array.from(this.endpointWatchers.keys()), + response_nonce: this.lastEdsNonce, + version_info: this.lastEdsVersionInfo, + }); + } + + /** + * Reject an EDS update. This should be called without updating the local + * nonce and version info. + */ + private nackEds(message: string) { + if (!this.adsCall) { + return; + } + this.adsCall.write({ + node: this.node!, + type_url: EDS_TYPE_URL, + resource_names: Array.from(this.endpointWatchers.keys()), + response_nonce: this.lastEdsNonce, + version_info: this.lastEdsVersionInfo, + error_detail: { + message, + }, + }); + } + + /** + * Validate the ClusterLoadAssignment object by these rules: + * https://github.com/grpc/proposal/blob/master/A27-xds-global-load-balancing.md#clusterloadassignment-proto + * @param message + */ + private validateEdsResponse( + message: edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output + ): boolean { + for (const endpoint of message.endpoints) { + for (const lb of endpoint.lb_endpoints) { + const socketAddress = lb.endpoint?.address?.socket_address; + if (!socketAddress) { + return false; + } + if (socketAddress.port_specifier !== 'port_value') { + return false; + } + if (!(isIPv4(socketAddress.address) || isIPv6(socketAddress.address))) { + return false; + } + } + } + return true; + } + + private handleEdsResponse( + message: edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output + ) { + const watchers = this.endpointWatchers.get(message.cluster_name) ?? []; + for (const watcher of watchers) { + watcher.onValidUpdate(message); + } + } + + private updateEdsNames() { + if (this.adsCall) { + this.adsCall.write({ + node: this.node!, + type_url: EDS_TYPE_URL, + resource_names: Array.from(this.endpointWatchers.keys()), + response_nonce: this.lastEdsNonce, + version_info: this.lastEdsVersionInfo, + }); + } + } + + private reportStreamError(status: StatusObject) { + for (const watcherList of this.endpointWatchers.values()) { + for (const watcher of watcherList) { + watcher.onTransientError(status); + } + } + // Also do the same for other types of watchers when those are implemented + } + + addEndpointWatcher( + edsServiceName: string, + watcher: Watcher< + edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output + > + ) { + trace('Watcher added for endpoint ' + edsServiceName); + let watchersEntry = this.endpointWatchers.get(edsServiceName); + let addedServiceName = false; + if (watchersEntry === undefined) { + addedServiceName = true; + watchersEntry = []; + this.endpointWatchers.set(edsServiceName, watchersEntry); + } + watchersEntry.push(watcher); + if (addedServiceName) { + this.updateEdsNames(); + } + } + + removeEndpointWatcher( + edsServiceName: string, + watcher: Watcher< + edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output + > + ) { + trace('Watcher removed for endpoint ' + edsServiceName); + const watchersEntry = this.endpointWatchers.get(edsServiceName); + let removedServiceName = false; + if (watchersEntry !== undefined) { + const entryIndex = watchersEntry.indexOf(watcher); + if (entryIndex >= 0) { + watchersEntry.splice(entryIndex, 1); + } + if (watchersEntry.length === 0) { + removedServiceName = true; + this.endpointWatchers.delete(edsServiceName); + } + } + if (removedServiceName) { + this.updateEdsNames(); + } + } + + shutdown(): void { + this.adsCall?.cancel(); + this.client?.close(); + this.hasShutdown = true; + } +} From 930d40916554dd01f6125eb6e759e3370dc981a2 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Fri, 10 Jul 2020 08:41:58 -0700 Subject: [PATCH 09/19] Fix include paths for loading protos --- packages/grpc-js/src/xds-client.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/grpc-js/src/xds-client.ts b/packages/grpc-js/src/xds-client.ts index 732858a3a..80d19e0ea 100644 --- a/packages/grpc-js/src/xds-client.ts +++ b/packages/grpc-js/src/xds-client.ts @@ -62,11 +62,12 @@ function loadAdsProtos(): Promise { defaults: true, oneofs: true, includeDirs: [ - 'deps/envoy-api/', - 'deps/udpa/', - 'node_modules/protobufjs/', - 'deps/googleapis/', - 'deps/protoc-gen-validate/', + // Paths are relative to src/build + __dirname + '/../../deps/envoy-api/', + __dirname + '/../../deps/udpa/', + __dirname + '/../../node_modules/protobufjs/', + __dirname + '/../../deps/googleapis/', + __dirname + '/../../deps/protoc-gen-validate/', ], } ) From a068d589ae5445144f1b7cd1654baf24e058481b Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Fri, 10 Jul 2020 11:53:20 -0700 Subject: [PATCH 10/19] Don't explicitly include protobufjs when loading protos --- packages/grpc-js/package.json | 2 +- packages/grpc-js/src/xds-client.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/grpc-js/package.json b/packages/grpc-js/package.json index 8831891de..a795afc78 100644 --- a/packages/grpc-js/package.json +++ b/packages/grpc-js/package.json @@ -47,7 +47,7 @@ "clean": "node -e 'require(\"rimraf\")(\"./build\", () => {})'", "compile": "tsc -p .", "format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts", - "generate-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --json --includeDirs deps/envoy-api/ deps/udpa/ node_modules/protobufjs/ deps/googleapis/ deps/protoc-gen-validate/ -O src/generated/ --grpcLib ../index envoy/service/discovery/v2/ads.proto envoy/api/v2/listener.proto envoy/api/v2/route.proto envoy/api/v2/cluster.proto envoy/api/v2/endpoint.proto", + "generate-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --json --includeDirs deps/envoy-api/ deps/udpa/ deps/googleapis/ deps/protoc-gen-validate/ -O src/generated/ --grpcLib ../index envoy/service/discovery/v2/ads.proto envoy/api/v2/listener.proto envoy/api/v2/route.proto envoy/api/v2/cluster.proto envoy/api/v2/endpoint.proto", "lint": "npm run check", "prepare": "npm run compile", "test": "gulp test", diff --git a/packages/grpc-js/src/xds-client.ts b/packages/grpc-js/src/xds-client.ts index 80d19e0ea..9fb5279ed 100644 --- a/packages/grpc-js/src/xds-client.ts +++ b/packages/grpc-js/src/xds-client.ts @@ -65,7 +65,6 @@ function loadAdsProtos(): Promise { // Paths are relative to src/build __dirname + '/../../deps/envoy-api/', __dirname + '/../../deps/udpa/', - __dirname + '/../../node_modules/protobufjs/', __dirname + '/../../deps/googleapis/', __dirname + '/../../deps/protoc-gen-validate/', ], From db75460000450bdbfd09651e5ae3193e33e2ed54 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Fri, 10 Jul 2020 12:38:52 -0700 Subject: [PATCH 11/19] Regenerate type files --- packages/grpc-js/src/generated/ads.ts | 1276 +++++----- packages/grpc-js/src/generated/cluster.ts | 1846 +++++++------- packages/grpc-js/src/generated/endpoint.ts | 1550 ++++++------ .../src/generated/envoy/api/v2/Cluster.ts | 258 +- .../envoy/api/v2/ClusterLoadAssignment.ts | 4 +- .../envoy/api/v2/DeltaDiscoveryResponse.ts | 4 +- .../src/generated/envoy/api/v2/Listener.ts | 44 +- .../src/generated/envoy/api/v2/Resource.ts | 8 +- .../envoy/api/v2/RouteConfiguration.ts | 10 +- .../v2/auth/CertificateValidationContext.ts | 10 +- .../envoy/api/v2/auth/CommonTlsContext.ts | 10 +- .../envoy/api/v2/auth/DownstreamTlsContext.ts | 4 +- .../envoy/api/v2/auth/TlsCertificate.ts | 4 +- .../envoy/api/v2/core/ApiConfigSource.ts | 12 +- .../envoy/api/v2/core/ConfigSource.ts | 6 +- .../envoy/api/v2/core/GrpcService.ts | 86 +- .../envoy/api/v2/core/HealthCheck.ts | 88 +- .../envoy/api/v2/core/HttpProtocolOptions.ts | 4 +- .../envoy/api/v2/endpoint/LbEndpoint.ts | 4 +- .../envoy/api/v2/listener/FilterChainMatch.ts | 14 +- .../envoy/api/v2/route/CorsPolicy.ts | 10 +- .../envoy/api/v2/route/HeaderMatcher.ts | 10 +- .../generated/envoy/api/v2/route/RateLimit.ts | 44 +- .../envoy/api/v2/route/RedirectAction.ts | 16 +- .../envoy/api/v2/route/RetryPolicy.ts | 28 +- .../src/generated/envoy/api/v2/route/Route.ts | 26 +- .../envoy/api/v2/route/RouteAction.ts | 104 +- .../envoy/api/v2/route/RouteMatch.ts | 12 +- .../envoy/api/v2/route/VirtualCluster.ts | 6 +- .../envoy/api/v2/route/VirtualHost.ts | 20 +- .../envoy/api/v2/route/WeightedCluster.ts | 4 +- .../envoy/type/metadata/v2/MetadataKind.ts | 16 +- .../envoy/type/tracing/v2/CustomTag.ts | 16 +- .../generated/google/api/CustomHttpPattern.ts | 2 +- .../grpc-js/src/generated/google/api/Http.ts | 4 +- .../src/generated/google/api/HttpRule.ts | 12 +- .../google/protobuf/DescriptorProto.ts | 28 +- .../google/protobuf/EnumDescriptorProto.ts | 2 +- .../generated/google/protobuf/EnumOptions.ts | 10 +- .../protobuf/EnumValueDescriptorProto.ts | 2 +- .../google/protobuf/EnumValueOptions.ts | 10 +- .../google/protobuf/FieldDescriptorProto.ts | 40 +- .../generated/google/protobuf/FieldOptions.ts | 28 +- .../google/protobuf/FileDescriptorProto.ts | 22 +- .../google/protobuf/FileDescriptorSet.ts | 2 +- .../generated/google/protobuf/FileOptions.ts | 60 +- .../google/protobuf/GeneratedCodeInfo.ts | 6 +- .../google/protobuf/MessageOptions.ts | 22 +- .../google/protobuf/MethodDescriptorProto.ts | 18 +- .../google/protobuf/MethodOptions.ts | 6 +- .../google/protobuf/OneofDescriptorProto.ts | 2 +- .../generated/google/protobuf/OneofOptions.ts | 6 +- .../google/protobuf/ServiceDescriptorProto.ts | 2 +- .../google/protobuf/ServiceOptions.ts | 6 +- .../google/protobuf/SourceCodeInfo.ts | 14 +- .../google/protobuf/UninterpretedOption.ts | 34 +- packages/grpc-js/src/generated/listener.ts | 2214 ++++++++--------- packages/grpc-js/src/generated/route.ts | 1758 ++++++------- .../src/generated/validate/BytesRules.ts | 4 +- .../src/generated/validate/FieldRules.ts | 6 +- .../src/generated/validate/StringRules.ts | 12 +- 61 files changed, 4945 insertions(+), 4941 deletions(-) diff --git a/packages/grpc-js/src/generated/ads.ts b/packages/grpc-js/src/generated/ads.ts index fd9f8e2c4..4a5a4d121 100644 --- a/packages/grpc-js/src/generated/ads.ts +++ b/packages/grpc-js/src/generated/ads.ts @@ -1,596 +1,596 @@ import * as grpc from '../index'; import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; -import { AdsDummy as _envoy_service_discovery_v2_AdsDummy, AdsDummy__Output as _envoy_service_discovery_v2_AdsDummy__Output } from './envoy/service/discovery/v2/AdsDummy'; -import { DiscoveryRequest as _envoy_api_v2_DiscoveryRequest, DiscoveryRequest__Output as _envoy_api_v2_DiscoveryRequest__Output } from './envoy/api/v2/DiscoveryRequest'; -import { DiscoveryResponse as _envoy_api_v2_DiscoveryResponse, DiscoveryResponse__Output as _envoy_api_v2_DiscoveryResponse__Output } from './envoy/api/v2/DiscoveryResponse'; import { DeltaDiscoveryRequest as _envoy_api_v2_DeltaDiscoveryRequest, DeltaDiscoveryRequest__Output as _envoy_api_v2_DeltaDiscoveryRequest__Output } from './envoy/api/v2/DeltaDiscoveryRequest'; import { DeltaDiscoveryResponse as _envoy_api_v2_DeltaDiscoveryResponse, DeltaDiscoveryResponse__Output as _envoy_api_v2_DeltaDiscoveryResponse__Output } from './envoy/api/v2/DeltaDiscoveryResponse'; +import { DiscoveryRequest as _envoy_api_v2_DiscoveryRequest, DiscoveryRequest__Output as _envoy_api_v2_DiscoveryRequest__Output } from './envoy/api/v2/DiscoveryRequest'; +import { DiscoveryResponse as _envoy_api_v2_DiscoveryResponse, DiscoveryResponse__Output as _envoy_api_v2_DiscoveryResponse__Output } from './envoy/api/v2/DiscoveryResponse'; import { Resource as _envoy_api_v2_Resource, Resource__Output as _envoy_api_v2_Resource__Output } from './envoy/api/v2/Resource'; -import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; -import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; -import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; -import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; +import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; +import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; +import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; +import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; +import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; -import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; -import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; -import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; -import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; -import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; +import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; -import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; -import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; -import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; +import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; +import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; -import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; -import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; +import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; +import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; +import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; -import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; +import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; -import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; -import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; -import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; -import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; -import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; -import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; +import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; +import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; +import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { AdsDummy as _envoy_service_discovery_v2_AdsDummy, AdsDummy__Output as _envoy_service_discovery_v2_AdsDummy__Output } from './envoy/service/discovery/v2/AdsDummy'; import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; +import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; -import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; -import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; -import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; -import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; -import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; -import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; -import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; -import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; -import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; -import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; -import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; -import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; -import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; -import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; -import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; -import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; -import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; -import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; -import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; -import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; -import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; -import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; -import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; -import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; -import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; -import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; -import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; -import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; -import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; -import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; -import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; -import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; -import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; -import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; -import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; -import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; -import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; -import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; -import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; -import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; -import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; -import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; -import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; -import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; -import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; +import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; +import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; -import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; -import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; +import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; +import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; +import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; +import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; +import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; +import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; +import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; +import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; +import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; +import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; -import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; +import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; +import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; +import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; +import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; -import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; -import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; +import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; -import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; -import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; -import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; +import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; +import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; +import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; import { Status as _google_rpc_Status, Status__Output as _google_rpc_Status__Output } from './google/rpc/Status'; +import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; +import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; +import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; +import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; +import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; +import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; +import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; +import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; +import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; +import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; +import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; +import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; +import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; +import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; +import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; +import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; +import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; +import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; +import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; +import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; +import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; +import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; +import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; +import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; +import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; +import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; +import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; +import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; +import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; export namespace messages { export namespace envoy { - export namespace service { - export namespace discovery { - export namespace v2 { - export namespace AggregatedDiscoveryService { - } - export type AdsDummy = _envoy_service_discovery_v2_AdsDummy; - export type AdsDummy__Output = _envoy_service_discovery_v2_AdsDummy__Output; - } - } - } export namespace api { export namespace v2 { - export type DiscoveryRequest = _envoy_api_v2_DiscoveryRequest; - export type DiscoveryRequest__Output = _envoy_api_v2_DiscoveryRequest__Output; - export type DiscoveryResponse = _envoy_api_v2_DiscoveryResponse; - export type DiscoveryResponse__Output = _envoy_api_v2_DiscoveryResponse__Output; export type DeltaDiscoveryRequest = _envoy_api_v2_DeltaDiscoveryRequest; export type DeltaDiscoveryRequest__Output = _envoy_api_v2_DeltaDiscoveryRequest__Output; export type DeltaDiscoveryResponse = _envoy_api_v2_DeltaDiscoveryResponse; export type DeltaDiscoveryResponse__Output = _envoy_api_v2_DeltaDiscoveryResponse__Output; + export type DiscoveryRequest = _envoy_api_v2_DiscoveryRequest; + export type DiscoveryRequest__Output = _envoy_api_v2_DiscoveryRequest__Output; + export type DiscoveryResponse = _envoy_api_v2_DiscoveryResponse; + export type DiscoveryResponse__Output = _envoy_api_v2_DiscoveryResponse__Output; export type Resource = _envoy_api_v2_Resource; export type Resource__Output = _envoy_api_v2_Resource__Output; export namespace core { - export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; - export type RequestMethod = _envoy_api_v2_core_RequestMethod; - export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; - export type Locality = _envoy_api_v2_core_Locality; - export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type Address = _envoy_api_v2_core_Address; + export type Address__Output = _envoy_api_v2_core_Address__Output; + export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type BindConfig = _envoy_api_v2_core_BindConfig; + export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; export type BuildVersion = _envoy_api_v2_core_BuildVersion; export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + export type CidrRange = _envoy_api_v2_core_CidrRange; + export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + export type ControlPlane = _envoy_api_v2_core_ControlPlane; + export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + export type DataSource = _envoy_api_v2_core_DataSource; + export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; export type Extension = _envoy_api_v2_core_Extension; export type Extension__Output = _envoy_api_v2_core_Extension__Output; - export type Node = _envoy_api_v2_core_Node; - export type Node__Output = _envoy_api_v2_core_Node__Output; - export type Metadata = _envoy_api_v2_core_Metadata; - export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; - export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; - export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; - export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; - export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; - export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; - export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + export type HeaderMap = _envoy_api_v2_core_HeaderMap; + export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; export type HeaderValue = _envoy_api_v2_core_HeaderValue; export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; - export type HeaderMap = _envoy_api_v2_core_HeaderMap; - export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; - export type DataSource = _envoy_api_v2_core_DataSource; - export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; - export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; - export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type Locality = _envoy_api_v2_core_Locality; + export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type Metadata = _envoy_api_v2_core_Metadata; + export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + export type Node = _envoy_api_v2_core_Node; + export type Node__Output = _envoy_api_v2_core_Node__Output; + export type Pipe = _envoy_api_v2_core_Pipe; + export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; - export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; - export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; - export type TransportSocket = _envoy_api_v2_core_TransportSocket; - export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; + export type RequestMethod = _envoy_api_v2_core_RequestMethod; + export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; - export type ControlPlane = _envoy_api_v2_core_ControlPlane; - export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - export type Pipe = _envoy_api_v2_core_Pipe; - export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; export type SocketAddress = _envoy_api_v2_core_SocketAddress; export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; - export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; - export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; - export type BindConfig = _envoy_api_v2_core_BindConfig; - export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; - export type Address = _envoy_api_v2_core_Address; - export type Address__Output = _envoy_api_v2_core_Address__Output; - export type CidrRange = _envoy_api_v2_core_CidrRange; - export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; export type SocketOption = _envoy_api_v2_core_SocketOption; export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; - export type HttpUri = _envoy_api_v2_core_HttpUri; - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; - export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; - export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; + export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + export type TransportSocket = _envoy_api_v2_core_TransportSocket; + export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; + } + } + } + export namespace service { + export namespace discovery { + export namespace v2 { + export type AdsDummy = _envoy_service_discovery_v2_AdsDummy; + export type AdsDummy__Output = _envoy_service_discovery_v2_AdsDummy__Output; + export namespace AggregatedDiscoveryService { + } } } } export namespace type { - export type Percent = _envoy_type_Percent; - export type Percent__Output = _envoy_type_Percent__Output; export type FractionalPercent = _envoy_type_FractionalPercent; export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + export type Percent = _envoy_type_Percent; + export type Percent__Output = _envoy_type_Percent__Output; export type SemanticVersion = _envoy_type_SemanticVersion; export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; } } - export namespace udpa { - export namespace annotations { - export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; - export type StatusAnnotation = _udpa_annotations_StatusAnnotation; - export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; - export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; - export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; - export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; - export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; - export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; - export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; - } - } - export namespace validate { - export type FieldRules = _validate_FieldRules; - export type FieldRules__Output = _validate_FieldRules__Output; - export type FloatRules = _validate_FloatRules; - export type FloatRules__Output = _validate_FloatRules__Output; - export type DoubleRules = _validate_DoubleRules; - export type DoubleRules__Output = _validate_DoubleRules__Output; - export type Int32Rules = _validate_Int32Rules; - export type Int32Rules__Output = _validate_Int32Rules__Output; - export type Int64Rules = _validate_Int64Rules; - export type Int64Rules__Output = _validate_Int64Rules__Output; - export type UInt32Rules = _validate_UInt32Rules; - export type UInt32Rules__Output = _validate_UInt32Rules__Output; - export type UInt64Rules = _validate_UInt64Rules; - export type UInt64Rules__Output = _validate_UInt64Rules__Output; - export type SInt32Rules = _validate_SInt32Rules; - export type SInt32Rules__Output = _validate_SInt32Rules__Output; - export type SInt64Rules = _validate_SInt64Rules; - export type SInt64Rules__Output = _validate_SInt64Rules__Output; - export type Fixed32Rules = _validate_Fixed32Rules; - export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; - export type Fixed64Rules = _validate_Fixed64Rules; - export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; - export type SFixed32Rules = _validate_SFixed32Rules; - export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; - export type SFixed64Rules = _validate_SFixed64Rules; - export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; - export type BoolRules = _validate_BoolRules; - export type BoolRules__Output = _validate_BoolRules__Output; - export type StringRules = _validate_StringRules; - export type StringRules__Output = _validate_StringRules__Output; - export type KnownRegex = _validate_KnownRegex; - export type BytesRules = _validate_BytesRules; - export type BytesRules__Output = _validate_BytesRules__Output; - export type EnumRules = _validate_EnumRules; - export type EnumRules__Output = _validate_EnumRules__Output; - export type MessageRules = _validate_MessageRules; - export type MessageRules__Output = _validate_MessageRules__Output; - export type RepeatedRules = _validate_RepeatedRules; - export type RepeatedRules__Output = _validate_RepeatedRules__Output; - export type MapRules = _validate_MapRules; - export type MapRules__Output = _validate_MapRules__Output; - export type AnyRules = _validate_AnyRules; - export type AnyRules__Output = _validate_AnyRules__Output; - export type DurationRules = _validate_DurationRules; - export type DurationRules__Output = _validate_DurationRules__Output; - export type TimestampRules = _validate_TimestampRules; - export type TimestampRules__Output = _validate_TimestampRules__Output; - } export namespace google { export namespace protobuf { export type Any = _google_protobuf_Any; export type Any__Output = _google_protobuf_Any__Output; - export type Duration = _google_protobuf_Duration; - export type Duration__Output = _google_protobuf_Duration__Output; - export type Struct = _google_protobuf_Struct; - export type Struct__Output = _google_protobuf_Struct__Output; - export type Value = _google_protobuf_Value; - export type Value__Output = _google_protobuf_Value__Output; - export type NullValue = _google_protobuf_NullValue; - export type ListValue = _google_protobuf_ListValue; - export type ListValue__Output = _google_protobuf_ListValue__Output; - export type DoubleValue = _google_protobuf_DoubleValue; - export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; - export type FloatValue = _google_protobuf_FloatValue; - export type FloatValue__Output = _google_protobuf_FloatValue__Output; - export type Int64Value = _google_protobuf_Int64Value; - export type Int64Value__Output = _google_protobuf_Int64Value__Output; - export type UInt64Value = _google_protobuf_UInt64Value; - export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; - export type Int32Value = _google_protobuf_Int32Value; - export type Int32Value__Output = _google_protobuf_Int32Value__Output; - export type UInt32Value = _google_protobuf_UInt32Value; - export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; export type BoolValue = _google_protobuf_BoolValue; export type BoolValue__Output = _google_protobuf_BoolValue__Output; - export type StringValue = _google_protobuf_StringValue; - export type StringValue__Output = _google_protobuf_StringValue__Output; export type BytesValue = _google_protobuf_BytesValue; export type BytesValue__Output = _google_protobuf_BytesValue__Output; - export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; - export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; - export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; - export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; export type DescriptorProto = _google_protobuf_DescriptorProto; export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; - export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; - export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; - export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; - export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; + export type DoubleValue = _google_protobuf_DoubleValue; + export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; + export type Duration = _google_protobuf_Duration; + export type Duration__Output = _google_protobuf_Duration__Output; export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; + export type EnumOptions = _google_protobuf_EnumOptions; + export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; - export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; - export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; - export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; - export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type EnumValueOptions = _google_protobuf_EnumValueOptions; + export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; + export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; + export type FieldOptions = _google_protobuf_FieldOptions; + export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; + export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; + export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; + export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; export type FileOptions = _google_protobuf_FileOptions; export type FileOptions__Output = _google_protobuf_FileOptions__Output; + export type FloatValue = _google_protobuf_FloatValue; + export type FloatValue__Output = _google_protobuf_FloatValue__Output; + export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; + export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; + export type Int32Value = _google_protobuf_Int32Value; + export type Int32Value__Output = _google_protobuf_Int32Value__Output; + export type Int64Value = _google_protobuf_Int64Value; + export type Int64Value__Output = _google_protobuf_Int64Value__Output; + export type ListValue = _google_protobuf_ListValue; + export type ListValue__Output = _google_protobuf_ListValue__Output; export type MessageOptions = _google_protobuf_MessageOptions; export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; - export type FieldOptions = _google_protobuf_FieldOptions; - export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; + export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type MethodOptions = _google_protobuf_MethodOptions; + export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; + export type NullValue = _google_protobuf_NullValue; + export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; + export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; export type OneofOptions = _google_protobuf_OneofOptions; export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; - export type EnumOptions = _google_protobuf_EnumOptions; - export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; - export type EnumValueOptions = _google_protobuf_EnumValueOptions; - export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; + export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; export type ServiceOptions = _google_protobuf_ServiceOptions; export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; - export type MethodOptions = _google_protobuf_MethodOptions; - export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; - export type UninterpretedOption = _google_protobuf_UninterpretedOption; - export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; - export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; - export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; + export type StringValue = _google_protobuf_StringValue; + export type StringValue__Output = _google_protobuf_StringValue__Output; + export type Struct = _google_protobuf_Struct; + export type Struct__Output = _google_protobuf_Struct__Output; export type Timestamp = _google_protobuf_Timestamp; export type Timestamp__Output = _google_protobuf_Timestamp__Output; + export type UInt32Value = _google_protobuf_UInt32Value; + export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; + export type UInt64Value = _google_protobuf_UInt64Value; + export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; + export type UninterpretedOption = _google_protobuf_UninterpretedOption; + export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; + export type Value = _google_protobuf_Value; + export type Value__Output = _google_protobuf_Value__Output; } export namespace rpc { export type Status = _google_rpc_Status; export type Status__Output = _google_rpc_Status__Output; } } -} - -export namespace ClientInterfaces { - export namespace envoy { - export namespace service { - export namespace discovery { - export namespace v2 { - export interface AggregatedDiscoveryServiceClient extends grpc.Client { - StreamAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; - StreamAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; - streamAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; - streamAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; - - DeltaAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; - DeltaAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; - deltaAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; - deltaAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; - - } - export namespace AdsDummy { - } - } - } + export namespace udpa { + export namespace annotations { + export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; + export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; + export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; + export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; + export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; + export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; + export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; + export type StatusAnnotation = _udpa_annotations_StatusAnnotation; + export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; } + } + export namespace validate { + export type AnyRules = _validate_AnyRules; + export type AnyRules__Output = _validate_AnyRules__Output; + export type BoolRules = _validate_BoolRules; + export type BoolRules__Output = _validate_BoolRules__Output; + export type BytesRules = _validate_BytesRules; + export type BytesRules__Output = _validate_BytesRules__Output; + export type DoubleRules = _validate_DoubleRules; + export type DoubleRules__Output = _validate_DoubleRules__Output; + export type DurationRules = _validate_DurationRules; + export type DurationRules__Output = _validate_DurationRules__Output; + export type EnumRules = _validate_EnumRules; + export type EnumRules__Output = _validate_EnumRules__Output; + export type FieldRules = _validate_FieldRules; + export type FieldRules__Output = _validate_FieldRules__Output; + export type Fixed32Rules = _validate_Fixed32Rules; + export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + export type Fixed64Rules = _validate_Fixed64Rules; + export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + export type FloatRules = _validate_FloatRules; + export type FloatRules__Output = _validate_FloatRules__Output; + export type Int32Rules = _validate_Int32Rules; + export type Int32Rules__Output = _validate_Int32Rules__Output; + export type Int64Rules = _validate_Int64Rules; + export type Int64Rules__Output = _validate_Int64Rules__Output; + export type KnownRegex = _validate_KnownRegex; + export type MapRules = _validate_MapRules; + export type MapRules__Output = _validate_MapRules__Output; + export type MessageRules = _validate_MessageRules; + export type MessageRules__Output = _validate_MessageRules__Output; + export type RepeatedRules = _validate_RepeatedRules; + export type RepeatedRules__Output = _validate_RepeatedRules__Output; + export type SFixed32Rules = _validate_SFixed32Rules; + export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + export type SFixed64Rules = _validate_SFixed64Rules; + export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + export type SInt32Rules = _validate_SInt32Rules; + export type SInt32Rules__Output = _validate_SInt32Rules__Output; + export type SInt64Rules = _validate_SInt64Rules; + export type SInt64Rules__Output = _validate_SInt64Rules__Output; + export type StringRules = _validate_StringRules; + export type StringRules__Output = _validate_StringRules__Output; + export type TimestampRules = _validate_TimestampRules; + export type TimestampRules__Output = _validate_TimestampRules__Output; + export type UInt32Rules = _validate_UInt32Rules; + export type UInt32Rules__Output = _validate_UInt32Rules__Output; + export type UInt64Rules = _validate_UInt64Rules; + export type UInt64Rules__Output = _validate_UInt64Rules__Output; + } +} + +export namespace ClientInterfaces { + export namespace envoy { export namespace api { export namespace v2 { - export namespace DiscoveryRequest { - } - export namespace DiscoveryResponse { - } export namespace DeltaDiscoveryRequest { } export namespace DeltaDiscoveryResponse { } + export namespace DiscoveryRequest { + } + export namespace DiscoveryResponse { + } export namespace Resource { } export namespace core { - export namespace Locality { + export namespace Address { } - export namespace BuildVersion { + export namespace AsyncDataSource { } - export namespace Extension { + export namespace BackoffStrategy { } - export namespace Node { + export namespace BindConfig { } - export namespace Metadata { + export namespace BuildVersion { } - export namespace RuntimeUInt32 { + export namespace CidrRange { } - export namespace RuntimeDouble { + export namespace ControlPlane { } - export namespace RuntimeFeatureFlag { + export namespace DataSource { + } + export namespace Extension { + } + export namespace HeaderMap { } export namespace HeaderValue { } export namespace HeaderValueOption { } - export namespace HeaderMap { + export namespace HttpUri { } - export namespace DataSource { + export namespace Locality { } - export namespace RetryPolicy { + export namespace Metadata { } - export namespace RemoteDataSource { + export namespace Node { } - export namespace AsyncDataSource { + export namespace Pipe { } - export namespace TransportSocket { + export namespace RemoteDataSource { } - export namespace RuntimeFractionalPercent { + export namespace RetryPolicy { } - export namespace ControlPlane { + export namespace RuntimeDouble { } - export namespace Pipe { + export namespace RuntimeFeatureFlag { } - export namespace SocketAddress { + export namespace RuntimeFractionalPercent { } - export namespace TcpKeepalive { + export namespace RuntimeUInt32 { } - export namespace BindConfig { + export namespace SocketAddress { } - export namespace Address { + export namespace SocketOption { } - export namespace CidrRange { + export namespace TcpKeepalive { } - export namespace SocketOption { + export namespace TransportSocket { } - export namespace HttpUri { + } + } + } + export namespace service { + export namespace discovery { + export namespace v2 { + export namespace AdsDummy { } - export namespace BackoffStrategy { + export interface AggregatedDiscoveryServiceClient extends grpc.Client { + DeltaAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; + DeltaAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; + deltaAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; + deltaAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; + + StreamAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; + StreamAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; + streamAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; + streamAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; + } } } } export namespace type { - export namespace Percent { - } export namespace FractionalPercent { } - export namespace SemanticVersion { - } - } - } - export namespace udpa { - export namespace annotations { - export namespace StatusAnnotation { - } - export namespace MigrateAnnotation { - } - export namespace FieldMigrateAnnotation { + export namespace Percent { } - export namespace FileMigrateAnnotation { + export namespace SemanticVersion { } } } - export namespace validate { - export namespace FieldRules { - } - export namespace FloatRules { - } - export namespace DoubleRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace BoolRules { - } - export namespace StringRules { - } - export namespace BytesRules { - } - export namespace EnumRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace MapRules { - } - export namespace AnyRules { - } - export namespace DurationRules { - } - export namespace TimestampRules { - } - } export namespace google { export namespace protobuf { export namespace Any { } - export namespace Duration { - } - export namespace Struct { + export namespace BoolValue { } - export namespace Value { + export namespace BytesValue { } - export namespace ListValue { + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } } export namespace DoubleValue { } - export namespace FloatValue { + export namespace Duration { } - export namespace Int64Value { + export namespace EnumDescriptorProto { } - export namespace UInt64Value { + export namespace EnumOptions { } - export namespace Int32Value { + export namespace EnumValueDescriptorProto { } - export namespace UInt32Value { + export namespace EnumValueOptions { } - export namespace BoolValue { + export namespace FieldDescriptorProto { } - export namespace StringValue { + export namespace FieldOptions { } - export namespace BytesValue { + export namespace FileDescriptorProto { } export namespace FileDescriptorSet { } - export namespace FileDescriptorProto { + export namespace FileOptions { } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } + export namespace FloatValue { } - export namespace FieldDescriptorProto { + export namespace GeneratedCodeInfo { + export namespace Annotation { + } } - export namespace OneofDescriptorProto { + export namespace Int32Value { } - export namespace EnumDescriptorProto { + export namespace Int64Value { } - export namespace EnumValueDescriptorProto { + export namespace ListValue { } - export namespace ServiceDescriptorProto { + export namespace MessageOptions { } export namespace MethodDescriptorProto { } - export namespace FileOptions { - } - export namespace MessageOptions { + export namespace MethodOptions { } - export namespace FieldOptions { + export namespace OneofDescriptorProto { } export namespace OneofOptions { } - export namespace EnumOptions { - } - export namespace EnumValueOptions { + export namespace ServiceDescriptorProto { } export namespace ServiceOptions { } - export namespace MethodOptions { + export namespace SourceCodeInfo { + export namespace Location { + } + } + export namespace StringValue { + } + export namespace Struct { + } + export namespace Timestamp { + } + export namespace UInt32Value { + } + export namespace UInt64Value { } export namespace UninterpretedOption { export namespace NamePart { } } - export namespace SourceCodeInfo { - export namespace Location { - } + export namespace Value { } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } + } + export namespace rpc { + export namespace Status { } - export namespace Timestamp { + } + } + export namespace udpa { + export namespace annotations { + export namespace FieldMigrateAnnotation { + } + export namespace FileMigrateAnnotation { } + export namespace MigrateAnnotation { + } + export namespace StatusAnnotation { + } + } + } + export namespace validate { + export namespace AnyRules { + } + export namespace BoolRules { + } + export namespace BytesRules { + } + export namespace DoubleRules { + } + export namespace DurationRules { } - export namespace rpc { - export namespace Status { - } + export namespace EnumRules { + } + export namespace FieldRules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace FloatRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace MapRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace StringRules { + } + export namespace TimestampRules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { } } } @@ -602,382 +602,382 @@ type SubtypeConstructor = { export interface ProtoGrpcType { envoy: { - service: { - discovery: { - v2: { - AggregatedDiscoveryService: SubtypeConstructor & { service: ServiceDefinition } - AdsDummy: MessageTypeDefinition - } - } - } api: { v2: { - DiscoveryRequest: MessageTypeDefinition - DiscoveryResponse: MessageTypeDefinition DeltaDiscoveryRequest: MessageTypeDefinition DeltaDiscoveryResponse: MessageTypeDefinition + DiscoveryRequest: MessageTypeDefinition + DiscoveryResponse: MessageTypeDefinition Resource: MessageTypeDefinition core: { - RoutingPriority: EnumTypeDefinition - RequestMethod: EnumTypeDefinition - TrafficDirection: EnumTypeDefinition - Locality: MessageTypeDefinition + Address: MessageTypeDefinition + AsyncDataSource: MessageTypeDefinition + BackoffStrategy: MessageTypeDefinition + BindConfig: MessageTypeDefinition BuildVersion: MessageTypeDefinition + CidrRange: MessageTypeDefinition + ControlPlane: MessageTypeDefinition + DataSource: MessageTypeDefinition Extension: MessageTypeDefinition - Node: MessageTypeDefinition - Metadata: MessageTypeDefinition - RuntimeUInt32: MessageTypeDefinition - RuntimeDouble: MessageTypeDefinition - RuntimeFeatureFlag: MessageTypeDefinition + HeaderMap: MessageTypeDefinition HeaderValue: MessageTypeDefinition HeaderValueOption: MessageTypeDefinition - HeaderMap: MessageTypeDefinition - DataSource: MessageTypeDefinition - RetryPolicy: MessageTypeDefinition + HttpUri: MessageTypeDefinition + Locality: MessageTypeDefinition + Metadata: MessageTypeDefinition + Node: MessageTypeDefinition + Pipe: MessageTypeDefinition RemoteDataSource: MessageTypeDefinition - AsyncDataSource: MessageTypeDefinition - TransportSocket: MessageTypeDefinition + RequestMethod: EnumTypeDefinition + RetryPolicy: MessageTypeDefinition + RoutingPriority: EnumTypeDefinition + RuntimeDouble: MessageTypeDefinition + RuntimeFeatureFlag: MessageTypeDefinition RuntimeFractionalPercent: MessageTypeDefinition - ControlPlane: MessageTypeDefinition - Pipe: MessageTypeDefinition + RuntimeUInt32: MessageTypeDefinition SocketAddress: MessageTypeDefinition - TcpKeepalive: MessageTypeDefinition - BindConfig: MessageTypeDefinition - Address: MessageTypeDefinition - CidrRange: MessageTypeDefinition SocketOption: MessageTypeDefinition - HttpUri: MessageTypeDefinition - BackoffStrategy: MessageTypeDefinition + TcpKeepalive: MessageTypeDefinition + TrafficDirection: EnumTypeDefinition + TransportSocket: MessageTypeDefinition + } + } + } + service: { + discovery: { + v2: { + AdsDummy: MessageTypeDefinition + AggregatedDiscoveryService: SubtypeConstructor & { service: ServiceDefinition } } } } type: { - Percent: MessageTypeDefinition FractionalPercent: MessageTypeDefinition + Percent: MessageTypeDefinition SemanticVersion: MessageTypeDefinition } } - udpa: { - annotations: { - PackageVersionStatus: EnumTypeDefinition - StatusAnnotation: MessageTypeDefinition - MigrateAnnotation: MessageTypeDefinition - FieldMigrateAnnotation: MessageTypeDefinition - FileMigrateAnnotation: MessageTypeDefinition - } - } - validate: { - FieldRules: MessageTypeDefinition - FloatRules: MessageTypeDefinition - DoubleRules: MessageTypeDefinition - Int32Rules: MessageTypeDefinition - Int64Rules: MessageTypeDefinition - UInt32Rules: MessageTypeDefinition - UInt64Rules: MessageTypeDefinition - SInt32Rules: MessageTypeDefinition - SInt64Rules: MessageTypeDefinition - Fixed32Rules: MessageTypeDefinition - Fixed64Rules: MessageTypeDefinition - SFixed32Rules: MessageTypeDefinition - SFixed64Rules: MessageTypeDefinition - BoolRules: MessageTypeDefinition - StringRules: MessageTypeDefinition - KnownRegex: EnumTypeDefinition - BytesRules: MessageTypeDefinition - EnumRules: MessageTypeDefinition - MessageRules: MessageTypeDefinition - RepeatedRules: MessageTypeDefinition - MapRules: MessageTypeDefinition - AnyRules: MessageTypeDefinition - DurationRules: MessageTypeDefinition - TimestampRules: MessageTypeDefinition - } google: { protobuf: { Any: MessageTypeDefinition - Duration: MessageTypeDefinition - Struct: MessageTypeDefinition - Value: MessageTypeDefinition - NullValue: EnumTypeDefinition - ListValue: MessageTypeDefinition - DoubleValue: MessageTypeDefinition - FloatValue: MessageTypeDefinition - Int64Value: MessageTypeDefinition - UInt64Value: MessageTypeDefinition - Int32Value: MessageTypeDefinition - UInt32Value: MessageTypeDefinition BoolValue: MessageTypeDefinition - StringValue: MessageTypeDefinition BytesValue: MessageTypeDefinition - FileDescriptorSet: MessageTypeDefinition - FileDescriptorProto: MessageTypeDefinition DescriptorProto: MessageTypeDefinition - FieldDescriptorProto: MessageTypeDefinition - OneofDescriptorProto: MessageTypeDefinition + DoubleValue: MessageTypeDefinition + Duration: MessageTypeDefinition EnumDescriptorProto: MessageTypeDefinition + EnumOptions: MessageTypeDefinition EnumValueDescriptorProto: MessageTypeDefinition - ServiceDescriptorProto: MessageTypeDefinition - MethodDescriptorProto: MessageTypeDefinition + EnumValueOptions: MessageTypeDefinition + FieldDescriptorProto: MessageTypeDefinition + FieldOptions: MessageTypeDefinition + FileDescriptorProto: MessageTypeDefinition + FileDescriptorSet: MessageTypeDefinition FileOptions: MessageTypeDefinition + FloatValue: MessageTypeDefinition + GeneratedCodeInfo: MessageTypeDefinition + Int32Value: MessageTypeDefinition + Int64Value: MessageTypeDefinition + ListValue: MessageTypeDefinition MessageOptions: MessageTypeDefinition - FieldOptions: MessageTypeDefinition + MethodDescriptorProto: MessageTypeDefinition + MethodOptions: MessageTypeDefinition + NullValue: EnumTypeDefinition + OneofDescriptorProto: MessageTypeDefinition OneofOptions: MessageTypeDefinition - EnumOptions: MessageTypeDefinition - EnumValueOptions: MessageTypeDefinition + ServiceDescriptorProto: MessageTypeDefinition ServiceOptions: MessageTypeDefinition - MethodOptions: MessageTypeDefinition - UninterpretedOption: MessageTypeDefinition SourceCodeInfo: MessageTypeDefinition - GeneratedCodeInfo: MessageTypeDefinition + StringValue: MessageTypeDefinition + Struct: MessageTypeDefinition Timestamp: MessageTypeDefinition + UInt32Value: MessageTypeDefinition + UInt64Value: MessageTypeDefinition + UninterpretedOption: MessageTypeDefinition + Value: MessageTypeDefinition } rpc: { Status: MessageTypeDefinition } } + udpa: { + annotations: { + FieldMigrateAnnotation: MessageTypeDefinition + FileMigrateAnnotation: MessageTypeDefinition + MigrateAnnotation: MessageTypeDefinition + PackageVersionStatus: EnumTypeDefinition + StatusAnnotation: MessageTypeDefinition + } + } + validate: { + AnyRules: MessageTypeDefinition + BoolRules: MessageTypeDefinition + BytesRules: MessageTypeDefinition + DoubleRules: MessageTypeDefinition + DurationRules: MessageTypeDefinition + EnumRules: MessageTypeDefinition + FieldRules: MessageTypeDefinition + Fixed32Rules: MessageTypeDefinition + Fixed64Rules: MessageTypeDefinition + FloatRules: MessageTypeDefinition + Int32Rules: MessageTypeDefinition + Int64Rules: MessageTypeDefinition + KnownRegex: EnumTypeDefinition + MapRules: MessageTypeDefinition + MessageRules: MessageTypeDefinition + RepeatedRules: MessageTypeDefinition + SFixed32Rules: MessageTypeDefinition + SFixed64Rules: MessageTypeDefinition + SInt32Rules: MessageTypeDefinition + SInt64Rules: MessageTypeDefinition + StringRules: MessageTypeDefinition + TimestampRules: MessageTypeDefinition + UInt32Rules: MessageTypeDefinition + UInt64Rules: MessageTypeDefinition + } } export namespace ServiceHandlers { export namespace envoy { - export namespace service { - export namespace discovery { - export namespace v2 { - export interface AggregatedDiscoveryService { - StreamAggregatedResources(call: grpc.ServerDuplexStream): void; - - DeltaAggregatedResources(call: grpc.ServerDuplexStream): void; - - } - export namespace AdsDummy { - } - } - } - } export namespace api { export namespace v2 { - export namespace DiscoveryRequest { - } - export namespace DiscoveryResponse { - } export namespace DeltaDiscoveryRequest { } export namespace DeltaDiscoveryResponse { } + export namespace DiscoveryRequest { + } + export namespace DiscoveryResponse { + } export namespace Resource { } export namespace core { - export namespace Locality { + export namespace Address { } - export namespace BuildVersion { + export namespace AsyncDataSource { } - export namespace Extension { + export namespace BackoffStrategy { } - export namespace Node { + export namespace BindConfig { + } + export namespace BuildVersion { + } + export namespace CidrRange { } - export namespace Metadata { + export namespace ControlPlane { } - export namespace RuntimeUInt32 { + export namespace DataSource { } - export namespace RuntimeDouble { + export namespace Extension { } - export namespace RuntimeFeatureFlag { + export namespace HeaderMap { } export namespace HeaderValue { } export namespace HeaderValueOption { } - export namespace HeaderMap { + export namespace HttpUri { } - export namespace DataSource { + export namespace Locality { } - export namespace RetryPolicy { + export namespace Metadata { } - export namespace RemoteDataSource { + export namespace Node { } - export namespace AsyncDataSource { + export namespace Pipe { } - export namespace TransportSocket { + export namespace RemoteDataSource { } - export namespace RuntimeFractionalPercent { + export namespace RetryPolicy { } - export namespace ControlPlane { + export namespace RuntimeDouble { } - export namespace Pipe { + export namespace RuntimeFeatureFlag { } - export namespace SocketAddress { + export namespace RuntimeFractionalPercent { } - export namespace TcpKeepalive { + export namespace RuntimeUInt32 { } - export namespace BindConfig { + export namespace SocketAddress { } - export namespace Address { + export namespace SocketOption { } - export namespace CidrRange { + export namespace TcpKeepalive { } - export namespace SocketOption { + export namespace TransportSocket { } - export namespace HttpUri { + } + } + } + export namespace service { + export namespace discovery { + export namespace v2 { + export namespace AdsDummy { } - export namespace BackoffStrategy { + export interface AggregatedDiscoveryService { + DeltaAggregatedResources(call: grpc.ServerDuplexStream): void; + + StreamAggregatedResources(call: grpc.ServerDuplexStream): void; + } } } } export namespace type { - export namespace Percent { - } export namespace FractionalPercent { } - export namespace SemanticVersion { - } - } - } - export namespace udpa { - export namespace annotations { - export namespace StatusAnnotation { - } - export namespace MigrateAnnotation { - } - export namespace FieldMigrateAnnotation { + export namespace Percent { } - export namespace FileMigrateAnnotation { + export namespace SemanticVersion { } } } - export namespace validate { - export namespace FieldRules { - } - export namespace FloatRules { - } - export namespace DoubleRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace BoolRules { - } - export namespace StringRules { - } - export namespace BytesRules { - } - export namespace EnumRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace MapRules { - } - export namespace AnyRules { - } - export namespace DurationRules { - } - export namespace TimestampRules { - } - } export namespace google { export namespace protobuf { export namespace Any { } - export namespace Duration { - } - export namespace Struct { + export namespace BoolValue { } - export namespace Value { + export namespace BytesValue { } - export namespace ListValue { + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } } export namespace DoubleValue { } - export namespace FloatValue { + export namespace Duration { } - export namespace Int64Value { + export namespace EnumDescriptorProto { } - export namespace UInt64Value { + export namespace EnumOptions { } - export namespace Int32Value { + export namespace EnumValueDescriptorProto { } - export namespace UInt32Value { + export namespace EnumValueOptions { } - export namespace BoolValue { + export namespace FieldDescriptorProto { } - export namespace StringValue { + export namespace FieldOptions { } - export namespace BytesValue { + export namespace FileDescriptorProto { } export namespace FileDescriptorSet { } - export namespace FileDescriptorProto { + export namespace FileOptions { } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } + export namespace FloatValue { } - export namespace FieldDescriptorProto { + export namespace GeneratedCodeInfo { + export namespace Annotation { + } } - export namespace OneofDescriptorProto { + export namespace Int32Value { } - export namespace EnumDescriptorProto { + export namespace Int64Value { } - export namespace EnumValueDescriptorProto { + export namespace ListValue { } - export namespace ServiceDescriptorProto { + export namespace MessageOptions { } export namespace MethodDescriptorProto { } - export namespace FileOptions { - } - export namespace MessageOptions { + export namespace MethodOptions { } - export namespace FieldOptions { + export namespace OneofDescriptorProto { } export namespace OneofOptions { } - export namespace EnumOptions { - } - export namespace EnumValueOptions { + export namespace ServiceDescriptorProto { } export namespace ServiceOptions { } - export namespace MethodOptions { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } export namespace SourceCodeInfo { export namespace Location { } } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } + export namespace StringValue { + } + export namespace Struct { } export namespace Timestamp { } + export namespace UInt32Value { + } + export namespace UInt64Value { + } + export namespace UninterpretedOption { + export namespace NamePart { + } + } + export namespace Value { + } } export namespace rpc { export namespace Status { } } } + export namespace udpa { + export namespace annotations { + export namespace FieldMigrateAnnotation { + } + export namespace FileMigrateAnnotation { + } + export namespace MigrateAnnotation { + } + export namespace StatusAnnotation { + } + } + } + export namespace validate { + export namespace AnyRules { + } + export namespace BoolRules { + } + export namespace BytesRules { + } + export namespace DoubleRules { + } + export namespace DurationRules { + } + export namespace EnumRules { + } + export namespace FieldRules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace FloatRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace MapRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace StringRules { + } + export namespace TimestampRules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + } } diff --git a/packages/grpc-js/src/generated/cluster.ts b/packages/grpc-js/src/generated/cluster.ts index 6c45ee4cd..a99ff3277 100644 --- a/packages/grpc-js/src/generated/cluster.ts +++ b/packages/grpc-js/src/generated/cluster.ts @@ -2,289 +2,291 @@ import * as grpc from '../index'; import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; import { Cluster as _envoy_api_v2_Cluster, Cluster__Output as _envoy_api_v2_Cluster__Output } from './envoy/api/v2/Cluster'; +import { ClusterLoadAssignment as _envoy_api_v2_ClusterLoadAssignment, ClusterLoadAssignment__Output as _envoy_api_v2_ClusterLoadAssignment__Output } from './envoy/api/v2/ClusterLoadAssignment'; import { LoadBalancingPolicy as _envoy_api_v2_LoadBalancingPolicy, LoadBalancingPolicy__Output as _envoy_api_v2_LoadBalancingPolicy__Output } from './envoy/api/v2/LoadBalancingPolicy'; import { UpstreamBindConfig as _envoy_api_v2_UpstreamBindConfig, UpstreamBindConfig__Output as _envoy_api_v2_UpstreamBindConfig__Output } from './envoy/api/v2/UpstreamBindConfig'; import { UpstreamConnectionOptions as _envoy_api_v2_UpstreamConnectionOptions, UpstreamConnectionOptions__Output as _envoy_api_v2_UpstreamConnectionOptions__Output } from './envoy/api/v2/UpstreamConnectionOptions'; -import { Filter as _envoy_api_v2_cluster_Filter, Filter__Output as _envoy_api_v2_cluster_Filter__Output } from './envoy/api/v2/cluster/Filter'; -import { CircuitBreakers as _envoy_api_v2_cluster_CircuitBreakers, CircuitBreakers__Output as _envoy_api_v2_cluster_CircuitBreakers__Output } from './envoy/api/v2/cluster/CircuitBreakers'; -import { OutlierDetection as _envoy_api_v2_cluster_OutlierDetection, OutlierDetection__Output as _envoy_api_v2_cluster_OutlierDetection__Output } from './envoy/api/v2/cluster/OutlierDetection'; -import { UpstreamTlsContext as _envoy_api_v2_auth_UpstreamTlsContext, UpstreamTlsContext__Output as _envoy_api_v2_auth_UpstreamTlsContext__Output } from './envoy/api/v2/auth/UpstreamTlsContext'; -import { DownstreamTlsContext as _envoy_api_v2_auth_DownstreamTlsContext, DownstreamTlsContext__Output as _envoy_api_v2_auth_DownstreamTlsContext__Output } from './envoy/api/v2/auth/DownstreamTlsContext'; +import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from './envoy/api/v2/auth/CertificateValidationContext'; import { CommonTlsContext as _envoy_api_v2_auth_CommonTlsContext, CommonTlsContext__Output as _envoy_api_v2_auth_CommonTlsContext__Output } from './envoy/api/v2/auth/CommonTlsContext'; +import { DownstreamTlsContext as _envoy_api_v2_auth_DownstreamTlsContext, DownstreamTlsContext__Output as _envoy_api_v2_auth_DownstreamTlsContext__Output } from './envoy/api/v2/auth/DownstreamTlsContext'; import { GenericSecret as _envoy_api_v2_auth_GenericSecret, GenericSecret__Output as _envoy_api_v2_auth_GenericSecret__Output } from './envoy/api/v2/auth/GenericSecret'; +import { PrivateKeyProvider as _envoy_api_v2_auth_PrivateKeyProvider, PrivateKeyProvider__Output as _envoy_api_v2_auth_PrivateKeyProvider__Output } from './envoy/api/v2/auth/PrivateKeyProvider'; import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from './envoy/api/v2/auth/SdsSecretConfig'; import { Secret as _envoy_api_v2_auth_Secret, Secret__Output as _envoy_api_v2_auth_Secret__Output } from './envoy/api/v2/auth/Secret'; -import { TlsParameters as _envoy_api_v2_auth_TlsParameters, TlsParameters__Output as _envoy_api_v2_auth_TlsParameters__Output } from './envoy/api/v2/auth/TlsParameters'; -import { PrivateKeyProvider as _envoy_api_v2_auth_PrivateKeyProvider, PrivateKeyProvider__Output as _envoy_api_v2_auth_PrivateKeyProvider__Output } from './envoy/api/v2/auth/PrivateKeyProvider'; import { TlsCertificate as _envoy_api_v2_auth_TlsCertificate, TlsCertificate__Output as _envoy_api_v2_auth_TlsCertificate__Output } from './envoy/api/v2/auth/TlsCertificate'; +import { TlsParameters as _envoy_api_v2_auth_TlsParameters, TlsParameters__Output as _envoy_api_v2_auth_TlsParameters__Output } from './envoy/api/v2/auth/TlsParameters'; import { TlsSessionTicketKeys as _envoy_api_v2_auth_TlsSessionTicketKeys, TlsSessionTicketKeys__Output as _envoy_api_v2_auth_TlsSessionTicketKeys__Output } from './envoy/api/v2/auth/TlsSessionTicketKeys'; -import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from './envoy/api/v2/auth/CertificateValidationContext'; -import { TcpProtocolOptions as _envoy_api_v2_core_TcpProtocolOptions, TcpProtocolOptions__Output as _envoy_api_v2_core_TcpProtocolOptions__Output } from './envoy/api/v2/core/TcpProtocolOptions'; -import { UpstreamHttpProtocolOptions as _envoy_api_v2_core_UpstreamHttpProtocolOptions, UpstreamHttpProtocolOptions__Output as _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output } from './envoy/api/v2/core/UpstreamHttpProtocolOptions'; -import { HttpProtocolOptions as _envoy_api_v2_core_HttpProtocolOptions, HttpProtocolOptions__Output as _envoy_api_v2_core_HttpProtocolOptions__Output } from './envoy/api/v2/core/HttpProtocolOptions'; -import { Http1ProtocolOptions as _envoy_api_v2_core_Http1ProtocolOptions, Http1ProtocolOptions__Output as _envoy_api_v2_core_Http1ProtocolOptions__Output } from './envoy/api/v2/core/Http1ProtocolOptions'; -import { Http2ProtocolOptions as _envoy_api_v2_core_Http2ProtocolOptions, Http2ProtocolOptions__Output as _envoy_api_v2_core_Http2ProtocolOptions__Output } from './envoy/api/v2/core/Http2ProtocolOptions'; -import { GrpcProtocolOptions as _envoy_api_v2_core_GrpcProtocolOptions, GrpcProtocolOptions__Output as _envoy_api_v2_core_GrpcProtocolOptions__Output } from './envoy/api/v2/core/GrpcProtocolOptions'; -import { HealthStatus as _envoy_api_v2_core_HealthStatus } from './envoy/api/v2/core/HealthStatus'; -import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from './envoy/api/v2/core/HealthCheck'; -import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; -import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; -import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; -import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; +import { UpstreamTlsContext as _envoy_api_v2_auth_UpstreamTlsContext, UpstreamTlsContext__Output as _envoy_api_v2_auth_UpstreamTlsContext__Output } from './envoy/api/v2/auth/UpstreamTlsContext'; +import { CircuitBreakers as _envoy_api_v2_cluster_CircuitBreakers, CircuitBreakers__Output as _envoy_api_v2_cluster_CircuitBreakers__Output } from './envoy/api/v2/cluster/CircuitBreakers'; +import { Filter as _envoy_api_v2_cluster_Filter, Filter__Output as _envoy_api_v2_cluster_Filter__Output } from './envoy/api/v2/cluster/Filter'; +import { OutlierDetection as _envoy_api_v2_cluster_OutlierDetection, OutlierDetection__Output as _envoy_api_v2_cluster_OutlierDetection__Output } from './envoy/api/v2/cluster/OutlierDetection'; import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; -import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; -import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; -import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from './envoy/api/v2/core/AggregatedConfigSource'; -import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from './envoy/api/v2/core/SelfConfigSource'; -import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; -import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; -import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; -import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; -import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; -import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; +import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; +import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; +import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; +import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; +import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; +import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; +import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; +import { EventServiceConfig as _envoy_api_v2_core_EventServiceConfig, EventServiceConfig__Output as _envoy_api_v2_core_EventServiceConfig__Output } from './envoy/api/v2/core/EventServiceConfig'; import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; -import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; -import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; -import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; -import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; -import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; +import { GrpcProtocolOptions as _envoy_api_v2_core_GrpcProtocolOptions, GrpcProtocolOptions__Output as _envoy_api_v2_core_GrpcProtocolOptions__Output } from './envoy/api/v2/core/GrpcProtocolOptions'; +import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; +import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; -import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; -import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; -import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from './envoy/api/v2/core/HealthCheck'; +import { HealthStatus as _envoy_api_v2_core_HealthStatus } from './envoy/api/v2/core/HealthStatus'; +import { Http1ProtocolOptions as _envoy_api_v2_core_Http1ProtocolOptions, Http1ProtocolOptions__Output as _envoy_api_v2_core_Http1ProtocolOptions__Output } from './envoy/api/v2/core/Http1ProtocolOptions'; +import { Http2ProtocolOptions as _envoy_api_v2_core_Http2ProtocolOptions, Http2ProtocolOptions__Output as _envoy_api_v2_core_Http2ProtocolOptions__Output } from './envoy/api/v2/core/Http2ProtocolOptions'; +import { HttpProtocolOptions as _envoy_api_v2_core_HttpProtocolOptions, HttpProtocolOptions__Output as _envoy_api_v2_core_HttpProtocolOptions__Output } from './envoy/api/v2/core/HttpProtocolOptions'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; +import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; +import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; +import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; -import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; -import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; +import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; +import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; +import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; -import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { EventServiceConfig as _envoy_api_v2_core_EventServiceConfig, EventServiceConfig__Output as _envoy_api_v2_core_EventServiceConfig__Output } from './envoy/api/v2/core/EventServiceConfig'; -import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; -import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; +import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; +import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from './envoy/api/v2/core/SelfConfigSource'; +import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; -import { ClusterLoadAssignment as _envoy_api_v2_ClusterLoadAssignment, ClusterLoadAssignment__Output as _envoy_api_v2_ClusterLoadAssignment__Output } from './envoy/api/v2/ClusterLoadAssignment'; +import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; +import { TcpProtocolOptions as _envoy_api_v2_core_TcpProtocolOptions, TcpProtocolOptions__Output as _envoy_api_v2_core_TcpProtocolOptions__Output } from './envoy/api/v2/core/TcpProtocolOptions'; +import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; +import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { UpstreamHttpProtocolOptions as _envoy_api_v2_core_UpstreamHttpProtocolOptions, UpstreamHttpProtocolOptions__Output as _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output } from './envoy/api/v2/core/UpstreamHttpProtocolOptions'; import { Endpoint as _envoy_api_v2_endpoint_Endpoint, Endpoint__Output as _envoy_api_v2_endpoint_Endpoint__Output } from './envoy/api/v2/endpoint/Endpoint'; import { LbEndpoint as _envoy_api_v2_endpoint_LbEndpoint, LbEndpoint__Output as _envoy_api_v2_endpoint_LbEndpoint__Output } from './envoy/api/v2/endpoint/LbEndpoint'; import { LocalityLbEndpoints as _envoy_api_v2_endpoint_LocalityLbEndpoints, LocalityLbEndpoints__Output as _envoy_api_v2_endpoint_LocalityLbEndpoints__Output } from './envoy/api/v2/endpoint/LocalityLbEndpoints'; -import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; +import { CodecClientType as _envoy_type_CodecClientType } from './envoy/type/CodecClientType'; +import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; -import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; -import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; -import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; -import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; -import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; -import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; -import { CodecClientType as _envoy_type_CodecClientType } from './envoy/type/CodecClientType'; +import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; +import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; -import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; +import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; +import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; +import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from './google/api/CustomHttpPattern'; +import { Http as _google_api_Http, Http__Output as _google_api_Http__Output } from './google/api/Http'; +import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from './google/api/HttpRule'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; +import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; +import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; +import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; +import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; +import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; +import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; +import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; +import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; +import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; +import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; +import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; +import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; +import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; +import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; +import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; +import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; +import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; +import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; +import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; +import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; +import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; +import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; +import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; +import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; +import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; +import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; +import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; +import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; +import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; +import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; +import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; +import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; +import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; +import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; +import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; +import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; +import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; +import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; +import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; +import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; -import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; -import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; -import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; -import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; -import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; -import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; -import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; -import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; -import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; -import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; -import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; -import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; -import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; +import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; -import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; -import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; -import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; +import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; +import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; +import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; +import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; +import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; -import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; -import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; -import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; -import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; -import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; -import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; -import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; -import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; -import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; -import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; -import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; -import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; -import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; -import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; -import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; -import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; -import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; -import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; -import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; -import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; -import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; -import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; -import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; -import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; -import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; -import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; -import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; -import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; -import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; -import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; -import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; -import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; -import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; -import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; -import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; -import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; -import { Http as _google_api_Http, Http__Output as _google_api_Http__Output } from './google/api/Http'; -import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from './google/api/HttpRule'; -import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from './google/api/CustomHttpPattern'; +import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; +import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; export namespace messages { export namespace envoy { + export namespace annotations { + } export namespace api { export namespace v2 { export type Cluster = _envoy_api_v2_Cluster; export type Cluster__Output = _envoy_api_v2_Cluster__Output; + export type ClusterLoadAssignment = _envoy_api_v2_ClusterLoadAssignment; + export type ClusterLoadAssignment__Output = _envoy_api_v2_ClusterLoadAssignment__Output; export type LoadBalancingPolicy = _envoy_api_v2_LoadBalancingPolicy; export type LoadBalancingPolicy__Output = _envoy_api_v2_LoadBalancingPolicy__Output; export type UpstreamBindConfig = _envoy_api_v2_UpstreamBindConfig; export type UpstreamBindConfig__Output = _envoy_api_v2_UpstreamBindConfig__Output; export type UpstreamConnectionOptions = _envoy_api_v2_UpstreamConnectionOptions; export type UpstreamConnectionOptions__Output = _envoy_api_v2_UpstreamConnectionOptions__Output; - export namespace cluster { - export type Filter = _envoy_api_v2_cluster_Filter; - export type Filter__Output = _envoy_api_v2_cluster_Filter__Output; - export type CircuitBreakers = _envoy_api_v2_cluster_CircuitBreakers; - export type CircuitBreakers__Output = _envoy_api_v2_cluster_CircuitBreakers__Output; - export type OutlierDetection = _envoy_api_v2_cluster_OutlierDetection; - export type OutlierDetection__Output = _envoy_api_v2_cluster_OutlierDetection__Output; - } export namespace auth { - export type UpstreamTlsContext = _envoy_api_v2_auth_UpstreamTlsContext; - export type UpstreamTlsContext__Output = _envoy_api_v2_auth_UpstreamTlsContext__Output; - export type DownstreamTlsContext = _envoy_api_v2_auth_DownstreamTlsContext; - export type DownstreamTlsContext__Output = _envoy_api_v2_auth_DownstreamTlsContext__Output; + export type CertificateValidationContext = _envoy_api_v2_auth_CertificateValidationContext; + export type CertificateValidationContext__Output = _envoy_api_v2_auth_CertificateValidationContext__Output; export type CommonTlsContext = _envoy_api_v2_auth_CommonTlsContext; export type CommonTlsContext__Output = _envoy_api_v2_auth_CommonTlsContext__Output; + export type DownstreamTlsContext = _envoy_api_v2_auth_DownstreamTlsContext; + export type DownstreamTlsContext__Output = _envoy_api_v2_auth_DownstreamTlsContext__Output; export type GenericSecret = _envoy_api_v2_auth_GenericSecret; export type GenericSecret__Output = _envoy_api_v2_auth_GenericSecret__Output; + export type PrivateKeyProvider = _envoy_api_v2_auth_PrivateKeyProvider; + export type PrivateKeyProvider__Output = _envoy_api_v2_auth_PrivateKeyProvider__Output; export type SdsSecretConfig = _envoy_api_v2_auth_SdsSecretConfig; export type SdsSecretConfig__Output = _envoy_api_v2_auth_SdsSecretConfig__Output; export type Secret = _envoy_api_v2_auth_Secret; export type Secret__Output = _envoy_api_v2_auth_Secret__Output; - export type TlsParameters = _envoy_api_v2_auth_TlsParameters; - export type TlsParameters__Output = _envoy_api_v2_auth_TlsParameters__Output; - export type PrivateKeyProvider = _envoy_api_v2_auth_PrivateKeyProvider; - export type PrivateKeyProvider__Output = _envoy_api_v2_auth_PrivateKeyProvider__Output; export type TlsCertificate = _envoy_api_v2_auth_TlsCertificate; export type TlsCertificate__Output = _envoy_api_v2_auth_TlsCertificate__Output; + export type TlsParameters = _envoy_api_v2_auth_TlsParameters; + export type TlsParameters__Output = _envoy_api_v2_auth_TlsParameters__Output; export type TlsSessionTicketKeys = _envoy_api_v2_auth_TlsSessionTicketKeys; export type TlsSessionTicketKeys__Output = _envoy_api_v2_auth_TlsSessionTicketKeys__Output; - export type CertificateValidationContext = _envoy_api_v2_auth_CertificateValidationContext; - export type CertificateValidationContext__Output = _envoy_api_v2_auth_CertificateValidationContext__Output; + export type UpstreamTlsContext = _envoy_api_v2_auth_UpstreamTlsContext; + export type UpstreamTlsContext__Output = _envoy_api_v2_auth_UpstreamTlsContext__Output; } - export namespace core { - export type TcpProtocolOptions = _envoy_api_v2_core_TcpProtocolOptions; - export type TcpProtocolOptions__Output = _envoy_api_v2_core_TcpProtocolOptions__Output; - export type UpstreamHttpProtocolOptions = _envoy_api_v2_core_UpstreamHttpProtocolOptions; - export type UpstreamHttpProtocolOptions__Output = _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output; - export type HttpProtocolOptions = _envoy_api_v2_core_HttpProtocolOptions; - export type HttpProtocolOptions__Output = _envoy_api_v2_core_HttpProtocolOptions__Output; - export type Http1ProtocolOptions = _envoy_api_v2_core_Http1ProtocolOptions; - export type Http1ProtocolOptions__Output = _envoy_api_v2_core_Http1ProtocolOptions__Output; - export type Http2ProtocolOptions = _envoy_api_v2_core_Http2ProtocolOptions; - export type Http2ProtocolOptions__Output = _envoy_api_v2_core_Http2ProtocolOptions__Output; - export type GrpcProtocolOptions = _envoy_api_v2_core_GrpcProtocolOptions; - export type GrpcProtocolOptions__Output = _envoy_api_v2_core_GrpcProtocolOptions__Output; - export type HealthStatus = _envoy_api_v2_core_HealthStatus; - export type HealthCheck = _envoy_api_v2_core_HealthCheck; - export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; - export type Pipe = _envoy_api_v2_core_Pipe; - export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; - export type SocketAddress = _envoy_api_v2_core_SocketAddress; - export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; - export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; - export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; - export type BindConfig = _envoy_api_v2_core_BindConfig; - export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; + export namespace cluster { + export type CircuitBreakers = _envoy_api_v2_cluster_CircuitBreakers; + export type CircuitBreakers__Output = _envoy_api_v2_cluster_CircuitBreakers__Output; + export type Filter = _envoy_api_v2_cluster_Filter; + export type Filter__Output = _envoy_api_v2_cluster_Filter__Output; + export type OutlierDetection = _envoy_api_v2_cluster_OutlierDetection; + export type OutlierDetection__Output = _envoy_api_v2_cluster_OutlierDetection__Output; + } + export namespace core { export type Address = _envoy_api_v2_core_Address; export type Address__Output = _envoy_api_v2_core_Address__Output; - export type CidrRange = _envoy_api_v2_core_CidrRange; - export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; - export type ApiVersion = _envoy_api_v2_core_ApiVersion; - export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; - export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; - export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; - export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; - export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; - export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; - export type ConfigSource = _envoy_api_v2_core_ConfigSource; - export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; - export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; - export type RequestMethod = _envoy_api_v2_core_RequestMethod; - export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; - export type Locality = _envoy_api_v2_core_Locality; - export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; + export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; + export type ApiVersion = _envoy_api_v2_core_ApiVersion; + export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type BindConfig = _envoy_api_v2_core_BindConfig; + export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; export type BuildVersion = _envoy_api_v2_core_BuildVersion; export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + export type CidrRange = _envoy_api_v2_core_CidrRange; + export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + export type ConfigSource = _envoy_api_v2_core_ConfigSource; + export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; + export type ControlPlane = _envoy_api_v2_core_ControlPlane; + export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + export type DataSource = _envoy_api_v2_core_DataSource; + export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; + export type EventServiceConfig = _envoy_api_v2_core_EventServiceConfig; + export type EventServiceConfig__Output = _envoy_api_v2_core_EventServiceConfig__Output; export type Extension = _envoy_api_v2_core_Extension; export type Extension__Output = _envoy_api_v2_core_Extension__Output; - export type Node = _envoy_api_v2_core_Node; - export type Node__Output = _envoy_api_v2_core_Node__Output; - export type Metadata = _envoy_api_v2_core_Metadata; - export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; - export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; - export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; - export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; - export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; - export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; - export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + export type GrpcProtocolOptions = _envoy_api_v2_core_GrpcProtocolOptions; + export type GrpcProtocolOptions__Output = _envoy_api_v2_core_GrpcProtocolOptions__Output; + export type GrpcService = _envoy_api_v2_core_GrpcService; + export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + export type HeaderMap = _envoy_api_v2_core_HeaderMap; + export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; export type HeaderValue = _envoy_api_v2_core_HeaderValue; export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; - export type HeaderMap = _envoy_api_v2_core_HeaderMap; - export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; - export type DataSource = _envoy_api_v2_core_DataSource; - export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; - export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; - export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type HealthCheck = _envoy_api_v2_core_HealthCheck; + export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; + export type HealthStatus = _envoy_api_v2_core_HealthStatus; + export type Http1ProtocolOptions = _envoy_api_v2_core_Http1ProtocolOptions; + export type Http1ProtocolOptions__Output = _envoy_api_v2_core_Http1ProtocolOptions__Output; + export type Http2ProtocolOptions = _envoy_api_v2_core_Http2ProtocolOptions; + export type Http2ProtocolOptions__Output = _envoy_api_v2_core_Http2ProtocolOptions__Output; + export type HttpProtocolOptions = _envoy_api_v2_core_HttpProtocolOptions; + export type HttpProtocolOptions__Output = _envoy_api_v2_core_HttpProtocolOptions__Output; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type Locality = _envoy_api_v2_core_Locality; + export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type Metadata = _envoy_api_v2_core_Metadata; + export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + export type Node = _envoy_api_v2_core_Node; + export type Node__Output = _envoy_api_v2_core_Node__Output; + export type Pipe = _envoy_api_v2_core_Pipe; + export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; + export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; - export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; - export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; - export type TransportSocket = _envoy_api_v2_core_TransportSocket; - export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; + export type RequestMethod = _envoy_api_v2_core_RequestMethod; + export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; - export type ControlPlane = _envoy_api_v2_core_ControlPlane; - export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - export type EventServiceConfig = _envoy_api_v2_core_EventServiceConfig; - export type EventServiceConfig__Output = _envoy_api_v2_core_EventServiceConfig__Output; - export type GrpcService = _envoy_api_v2_core_GrpcService; - export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; - export type HttpUri = _envoy_api_v2_core_HttpUri; - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; - export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; - export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; + export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; + export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; + export type SocketAddress = _envoy_api_v2_core_SocketAddress; + export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; export type SocketOption = _envoy_api_v2_core_SocketOption; export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; + export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; + export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + export type TcpProtocolOptions = _envoy_api_v2_core_TcpProtocolOptions; + export type TcpProtocolOptions__Output = _envoy_api_v2_core_TcpProtocolOptions__Output; + export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + export type TransportSocket = _envoy_api_v2_core_TransportSocket; + export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; + export type UpstreamHttpProtocolOptions = _envoy_api_v2_core_UpstreamHttpProtocolOptions; + export type UpstreamHttpProtocolOptions__Output = _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output; } - export type ClusterLoadAssignment = _envoy_api_v2_ClusterLoadAssignment; - export type ClusterLoadAssignment__Output = _envoy_api_v2_ClusterLoadAssignment__Output; export namespace endpoint { export type Endpoint = _envoy_api_v2_endpoint_Endpoint; export type Endpoint__Output = _envoy_api_v2_endpoint_Endpoint__Output; @@ -295,189 +297,195 @@ export namespace messages { } } } - export namespace annotations { - } export namespace type { - export type Percent = _envoy_type_Percent; - export type Percent__Output = _envoy_type_Percent__Output; + export type CodecClientType = _envoy_type_CodecClientType; + export type DoubleRange = _envoy_type_DoubleRange; + export type DoubleRange__Output = _envoy_type_DoubleRange__Output; export type FractionalPercent = _envoy_type_FractionalPercent; export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + export type Int32Range = _envoy_type_Int32Range; + export type Int32Range__Output = _envoy_type_Int32Range__Output; + export type Int64Range = _envoy_type_Int64Range; + export type Int64Range__Output = _envoy_type_Int64Range__Output; + export type Percent = _envoy_type_Percent; + export type Percent__Output = _envoy_type_Percent__Output; + export type SemanticVersion = _envoy_type_SemanticVersion; + export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; export namespace matcher { - export type StringMatcher = _envoy_type_matcher_StringMatcher; - export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; - export type RegexMatcher = _envoy_type_matcher_RegexMatcher; - export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; + export type RegexMatcher = _envoy_type_matcher_RegexMatcher; + export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; + export type StringMatcher = _envoy_type_matcher_StringMatcher; + export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; } - export type Int64Range = _envoy_type_Int64Range; - export type Int64Range__Output = _envoy_type_Int64Range__Output; - export type Int32Range = _envoy_type_Int32Range; - export type Int32Range__Output = _envoy_type_Int32Range__Output; - export type DoubleRange = _envoy_type_DoubleRange; - export type DoubleRange__Output = _envoy_type_DoubleRange__Output; - export type CodecClientType = _envoy_type_CodecClientType; - export type SemanticVersion = _envoy_type_SemanticVersion; - export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; } } - export namespace udpa { - export namespace annotations { - export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; - export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; - export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; - export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; - export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; - export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; - export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; - export type StatusAnnotation = _udpa_annotations_StatusAnnotation; - export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; - } - } - export namespace validate { - export type FieldRules = _validate_FieldRules; - export type FieldRules__Output = _validate_FieldRules__Output; - export type FloatRules = _validate_FloatRules; - export type FloatRules__Output = _validate_FloatRules__Output; - export type DoubleRules = _validate_DoubleRules; - export type DoubleRules__Output = _validate_DoubleRules__Output; - export type Int32Rules = _validate_Int32Rules; - export type Int32Rules__Output = _validate_Int32Rules__Output; - export type Int64Rules = _validate_Int64Rules; - export type Int64Rules__Output = _validate_Int64Rules__Output; - export type UInt32Rules = _validate_UInt32Rules; - export type UInt32Rules__Output = _validate_UInt32Rules__Output; - export type UInt64Rules = _validate_UInt64Rules; - export type UInt64Rules__Output = _validate_UInt64Rules__Output; - export type SInt32Rules = _validate_SInt32Rules; - export type SInt32Rules__Output = _validate_SInt32Rules__Output; - export type SInt64Rules = _validate_SInt64Rules; - export type SInt64Rules__Output = _validate_SInt64Rules__Output; - export type Fixed32Rules = _validate_Fixed32Rules; - export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; - export type Fixed64Rules = _validate_Fixed64Rules; - export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; - export type SFixed32Rules = _validate_SFixed32Rules; - export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; - export type SFixed64Rules = _validate_SFixed64Rules; - export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; - export type BoolRules = _validate_BoolRules; - export type BoolRules__Output = _validate_BoolRules__Output; - export type StringRules = _validate_StringRules; - export type StringRules__Output = _validate_StringRules__Output; - export type KnownRegex = _validate_KnownRegex; - export type BytesRules = _validate_BytesRules; - export type BytesRules__Output = _validate_BytesRules__Output; - export type EnumRules = _validate_EnumRules; - export type EnumRules__Output = _validate_EnumRules__Output; - export type MessageRules = _validate_MessageRules; - export type MessageRules__Output = _validate_MessageRules__Output; - export type RepeatedRules = _validate_RepeatedRules; - export type RepeatedRules__Output = _validate_RepeatedRules__Output; - export type MapRules = _validate_MapRules; - export type MapRules__Output = _validate_MapRules__Output; - export type AnyRules = _validate_AnyRules; - export type AnyRules__Output = _validate_AnyRules__Output; - export type DurationRules = _validate_DurationRules; - export type DurationRules__Output = _validate_DurationRules__Output; - export type TimestampRules = _validate_TimestampRules; - export type TimestampRules__Output = _validate_TimestampRules__Output; - } export namespace google { + export namespace api { + export type CustomHttpPattern = _google_api_CustomHttpPattern; + export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; + export type Http = _google_api_Http; + export type Http__Output = _google_api_Http__Output; + export type HttpRule = _google_api_HttpRule; + export type HttpRule__Output = _google_api_HttpRule__Output; + } export namespace protobuf { export type Any = _google_protobuf_Any; export type Any__Output = _google_protobuf_Any__Output; - export type Duration = _google_protobuf_Duration; - export type Duration__Output = _google_protobuf_Duration__Output; - export type Struct = _google_protobuf_Struct; - export type Struct__Output = _google_protobuf_Struct__Output; - export type Value = _google_protobuf_Value; - export type Value__Output = _google_protobuf_Value__Output; - export type NullValue = _google_protobuf_NullValue; - export type ListValue = _google_protobuf_ListValue; - export type ListValue__Output = _google_protobuf_ListValue__Output; - export type DoubleValue = _google_protobuf_DoubleValue; - export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; - export type FloatValue = _google_protobuf_FloatValue; - export type FloatValue__Output = _google_protobuf_FloatValue__Output; - export type Int64Value = _google_protobuf_Int64Value; - export type Int64Value__Output = _google_protobuf_Int64Value__Output; - export type UInt64Value = _google_protobuf_UInt64Value; - export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; - export type Int32Value = _google_protobuf_Int32Value; - export type Int32Value__Output = _google_protobuf_Int32Value__Output; - export type UInt32Value = _google_protobuf_UInt32Value; - export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; export type BoolValue = _google_protobuf_BoolValue; export type BoolValue__Output = _google_protobuf_BoolValue__Output; - export type StringValue = _google_protobuf_StringValue; - export type StringValue__Output = _google_protobuf_StringValue__Output; export type BytesValue = _google_protobuf_BytesValue; export type BytesValue__Output = _google_protobuf_BytesValue__Output; - export type Timestamp = _google_protobuf_Timestamp; - export type Timestamp__Output = _google_protobuf_Timestamp__Output; - export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; - export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; - export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; - export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; export type DescriptorProto = _google_protobuf_DescriptorProto; export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; - export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; - export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; - export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; - export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; + export type DoubleValue = _google_protobuf_DoubleValue; + export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; + export type Duration = _google_protobuf_Duration; + export type Duration__Output = _google_protobuf_Duration__Output; + export type Empty = _google_protobuf_Empty; + export type Empty__Output = _google_protobuf_Empty__Output; export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; + export type EnumOptions = _google_protobuf_EnumOptions; + export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; - export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; - export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; - export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; - export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type EnumValueOptions = _google_protobuf_EnumValueOptions; + export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; + export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; + export type FieldOptions = _google_protobuf_FieldOptions; + export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; + export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; + export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; + export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; export type FileOptions = _google_protobuf_FileOptions; export type FileOptions__Output = _google_protobuf_FileOptions__Output; + export type FloatValue = _google_protobuf_FloatValue; + export type FloatValue__Output = _google_protobuf_FloatValue__Output; + export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; + export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; + export type Int32Value = _google_protobuf_Int32Value; + export type Int32Value__Output = _google_protobuf_Int32Value__Output; + export type Int64Value = _google_protobuf_Int64Value; + export type Int64Value__Output = _google_protobuf_Int64Value__Output; + export type ListValue = _google_protobuf_ListValue; + export type ListValue__Output = _google_protobuf_ListValue__Output; export type MessageOptions = _google_protobuf_MessageOptions; export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; - export type FieldOptions = _google_protobuf_FieldOptions; - export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; + export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type MethodOptions = _google_protobuf_MethodOptions; + export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; + export type NullValue = _google_protobuf_NullValue; + export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; + export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; export type OneofOptions = _google_protobuf_OneofOptions; export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; - export type EnumOptions = _google_protobuf_EnumOptions; - export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; - export type EnumValueOptions = _google_protobuf_EnumValueOptions; - export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; + export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; export type ServiceOptions = _google_protobuf_ServiceOptions; export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; - export type MethodOptions = _google_protobuf_MethodOptions; - export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; - export type UninterpretedOption = _google_protobuf_UninterpretedOption; - export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; - export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; - export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; - export type Empty = _google_protobuf_Empty; - export type Empty__Output = _google_protobuf_Empty__Output; + export type StringValue = _google_protobuf_StringValue; + export type StringValue__Output = _google_protobuf_StringValue__Output; + export type Struct = _google_protobuf_Struct; + export type Struct__Output = _google_protobuf_Struct__Output; + export type Timestamp = _google_protobuf_Timestamp; + export type Timestamp__Output = _google_protobuf_Timestamp__Output; + export type UInt32Value = _google_protobuf_UInt32Value; + export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; + export type UInt64Value = _google_protobuf_UInt64Value; + export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; + export type UninterpretedOption = _google_protobuf_UninterpretedOption; + export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; + export type Value = _google_protobuf_Value; + export type Value__Output = _google_protobuf_Value__Output; } - export namespace api { - export type Http = _google_api_Http; - export type Http__Output = _google_api_Http__Output; - export type HttpRule = _google_api_HttpRule; - export type HttpRule__Output = _google_api_HttpRule__Output; - export type CustomHttpPattern = _google_api_CustomHttpPattern; - export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; + } + export namespace udpa { + export namespace annotations { + export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; + export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; + export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; + export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; + export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; + export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; + export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; + export type StatusAnnotation = _udpa_annotations_StatusAnnotation; + export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; } } + export namespace validate { + export type AnyRules = _validate_AnyRules; + export type AnyRules__Output = _validate_AnyRules__Output; + export type BoolRules = _validate_BoolRules; + export type BoolRules__Output = _validate_BoolRules__Output; + export type BytesRules = _validate_BytesRules; + export type BytesRules__Output = _validate_BytesRules__Output; + export type DoubleRules = _validate_DoubleRules; + export type DoubleRules__Output = _validate_DoubleRules__Output; + export type DurationRules = _validate_DurationRules; + export type DurationRules__Output = _validate_DurationRules__Output; + export type EnumRules = _validate_EnumRules; + export type EnumRules__Output = _validate_EnumRules__Output; + export type FieldRules = _validate_FieldRules; + export type FieldRules__Output = _validate_FieldRules__Output; + export type Fixed32Rules = _validate_Fixed32Rules; + export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + export type Fixed64Rules = _validate_Fixed64Rules; + export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + export type FloatRules = _validate_FloatRules; + export type FloatRules__Output = _validate_FloatRules__Output; + export type Int32Rules = _validate_Int32Rules; + export type Int32Rules__Output = _validate_Int32Rules__Output; + export type Int64Rules = _validate_Int64Rules; + export type Int64Rules__Output = _validate_Int64Rules__Output; + export type KnownRegex = _validate_KnownRegex; + export type MapRules = _validate_MapRules; + export type MapRules__Output = _validate_MapRules__Output; + export type MessageRules = _validate_MessageRules; + export type MessageRules__Output = _validate_MessageRules__Output; + export type RepeatedRules = _validate_RepeatedRules; + export type RepeatedRules__Output = _validate_RepeatedRules__Output; + export type SFixed32Rules = _validate_SFixed32Rules; + export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + export type SFixed64Rules = _validate_SFixed64Rules; + export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + export type SInt32Rules = _validate_SInt32Rules; + export type SInt32Rules__Output = _validate_SInt32Rules__Output; + export type SInt64Rules = _validate_SInt64Rules; + export type SInt64Rules__Output = _validate_SInt64Rules__Output; + export type StringRules = _validate_StringRules; + export type StringRules__Output = _validate_StringRules__Output; + export type TimestampRules = _validate_TimestampRules; + export type TimestampRules__Output = _validate_TimestampRules__Output; + export type UInt32Rules = _validate_UInt32Rules; + export type UInt32Rules__Output = _validate_UInt32Rules__Output; + export type UInt64Rules = _validate_UInt64Rules; + export type UInt64Rules__Output = _validate_UInt64Rules__Output; + } } export namespace ClientInterfaces { export namespace envoy { + export namespace annotations { + } export namespace api { export namespace v2 { export namespace Cluster { - export namespace TransportSocketMatch { + export namespace CommonLbConfig { + export namespace ConsistentHashingLbConfig { + } + export namespace LocalityWeightedLbConfig { + } + export namespace ZoneAwareLbConfig { + } } export namespace CustomClusterType { } @@ -489,20 +497,20 @@ export namespace ClientInterfaces { } export namespace LeastRequestLbConfig { } + export namespace OriginalDstLbConfig { + } + export namespace RefreshRate { + } export namespace RingHashLbConfig { } - export namespace OriginalDstLbConfig { + export namespace TransportSocketMatch { } - export namespace CommonLbConfig { - export namespace ZoneAwareLbConfig { - } - export namespace LocalityWeightedLbConfig { - } - export namespace ConsistentHashingLbConfig { + } + export namespace ClusterLoadAssignment { + export namespace Policy { + export namespace DropOverload { } } - export namespace RefreshRate { - } } export namespace LoadBalancingPolicy { export namespace Policy { @@ -512,172 +520,166 @@ export namespace ClientInterfaces { } export namespace UpstreamConnectionOptions { } - export namespace cluster { - export namespace Filter { + export namespace auth { + export namespace CertificateValidationContext { + } + export namespace CommonTlsContext { + export namespace CombinedCertificateValidationContext { + } + } + export namespace DownstreamTlsContext { + } + export namespace GenericSecret { + } + export namespace PrivateKeyProvider { + } + export namespace SdsSecretConfig { + } + export namespace Secret { + } + export namespace TlsCertificate { + } + export namespace TlsParameters { } + export namespace TlsSessionTicketKeys { + } + export namespace UpstreamTlsContext { + } + } + export namespace cluster { export namespace CircuitBreakers { export namespace Thresholds { export namespace RetryBudget { } } } + export namespace Filter { + } export namespace OutlierDetection { } } - export namespace auth { - export namespace UpstreamTlsContext { + export namespace core { + export namespace Address { } - export namespace DownstreamTlsContext { + export namespace AggregatedConfigSource { } - export namespace CommonTlsContext { - export namespace CombinedCertificateValidationContext { - } + export namespace ApiConfigSource { } - export namespace GenericSecret { + export namespace AsyncDataSource { } - export namespace SdsSecretConfig { + export namespace BackoffStrategy { } - export namespace Secret { + export namespace BindConfig { } - export namespace TlsParameters { + export namespace BuildVersion { } - export namespace PrivateKeyProvider { + export namespace CidrRange { } - export namespace TlsCertificate { + export namespace ConfigSource { } - export namespace TlsSessionTicketKeys { + export namespace ControlPlane { } - export namespace CertificateValidationContext { + export namespace DataSource { } - } - export namespace core { - export namespace TcpProtocolOptions { + export namespace EventServiceConfig { } - export namespace UpstreamHttpProtocolOptions { + export namespace Extension { } - export namespace HttpProtocolOptions { + export namespace GrpcProtocolOptions { } - export namespace Http1ProtocolOptions { - export namespace HeaderKeyFormat { - export namespace ProperCaseWords { + export namespace GrpcService { + export namespace EnvoyGrpc { + } + export namespace GoogleGrpc { + export namespace CallCredentials { + export namespace GoogleIAMCredentials { + } + export namespace MetadataCredentialsFromPlugin { + } + export namespace ServiceAccountJWTAccessCredentials { + } + export namespace StsService { + } + } + export namespace ChannelCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace SslCredentials { } } } - export namespace Http2ProtocolOptions { - export namespace SettingsParameter { - } + export namespace HeaderMap { } - export namespace GrpcProtocolOptions { + export namespace HeaderValue { + } + export namespace HeaderValueOption { } export namespace HealthCheck { - export namespace Payload { + export namespace CustomHealthCheck { + } + export namespace GrpcHealthCheck { } export namespace HttpHealthCheck { } - export namespace TcpHealthCheck { + export namespace Payload { } export namespace RedisHealthCheck { } - export namespace GrpcHealthCheck { - } - export namespace CustomHealthCheck { + export namespace TcpHealthCheck { } export namespace TlsOptions { } } - export namespace Pipe { - } - export namespace SocketAddress { - } - export namespace TcpKeepalive { - } - export namespace BindConfig { - } - export namespace Address { - } - export namespace CidrRange { - } - export namespace ApiConfigSource { - } - export namespace AggregatedConfigSource { + export namespace Http1ProtocolOptions { + export namespace HeaderKeyFormat { + export namespace ProperCaseWords { + } + } } - export namespace SelfConfigSource { + export namespace Http2ProtocolOptions { + export namespace SettingsParameter { + } } - export namespace RateLimitSettings { + export namespace HttpProtocolOptions { } - export namespace ConfigSource { + export namespace HttpUri { } export namespace Locality { } - export namespace BuildVersion { - } - export namespace Extension { - } - export namespace Node { - } export namespace Metadata { } - export namespace RuntimeUInt32 { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace HeaderValue { + export namespace Node { } - export namespace HeaderValueOption { + export namespace Pipe { } - export namespace HeaderMap { + export namespace RateLimitSettings { } - export namespace DataSource { + export namespace RemoteDataSource { } export namespace RetryPolicy { } - export namespace RemoteDataSource { - } - export namespace AsyncDataSource { + export namespace RuntimeDouble { } - export namespace TransportSocket { + export namespace RuntimeFeatureFlag { } export namespace RuntimeFractionalPercent { } - export namespace ControlPlane { + export namespace RuntimeUInt32 { } - export namespace EventServiceConfig { + export namespace SelfConfigSource { } - export namespace GrpcService { - export namespace EnvoyGrpc { - } - export namespace GoogleGrpc { - export namespace SslCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace ChannelCredentials { - } - export namespace CallCredentials { - export namespace ServiceAccountJWTAccessCredentials { - } - export namespace GoogleIAMCredentials { - } - export namespace MetadataCredentialsFromPlugin { - } - export namespace StsService { - } - } - } + export namespace SocketAddress { } - export namespace HttpUri { + export namespace SocketOption { } - export namespace BackoffStrategy { + export namespace TcpKeepalive { } - export namespace SocketOption { + export namespace TcpProtocolOptions { } - } - export namespace ClusterLoadAssignment { - export namespace Policy { - export namespace DropOverload { - } + export namespace TransportSocket { + } + export namespace UpstreamHttpProtocolOptions { } } export namespace endpoint { @@ -692,189 +694,187 @@ export namespace ClientInterfaces { } } } - export namespace annotations { - } export namespace type { - export namespace Percent { + export namespace DoubleRange { } export namespace FractionalPercent { } + export namespace Int32Range { + } + export namespace Int64Range { + } + export namespace Percent { + } + export namespace SemanticVersion { + } export namespace matcher { - export namespace StringMatcher { - } export namespace ListStringMatcher { } + export namespace RegexMatchAndSubstitute { + } export namespace RegexMatcher { export namespace GoogleRE2 { } } - export namespace RegexMatchAndSubstitute { + export namespace StringMatcher { } } - export namespace Int64Range { - } - export namespace Int32Range { - } - export namespace DoubleRange { - } - export namespace SemanticVersion { - } } } - export namespace udpa { - export namespace annotations { - export namespace MigrateAnnotation { - } - export namespace FieldMigrateAnnotation { + export namespace google { + export namespace api { + export namespace CustomHttpPattern { } - export namespace FileMigrateAnnotation { + export namespace Http { } - export namespace StatusAnnotation { + export namespace HttpRule { } } - } - export namespace validate { - export namespace FieldRules { - } - export namespace FloatRules { - } - export namespace DoubleRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace BoolRules { - } - export namespace StringRules { - } - export namespace BytesRules { - } - export namespace EnumRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace MapRules { - } - export namespace AnyRules { - } - export namespace DurationRules { - } - export namespace TimestampRules { - } - } - export namespace google { export namespace protobuf { export namespace Any { } - export namespace Duration { - } - export namespace Struct { + export namespace BoolValue { } - export namespace Value { + export namespace BytesValue { } - export namespace ListValue { + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } } export namespace DoubleValue { } - export namespace FloatValue { + export namespace Duration { } - export namespace Int64Value { + export namespace Empty { } - export namespace UInt64Value { + export namespace EnumDescriptorProto { } - export namespace Int32Value { + export namespace EnumOptions { } - export namespace UInt32Value { + export namespace EnumValueDescriptorProto { } - export namespace BoolValue { + export namespace EnumValueOptions { } - export namespace StringValue { + export namespace FieldDescriptorProto { } - export namespace BytesValue { + export namespace FieldOptions { } - export namespace Timestamp { + export namespace FileDescriptorProto { } export namespace FileDescriptorSet { } - export namespace FileDescriptorProto { + export namespace FileOptions { } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } + export namespace FloatValue { } - export namespace FieldDescriptorProto { + export namespace GeneratedCodeInfo { + export namespace Annotation { + } } - export namespace OneofDescriptorProto { + export namespace Int32Value { } - export namespace EnumDescriptorProto { + export namespace Int64Value { } - export namespace EnumValueDescriptorProto { + export namespace ListValue { } - export namespace ServiceDescriptorProto { + export namespace MessageOptions { } export namespace MethodDescriptorProto { } - export namespace FileOptions { - } - export namespace MessageOptions { + export namespace MethodOptions { } - export namespace FieldOptions { + export namespace OneofDescriptorProto { } export namespace OneofOptions { } - export namespace EnumOptions { - } - export namespace EnumValueOptions { + export namespace ServiceDescriptorProto { } export namespace ServiceOptions { } - export namespace MethodOptions { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } export namespace SourceCodeInfo { export namespace Location { } } - export namespace GeneratedCodeInfo { - export namespace Annotation { + export namespace StringValue { + } + export namespace Struct { + } + export namespace Timestamp { + } + export namespace UInt32Value { + } + export namespace UInt64Value { + } + export namespace UninterpretedOption { + export namespace NamePart { } } - export namespace Empty { + export namespace Value { + } + } + } + export namespace udpa { + export namespace annotations { + export namespace FieldMigrateAnnotation { } - } - export namespace api { - export namespace Http { + export namespace FileMigrateAnnotation { } - export namespace HttpRule { + export namespace MigrateAnnotation { } - export namespace CustomHttpPattern { + export namespace StatusAnnotation { } } } + export namespace validate { + export namespace AnyRules { + } + export namespace BoolRules { + } + export namespace BytesRules { + } + export namespace DoubleRules { + } + export namespace DurationRules { + } + export namespace EnumRules { + } + export namespace FieldRules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace FloatRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace MapRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace StringRules { + } + export namespace TimestampRules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + } } type ConstructorArguments = Constructor extends new (...args: infer Args) => any ? Args: never; @@ -884,79 +884,81 @@ type SubtypeConstructor = { export interface ProtoGrpcType { envoy: { + annotations: { + } api: { v2: { Cluster: MessageTypeDefinition + ClusterLoadAssignment: MessageTypeDefinition LoadBalancingPolicy: MessageTypeDefinition UpstreamBindConfig: MessageTypeDefinition UpstreamConnectionOptions: MessageTypeDefinition - cluster: { - Filter: MessageTypeDefinition - CircuitBreakers: MessageTypeDefinition - OutlierDetection: MessageTypeDefinition - } auth: { - UpstreamTlsContext: MessageTypeDefinition - DownstreamTlsContext: MessageTypeDefinition + CertificateValidationContext: MessageTypeDefinition CommonTlsContext: MessageTypeDefinition + DownstreamTlsContext: MessageTypeDefinition GenericSecret: MessageTypeDefinition + PrivateKeyProvider: MessageTypeDefinition SdsSecretConfig: MessageTypeDefinition Secret: MessageTypeDefinition - TlsParameters: MessageTypeDefinition - PrivateKeyProvider: MessageTypeDefinition TlsCertificate: MessageTypeDefinition + TlsParameters: MessageTypeDefinition TlsSessionTicketKeys: MessageTypeDefinition - CertificateValidationContext: MessageTypeDefinition + UpstreamTlsContext: MessageTypeDefinition + } + cluster: { + CircuitBreakers: MessageTypeDefinition + Filter: MessageTypeDefinition + OutlierDetection: MessageTypeDefinition } core: { - TcpProtocolOptions: MessageTypeDefinition - UpstreamHttpProtocolOptions: MessageTypeDefinition - HttpProtocolOptions: MessageTypeDefinition - Http1ProtocolOptions: MessageTypeDefinition - Http2ProtocolOptions: MessageTypeDefinition - GrpcProtocolOptions: MessageTypeDefinition - HealthStatus: EnumTypeDefinition - HealthCheck: MessageTypeDefinition - Pipe: MessageTypeDefinition - SocketAddress: MessageTypeDefinition - TcpKeepalive: MessageTypeDefinition - BindConfig: MessageTypeDefinition Address: MessageTypeDefinition - CidrRange: MessageTypeDefinition - ApiVersion: EnumTypeDefinition - ApiConfigSource: MessageTypeDefinition AggregatedConfigSource: MessageTypeDefinition - SelfConfigSource: MessageTypeDefinition - RateLimitSettings: MessageTypeDefinition - ConfigSource: MessageTypeDefinition - RoutingPriority: EnumTypeDefinition - RequestMethod: EnumTypeDefinition - TrafficDirection: EnumTypeDefinition - Locality: MessageTypeDefinition + ApiConfigSource: MessageTypeDefinition + ApiVersion: EnumTypeDefinition + AsyncDataSource: MessageTypeDefinition + BackoffStrategy: MessageTypeDefinition + BindConfig: MessageTypeDefinition BuildVersion: MessageTypeDefinition + CidrRange: MessageTypeDefinition + ConfigSource: MessageTypeDefinition + ControlPlane: MessageTypeDefinition + DataSource: MessageTypeDefinition + EventServiceConfig: MessageTypeDefinition Extension: MessageTypeDefinition - Node: MessageTypeDefinition - Metadata: MessageTypeDefinition - RuntimeUInt32: MessageTypeDefinition - RuntimeDouble: MessageTypeDefinition - RuntimeFeatureFlag: MessageTypeDefinition + GrpcProtocolOptions: MessageTypeDefinition + GrpcService: MessageTypeDefinition + HeaderMap: MessageTypeDefinition HeaderValue: MessageTypeDefinition HeaderValueOption: MessageTypeDefinition - HeaderMap: MessageTypeDefinition - DataSource: MessageTypeDefinition - RetryPolicy: MessageTypeDefinition + HealthCheck: MessageTypeDefinition + HealthStatus: EnumTypeDefinition + Http1ProtocolOptions: MessageTypeDefinition + Http2ProtocolOptions: MessageTypeDefinition + HttpProtocolOptions: MessageTypeDefinition + HttpUri: MessageTypeDefinition + Locality: MessageTypeDefinition + Metadata: MessageTypeDefinition + Node: MessageTypeDefinition + Pipe: MessageTypeDefinition + RateLimitSettings: MessageTypeDefinition RemoteDataSource: MessageTypeDefinition - AsyncDataSource: MessageTypeDefinition - TransportSocket: MessageTypeDefinition + RequestMethod: EnumTypeDefinition + RetryPolicy: MessageTypeDefinition + RoutingPriority: EnumTypeDefinition + RuntimeDouble: MessageTypeDefinition + RuntimeFeatureFlag: MessageTypeDefinition RuntimeFractionalPercent: MessageTypeDefinition - ControlPlane: MessageTypeDefinition - EventServiceConfig: MessageTypeDefinition - GrpcService: MessageTypeDefinition - HttpUri: MessageTypeDefinition - BackoffStrategy: MessageTypeDefinition + RuntimeUInt32: MessageTypeDefinition + SelfConfigSource: MessageTypeDefinition + SocketAddress: MessageTypeDefinition SocketOption: MessageTypeDefinition + TcpKeepalive: MessageTypeDefinition + TcpProtocolOptions: MessageTypeDefinition + TrafficDirection: EnumTypeDefinition + TransportSocket: MessageTypeDefinition + UpstreamHttpProtocolOptions: MessageTypeDefinition } - ClusterLoadAssignment: MessageTypeDefinition endpoint: { Endpoint: MessageTypeDefinition LbEndpoint: MessageTypeDefinition @@ -964,113 +966,119 @@ export interface ProtoGrpcType { } } } - annotations: { - } type: { - Percent: MessageTypeDefinition + CodecClientType: EnumTypeDefinition + DoubleRange: MessageTypeDefinition FractionalPercent: MessageTypeDefinition + Int32Range: MessageTypeDefinition + Int64Range: MessageTypeDefinition + Percent: MessageTypeDefinition + SemanticVersion: MessageTypeDefinition matcher: { - StringMatcher: MessageTypeDefinition ListStringMatcher: MessageTypeDefinition - RegexMatcher: MessageTypeDefinition RegexMatchAndSubstitute: MessageTypeDefinition + RegexMatcher: MessageTypeDefinition + StringMatcher: MessageTypeDefinition } - Int64Range: MessageTypeDefinition - Int32Range: MessageTypeDefinition - DoubleRange: MessageTypeDefinition - CodecClientType: EnumTypeDefinition - SemanticVersion: MessageTypeDefinition - } - } - udpa: { - annotations: { - MigrateAnnotation: MessageTypeDefinition - FieldMigrateAnnotation: MessageTypeDefinition - FileMigrateAnnotation: MessageTypeDefinition - PackageVersionStatus: EnumTypeDefinition - StatusAnnotation: MessageTypeDefinition } } - validate: { - FieldRules: MessageTypeDefinition - FloatRules: MessageTypeDefinition - DoubleRules: MessageTypeDefinition - Int32Rules: MessageTypeDefinition - Int64Rules: MessageTypeDefinition - UInt32Rules: MessageTypeDefinition - UInt64Rules: MessageTypeDefinition - SInt32Rules: MessageTypeDefinition - SInt64Rules: MessageTypeDefinition - Fixed32Rules: MessageTypeDefinition - Fixed64Rules: MessageTypeDefinition - SFixed32Rules: MessageTypeDefinition - SFixed64Rules: MessageTypeDefinition - BoolRules: MessageTypeDefinition - StringRules: MessageTypeDefinition - KnownRegex: EnumTypeDefinition - BytesRules: MessageTypeDefinition - EnumRules: MessageTypeDefinition - MessageRules: MessageTypeDefinition - RepeatedRules: MessageTypeDefinition - MapRules: MessageTypeDefinition - AnyRules: MessageTypeDefinition - DurationRules: MessageTypeDefinition - TimestampRules: MessageTypeDefinition - } google: { + api: { + CustomHttpPattern: MessageTypeDefinition + Http: MessageTypeDefinition + HttpRule: MessageTypeDefinition + } protobuf: { Any: MessageTypeDefinition - Duration: MessageTypeDefinition - Struct: MessageTypeDefinition - Value: MessageTypeDefinition - NullValue: EnumTypeDefinition - ListValue: MessageTypeDefinition - DoubleValue: MessageTypeDefinition - FloatValue: MessageTypeDefinition - Int64Value: MessageTypeDefinition - UInt64Value: MessageTypeDefinition - Int32Value: MessageTypeDefinition - UInt32Value: MessageTypeDefinition BoolValue: MessageTypeDefinition - StringValue: MessageTypeDefinition BytesValue: MessageTypeDefinition - Timestamp: MessageTypeDefinition - FileDescriptorSet: MessageTypeDefinition - FileDescriptorProto: MessageTypeDefinition DescriptorProto: MessageTypeDefinition - FieldDescriptorProto: MessageTypeDefinition - OneofDescriptorProto: MessageTypeDefinition + DoubleValue: MessageTypeDefinition + Duration: MessageTypeDefinition + Empty: MessageTypeDefinition EnumDescriptorProto: MessageTypeDefinition + EnumOptions: MessageTypeDefinition EnumValueDescriptorProto: MessageTypeDefinition - ServiceDescriptorProto: MessageTypeDefinition - MethodDescriptorProto: MessageTypeDefinition + EnumValueOptions: MessageTypeDefinition + FieldDescriptorProto: MessageTypeDefinition + FieldOptions: MessageTypeDefinition + FileDescriptorProto: MessageTypeDefinition + FileDescriptorSet: MessageTypeDefinition FileOptions: MessageTypeDefinition + FloatValue: MessageTypeDefinition + GeneratedCodeInfo: MessageTypeDefinition + Int32Value: MessageTypeDefinition + Int64Value: MessageTypeDefinition + ListValue: MessageTypeDefinition MessageOptions: MessageTypeDefinition - FieldOptions: MessageTypeDefinition + MethodDescriptorProto: MessageTypeDefinition + MethodOptions: MessageTypeDefinition + NullValue: EnumTypeDefinition + OneofDescriptorProto: MessageTypeDefinition OneofOptions: MessageTypeDefinition - EnumOptions: MessageTypeDefinition - EnumValueOptions: MessageTypeDefinition + ServiceDescriptorProto: MessageTypeDefinition ServiceOptions: MessageTypeDefinition - MethodOptions: MessageTypeDefinition + SourceCodeInfo: MessageTypeDefinition + StringValue: MessageTypeDefinition + Struct: MessageTypeDefinition + Timestamp: MessageTypeDefinition + UInt32Value: MessageTypeDefinition + UInt64Value: MessageTypeDefinition UninterpretedOption: MessageTypeDefinition - SourceCodeInfo: MessageTypeDefinition - GeneratedCodeInfo: MessageTypeDefinition - Empty: MessageTypeDefinition + Value: MessageTypeDefinition } - api: { - Http: MessageTypeDefinition - HttpRule: MessageTypeDefinition - CustomHttpPattern: MessageTypeDefinition + } + udpa: { + annotations: { + FieldMigrateAnnotation: MessageTypeDefinition + FileMigrateAnnotation: MessageTypeDefinition + MigrateAnnotation: MessageTypeDefinition + PackageVersionStatus: EnumTypeDefinition + StatusAnnotation: MessageTypeDefinition } } + validate: { + AnyRules: MessageTypeDefinition + BoolRules: MessageTypeDefinition + BytesRules: MessageTypeDefinition + DoubleRules: MessageTypeDefinition + DurationRules: MessageTypeDefinition + EnumRules: MessageTypeDefinition + FieldRules: MessageTypeDefinition + Fixed32Rules: MessageTypeDefinition + Fixed64Rules: MessageTypeDefinition + FloatRules: MessageTypeDefinition + Int32Rules: MessageTypeDefinition + Int64Rules: MessageTypeDefinition + KnownRegex: EnumTypeDefinition + MapRules: MessageTypeDefinition + MessageRules: MessageTypeDefinition + RepeatedRules: MessageTypeDefinition + SFixed32Rules: MessageTypeDefinition + SFixed64Rules: MessageTypeDefinition + SInt32Rules: MessageTypeDefinition + SInt64Rules: MessageTypeDefinition + StringRules: MessageTypeDefinition + TimestampRules: MessageTypeDefinition + UInt32Rules: MessageTypeDefinition + UInt64Rules: MessageTypeDefinition + } } export namespace ServiceHandlers { export namespace envoy { + export namespace annotations { + } export namespace api { export namespace v2 { export namespace Cluster { - export namespace TransportSocketMatch { + export namespace CommonLbConfig { + export namespace ConsistentHashingLbConfig { + } + export namespace LocalityWeightedLbConfig { + } + export namespace ZoneAwareLbConfig { + } } export namespace CustomClusterType { } @@ -1082,20 +1090,20 @@ export namespace ServiceHandlers { } export namespace LeastRequestLbConfig { } + export namespace OriginalDstLbConfig { + } + export namespace RefreshRate { + } export namespace RingHashLbConfig { } - export namespace OriginalDstLbConfig { + export namespace TransportSocketMatch { } - export namespace CommonLbConfig { - export namespace ZoneAwareLbConfig { - } - export namespace LocalityWeightedLbConfig { - } - export namespace ConsistentHashingLbConfig { + } + export namespace ClusterLoadAssignment { + export namespace Policy { + export namespace DropOverload { } } - export namespace RefreshRate { - } } export namespace LoadBalancingPolicy { export namespace Policy { @@ -1105,172 +1113,166 @@ export namespace ServiceHandlers { } export namespace UpstreamConnectionOptions { } - export namespace cluster { - export namespace Filter { - } - export namespace CircuitBreakers { - export namespace Thresholds { - export namespace RetryBudget { - } - } - } - export namespace OutlierDetection { - } - } export namespace auth { - export namespace UpstreamTlsContext { - } - export namespace DownstreamTlsContext { + export namespace CertificateValidationContext { } export namespace CommonTlsContext { export namespace CombinedCertificateValidationContext { } } + export namespace DownstreamTlsContext { + } export namespace GenericSecret { } + export namespace PrivateKeyProvider { + } export namespace SdsSecretConfig { } export namespace Secret { } - export namespace TlsParameters { - } - export namespace PrivateKeyProvider { - } export namespace TlsCertificate { } + export namespace TlsParameters { + } export namespace TlsSessionTicketKeys { } - export namespace CertificateValidationContext { + export namespace UpstreamTlsContext { } } - export namespace core { - export namespace TcpProtocolOptions { - } - export namespace UpstreamHttpProtocolOptions { - } - export namespace HttpProtocolOptions { - } - export namespace Http1ProtocolOptions { - export namespace HeaderKeyFormat { - export namespace ProperCaseWords { + export namespace cluster { + export namespace CircuitBreakers { + export namespace Thresholds { + export namespace RetryBudget { } } } - export namespace Http2ProtocolOptions { - export namespace SettingsParameter { - } - } - export namespace GrpcProtocolOptions { - } - export namespace HealthCheck { - export namespace Payload { - } - export namespace HttpHealthCheck { - } - export namespace TcpHealthCheck { - } - export namespace RedisHealthCheck { - } - export namespace GrpcHealthCheck { - } - export namespace CustomHealthCheck { - } - export namespace TlsOptions { - } - } - export namespace Pipe { - } - export namespace SocketAddress { - } - export namespace TcpKeepalive { + export namespace Filter { } - export namespace BindConfig { + export namespace OutlierDetection { } + } + export namespace core { export namespace Address { } - export namespace CidrRange { - } - export namespace ApiConfigSource { - } export namespace AggregatedConfigSource { } - export namespace SelfConfigSource { + export namespace ApiConfigSource { } - export namespace RateLimitSettings { + export namespace AsyncDataSource { } - export namespace ConfigSource { + export namespace BackoffStrategy { } - export namespace Locality { + export namespace BindConfig { } export namespace BuildVersion { } - export namespace Extension { - } - export namespace Node { - } - export namespace Metadata { - } - export namespace RuntimeUInt32 { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace HeaderValue { + export namespace CidrRange { } - export namespace HeaderValueOption { + export namespace ConfigSource { } - export namespace HeaderMap { + export namespace ControlPlane { } export namespace DataSource { } - export namespace RetryPolicy { - } - export namespace RemoteDataSource { - } - export namespace AsyncDataSource { - } - export namespace TransportSocket { - } - export namespace RuntimeFractionalPercent { + export namespace EventServiceConfig { } - export namespace ControlPlane { + export namespace Extension { } - export namespace EventServiceConfig { + export namespace GrpcProtocolOptions { } export namespace GrpcService { export namespace EnvoyGrpc { } export namespace GoogleGrpc { - export namespace SslCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace ChannelCredentials { - } export namespace CallCredentials { - export namespace ServiceAccountJWTAccessCredentials { - } export namespace GoogleIAMCredentials { } export namespace MetadataCredentialsFromPlugin { } + export namespace ServiceAccountJWTAccessCredentials { + } export namespace StsService { } } + export namespace ChannelCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace SslCredentials { + } + } + } + export namespace HeaderMap { + } + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HealthCheck { + export namespace CustomHealthCheck { + } + export namespace GrpcHealthCheck { + } + export namespace HttpHealthCheck { + } + export namespace Payload { + } + export namespace RedisHealthCheck { + } + export namespace TcpHealthCheck { + } + export namespace TlsOptions { + } + } + export namespace Http1ProtocolOptions { + export namespace HeaderKeyFormat { + export namespace ProperCaseWords { + } + } + } + export namespace Http2ProtocolOptions { + export namespace SettingsParameter { } } - export namespace HttpUri { + export namespace HttpProtocolOptions { + } + export namespace HttpUri { + } + export namespace Locality { + } + export namespace Metadata { + } + export namespace Node { + } + export namespace Pipe { + } + export namespace RateLimitSettings { + } + export namespace RemoteDataSource { + } + export namespace RetryPolicy { } - export namespace BackoffStrategy { + export namespace RuntimeDouble { + } + export namespace RuntimeFeatureFlag { + } + export namespace RuntimeFractionalPercent { + } + export namespace RuntimeUInt32 { + } + export namespace SelfConfigSource { + } + export namespace SocketAddress { } export namespace SocketOption { } - } - export namespace ClusterLoadAssignment { - export namespace Policy { - export namespace DropOverload { - } + export namespace TcpKeepalive { + } + export namespace TcpProtocolOptions { + } + export namespace TransportSocket { + } + export namespace UpstreamHttpProtocolOptions { } } export namespace endpoint { @@ -1285,187 +1287,185 @@ export namespace ServiceHandlers { } } } - export namespace annotations { - } export namespace type { - export namespace Percent { + export namespace DoubleRange { } export namespace FractionalPercent { } + export namespace Int32Range { + } + export namespace Int64Range { + } + export namespace Percent { + } + export namespace SemanticVersion { + } export namespace matcher { - export namespace StringMatcher { - } export namespace ListStringMatcher { } + export namespace RegexMatchAndSubstitute { + } export namespace RegexMatcher { export namespace GoogleRE2 { } } - export namespace RegexMatchAndSubstitute { + export namespace StringMatcher { } } - export namespace Int64Range { - } - export namespace Int32Range { - } - export namespace DoubleRange { - } - export namespace SemanticVersion { - } } } - export namespace udpa { - export namespace annotations { - export namespace MigrateAnnotation { - } - export namespace FieldMigrateAnnotation { + export namespace google { + export namespace api { + export namespace CustomHttpPattern { } - export namespace FileMigrateAnnotation { + export namespace Http { } - export namespace StatusAnnotation { + export namespace HttpRule { } } - } - export namespace validate { - export namespace FieldRules { - } - export namespace FloatRules { - } - export namespace DoubleRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace BoolRules { - } - export namespace StringRules { - } - export namespace BytesRules { - } - export namespace EnumRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace MapRules { - } - export namespace AnyRules { - } - export namespace DurationRules { - } - export namespace TimestampRules { - } - } - export namespace google { export namespace protobuf { export namespace Any { } - export namespace Duration { - } - export namespace Struct { + export namespace BoolValue { } - export namespace Value { + export namespace BytesValue { } - export namespace ListValue { + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } } export namespace DoubleValue { } - export namespace FloatValue { + export namespace Duration { } - export namespace Int64Value { + export namespace Empty { } - export namespace UInt64Value { + export namespace EnumDescriptorProto { } - export namespace Int32Value { + export namespace EnumOptions { } - export namespace UInt32Value { + export namespace EnumValueDescriptorProto { } - export namespace BoolValue { + export namespace EnumValueOptions { } - export namespace StringValue { + export namespace FieldDescriptorProto { } - export namespace BytesValue { + export namespace FieldOptions { } - export namespace Timestamp { + export namespace FileDescriptorProto { } export namespace FileDescriptorSet { } - export namespace FileDescriptorProto { + export namespace FileOptions { } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } + export namespace FloatValue { } - export namespace FieldDescriptorProto { + export namespace GeneratedCodeInfo { + export namespace Annotation { + } } - export namespace OneofDescriptorProto { + export namespace Int32Value { } - export namespace EnumDescriptorProto { + export namespace Int64Value { } - export namespace EnumValueDescriptorProto { + export namespace ListValue { } - export namespace ServiceDescriptorProto { + export namespace MessageOptions { } export namespace MethodDescriptorProto { } - export namespace FileOptions { - } - export namespace MessageOptions { + export namespace MethodOptions { } - export namespace FieldOptions { + export namespace OneofDescriptorProto { } export namespace OneofOptions { } - export namespace EnumOptions { - } - export namespace EnumValueOptions { + export namespace ServiceDescriptorProto { } export namespace ServiceOptions { } - export namespace MethodOptions { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } export namespace SourceCodeInfo { export namespace Location { } } - export namespace GeneratedCodeInfo { - export namespace Annotation { + export namespace StringValue { + } + export namespace Struct { + } + export namespace Timestamp { + } + export namespace UInt32Value { + } + export namespace UInt64Value { + } + export namespace UninterpretedOption { + export namespace NamePart { } } - export namespace Empty { + export namespace Value { } } - export namespace api { - export namespace Http { + } + export namespace udpa { + export namespace annotations { + export namespace FieldMigrateAnnotation { } - export namespace HttpRule { + export namespace FileMigrateAnnotation { } - export namespace CustomHttpPattern { + export namespace MigrateAnnotation { + } + export namespace StatusAnnotation { } } } + export namespace validate { + export namespace AnyRules { + } + export namespace BoolRules { + } + export namespace BytesRules { + } + export namespace DoubleRules { + } + export namespace DurationRules { + } + export namespace EnumRules { + } + export namespace FieldRules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace FloatRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace MapRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace StringRules { + } + export namespace TimestampRules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + } } diff --git a/packages/grpc-js/src/generated/endpoint.ts b/packages/grpc-js/src/generated/endpoint.ts index b9d7dbeea..7bfbe093f 100644 --- a/packages/grpc-js/src/generated/endpoint.ts +++ b/packages/grpc-js/src/generated/endpoint.ts @@ -2,385 +2,387 @@ import * as grpc from '../index'; import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; import { ClusterLoadAssignment as _envoy_api_v2_ClusterLoadAssignment, ClusterLoadAssignment__Output as _envoy_api_v2_ClusterLoadAssignment__Output } from './envoy/api/v2/ClusterLoadAssignment'; -import { Endpoint as _envoy_api_v2_endpoint_Endpoint, Endpoint__Output as _envoy_api_v2_endpoint_Endpoint__Output } from './envoy/api/v2/endpoint/Endpoint'; -import { LbEndpoint as _envoy_api_v2_endpoint_LbEndpoint, LbEndpoint__Output as _envoy_api_v2_endpoint_LbEndpoint__Output } from './envoy/api/v2/endpoint/LbEndpoint'; -import { LocalityLbEndpoints as _envoy_api_v2_endpoint_LocalityLbEndpoints, LocalityLbEndpoints__Output as _envoy_api_v2_endpoint_LocalityLbEndpoints__Output } from './envoy/api/v2/endpoint/LocalityLbEndpoints'; -import { HealthStatus as _envoy_api_v2_core_HealthStatus } from './envoy/api/v2/core/HealthStatus'; -import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from './envoy/api/v2/core/HealthCheck'; -import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; -import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; -import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; -import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; +import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; +import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; +import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; +import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; +import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; +import { EventServiceConfig as _envoy_api_v2_core_EventServiceConfig, EventServiceConfig__Output as _envoy_api_v2_core_EventServiceConfig__Output } from './envoy/api/v2/core/EventServiceConfig'; import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; -import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; -import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; -import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; -import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; -import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; +import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; +import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; -import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; -import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; -import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from './envoy/api/v2/core/HealthCheck'; +import { HealthStatus as _envoy_api_v2_core_HealthStatus } from './envoy/api/v2/core/HealthStatus'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; +import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; +import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; -import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; -import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; +import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; +import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; +import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; -import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; +import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; -import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; -import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; -import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; -import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; -import { EventServiceConfig as _envoy_api_v2_core_EventServiceConfig, EventServiceConfig__Output as _envoy_api_v2_core_EventServiceConfig__Output } from './envoy/api/v2/core/EventServiceConfig'; -import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; -import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; -import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; -import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; +import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; +import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; +import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { Endpoint as _envoy_api_v2_endpoint_Endpoint, Endpoint__Output as _envoy_api_v2_endpoint_Endpoint__Output } from './envoy/api/v2/endpoint/Endpoint'; +import { LbEndpoint as _envoy_api_v2_endpoint_LbEndpoint, LbEndpoint__Output as _envoy_api_v2_endpoint_LbEndpoint__Output } from './envoy/api/v2/endpoint/LbEndpoint'; +import { LocalityLbEndpoints as _envoy_api_v2_endpoint_LocalityLbEndpoints, LocalityLbEndpoints__Output as _envoy_api_v2_endpoint_LocalityLbEndpoints__Output } from './envoy/api/v2/endpoint/LocalityLbEndpoints'; import { CodecClientType as _envoy_type_CodecClientType } from './envoy/type/CodecClientType'; +import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; +import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; +import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; +import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; +import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; -import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; -import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; -import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; -import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; -import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; -import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; -import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; -import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; -import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; -import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; -import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; -import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; -import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; -import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; -import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; -import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; -import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; -import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; -import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; -import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; -import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; -import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; -import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; -import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; -import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; -import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; -import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; -import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; -import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; -import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; -import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; -import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; -import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; -import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; -import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; -import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; -import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; -import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; -import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; -import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; -import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; +import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from './google/api/CustomHttpPattern'; +import { Http as _google_api_Http, Http__Output as _google_api_Http__Output } from './google/api/Http'; +import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from './google/api/HttpRule'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; -import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; -import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; -import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; -import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; -import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; -import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; +import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; +import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; +import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; -import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; -import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; +import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; +import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; +import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; +import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; +import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; +import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; +import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; +import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; +import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; +import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; -import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; +import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; +import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; +import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; +import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; -import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; -import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; +import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; -import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; -import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; -import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; +import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; +import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; +import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; -import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; -import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; -import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; -import { Http as _google_api_Http, Http__Output as _google_api_Http__Output } from './google/api/Http'; -import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from './google/api/HttpRule'; -import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from './google/api/CustomHttpPattern'; +import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; +import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; +import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; +import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; +import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; +import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; +import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; +import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; +import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; +import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; +import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; +import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; +import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; +import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; +import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; +import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; +import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; +import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; +import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; +import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; +import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; +import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; +import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; +import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; +import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; +import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; +import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; +import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; +import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; export namespace messages { export namespace envoy { + export namespace annotations { + } export namespace api { export namespace v2 { export type ClusterLoadAssignment = _envoy_api_v2_ClusterLoadAssignment; export type ClusterLoadAssignment__Output = _envoy_api_v2_ClusterLoadAssignment__Output; - export namespace endpoint { - export type Endpoint = _envoy_api_v2_endpoint_Endpoint; - export type Endpoint__Output = _envoy_api_v2_endpoint_Endpoint__Output; - export type LbEndpoint = _envoy_api_v2_endpoint_LbEndpoint; - export type LbEndpoint__Output = _envoy_api_v2_endpoint_LbEndpoint__Output; - export type LocalityLbEndpoints = _envoy_api_v2_endpoint_LocalityLbEndpoints; - export type LocalityLbEndpoints__Output = _envoy_api_v2_endpoint_LocalityLbEndpoints__Output; - } export namespace core { - export type HealthStatus = _envoy_api_v2_core_HealthStatus; - export type HealthCheck = _envoy_api_v2_core_HealthCheck; - export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; - export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; - export type RequestMethod = _envoy_api_v2_core_RequestMethod; - export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; - export type Locality = _envoy_api_v2_core_Locality; - export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type Address = _envoy_api_v2_core_Address; + export type Address__Output = _envoy_api_v2_core_Address__Output; + export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type BindConfig = _envoy_api_v2_core_BindConfig; + export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; export type BuildVersion = _envoy_api_v2_core_BuildVersion; export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + export type CidrRange = _envoy_api_v2_core_CidrRange; + export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + export type ControlPlane = _envoy_api_v2_core_ControlPlane; + export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + export type DataSource = _envoy_api_v2_core_DataSource; + export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; + export type EventServiceConfig = _envoy_api_v2_core_EventServiceConfig; + export type EventServiceConfig__Output = _envoy_api_v2_core_EventServiceConfig__Output; export type Extension = _envoy_api_v2_core_Extension; export type Extension__Output = _envoy_api_v2_core_Extension__Output; - export type Node = _envoy_api_v2_core_Node; - export type Node__Output = _envoy_api_v2_core_Node__Output; - export type Metadata = _envoy_api_v2_core_Metadata; - export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; - export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; - export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; - export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; - export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; - export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; - export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + export type GrpcService = _envoy_api_v2_core_GrpcService; + export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + export type HeaderMap = _envoy_api_v2_core_HeaderMap; + export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; export type HeaderValue = _envoy_api_v2_core_HeaderValue; export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; - export type HeaderMap = _envoy_api_v2_core_HeaderMap; - export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; - export type DataSource = _envoy_api_v2_core_DataSource; - export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; - export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; - export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type HealthCheck = _envoy_api_v2_core_HealthCheck; + export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; + export type HealthStatus = _envoy_api_v2_core_HealthStatus; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type Locality = _envoy_api_v2_core_Locality; + export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type Metadata = _envoy_api_v2_core_Metadata; + export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + export type Node = _envoy_api_v2_core_Node; + export type Node__Output = _envoy_api_v2_core_Node__Output; + export type Pipe = _envoy_api_v2_core_Pipe; + export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; - export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; - export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; - export type TransportSocket = _envoy_api_v2_core_TransportSocket; - export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; + export type RequestMethod = _envoy_api_v2_core_RequestMethod; + export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; - export type ControlPlane = _envoy_api_v2_core_ControlPlane; - export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - export type Pipe = _envoy_api_v2_core_Pipe; - export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; export type SocketAddress = _envoy_api_v2_core_SocketAddress; export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; - export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; - export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; - export type BindConfig = _envoy_api_v2_core_BindConfig; - export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; - export type Address = _envoy_api_v2_core_Address; - export type Address__Output = _envoy_api_v2_core_Address__Output; - export type CidrRange = _envoy_api_v2_core_CidrRange; - export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; - export type EventServiceConfig = _envoy_api_v2_core_EventServiceConfig; - export type EventServiceConfig__Output = _envoy_api_v2_core_EventServiceConfig__Output; - export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; - export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; - export type HttpUri = _envoy_api_v2_core_HttpUri; - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; export type SocketOption = _envoy_api_v2_core_SocketOption; export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; - export type GrpcService = _envoy_api_v2_core_GrpcService; - export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; + export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + export type TransportSocket = _envoy_api_v2_core_TransportSocket; + export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; + } + export namespace endpoint { + export type Endpoint = _envoy_api_v2_endpoint_Endpoint; + export type Endpoint__Output = _envoy_api_v2_endpoint_Endpoint__Output; + export type LbEndpoint = _envoy_api_v2_endpoint_LbEndpoint; + export type LbEndpoint__Output = _envoy_api_v2_endpoint_LbEndpoint__Output; + export type LocalityLbEndpoints = _envoy_api_v2_endpoint_LocalityLbEndpoints; + export type LocalityLbEndpoints__Output = _envoy_api_v2_endpoint_LocalityLbEndpoints__Output; } } } export namespace type { - export type Percent = _envoy_type_Percent; - export type Percent__Output = _envoy_type_Percent__Output; + export type CodecClientType = _envoy_type_CodecClientType; + export type DoubleRange = _envoy_type_DoubleRange; + export type DoubleRange__Output = _envoy_type_DoubleRange__Output; export type FractionalPercent = _envoy_type_FractionalPercent; export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; - export type CodecClientType = _envoy_type_CodecClientType; + export type Int32Range = _envoy_type_Int32Range; + export type Int32Range__Output = _envoy_type_Int32Range__Output; + export type Int64Range = _envoy_type_Int64Range; + export type Int64Range__Output = _envoy_type_Int64Range__Output; + export type Percent = _envoy_type_Percent; + export type Percent__Output = _envoy_type_Percent__Output; export type SemanticVersion = _envoy_type_SemanticVersion; export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; export namespace matcher { - export type StringMatcher = _envoy_type_matcher_StringMatcher; - export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; - export type RegexMatcher = _envoy_type_matcher_RegexMatcher; - export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; + export type RegexMatcher = _envoy_type_matcher_RegexMatcher; + export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; + export type StringMatcher = _envoy_type_matcher_StringMatcher; + export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; } - export type Int64Range = _envoy_type_Int64Range; - export type Int64Range__Output = _envoy_type_Int64Range__Output; - export type Int32Range = _envoy_type_Int32Range; - export type Int32Range__Output = _envoy_type_Int32Range__Output; - export type DoubleRange = _envoy_type_DoubleRange; - export type DoubleRange__Output = _envoy_type_DoubleRange__Output; - } - export namespace annotations { - } - } - export namespace udpa { - export namespace annotations { - export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; - export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; - export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; - export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; - export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; - export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; - export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; - export type StatusAnnotation = _udpa_annotations_StatusAnnotation; - export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; } } - export namespace validate { - export type FieldRules = _validate_FieldRules; - export type FieldRules__Output = _validate_FieldRules__Output; - export type FloatRules = _validate_FloatRules; - export type FloatRules__Output = _validate_FloatRules__Output; - export type DoubleRules = _validate_DoubleRules; - export type DoubleRules__Output = _validate_DoubleRules__Output; - export type Int32Rules = _validate_Int32Rules; - export type Int32Rules__Output = _validate_Int32Rules__Output; - export type Int64Rules = _validate_Int64Rules; - export type Int64Rules__Output = _validate_Int64Rules__Output; - export type UInt32Rules = _validate_UInt32Rules; - export type UInt32Rules__Output = _validate_UInt32Rules__Output; - export type UInt64Rules = _validate_UInt64Rules; - export type UInt64Rules__Output = _validate_UInt64Rules__Output; - export type SInt32Rules = _validate_SInt32Rules; - export type SInt32Rules__Output = _validate_SInt32Rules__Output; - export type SInt64Rules = _validate_SInt64Rules; - export type SInt64Rules__Output = _validate_SInt64Rules__Output; - export type Fixed32Rules = _validate_Fixed32Rules; - export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; - export type Fixed64Rules = _validate_Fixed64Rules; - export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; - export type SFixed32Rules = _validate_SFixed32Rules; - export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; - export type SFixed64Rules = _validate_SFixed64Rules; - export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; - export type BoolRules = _validate_BoolRules; - export type BoolRules__Output = _validate_BoolRules__Output; - export type StringRules = _validate_StringRules; - export type StringRules__Output = _validate_StringRules__Output; - export type KnownRegex = _validate_KnownRegex; - export type BytesRules = _validate_BytesRules; - export type BytesRules__Output = _validate_BytesRules__Output; - export type EnumRules = _validate_EnumRules; - export type EnumRules__Output = _validate_EnumRules__Output; - export type MessageRules = _validate_MessageRules; - export type MessageRules__Output = _validate_MessageRules__Output; - export type RepeatedRules = _validate_RepeatedRules; - export type RepeatedRules__Output = _validate_RepeatedRules__Output; - export type MapRules = _validate_MapRules; - export type MapRules__Output = _validate_MapRules__Output; - export type AnyRules = _validate_AnyRules; - export type AnyRules__Output = _validate_AnyRules__Output; - export type DurationRules = _validate_DurationRules; - export type DurationRules__Output = _validate_DurationRules__Output; - export type TimestampRules = _validate_TimestampRules; - export type TimestampRules__Output = _validate_TimestampRules__Output; - } export namespace google { + export namespace api { + export type CustomHttpPattern = _google_api_CustomHttpPattern; + export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; + export type Http = _google_api_Http; + export type Http__Output = _google_api_Http__Output; + export type HttpRule = _google_api_HttpRule; + export type HttpRule__Output = _google_api_HttpRule__Output; + } export namespace protobuf { - export type Duration = _google_protobuf_Duration; - export type Duration__Output = _google_protobuf_Duration__Output; - export type DoubleValue = _google_protobuf_DoubleValue; - export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; - export type FloatValue = _google_protobuf_FloatValue; - export type FloatValue__Output = _google_protobuf_FloatValue__Output; - export type Int64Value = _google_protobuf_Int64Value; - export type Int64Value__Output = _google_protobuf_Int64Value__Output; - export type UInt64Value = _google_protobuf_UInt64Value; - export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; - export type Int32Value = _google_protobuf_Int32Value; - export type Int32Value__Output = _google_protobuf_Int32Value__Output; - export type UInt32Value = _google_protobuf_UInt32Value; - export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; + export type Any = _google_protobuf_Any; + export type Any__Output = _google_protobuf_Any__Output; export type BoolValue = _google_protobuf_BoolValue; export type BoolValue__Output = _google_protobuf_BoolValue__Output; - export type StringValue = _google_protobuf_StringValue; - export type StringValue__Output = _google_protobuf_StringValue__Output; export type BytesValue = _google_protobuf_BytesValue; export type BytesValue__Output = _google_protobuf_BytesValue__Output; - export type Timestamp = _google_protobuf_Timestamp; - export type Timestamp__Output = _google_protobuf_Timestamp__Output; - export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; - export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; - export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; - export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; export type DescriptorProto = _google_protobuf_DescriptorProto; export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; - export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; - export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; - export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; - export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; + export type DoubleValue = _google_protobuf_DoubleValue; + export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; + export type Duration = _google_protobuf_Duration; + export type Duration__Output = _google_protobuf_Duration__Output; + export type Empty = _google_protobuf_Empty; + export type Empty__Output = _google_protobuf_Empty__Output; export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; + export type EnumOptions = _google_protobuf_EnumOptions; + export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; - export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; - export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; - export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; - export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type EnumValueOptions = _google_protobuf_EnumValueOptions; + export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; + export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; + export type FieldOptions = _google_protobuf_FieldOptions; + export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; + export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; + export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; + export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; export type FileOptions = _google_protobuf_FileOptions; export type FileOptions__Output = _google_protobuf_FileOptions__Output; + export type FloatValue = _google_protobuf_FloatValue; + export type FloatValue__Output = _google_protobuf_FloatValue__Output; + export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; + export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; + export type Int32Value = _google_protobuf_Int32Value; + export type Int32Value__Output = _google_protobuf_Int32Value__Output; + export type Int64Value = _google_protobuf_Int64Value; + export type Int64Value__Output = _google_protobuf_Int64Value__Output; + export type ListValue = _google_protobuf_ListValue; + export type ListValue__Output = _google_protobuf_ListValue__Output; export type MessageOptions = _google_protobuf_MessageOptions; export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; - export type FieldOptions = _google_protobuf_FieldOptions; - export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; + export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type MethodOptions = _google_protobuf_MethodOptions; + export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; + export type NullValue = _google_protobuf_NullValue; + export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; + export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; export type OneofOptions = _google_protobuf_OneofOptions; export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; - export type EnumOptions = _google_protobuf_EnumOptions; - export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; - export type EnumValueOptions = _google_protobuf_EnumValueOptions; - export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; + export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; export type ServiceOptions = _google_protobuf_ServiceOptions; export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; - export type MethodOptions = _google_protobuf_MethodOptions; - export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; - export type UninterpretedOption = _google_protobuf_UninterpretedOption; - export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; - export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; - export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; - export type Any = _google_protobuf_Any; - export type Any__Output = _google_protobuf_Any__Output; + export type StringValue = _google_protobuf_StringValue; + export type StringValue__Output = _google_protobuf_StringValue__Output; export type Struct = _google_protobuf_Struct; export type Struct__Output = _google_protobuf_Struct__Output; + export type Timestamp = _google_protobuf_Timestamp; + export type Timestamp__Output = _google_protobuf_Timestamp__Output; + export type UInt32Value = _google_protobuf_UInt32Value; + export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; + export type UInt64Value = _google_protobuf_UInt64Value; + export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; + export type UninterpretedOption = _google_protobuf_UninterpretedOption; + export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; export type Value = _google_protobuf_Value; export type Value__Output = _google_protobuf_Value__Output; - export type NullValue = _google_protobuf_NullValue; - export type ListValue = _google_protobuf_ListValue; - export type ListValue__Output = _google_protobuf_ListValue__Output; - export type Empty = _google_protobuf_Empty; - export type Empty__Output = _google_protobuf_Empty__Output; } - export namespace api { - export type Http = _google_api_Http; - export type Http__Output = _google_api_Http__Output; - export type HttpRule = _google_api_HttpRule; - export type HttpRule__Output = _google_api_HttpRule__Output; - export type CustomHttpPattern = _google_api_CustomHttpPattern; - export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; + } + export namespace udpa { + export namespace annotations { + export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; + export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; + export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; + export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; + export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; + export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; + export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; + export type StatusAnnotation = _udpa_annotations_StatusAnnotation; + export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; } } + export namespace validate { + export type AnyRules = _validate_AnyRules; + export type AnyRules__Output = _validate_AnyRules__Output; + export type BoolRules = _validate_BoolRules; + export type BoolRules__Output = _validate_BoolRules__Output; + export type BytesRules = _validate_BytesRules; + export type BytesRules__Output = _validate_BytesRules__Output; + export type DoubleRules = _validate_DoubleRules; + export type DoubleRules__Output = _validate_DoubleRules__Output; + export type DurationRules = _validate_DurationRules; + export type DurationRules__Output = _validate_DurationRules__Output; + export type EnumRules = _validate_EnumRules; + export type EnumRules__Output = _validate_EnumRules__Output; + export type FieldRules = _validate_FieldRules; + export type FieldRules__Output = _validate_FieldRules__Output; + export type Fixed32Rules = _validate_Fixed32Rules; + export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + export type Fixed64Rules = _validate_Fixed64Rules; + export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + export type FloatRules = _validate_FloatRules; + export type FloatRules__Output = _validate_FloatRules__Output; + export type Int32Rules = _validate_Int32Rules; + export type Int32Rules__Output = _validate_Int32Rules__Output; + export type Int64Rules = _validate_Int64Rules; + export type Int64Rules__Output = _validate_Int64Rules__Output; + export type KnownRegex = _validate_KnownRegex; + export type MapRules = _validate_MapRules; + export type MapRules__Output = _validate_MapRules__Output; + export type MessageRules = _validate_MessageRules; + export type MessageRules__Output = _validate_MessageRules__Output; + export type RepeatedRules = _validate_RepeatedRules; + export type RepeatedRules__Output = _validate_RepeatedRules__Output; + export type SFixed32Rules = _validate_SFixed32Rules; + export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + export type SFixed64Rules = _validate_SFixed64Rules; + export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + export type SInt32Rules = _validate_SInt32Rules; + export type SInt32Rules__Output = _validate_SInt32Rules__Output; + export type SInt64Rules = _validate_SInt64Rules; + export type SInt64Rules__Output = _validate_SInt64Rules__Output; + export type StringRules = _validate_StringRules; + export type StringRules__Output = _validate_StringRules__Output; + export type TimestampRules = _validate_TimestampRules; + export type TimestampRules__Output = _validate_TimestampRules__Output; + export type UInt32Rules = _validate_UInt32Rules; + export type UInt32Rules__Output = _validate_UInt32Rules__Output; + export type UInt64Rules = _validate_UInt64Rules; + export type UInt64Rules__Output = _validate_UInt64Rules__Output; + } } export namespace ClientInterfaces { export namespace envoy { + export namespace annotations { + } export namespace api { export namespace v2 { export namespace ClusterLoadAssignment { @@ -389,230 +391,156 @@ export namespace ClientInterfaces { } } } - export namespace endpoint { - export namespace Endpoint { - export namespace HealthCheckConfig { - } - } - export namespace LbEndpoint { - } - export namespace LocalityLbEndpoints { - } - } export namespace core { - export namespace HealthCheck { - export namespace Payload { - } - export namespace HttpHealthCheck { - } - export namespace TcpHealthCheck { - } - export namespace RedisHealthCheck { - } - export namespace GrpcHealthCheck { - } - export namespace CustomHealthCheck { - } - export namespace TlsOptions { - } - } - export namespace Locality { - } - export namespace BuildVersion { - } - export namespace Extension { - } - export namespace Node { - } - export namespace Metadata { - } - export namespace RuntimeUInt32 { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { - } - export namespace HeaderMap { - } - export namespace DataSource { - } - export namespace RetryPolicy { - } - export namespace RemoteDataSource { + export namespace Address { } export namespace AsyncDataSource { } - export namespace TransportSocket { - } - export namespace RuntimeFractionalPercent { - } - export namespace ControlPlane { - } - export namespace Pipe { - } - export namespace SocketAddress { - } - export namespace TcpKeepalive { + export namespace BackoffStrategy { } export namespace BindConfig { } - export namespace Address { + export namespace BuildVersion { } export namespace CidrRange { } - export namespace EventServiceConfig { + export namespace ControlPlane { } - export namespace BackoffStrategy { + export namespace DataSource { } - export namespace HttpUri { + export namespace EventServiceConfig { } - export namespace SocketOption { + export namespace Extension { } export namespace GrpcService { export namespace EnvoyGrpc { } export namespace GoogleGrpc { - export namespace SslCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace ChannelCredentials { - } export namespace CallCredentials { - export namespace ServiceAccountJWTAccessCredentials { - } export namespace GoogleIAMCredentials { } export namespace MetadataCredentialsFromPlugin { } + export namespace ServiceAccountJWTAccessCredentials { + } export namespace StsService { } } + export namespace ChannelCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace SslCredentials { + } } } - } - } - } - export namespace type { - export namespace Percent { - } - export namespace FractionalPercent { - } - export namespace SemanticVersion { - } - export namespace matcher { - export namespace StringMatcher { - } - export namespace ListStringMatcher { - } - export namespace RegexMatcher { - export namespace GoogleRE2 { + export namespace HeaderMap { } - } - export namespace RegexMatchAndSubstitute { - } - } - export namespace Int64Range { - } - export namespace Int32Range { - } - export namespace DoubleRange { - } - } - export namespace annotations { - } - } - export namespace udpa { - export namespace annotations { - export namespace MigrateAnnotation { - } - export namespace FieldMigrateAnnotation { - } - export namespace FileMigrateAnnotation { - } - export namespace StatusAnnotation { - } - } - } - export namespace validate { - export namespace FieldRules { - } - export namespace FloatRules { - } - export namespace DoubleRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace BoolRules { - } - export namespace StringRules { - } - export namespace BytesRules { - } - export namespace EnumRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace MapRules { - } - export namespace AnyRules { - } - export namespace DurationRules { - } - export namespace TimestampRules { + export namespace HeaderValue { + } + export namespace HeaderValueOption { + } + export namespace HealthCheck { + export namespace CustomHealthCheck { + } + export namespace GrpcHealthCheck { + } + export namespace HttpHealthCheck { + } + export namespace Payload { + } + export namespace RedisHealthCheck { + } + export namespace TcpHealthCheck { + } + export namespace TlsOptions { + } + } + export namespace HttpUri { + } + export namespace Locality { + } + export namespace Metadata { + } + export namespace Node { + } + export namespace Pipe { + } + export namespace RemoteDataSource { + } + export namespace RetryPolicy { + } + export namespace RuntimeDouble { + } + export namespace RuntimeFeatureFlag { + } + export namespace RuntimeFractionalPercent { + } + export namespace RuntimeUInt32 { + } + export namespace SocketAddress { + } + export namespace SocketOption { + } + export namespace TcpKeepalive { + } + export namespace TransportSocket { + } + } + export namespace endpoint { + export namespace Endpoint { + export namespace HealthCheckConfig { + } + } + export namespace LbEndpoint { + } + export namespace LocalityLbEndpoints { + } + } + } } - } - export namespace google { - export namespace protobuf { - export namespace Duration { + export namespace type { + export namespace DoubleRange { } - export namespace DoubleValue { + export namespace FractionalPercent { } - export namespace FloatValue { + export namespace Int32Range { } - export namespace Int64Value { + export namespace Int64Range { } - export namespace UInt64Value { + export namespace Percent { } - export namespace Int32Value { + export namespace SemanticVersion { } - export namespace UInt32Value { + export namespace matcher { + export namespace ListStringMatcher { + } + export namespace RegexMatchAndSubstitute { + } + export namespace RegexMatcher { + export namespace GoogleRE2 { + } + } + export namespace StringMatcher { + } } - export namespace BoolValue { + } + } + export namespace google { + export namespace api { + export namespace CustomHttpPattern { } - export namespace StringValue { + export namespace Http { } - export namespace BytesValue { + export namespace HttpRule { } - export namespace Timestamp { + } + export namespace protobuf { + export namespace Any { } - export namespace FileDescriptorSet { + export namespace BoolValue { } - export namespace FileDescriptorProto { + export namespace BytesValue { } export namespace DescriptorProto { export namespace ExtensionRange { @@ -620,66 +548,138 @@ export namespace ClientInterfaces { export namespace ReservedRange { } } - export namespace FieldDescriptorProto { + export namespace DoubleValue { } - export namespace OneofDescriptorProto { + export namespace Duration { + } + export namespace Empty { } export namespace EnumDescriptorProto { } + export namespace EnumOptions { + } export namespace EnumValueDescriptorProto { } - export namespace ServiceDescriptorProto { + export namespace EnumValueOptions { } - export namespace MethodDescriptorProto { + export namespace FieldDescriptorProto { + } + export namespace FieldOptions { + } + export namespace FileDescriptorProto { + } + export namespace FileDescriptorSet { } export namespace FileOptions { } - export namespace MessageOptions { + export namespace FloatValue { } - export namespace FieldOptions { + export namespace GeneratedCodeInfo { + export namespace Annotation { + } } - export namespace OneofOptions { + export namespace Int32Value { } - export namespace EnumOptions { + export namespace Int64Value { } - export namespace EnumValueOptions { + export namespace ListValue { } - export namespace ServiceOptions { + export namespace MessageOptions { + } + export namespace MethodDescriptorProto { } export namespace MethodOptions { } - export namespace UninterpretedOption { - export namespace NamePart { - } + export namespace OneofDescriptorProto { + } + export namespace OneofOptions { + } + export namespace ServiceDescriptorProto { + } + export namespace ServiceOptions { } export namespace SourceCodeInfo { export namespace Location { } } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } - } - export namespace Any { + export namespace StringValue { } export namespace Struct { } - export namespace Value { + export namespace Timestamp { } - export namespace ListValue { + export namespace UInt32Value { } - export namespace Empty { + export namespace UInt64Value { + } + export namespace UninterpretedOption { + export namespace NamePart { + } + } + export namespace Value { } } - export namespace api { - export namespace Http { + } + export namespace udpa { + export namespace annotations { + export namespace FieldMigrateAnnotation { } - export namespace HttpRule { + export namespace FileMigrateAnnotation { } - export namespace CustomHttpPattern { + export namespace MigrateAnnotation { + } + export namespace StatusAnnotation { } } } + export namespace validate { + export namespace AnyRules { + } + export namespace BoolRules { + } + export namespace BytesRules { + } + export namespace DoubleRules { + } + export namespace DurationRules { + } + export namespace EnumRules { + } + export namespace FieldRules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace FloatRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace MapRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace StringRules { + } + export namespace TimestampRules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + } } type ConstructorArguments = Constructor extends new (...args: infer Args) => any ? Args: never; @@ -689,155 +689,157 @@ type SubtypeConstructor = { export interface ProtoGrpcType { envoy: { + annotations: { + } api: { v2: { ClusterLoadAssignment: MessageTypeDefinition - endpoint: { - Endpoint: MessageTypeDefinition - LbEndpoint: MessageTypeDefinition - LocalityLbEndpoints: MessageTypeDefinition - } core: { - HealthStatus: EnumTypeDefinition - HealthCheck: MessageTypeDefinition - RoutingPriority: EnumTypeDefinition - RequestMethod: EnumTypeDefinition - TrafficDirection: EnumTypeDefinition - Locality: MessageTypeDefinition + Address: MessageTypeDefinition + AsyncDataSource: MessageTypeDefinition + BackoffStrategy: MessageTypeDefinition + BindConfig: MessageTypeDefinition BuildVersion: MessageTypeDefinition + CidrRange: MessageTypeDefinition + ControlPlane: MessageTypeDefinition + DataSource: MessageTypeDefinition + EventServiceConfig: MessageTypeDefinition Extension: MessageTypeDefinition - Node: MessageTypeDefinition - Metadata: MessageTypeDefinition - RuntimeUInt32: MessageTypeDefinition - RuntimeDouble: MessageTypeDefinition - RuntimeFeatureFlag: MessageTypeDefinition + GrpcService: MessageTypeDefinition + HeaderMap: MessageTypeDefinition HeaderValue: MessageTypeDefinition HeaderValueOption: MessageTypeDefinition - HeaderMap: MessageTypeDefinition - DataSource: MessageTypeDefinition - RetryPolicy: MessageTypeDefinition + HealthCheck: MessageTypeDefinition + HealthStatus: EnumTypeDefinition + HttpUri: MessageTypeDefinition + Locality: MessageTypeDefinition + Metadata: MessageTypeDefinition + Node: MessageTypeDefinition + Pipe: MessageTypeDefinition RemoteDataSource: MessageTypeDefinition - AsyncDataSource: MessageTypeDefinition - TransportSocket: MessageTypeDefinition + RequestMethod: EnumTypeDefinition + RetryPolicy: MessageTypeDefinition + RoutingPriority: EnumTypeDefinition + RuntimeDouble: MessageTypeDefinition + RuntimeFeatureFlag: MessageTypeDefinition RuntimeFractionalPercent: MessageTypeDefinition - ControlPlane: MessageTypeDefinition - Pipe: MessageTypeDefinition + RuntimeUInt32: MessageTypeDefinition SocketAddress: MessageTypeDefinition - TcpKeepalive: MessageTypeDefinition - BindConfig: MessageTypeDefinition - Address: MessageTypeDefinition - CidrRange: MessageTypeDefinition - EventServiceConfig: MessageTypeDefinition - BackoffStrategy: MessageTypeDefinition - HttpUri: MessageTypeDefinition SocketOption: MessageTypeDefinition - GrpcService: MessageTypeDefinition + TcpKeepalive: MessageTypeDefinition + TrafficDirection: EnumTypeDefinition + TransportSocket: MessageTypeDefinition + } + endpoint: { + Endpoint: MessageTypeDefinition + LbEndpoint: MessageTypeDefinition + LocalityLbEndpoints: MessageTypeDefinition } } } type: { - Percent: MessageTypeDefinition - FractionalPercent: MessageTypeDefinition CodecClientType: EnumTypeDefinition + DoubleRange: MessageTypeDefinition + FractionalPercent: MessageTypeDefinition + Int32Range: MessageTypeDefinition + Int64Range: MessageTypeDefinition + Percent: MessageTypeDefinition SemanticVersion: MessageTypeDefinition matcher: { - StringMatcher: MessageTypeDefinition ListStringMatcher: MessageTypeDefinition - RegexMatcher: MessageTypeDefinition RegexMatchAndSubstitute: MessageTypeDefinition + RegexMatcher: MessageTypeDefinition + StringMatcher: MessageTypeDefinition } - Int64Range: MessageTypeDefinition - Int32Range: MessageTypeDefinition - DoubleRange: MessageTypeDefinition } - annotations: { + } + google: { + api: { + CustomHttpPattern: MessageTypeDefinition + Http: MessageTypeDefinition + HttpRule: MessageTypeDefinition + } + protobuf: { + Any: MessageTypeDefinition + BoolValue: MessageTypeDefinition + BytesValue: MessageTypeDefinition + DescriptorProto: MessageTypeDefinition + DoubleValue: MessageTypeDefinition + Duration: MessageTypeDefinition + Empty: MessageTypeDefinition + EnumDescriptorProto: MessageTypeDefinition + EnumOptions: MessageTypeDefinition + EnumValueDescriptorProto: MessageTypeDefinition + EnumValueOptions: MessageTypeDefinition + FieldDescriptorProto: MessageTypeDefinition + FieldOptions: MessageTypeDefinition + FileDescriptorProto: MessageTypeDefinition + FileDescriptorSet: MessageTypeDefinition + FileOptions: MessageTypeDefinition + FloatValue: MessageTypeDefinition + GeneratedCodeInfo: MessageTypeDefinition + Int32Value: MessageTypeDefinition + Int64Value: MessageTypeDefinition + ListValue: MessageTypeDefinition + MessageOptions: MessageTypeDefinition + MethodDescriptorProto: MessageTypeDefinition + MethodOptions: MessageTypeDefinition + NullValue: EnumTypeDefinition + OneofDescriptorProto: MessageTypeDefinition + OneofOptions: MessageTypeDefinition + ServiceDescriptorProto: MessageTypeDefinition + ServiceOptions: MessageTypeDefinition + SourceCodeInfo: MessageTypeDefinition + StringValue: MessageTypeDefinition + Struct: MessageTypeDefinition + Timestamp: MessageTypeDefinition + UInt32Value: MessageTypeDefinition + UInt64Value: MessageTypeDefinition + UninterpretedOption: MessageTypeDefinition + Value: MessageTypeDefinition } } udpa: { annotations: { - MigrateAnnotation: MessageTypeDefinition FieldMigrateAnnotation: MessageTypeDefinition FileMigrateAnnotation: MessageTypeDefinition + MigrateAnnotation: MessageTypeDefinition PackageVersionStatus: EnumTypeDefinition StatusAnnotation: MessageTypeDefinition } } validate: { + AnyRules: MessageTypeDefinition + BoolRules: MessageTypeDefinition + BytesRules: MessageTypeDefinition + DoubleRules: MessageTypeDefinition + DurationRules: MessageTypeDefinition + EnumRules: MessageTypeDefinition FieldRules: MessageTypeDefinition + Fixed32Rules: MessageTypeDefinition + Fixed64Rules: MessageTypeDefinition FloatRules: MessageTypeDefinition - DoubleRules: MessageTypeDefinition Int32Rules: MessageTypeDefinition Int64Rules: MessageTypeDefinition - UInt32Rules: MessageTypeDefinition - UInt64Rules: MessageTypeDefinition - SInt32Rules: MessageTypeDefinition - SInt64Rules: MessageTypeDefinition - Fixed32Rules: MessageTypeDefinition - Fixed64Rules: MessageTypeDefinition - SFixed32Rules: MessageTypeDefinition - SFixed64Rules: MessageTypeDefinition - BoolRules: MessageTypeDefinition - StringRules: MessageTypeDefinition KnownRegex: EnumTypeDefinition - BytesRules: MessageTypeDefinition - EnumRules: MessageTypeDefinition + MapRules: MessageTypeDefinition MessageRules: MessageTypeDefinition RepeatedRules: MessageTypeDefinition - MapRules: MessageTypeDefinition - AnyRules: MessageTypeDefinition - DurationRules: MessageTypeDefinition + SFixed32Rules: MessageTypeDefinition + SFixed64Rules: MessageTypeDefinition + SInt32Rules: MessageTypeDefinition + SInt64Rules: MessageTypeDefinition + StringRules: MessageTypeDefinition TimestampRules: MessageTypeDefinition - } - google: { - protobuf: { - Duration: MessageTypeDefinition - DoubleValue: MessageTypeDefinition - FloatValue: MessageTypeDefinition - Int64Value: MessageTypeDefinition - UInt64Value: MessageTypeDefinition - Int32Value: MessageTypeDefinition - UInt32Value: MessageTypeDefinition - BoolValue: MessageTypeDefinition - StringValue: MessageTypeDefinition - BytesValue: MessageTypeDefinition - Timestamp: MessageTypeDefinition - FileDescriptorSet: MessageTypeDefinition - FileDescriptorProto: MessageTypeDefinition - DescriptorProto: MessageTypeDefinition - FieldDescriptorProto: MessageTypeDefinition - OneofDescriptorProto: MessageTypeDefinition - EnumDescriptorProto: MessageTypeDefinition - EnumValueDescriptorProto: MessageTypeDefinition - ServiceDescriptorProto: MessageTypeDefinition - MethodDescriptorProto: MessageTypeDefinition - FileOptions: MessageTypeDefinition - MessageOptions: MessageTypeDefinition - FieldOptions: MessageTypeDefinition - OneofOptions: MessageTypeDefinition - EnumOptions: MessageTypeDefinition - EnumValueOptions: MessageTypeDefinition - ServiceOptions: MessageTypeDefinition - MethodOptions: MessageTypeDefinition - UninterpretedOption: MessageTypeDefinition - SourceCodeInfo: MessageTypeDefinition - GeneratedCodeInfo: MessageTypeDefinition - Any: MessageTypeDefinition - Struct: MessageTypeDefinition - Value: MessageTypeDefinition - NullValue: EnumTypeDefinition - ListValue: MessageTypeDefinition - Empty: MessageTypeDefinition - } - api: { - Http: MessageTypeDefinition - HttpRule: MessageTypeDefinition - CustomHttpPattern: MessageTypeDefinition - } + UInt32Rules: MessageTypeDefinition + UInt64Rules: MessageTypeDefinition } } export namespace ServiceHandlers { export namespace envoy { + export namespace annotations { + } export namespace api { export namespace v2 { export namespace ClusterLoadAssignment { @@ -846,295 +848,293 @@ export namespace ServiceHandlers { } } } - export namespace endpoint { - export namespace Endpoint { - export namespace HealthCheckConfig { + export namespace core { + export namespace Address { + } + export namespace AsyncDataSource { + } + export namespace BackoffStrategy { + } + export namespace BindConfig { + } + export namespace BuildVersion { + } + export namespace CidrRange { + } + export namespace ControlPlane { + } + export namespace DataSource { + } + export namespace EventServiceConfig { + } + export namespace Extension { + } + export namespace GrpcService { + export namespace EnvoyGrpc { + } + export namespace GoogleGrpc { + export namespace CallCredentials { + export namespace GoogleIAMCredentials { + } + export namespace MetadataCredentialsFromPlugin { + } + export namespace ServiceAccountJWTAccessCredentials { + } + export namespace StsService { + } + } + export namespace ChannelCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace SslCredentials { + } } } - export namespace LbEndpoint { + export namespace HeaderMap { } - export namespace LocalityLbEndpoints { + export namespace HeaderValue { + } + export namespace HeaderValueOption { } - } - export namespace core { export namespace HealthCheck { - export namespace Payload { + export namespace CustomHealthCheck { + } + export namespace GrpcHealthCheck { } export namespace HttpHealthCheck { } - export namespace TcpHealthCheck { + export namespace Payload { } export namespace RedisHealthCheck { } - export namespace GrpcHealthCheck { - } - export namespace CustomHealthCheck { + export namespace TcpHealthCheck { } export namespace TlsOptions { } } - export namespace Locality { - } - export namespace BuildVersion { - } - export namespace Extension { + export namespace HttpUri { } - export namespace Node { + export namespace Locality { } export namespace Metadata { } - export namespace RuntimeUInt32 { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { + export namespace Node { } - export namespace HeaderMap { + export namespace Pipe { } - export namespace DataSource { + export namespace RemoteDataSource { } export namespace RetryPolicy { } - export namespace RemoteDataSource { - } - export namespace AsyncDataSource { + export namespace RuntimeDouble { } - export namespace TransportSocket { + export namespace RuntimeFeatureFlag { } export namespace RuntimeFractionalPercent { } - export namespace ControlPlane { - } - export namespace Pipe { + export namespace RuntimeUInt32 { } export namespace SocketAddress { } - export namespace TcpKeepalive { - } - export namespace BindConfig { - } - export namespace Address { - } - export namespace CidrRange { - } - export namespace EventServiceConfig { - } - export namespace BackoffStrategy { + export namespace SocketOption { } - export namespace HttpUri { + export namespace TcpKeepalive { } - export namespace SocketOption { + export namespace TransportSocket { } - export namespace GrpcService { - export namespace EnvoyGrpc { - } - export namespace GoogleGrpc { - export namespace SslCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace ChannelCredentials { - } - export namespace CallCredentials { - export namespace ServiceAccountJWTAccessCredentials { - } - export namespace GoogleIAMCredentials { - } - export namespace MetadataCredentialsFromPlugin { - } - export namespace StsService { - } - } + } + export namespace endpoint { + export namespace Endpoint { + export namespace HealthCheckConfig { } } + export namespace LbEndpoint { + } + export namespace LocalityLbEndpoints { + } } } } export namespace type { - export namespace Percent { + export namespace DoubleRange { } export namespace FractionalPercent { } + export namespace Int32Range { + } + export namespace Int64Range { + } + export namespace Percent { + } export namespace SemanticVersion { } export namespace matcher { - export namespace StringMatcher { - } export namespace ListStringMatcher { } + export namespace RegexMatchAndSubstitute { + } export namespace RegexMatcher { export namespace GoogleRE2 { } } - export namespace RegexMatchAndSubstitute { + export namespace StringMatcher { } } - export namespace Int64Range { - } - export namespace Int32Range { - } - export namespace DoubleRange { - } - } - export namespace annotations { } } - export namespace udpa { - export namespace annotations { - export namespace MigrateAnnotation { - } - export namespace FieldMigrateAnnotation { + export namespace google { + export namespace api { + export namespace CustomHttpPattern { } - export namespace FileMigrateAnnotation { + export namespace Http { } - export namespace StatusAnnotation { + export namespace HttpRule { } } - } - export namespace validate { - export namespace FieldRules { - } - export namespace FloatRules { - } - export namespace DoubleRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace BoolRules { - } - export namespace StringRules { - } - export namespace BytesRules { - } - export namespace EnumRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace MapRules { - } - export namespace AnyRules { - } - export namespace DurationRules { - } - export namespace TimestampRules { - } - } - export namespace google { export namespace protobuf { - export namespace Duration { - } - export namespace DoubleValue { - } - export namespace FloatValue { - } - export namespace Int64Value { - } - export namespace UInt64Value { - } - export namespace Int32Value { - } - export namespace UInt32Value { + export namespace Any { } export namespace BoolValue { } - export namespace StringValue { - } export namespace BytesValue { } - export namespace Timestamp { - } - export namespace FileDescriptorSet { - } - export namespace FileDescriptorProto { - } export namespace DescriptorProto { export namespace ExtensionRange { } export namespace ReservedRange { } } - export namespace FieldDescriptorProto { + export namespace DoubleValue { } - export namespace OneofDescriptorProto { + export namespace Duration { + } + export namespace Empty { } export namespace EnumDescriptorProto { } + export namespace EnumOptions { + } export namespace EnumValueDescriptorProto { } - export namespace ServiceDescriptorProto { + export namespace EnumValueOptions { } - export namespace MethodDescriptorProto { + export namespace FieldDescriptorProto { + } + export namespace FieldOptions { + } + export namespace FileDescriptorProto { + } + export namespace FileDescriptorSet { } export namespace FileOptions { } - export namespace MessageOptions { + export namespace FloatValue { } - export namespace FieldOptions { + export namespace GeneratedCodeInfo { + export namespace Annotation { + } } - export namespace OneofOptions { + export namespace Int32Value { } - export namespace EnumOptions { + export namespace Int64Value { } - export namespace EnumValueOptions { + export namespace ListValue { } - export namespace ServiceOptions { + export namespace MessageOptions { + } + export namespace MethodDescriptorProto { } export namespace MethodOptions { } - export namespace UninterpretedOption { - export namespace NamePart { - } + export namespace OneofDescriptorProto { + } + export namespace OneofOptions { + } + export namespace ServiceDescriptorProto { + } + export namespace ServiceOptions { } export namespace SourceCodeInfo { export namespace Location { } } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } - } - export namespace Any { + export namespace StringValue { } export namespace Struct { } - export namespace Value { + export namespace Timestamp { } - export namespace ListValue { + export namespace UInt32Value { } - export namespace Empty { + export namespace UInt64Value { + } + export namespace UninterpretedOption { + export namespace NamePart { + } + } + export namespace Value { } } - export namespace api { - export namespace Http { + } + export namespace udpa { + export namespace annotations { + export namespace FieldMigrateAnnotation { } - export namespace HttpRule { + export namespace FileMigrateAnnotation { } - export namespace CustomHttpPattern { + export namespace MigrateAnnotation { + } + export namespace StatusAnnotation { } } } + export namespace validate { + export namespace AnyRules { + } + export namespace BoolRules { + } + export namespace BytesRules { + } + export namespace DoubleRules { + } + export namespace DurationRules { + } + export namespace EnumRules { + } + export namespace FieldRules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace FloatRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace MapRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace StringRules { + } + export namespace TimestampRules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + } } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts b/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts index 816031726..e3d33e0ac 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts @@ -3,76 +3,81 @@ import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration'; import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../google/protobuf/UInt32Value'; import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from '../../../envoy/api/v2/core/Address'; -import { ClusterLoadAssignment as _envoy_api_v2_ClusterLoadAssignment, ClusterLoadAssignment__Output as _envoy_api_v2_ClusterLoadAssignment__Output } from '../../../envoy/api/v2/ClusterLoadAssignment'; import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from '../../../envoy/api/v2/core/HealthCheck'; import { CircuitBreakers as _envoy_api_v2_cluster_CircuitBreakers, CircuitBreakers__Output as _envoy_api_v2_cluster_CircuitBreakers__Output } from '../../../envoy/api/v2/cluster/CircuitBreakers'; import { UpstreamTlsContext as _envoy_api_v2_auth_UpstreamTlsContext, UpstreamTlsContext__Output as _envoy_api_v2_auth_UpstreamTlsContext__Output } from '../../../envoy/api/v2/auth/UpstreamTlsContext'; -import { UpstreamHttpProtocolOptions as _envoy_api_v2_core_UpstreamHttpProtocolOptions, UpstreamHttpProtocolOptions__Output as _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output } from '../../../envoy/api/v2/core/UpstreamHttpProtocolOptions'; -import { HttpProtocolOptions as _envoy_api_v2_core_HttpProtocolOptions, HttpProtocolOptions__Output as _envoy_api_v2_core_HttpProtocolOptions__Output } from '../../../envoy/api/v2/core/HttpProtocolOptions'; import { Http1ProtocolOptions as _envoy_api_v2_core_Http1ProtocolOptions, Http1ProtocolOptions__Output as _envoy_api_v2_core_Http1ProtocolOptions__Output } from '../../../envoy/api/v2/core/Http1ProtocolOptions'; import { Http2ProtocolOptions as _envoy_api_v2_core_Http2ProtocolOptions, Http2ProtocolOptions__Output as _envoy_api_v2_core_Http2ProtocolOptions__Output } from '../../../envoy/api/v2/core/Http2ProtocolOptions'; -import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../google/protobuf/Struct'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any'; import { OutlierDetection as _envoy_api_v2_cluster_OutlierDetection, OutlierDetection__Output as _envoy_api_v2_cluster_OutlierDetection__Output } from '../../../envoy/api/v2/cluster/OutlierDetection'; import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from '../../../envoy/api/v2/core/BindConfig'; import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from '../../../envoy/api/v2/core/TransportSocket'; import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../envoy/api/v2/core/Metadata'; +import { HttpProtocolOptions as _envoy_api_v2_core_HttpProtocolOptions, HttpProtocolOptions__Output as _envoy_api_v2_core_HttpProtocolOptions__Output } from '../../../envoy/api/v2/core/HttpProtocolOptions'; import { UpstreamConnectionOptions as _envoy_api_v2_UpstreamConnectionOptions, UpstreamConnectionOptions__Output as _envoy_api_v2_UpstreamConnectionOptions__Output } from '../../../envoy/api/v2/UpstreamConnectionOptions'; +import { ClusterLoadAssignment as _envoy_api_v2_ClusterLoadAssignment, ClusterLoadAssignment__Output as _envoy_api_v2_ClusterLoadAssignment__Output } from '../../../envoy/api/v2/ClusterLoadAssignment'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any'; import { Filter as _envoy_api_v2_cluster_Filter, Filter__Output as _envoy_api_v2_cluster_Filter__Output } from '../../../envoy/api/v2/cluster/Filter'; import { LoadBalancingPolicy as _envoy_api_v2_LoadBalancingPolicy, LoadBalancingPolicy__Output as _envoy_api_v2_LoadBalancingPolicy__Output } from '../../../envoy/api/v2/LoadBalancingPolicy'; import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from '../../../envoy/api/v2/core/ConfigSource'; -import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from '../../../google/protobuf/UInt64Value'; +import { UpstreamHttpProtocolOptions as _envoy_api_v2_core_UpstreamHttpProtocolOptions, UpstreamHttpProtocolOptions__Output as _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output } from '../../../envoy/api/v2/core/UpstreamHttpProtocolOptions'; import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from '../../../envoy/type/Percent'; +import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from '../../../google/protobuf/UInt64Value'; import { Long } from '@grpc/proto-loader'; // Original file: deps/envoy-api/envoy/api/v2/cluster.proto -export enum _envoy_api_v2_Cluster_DiscoveryType { - STATIC = 0, - STRICT_DNS = 1, - LOGICAL_DNS = 2, - EDS = 3, - ORIGINAL_DST = 4, +export enum _envoy_api_v2_Cluster_ClusterProtocolSelection { + USE_CONFIGURED_PROTOCOL = 0, + USE_DOWNSTREAM_PROTOCOL = 1, } -// Original file: deps/envoy-api/envoy/api/v2/cluster.proto +export interface _envoy_api_v2_Cluster_CommonLbConfig { + 'healthy_panic_threshold'?: (_envoy_type_Percent); + 'zone_aware_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig); + 'locality_weighted_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig); + 'update_merge_window'?: (_google_protobuf_Duration); + 'ignore_new_hosts_until_first_hc'?: (boolean); + 'close_connections_on_host_set_change'?: (boolean); + 'consistent_hashing_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig); + 'locality_config_specifier'?: "zone_aware_lb_config"|"locality_weighted_lb_config"; +} -export enum _envoy_api_v2_Cluster_LbPolicy { - ROUND_ROBIN = 0, - LEAST_REQUEST = 1, - RING_HASH = 2, - RANDOM = 3, - ORIGINAL_DST_LB = 4, - MAGLEV = 5, - CLUSTER_PROVIDED = 6, - LOAD_BALANCING_POLICY_CONFIG = 7, +export interface _envoy_api_v2_Cluster_CommonLbConfig__Output { + 'healthy_panic_threshold': (_envoy_type_Percent__Output); + 'zone_aware_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__Output); + 'locality_weighted_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig__Output); + 'update_merge_window': (_google_protobuf_Duration__Output); + 'ignore_new_hosts_until_first_hc': (boolean); + 'close_connections_on_host_set_change': (boolean); + 'consistent_hashing_lb_config': (_envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig__Output); + 'locality_config_specifier': "zone_aware_lb_config"|"locality_weighted_lb_config"; } -// Original file: deps/envoy-api/envoy/api/v2/cluster.proto +export interface _envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig { + 'use_hostname_for_hashing'?: (boolean); +} -export enum _envoy_api_v2_Cluster_DnsLookupFamily { - AUTO = 0, - V4_ONLY = 1, - V6_ONLY = 2, +export interface _envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig__Output { + 'use_hostname_for_hashing': (boolean); } -// Original file: deps/envoy-api/envoy/api/v2/cluster.proto +export interface _envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig { +} -export enum _envoy_api_v2_Cluster_ClusterProtocolSelection { - USE_CONFIGURED_PROTOCOL = 0, - USE_DOWNSTREAM_PROTOCOL = 1, +export interface _envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig__Output { } -export interface _envoy_api_v2_Cluster_TransportSocketMatch { - 'name'?: (string); - 'match'?: (_google_protobuf_Struct); - 'transport_socket'?: (_envoy_api_v2_core_TransportSocket); +export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig { + 'routing_enabled'?: (_envoy_type_Percent); + 'min_cluster_size'?: (_google_protobuf_UInt64Value); + 'fail_traffic_on_panic'?: (boolean); } -export interface _envoy_api_v2_Cluster_TransportSocketMatch__Output { - 'name': (string); - 'match': (_google_protobuf_Struct__Output); - 'transport_socket': (_envoy_api_v2_core_TransportSocket__Output); +export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__Output { + 'routing_enabled': (_envoy_type_Percent__Output); + 'min_cluster_size': (_google_protobuf_UInt64Value__Output); + 'fail_traffic_on_panic': (boolean); } export interface _envoy_api_v2_Cluster_CustomClusterType { @@ -85,6 +90,24 @@ export interface _envoy_api_v2_Cluster_CustomClusterType__Output { 'typed_config': (_google_protobuf_Any__Output); } +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +export enum _envoy_api_v2_Cluster_DiscoveryType { + STATIC = 0, + STRICT_DNS = 1, + LOGICAL_DNS = 2, + EDS = 3, + ORIGINAL_DST = 4, +} + +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +export enum _envoy_api_v2_Cluster_DnsLookupFamily { + AUTO = 0, + V4_ONLY = 1, + V6_ONLY = 2, +} + export interface _envoy_api_v2_Cluster_EdsClusterConfig { 'eds_config'?: (_envoy_api_v2_core_ConfigSource); 'service_name'?: (string); @@ -95,6 +118,19 @@ export interface _envoy_api_v2_Cluster_EdsClusterConfig__Output { 'service_name': (string); } +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + +export enum _envoy_api_v2_Cluster_LbPolicy { + ROUND_ROBIN = 0, + LEAST_REQUEST = 1, + RING_HASH = 2, + RANDOM = 3, + ORIGINAL_DST_LB = 4, + MAGLEV = 5, + CLUSTER_PROVIDED = 6, + LOAD_BALANCING_POLICY_CONFIG = 7, +} + export interface _envoy_api_v2_Cluster_LbSubsetConfig { 'fallback_policy'?: (_envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetFallbackPolicy | keyof typeof _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetFallbackPolicy); 'default_subset'?: (_google_protobuf_Struct); @@ -153,25 +189,6 @@ export interface _envoy_api_v2_Cluster_LeastRequestLbConfig__Output { 'choice_count': (_google_protobuf_UInt32Value__Output); } -export interface _envoy_api_v2_Cluster_RingHashLbConfig { - 'minimum_ring_size'?: (_google_protobuf_UInt64Value); - 'hash_function'?: (_envoy_api_v2_Cluster_RingHashLbConfig_HashFunction | keyof typeof _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction); - 'maximum_ring_size'?: (_google_protobuf_UInt64Value); -} - -export interface _envoy_api_v2_Cluster_RingHashLbConfig__Output { - 'minimum_ring_size': (_google_protobuf_UInt64Value__Output); - 'hash_function': (keyof typeof _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction); - 'maximum_ring_size': (_google_protobuf_UInt64Value__Output); -} - -// Original file: deps/envoy-api/envoy/api/v2/cluster.proto - -export enum _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction { - XX_HASH = 0, - MURMUR_HASH_2 = 1, -} - export interface _envoy_api_v2_Cluster_OriginalDstLbConfig { 'use_http_header'?: (boolean); } @@ -180,159 +197,142 @@ export interface _envoy_api_v2_Cluster_OriginalDstLbConfig__Output { 'use_http_header': (boolean); } -export interface _envoy_api_v2_Cluster_CommonLbConfig { - 'healthy_panic_threshold'?: (_envoy_type_Percent); - 'zone_aware_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig); - 'locality_weighted_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig); - 'update_merge_window'?: (_google_protobuf_Duration); - 'ignore_new_hosts_until_first_hc'?: (boolean); - 'close_connections_on_host_set_change'?: (boolean); - 'consistent_hashing_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig); - 'locality_config_specifier'?: "zone_aware_lb_config"|"locality_weighted_lb_config"; -} - -export interface _envoy_api_v2_Cluster_CommonLbConfig__Output { - 'healthy_panic_threshold': (_envoy_type_Percent__Output); - 'zone_aware_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__Output); - 'locality_weighted_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig__Output); - 'update_merge_window': (_google_protobuf_Duration__Output); - 'ignore_new_hosts_until_first_hc': (boolean); - 'close_connections_on_host_set_change': (boolean); - 'consistent_hashing_lb_config': (_envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig__Output); - 'locality_config_specifier': "zone_aware_lb_config"|"locality_weighted_lb_config"; -} - -export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig { - 'routing_enabled'?: (_envoy_type_Percent); - 'min_cluster_size'?: (_google_protobuf_UInt64Value); - 'fail_traffic_on_panic'?: (boolean); +export interface _envoy_api_v2_Cluster_RefreshRate { + 'base_interval'?: (_google_protobuf_Duration); + 'max_interval'?: (_google_protobuf_Duration); } -export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__Output { - 'routing_enabled': (_envoy_type_Percent__Output); - 'min_cluster_size': (_google_protobuf_UInt64Value__Output); - 'fail_traffic_on_panic': (boolean); +export interface _envoy_api_v2_Cluster_RefreshRate__Output { + 'base_interval': (_google_protobuf_Duration__Output); + 'max_interval': (_google_protobuf_Duration__Output); } -export interface _envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig { +export interface _envoy_api_v2_Cluster_RingHashLbConfig { + 'minimum_ring_size'?: (_google_protobuf_UInt64Value); + 'hash_function'?: (_envoy_api_v2_Cluster_RingHashLbConfig_HashFunction | keyof typeof _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction); + 'maximum_ring_size'?: (_google_protobuf_UInt64Value); } -export interface _envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig__Output { +export interface _envoy_api_v2_Cluster_RingHashLbConfig__Output { + 'minimum_ring_size': (_google_protobuf_UInt64Value__Output); + 'hash_function': (keyof typeof _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction); + 'maximum_ring_size': (_google_protobuf_UInt64Value__Output); } -export interface _envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig { - 'use_hostname_for_hashing'?: (boolean); -} +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto -export interface _envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig__Output { - 'use_hostname_for_hashing': (boolean); +export enum _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction { + XX_HASH = 0, + MURMUR_HASH_2 = 1, } -export interface _envoy_api_v2_Cluster_RefreshRate { - 'base_interval'?: (_google_protobuf_Duration); - 'max_interval'?: (_google_protobuf_Duration); +export interface _envoy_api_v2_Cluster_TransportSocketMatch { + 'name'?: (string); + 'match'?: (_google_protobuf_Struct); + 'transport_socket'?: (_envoy_api_v2_core_TransportSocket); } -export interface _envoy_api_v2_Cluster_RefreshRate__Output { - 'base_interval': (_google_protobuf_Duration__Output); - 'max_interval': (_google_protobuf_Duration__Output); +export interface _envoy_api_v2_Cluster_TransportSocketMatch__Output { + 'name': (string); + 'match': (_google_protobuf_Struct__Output); + 'transport_socket': (_envoy_api_v2_core_TransportSocket__Output); } export interface Cluster { - 'transport_socket_matches'?: (_envoy_api_v2_Cluster_TransportSocketMatch)[]; 'name'?: (string); - 'alt_stat_name'?: (string); 'type'?: (_envoy_api_v2_Cluster_DiscoveryType | keyof typeof _envoy_api_v2_Cluster_DiscoveryType); - 'cluster_type'?: (_envoy_api_v2_Cluster_CustomClusterType); 'eds_cluster_config'?: (_envoy_api_v2_Cluster_EdsClusterConfig); 'connect_timeout'?: (_google_protobuf_Duration); 'per_connection_buffer_limit_bytes'?: (_google_protobuf_UInt32Value); 'lb_policy'?: (_envoy_api_v2_Cluster_LbPolicy | keyof typeof _envoy_api_v2_Cluster_LbPolicy); 'hosts'?: (_envoy_api_v2_core_Address)[]; - 'load_assignment'?: (_envoy_api_v2_ClusterLoadAssignment); 'health_checks'?: (_envoy_api_v2_core_HealthCheck)[]; 'max_requests_per_connection'?: (_google_protobuf_UInt32Value); 'circuit_breakers'?: (_envoy_api_v2_cluster_CircuitBreakers); 'tls_context'?: (_envoy_api_v2_auth_UpstreamTlsContext); - 'upstream_http_protocol_options'?: (_envoy_api_v2_core_UpstreamHttpProtocolOptions); - 'common_http_protocol_options'?: (_envoy_api_v2_core_HttpProtocolOptions); 'http_protocol_options'?: (_envoy_api_v2_core_Http1ProtocolOptions); 'http2_protocol_options'?: (_envoy_api_v2_core_Http2ProtocolOptions); - 'extension_protocol_options'?: (_google_protobuf_Struct); - 'typed_extension_protocol_options'?: (_google_protobuf_Any); 'dns_refresh_rate'?: (_google_protobuf_Duration); - 'dns_failure_refresh_rate'?: (_envoy_api_v2_Cluster_RefreshRate); - 'respect_dns_ttl'?: (boolean); 'dns_lookup_family'?: (_envoy_api_v2_Cluster_DnsLookupFamily | keyof typeof _envoy_api_v2_Cluster_DnsLookupFamily); 'dns_resolvers'?: (_envoy_api_v2_core_Address)[]; - 'use_tcp_for_dns_lookups'?: (boolean); 'outlier_detection'?: (_envoy_api_v2_cluster_OutlierDetection); 'cleanup_interval'?: (_google_protobuf_Duration); 'upstream_bind_config'?: (_envoy_api_v2_core_BindConfig); 'lb_subset_config'?: (_envoy_api_v2_Cluster_LbSubsetConfig); 'ring_hash_lb_config'?: (_envoy_api_v2_Cluster_RingHashLbConfig); - 'original_dst_lb_config'?: (_envoy_api_v2_Cluster_OriginalDstLbConfig); - 'least_request_lb_config'?: (_envoy_api_v2_Cluster_LeastRequestLbConfig); - 'common_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig); 'transport_socket'?: (_envoy_api_v2_core_TransportSocket); 'metadata'?: (_envoy_api_v2_core_Metadata); 'protocol_selection'?: (_envoy_api_v2_Cluster_ClusterProtocolSelection | keyof typeof _envoy_api_v2_Cluster_ClusterProtocolSelection); + 'common_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig); + 'alt_stat_name'?: (string); + 'common_http_protocol_options'?: (_envoy_api_v2_core_HttpProtocolOptions); 'upstream_connection_options'?: (_envoy_api_v2_UpstreamConnectionOptions); 'close_connections_on_host_health_failure'?: (boolean); 'drain_connections_on_host_removal'?: (boolean); + 'load_assignment'?: (_envoy_api_v2_ClusterLoadAssignment); + 'original_dst_lb_config'?: (_envoy_api_v2_Cluster_OriginalDstLbConfig); + 'extension_protocol_options'?: (_google_protobuf_Struct); + 'typed_extension_protocol_options'?: (_google_protobuf_Any); + 'least_request_lb_config'?: (_envoy_api_v2_Cluster_LeastRequestLbConfig); + 'cluster_type'?: (_envoy_api_v2_Cluster_CustomClusterType); + 'respect_dns_ttl'?: (boolean); 'filters'?: (_envoy_api_v2_cluster_Filter)[]; 'load_balancing_policy'?: (_envoy_api_v2_LoadBalancingPolicy); 'lrs_server'?: (_envoy_api_v2_core_ConfigSource); + 'transport_socket_matches'?: (_envoy_api_v2_Cluster_TransportSocketMatch)[]; + 'dns_failure_refresh_rate'?: (_envoy_api_v2_Cluster_RefreshRate); + 'use_tcp_for_dns_lookups'?: (boolean); + 'upstream_http_protocol_options'?: (_envoy_api_v2_core_UpstreamHttpProtocolOptions); 'track_timeout_budgets'?: (boolean); 'cluster_discovery_type'?: "type"|"cluster_type"; 'lb_config'?: "ring_hash_lb_config"|"original_dst_lb_config"|"least_request_lb_config"; } export interface Cluster__Output { - 'transport_socket_matches': (_envoy_api_v2_Cluster_TransportSocketMatch__Output)[]; 'name': (string); - 'alt_stat_name': (string); 'type'?: (keyof typeof _envoy_api_v2_Cluster_DiscoveryType); - 'cluster_type'?: (_envoy_api_v2_Cluster_CustomClusterType__Output); 'eds_cluster_config': (_envoy_api_v2_Cluster_EdsClusterConfig__Output); 'connect_timeout': (_google_protobuf_Duration__Output); 'per_connection_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); 'lb_policy': (keyof typeof _envoy_api_v2_Cluster_LbPolicy); 'hosts': (_envoy_api_v2_core_Address__Output)[]; - 'load_assignment': (_envoy_api_v2_ClusterLoadAssignment__Output); 'health_checks': (_envoy_api_v2_core_HealthCheck__Output)[]; 'max_requests_per_connection': (_google_protobuf_UInt32Value__Output); 'circuit_breakers': (_envoy_api_v2_cluster_CircuitBreakers__Output); 'tls_context': (_envoy_api_v2_auth_UpstreamTlsContext__Output); - 'upstream_http_protocol_options': (_envoy_api_v2_core_UpstreamHttpProtocolOptions__Output); - 'common_http_protocol_options': (_envoy_api_v2_core_HttpProtocolOptions__Output); 'http_protocol_options': (_envoy_api_v2_core_Http1ProtocolOptions__Output); 'http2_protocol_options': (_envoy_api_v2_core_Http2ProtocolOptions__Output); - 'extension_protocol_options': (_google_protobuf_Struct__Output); - 'typed_extension_protocol_options': (_google_protobuf_Any__Output); 'dns_refresh_rate': (_google_protobuf_Duration__Output); - 'dns_failure_refresh_rate': (_envoy_api_v2_Cluster_RefreshRate__Output); - 'respect_dns_ttl': (boolean); 'dns_lookup_family': (keyof typeof _envoy_api_v2_Cluster_DnsLookupFamily); 'dns_resolvers': (_envoy_api_v2_core_Address__Output)[]; - 'use_tcp_for_dns_lookups': (boolean); 'outlier_detection': (_envoy_api_v2_cluster_OutlierDetection__Output); 'cleanup_interval': (_google_protobuf_Duration__Output); 'upstream_bind_config': (_envoy_api_v2_core_BindConfig__Output); 'lb_subset_config': (_envoy_api_v2_Cluster_LbSubsetConfig__Output); 'ring_hash_lb_config'?: (_envoy_api_v2_Cluster_RingHashLbConfig__Output); - 'original_dst_lb_config'?: (_envoy_api_v2_Cluster_OriginalDstLbConfig__Output); - 'least_request_lb_config'?: (_envoy_api_v2_Cluster_LeastRequestLbConfig__Output); - 'common_lb_config': (_envoy_api_v2_Cluster_CommonLbConfig__Output); 'transport_socket': (_envoy_api_v2_core_TransportSocket__Output); 'metadata': (_envoy_api_v2_core_Metadata__Output); 'protocol_selection': (keyof typeof _envoy_api_v2_Cluster_ClusterProtocolSelection); + 'common_lb_config': (_envoy_api_v2_Cluster_CommonLbConfig__Output); + 'alt_stat_name': (string); + 'common_http_protocol_options': (_envoy_api_v2_core_HttpProtocolOptions__Output); 'upstream_connection_options': (_envoy_api_v2_UpstreamConnectionOptions__Output); 'close_connections_on_host_health_failure': (boolean); 'drain_connections_on_host_removal': (boolean); + 'load_assignment': (_envoy_api_v2_ClusterLoadAssignment__Output); + 'original_dst_lb_config'?: (_envoy_api_v2_Cluster_OriginalDstLbConfig__Output); + 'extension_protocol_options': (_google_protobuf_Struct__Output); + 'typed_extension_protocol_options': (_google_protobuf_Any__Output); + 'least_request_lb_config'?: (_envoy_api_v2_Cluster_LeastRequestLbConfig__Output); + 'cluster_type'?: (_envoy_api_v2_Cluster_CustomClusterType__Output); + 'respect_dns_ttl': (boolean); 'filters': (_envoy_api_v2_cluster_Filter__Output)[]; 'load_balancing_policy': (_envoy_api_v2_LoadBalancingPolicy__Output); 'lrs_server': (_envoy_api_v2_core_ConfigSource__Output); + 'transport_socket_matches': (_envoy_api_v2_Cluster_TransportSocketMatch__Output)[]; + 'dns_failure_refresh_rate': (_envoy_api_v2_Cluster_RefreshRate__Output); + 'use_tcp_for_dns_lookups': (boolean); + 'upstream_http_protocol_options': (_envoy_api_v2_core_UpstreamHttpProtocolOptions__Output); 'track_timeout_budgets': (boolean); 'cluster_discovery_type': "type"|"cluster_type"; 'lb_config': "ring_hash_lb_config"|"original_dst_lb_config"|"least_request_lb_config"; diff --git a/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts b/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts index 19508d3c4..4f9c08bb3 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts @@ -33,13 +33,13 @@ export interface _envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload__Output export interface ClusterLoadAssignment { 'cluster_name'?: (string); 'endpoints'?: (_envoy_api_v2_endpoint_LocalityLbEndpoints)[]; - 'named_endpoints'?: (_envoy_api_v2_endpoint_Endpoint); 'policy'?: (_envoy_api_v2_ClusterLoadAssignment_Policy); + 'named_endpoints'?: (_envoy_api_v2_endpoint_Endpoint); } export interface ClusterLoadAssignment__Output { 'cluster_name': (string); 'endpoints': (_envoy_api_v2_endpoint_LocalityLbEndpoints__Output)[]; - 'named_endpoints': (_envoy_api_v2_endpoint_Endpoint__Output); 'policy': (_envoy_api_v2_ClusterLoadAssignment_Policy__Output); + 'named_endpoints': (_envoy_api_v2_endpoint_Endpoint__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.ts b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.ts index 5a6e8c643..53be2989e 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.ts @@ -6,14 +6,14 @@ export interface DeltaDiscoveryResponse { 'system_version_info'?: (string); 'resources'?: (_envoy_api_v2_Resource)[]; 'type_url'?: (string); - 'removed_resources'?: (string)[]; 'nonce'?: (string); + 'removed_resources'?: (string)[]; } export interface DeltaDiscoveryResponse__Output { 'system_version_info': (string); 'resources': (_envoy_api_v2_Resource__Output)[]; 'type_url': (string); - 'removed_resources': (string)[]; 'nonce': (string); + 'removed_resources': (string)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts b/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts index c14e3fdb8..d5a152016 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts @@ -6,28 +6,13 @@ import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_p import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../google/protobuf/UInt32Value'; import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../envoy/api/v2/core/Metadata'; import { ListenerFilter as _envoy_api_v2_listener_ListenerFilter, ListenerFilter__Output as _envoy_api_v2_listener_ListenerFilter__Output } from '../../../envoy/api/v2/listener/ListenerFilter'; -import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration'; import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from '../../../envoy/api/v2/core/SocketOption'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration'; import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from '../../../envoy/api/v2/core/TrafficDirection'; import { UdpListenerConfig as _envoy_api_v2_listener_UdpListenerConfig, UdpListenerConfig__Output as _envoy_api_v2_listener_UdpListenerConfig__Output } from '../../../envoy/api/v2/listener/UdpListenerConfig'; import { ApiListener as _envoy_config_listener_v2_ApiListener, ApiListener__Output as _envoy_config_listener_v2_ApiListener__Output } from '../../../envoy/config/listener/v2/ApiListener'; import { AccessLog as _envoy_config_filter_accesslog_v2_AccessLog, AccessLog__Output as _envoy_config_filter_accesslog_v2_AccessLog__Output } from '../../../envoy/config/filter/accesslog/v2/AccessLog'; -// Original file: deps/envoy-api/envoy/api/v2/listener.proto - -export enum _envoy_api_v2_Listener_DrainType { - DEFAULT = 0, - MODIFY_ONLY = 1, -} - -export interface _envoy_api_v2_Listener_DeprecatedV1 { - 'bind_to_port'?: (_google_protobuf_BoolValue); -} - -export interface _envoy_api_v2_Listener_DeprecatedV1__Output { - 'bind_to_port': (_google_protobuf_BoolValue__Output); -} - export interface _envoy_api_v2_Listener_ConnectionBalanceConfig { 'exact_balance'?: (_envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance); 'balance_type'?: "exact_balance"; @@ -44,6 +29,21 @@ export interface _envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance { export interface _envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance__Output { } +export interface _envoy_api_v2_Listener_DeprecatedV1 { + 'bind_to_port'?: (_google_protobuf_BoolValue); +} + +export interface _envoy_api_v2_Listener_DeprecatedV1__Output { + 'bind_to_port': (_google_protobuf_BoolValue__Output); +} + +// Original file: deps/envoy-api/envoy/api/v2/listener.proto + +export enum _envoy_api_v2_Listener_DrainType { + DEFAULT = 0, + MODIFY_ONLY = 1, +} + export interface Listener { 'name'?: (string); 'address'?: (_envoy_api_v2_core_Address); @@ -54,13 +54,13 @@ export interface Listener { 'deprecated_v1'?: (_envoy_api_v2_Listener_DeprecatedV1); 'drain_type'?: (_envoy_api_v2_Listener_DrainType | keyof typeof _envoy_api_v2_Listener_DrainType); 'listener_filters'?: (_envoy_api_v2_listener_ListenerFilter)[]; - 'listener_filters_timeout'?: (_google_protobuf_Duration); - 'continue_on_listener_filters_timeout'?: (boolean); 'transparent'?: (_google_protobuf_BoolValue); 'freebind'?: (_google_protobuf_BoolValue); - 'socket_options'?: (_envoy_api_v2_core_SocketOption)[]; 'tcp_fast_open_queue_length'?: (_google_protobuf_UInt32Value); + 'socket_options'?: (_envoy_api_v2_core_SocketOption)[]; + 'listener_filters_timeout'?: (_google_protobuf_Duration); 'traffic_direction'?: (_envoy_api_v2_core_TrafficDirection | keyof typeof _envoy_api_v2_core_TrafficDirection); + 'continue_on_listener_filters_timeout'?: (boolean); 'udp_listener_config'?: (_envoy_api_v2_listener_UdpListenerConfig); 'api_listener'?: (_envoy_config_listener_v2_ApiListener); 'connection_balance_config'?: (_envoy_api_v2_Listener_ConnectionBalanceConfig); @@ -78,13 +78,13 @@ export interface Listener__Output { 'deprecated_v1': (_envoy_api_v2_Listener_DeprecatedV1__Output); 'drain_type': (keyof typeof _envoy_api_v2_Listener_DrainType); 'listener_filters': (_envoy_api_v2_listener_ListenerFilter__Output)[]; - 'listener_filters_timeout': (_google_protobuf_Duration__Output); - 'continue_on_listener_filters_timeout': (boolean); 'transparent': (_google_protobuf_BoolValue__Output); 'freebind': (_google_protobuf_BoolValue__Output); - 'socket_options': (_envoy_api_v2_core_SocketOption__Output)[]; 'tcp_fast_open_queue_length': (_google_protobuf_UInt32Value__Output); + 'socket_options': (_envoy_api_v2_core_SocketOption__Output)[]; + 'listener_filters_timeout': (_google_protobuf_Duration__Output); 'traffic_direction': (keyof typeof _envoy_api_v2_core_TrafficDirection); + 'continue_on_listener_filters_timeout': (boolean); 'udp_listener_config': (_envoy_api_v2_listener_UdpListenerConfig__Output); 'api_listener': (_envoy_config_listener_v2_ApiListener__Output); 'connection_balance_config': (_envoy_api_v2_Listener_ConnectionBalanceConfig__Output); diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Resource.ts b/packages/grpc-js/src/generated/envoy/api/v2/Resource.ts index 56dae2fc1..965d007d0 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/Resource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/Resource.ts @@ -3,15 +3,15 @@ import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any'; export interface Resource { - 'name'?: (string); - 'aliases'?: (string)[]; 'version'?: (string); 'resource'?: (_google_protobuf_Any); + 'name'?: (string); + 'aliases'?: (string)[]; } export interface Resource__Output { - 'name': (string); - 'aliases': (string)[]; 'version': (string); 'resource': (_google_protobuf_Any__Output); + 'name': (string); + 'aliases': (string)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts b/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts index 5e8c67260..2c25c8b6f 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts @@ -1,32 +1,32 @@ // Original file: deps/envoy-api/envoy/api/v2/route.proto import { VirtualHost as _envoy_api_v2_route_VirtualHost, VirtualHost__Output as _envoy_api_v2_route_VirtualHost__Output } from '../../../envoy/api/v2/route/VirtualHost'; -import { Vhds as _envoy_api_v2_Vhds, Vhds__Output as _envoy_api_v2_Vhds__Output } from '../../../envoy/api/v2/Vhds'; import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from '../../../envoy/api/v2/core/HeaderValueOption'; import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../google/protobuf/BoolValue'; +import { Vhds as _envoy_api_v2_Vhds, Vhds__Output as _envoy_api_v2_Vhds__Output } from '../../../envoy/api/v2/Vhds'; export interface RouteConfiguration { 'name'?: (string); 'virtual_hosts'?: (_envoy_api_v2_route_VirtualHost)[]; - 'vhds'?: (_envoy_api_v2_Vhds); 'internal_only_headers'?: (string)[]; 'response_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; 'response_headers_to_remove'?: (string)[]; 'request_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + 'validate_clusters'?: (_google_protobuf_BoolValue); 'request_headers_to_remove'?: (string)[]; + 'vhds'?: (_envoy_api_v2_Vhds); 'most_specific_header_mutations_wins'?: (boolean); - 'validate_clusters'?: (_google_protobuf_BoolValue); } export interface RouteConfiguration__Output { 'name': (string); 'virtual_hosts': (_envoy_api_v2_route_VirtualHost__Output)[]; - 'vhds': (_envoy_api_v2_Vhds__Output); 'internal_only_headers': (string)[]; 'response_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; 'response_headers_to_remove': (string)[]; 'request_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + 'validate_clusters': (_google_protobuf_BoolValue__Output); 'request_headers_to_remove': (string)[]; + 'vhds': (_envoy_api_v2_Vhds__Output); 'most_specific_header_mutations_wins': (boolean); - 'validate_clusters': (_google_protobuf_BoolValue__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts index b34aa4ba2..9aaa2a455 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts @@ -1,8 +1,8 @@ // Original file: deps/envoy-api/envoy/api/v2/auth/common.proto import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; -import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../../envoy/type/matcher/StringMatcher'; import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../../envoy/type/matcher/StringMatcher'; // Original file: deps/envoy-api/envoy/api/v2/auth/common.proto @@ -13,26 +13,26 @@ export enum _envoy_api_v2_auth_CertificateValidationContext_TrustChainVerificati export interface CertificateValidationContext { 'trusted_ca'?: (_envoy_api_v2_core_DataSource); - 'verify_certificate_spki'?: (string)[]; 'verify_certificate_hash'?: (string)[]; + 'verify_certificate_spki'?: (string)[]; 'verify_subject_alt_name'?: (string)[]; - 'match_subject_alt_names'?: (_envoy_type_matcher_StringMatcher)[]; 'require_ocsp_staple'?: (_google_protobuf_BoolValue); 'require_signed_certificate_timestamp'?: (_google_protobuf_BoolValue); 'crl'?: (_envoy_api_v2_core_DataSource); 'allow_expired_certificate'?: (boolean); + 'match_subject_alt_names'?: (_envoy_type_matcher_StringMatcher)[]; 'trust_chain_verification'?: (_envoy_api_v2_auth_CertificateValidationContext_TrustChainVerification | keyof typeof _envoy_api_v2_auth_CertificateValidationContext_TrustChainVerification); } export interface CertificateValidationContext__Output { 'trusted_ca': (_envoy_api_v2_core_DataSource__Output); - 'verify_certificate_spki': (string)[]; 'verify_certificate_hash': (string)[]; + 'verify_certificate_spki': (string)[]; 'verify_subject_alt_name': (string)[]; - 'match_subject_alt_names': (_envoy_type_matcher_StringMatcher__Output)[]; 'require_ocsp_staple': (_google_protobuf_BoolValue__Output); 'require_signed_certificate_timestamp': (_google_protobuf_BoolValue__Output); 'crl': (_envoy_api_v2_core_DataSource__Output); 'allow_expired_certificate': (boolean); + 'match_subject_alt_names': (_envoy_type_matcher_StringMatcher__Output)[]; 'trust_chain_verification': (keyof typeof _envoy_api_v2_auth_CertificateValidationContext_TrustChainVerification); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts index 039ba89c1..aa2db06f6 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts @@ -2,8 +2,8 @@ import { TlsParameters as _envoy_api_v2_auth_TlsParameters, TlsParameters__Output as _envoy_api_v2_auth_TlsParameters__Output } from '../../../../envoy/api/v2/auth/TlsParameters'; import { TlsCertificate as _envoy_api_v2_auth_TlsCertificate, TlsCertificate__Output as _envoy_api_v2_auth_TlsCertificate__Output } from '../../../../envoy/api/v2/auth/TlsCertificate'; -import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from '../../../../envoy/api/v2/auth/SdsSecretConfig'; import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from '../../../../envoy/api/v2/auth/CertificateValidationContext'; +import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from '../../../../envoy/api/v2/auth/SdsSecretConfig'; export interface _envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext { 'default_validation_context'?: (_envoy_api_v2_auth_CertificateValidationContext); @@ -18,21 +18,21 @@ export interface _envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidati export interface CommonTlsContext { 'tls_params'?: (_envoy_api_v2_auth_TlsParameters); 'tls_certificates'?: (_envoy_api_v2_auth_TlsCertificate)[]; - 'tls_certificate_sds_secret_configs'?: (_envoy_api_v2_auth_SdsSecretConfig)[]; 'validation_context'?: (_envoy_api_v2_auth_CertificateValidationContext); + 'alpn_protocols'?: (string)[]; + 'tls_certificate_sds_secret_configs'?: (_envoy_api_v2_auth_SdsSecretConfig)[]; 'validation_context_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig); 'combined_validation_context'?: (_envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext); - 'alpn_protocols'?: (string)[]; 'validation_context_type'?: "validation_context"|"validation_context_sds_secret_config"|"combined_validation_context"; } export interface CommonTlsContext__Output { 'tls_params': (_envoy_api_v2_auth_TlsParameters__Output); 'tls_certificates': (_envoy_api_v2_auth_TlsCertificate__Output)[]; - 'tls_certificate_sds_secret_configs': (_envoy_api_v2_auth_SdsSecretConfig__Output)[]; 'validation_context'?: (_envoy_api_v2_auth_CertificateValidationContext__Output); + 'alpn_protocols': (string)[]; + 'tls_certificate_sds_secret_configs': (_envoy_api_v2_auth_SdsSecretConfig__Output)[]; 'validation_context_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig__Output); 'combined_validation_context'?: (_envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext__Output); - 'alpn_protocols': (string)[]; 'validation_context_type': "validation_context"|"validation_context_sds_secret_config"|"combined_validation_context"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts index aaef34234..fa731c9c2 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts @@ -12,8 +12,8 @@ export interface DownstreamTlsContext { 'require_sni'?: (_google_protobuf_BoolValue); 'session_ticket_keys'?: (_envoy_api_v2_auth_TlsSessionTicketKeys); 'session_ticket_keys_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig); - 'disable_stateless_session_resumption'?: (boolean); 'session_timeout'?: (_google_protobuf_Duration); + 'disable_stateless_session_resumption'?: (boolean); 'session_ticket_keys_type'?: "session_ticket_keys"|"session_ticket_keys_sds_secret_config"|"disable_stateless_session_resumption"; } @@ -23,7 +23,7 @@ export interface DownstreamTlsContext__Output { 'require_sni': (_google_protobuf_BoolValue__Output); 'session_ticket_keys'?: (_envoy_api_v2_auth_TlsSessionTicketKeys__Output); 'session_ticket_keys_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig__Output); - 'disable_stateless_session_resumption'?: (boolean); 'session_timeout': (_google_protobuf_Duration__Output); + 'disable_stateless_session_resumption'?: (boolean); 'session_ticket_keys_type': "session_ticket_keys"|"session_ticket_keys_sds_secret_config"|"disable_stateless_session_resumption"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts index 00d786e62..9346e94d6 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts @@ -6,17 +6,17 @@ import { PrivateKeyProvider as _envoy_api_v2_auth_PrivateKeyProvider, PrivateKey export interface TlsCertificate { 'certificate_chain'?: (_envoy_api_v2_core_DataSource); 'private_key'?: (_envoy_api_v2_core_DataSource); - 'private_key_provider'?: (_envoy_api_v2_auth_PrivateKeyProvider); 'password'?: (_envoy_api_v2_core_DataSource); 'ocsp_staple'?: (_envoy_api_v2_core_DataSource); 'signed_certificate_timestamp'?: (_envoy_api_v2_core_DataSource)[]; + 'private_key_provider'?: (_envoy_api_v2_auth_PrivateKeyProvider); } export interface TlsCertificate__Output { 'certificate_chain': (_envoy_api_v2_core_DataSource__Output); 'private_key': (_envoy_api_v2_core_DataSource__Output); - 'private_key_provider': (_envoy_api_v2_auth_PrivateKeyProvider__Output); 'password': (_envoy_api_v2_core_DataSource__Output); 'ocsp_staple': (_envoy_api_v2_core_DataSource__Output); 'signed_certificate_timestamp': (_envoy_api_v2_core_DataSource__Output)[]; + 'private_key_provider': (_envoy_api_v2_auth_PrivateKeyProvider__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts index 93092c0fa..0d951870e 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts @@ -1,9 +1,9 @@ // Original file: deps/envoy-api/envoy/api/v2/core/config_source.proto -import { ApiVersion as _envoy_api_v2_core_ApiVersion } from '../../../../envoy/api/v2/core/ApiVersion'; -import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from '../../../../envoy/api/v2/core/GrpcService'; import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; +import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from '../../../../envoy/api/v2/core/GrpcService'; import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from '../../../../envoy/api/v2/core/RateLimitSettings'; +import { ApiVersion as _envoy_api_v2_core_ApiVersion } from '../../../../envoy/api/v2/core/ApiVersion'; // Original file: deps/envoy-api/envoy/api/v2/core/config_source.proto @@ -16,22 +16,22 @@ export enum _envoy_api_v2_core_ApiConfigSource_ApiType { export interface ApiConfigSource { 'api_type'?: (_envoy_api_v2_core_ApiConfigSource_ApiType | keyof typeof _envoy_api_v2_core_ApiConfigSource_ApiType); - 'transport_api_version'?: (_envoy_api_v2_core_ApiVersion | keyof typeof _envoy_api_v2_core_ApiVersion); 'cluster_names'?: (string)[]; - 'grpc_services'?: (_envoy_api_v2_core_GrpcService)[]; 'refresh_delay'?: (_google_protobuf_Duration); + 'grpc_services'?: (_envoy_api_v2_core_GrpcService)[]; 'request_timeout'?: (_google_protobuf_Duration); 'rate_limit_settings'?: (_envoy_api_v2_core_RateLimitSettings); 'set_node_on_first_message_only'?: (boolean); + 'transport_api_version'?: (_envoy_api_v2_core_ApiVersion | keyof typeof _envoy_api_v2_core_ApiVersion); } export interface ApiConfigSource__Output { 'api_type': (keyof typeof _envoy_api_v2_core_ApiConfigSource_ApiType); - 'transport_api_version': (keyof typeof _envoy_api_v2_core_ApiVersion); 'cluster_names': (string)[]; - 'grpc_services': (_envoy_api_v2_core_GrpcService__Output)[]; 'refresh_delay': (_google_protobuf_Duration__Output); + 'grpc_services': (_envoy_api_v2_core_GrpcService__Output)[]; 'request_timeout': (_google_protobuf_Duration__Output); 'rate_limit_settings': (_envoy_api_v2_core_RateLimitSettings__Output); 'set_node_on_first_message_only': (boolean); + 'transport_api_version': (keyof typeof _envoy_api_v2_core_ApiVersion); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts index a9cd08e43..9f6952a7f 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts @@ -2,16 +2,16 @@ import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from '../../../../envoy/api/v2/core/ApiConfigSource'; import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from '../../../../envoy/api/v2/core/AggregatedConfigSource'; -import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from '../../../../envoy/api/v2/core/SelfConfigSource'; import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; +import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from '../../../../envoy/api/v2/core/SelfConfigSource'; import { ApiVersion as _envoy_api_v2_core_ApiVersion } from '../../../../envoy/api/v2/core/ApiVersion'; export interface ConfigSource { 'path'?: (string); 'api_config_source'?: (_envoy_api_v2_core_ApiConfigSource); 'ads'?: (_envoy_api_v2_core_AggregatedConfigSource); - 'self'?: (_envoy_api_v2_core_SelfConfigSource); 'initial_fetch_timeout'?: (_google_protobuf_Duration); + 'self'?: (_envoy_api_v2_core_SelfConfigSource); 'resource_api_version'?: (_envoy_api_v2_core_ApiVersion | keyof typeof _envoy_api_v2_core_ApiVersion); 'config_source_specifier'?: "path"|"api_config_source"|"ads"|"self"; } @@ -20,8 +20,8 @@ export interface ConfigSource__Output { 'path'?: (string); 'api_config_source'?: (_envoy_api_v2_core_ApiConfigSource__Output); 'ads'?: (_envoy_api_v2_core_AggregatedConfigSource__Output); - 'self'?: (_envoy_api_v2_core_SelfConfigSource__Output); 'initial_fetch_timeout': (_google_protobuf_Duration__Output); + 'self'?: (_envoy_api_v2_core_SelfConfigSource__Output); 'resource_api_version': (keyof typeof _envoy_api_v2_core_ApiVersion); 'config_source_specifier': "path"|"api_config_source"|"ads"|"self"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts index 0e8021b19..10fabd16c 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts @@ -3,9 +3,9 @@ import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from '../../../../envoy/api/v2/core/HeaderValue'; import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; -import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from '../../../../google/protobuf/Empty'; import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; import { Long } from '@grpc/proto-loader'; export interface _envoy_api_v2_core_GrpcService_EnvoyGrpc { @@ -34,38 +34,6 @@ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc__Output { 'config': (_google_protobuf_Struct__Output); } -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials { - 'root_certs'?: (_envoy_api_v2_core_DataSource); - 'private_key'?: (_envoy_api_v2_core_DataSource); - 'cert_chain'?: (_envoy_api_v2_core_DataSource); -} - -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__Output { - 'root_certs': (_envoy_api_v2_core_DataSource__Output); - 'private_key': (_envoy_api_v2_core_DataSource__Output); - 'cert_chain': (_envoy_api_v2_core_DataSource__Output); -} - -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials { -} - -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials__Output { -} - -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials { - 'ssl_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials); - 'google_default'?: (_google_protobuf_Empty); - 'local_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials); - 'credential_specifier'?: "ssl_credentials"|"google_default"|"local_credentials"; -} - -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials__Output { - 'ssl_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__Output); - 'google_default'?: (_google_protobuf_Empty__Output); - 'local_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials__Output); - 'credential_specifier': "ssl_credentials"|"google_default"|"local_credentials"; -} - export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials { 'access_token'?: (string); 'google_compute_engine'?: (_google_protobuf_Empty); @@ -88,16 +56,6 @@ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials__Outp 'credential_specifier': "access_token"|"google_compute_engine"|"google_refresh_token"|"service_account_jwt_access"|"google_iam"|"from_plugin"|"sts_service"; } -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials { - 'json_key'?: (string); - 'token_lifetime_seconds'?: (number | string | Long); -} - -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__Output { - 'json_key': (string); - 'token_lifetime_seconds': (string); -} - export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials { 'authorization_token'?: (string); 'authority_selector'?: (string); @@ -122,6 +80,16 @@ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_Metad 'config_type': "config"|"typed_config"; } +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials { + 'json_key'?: (string); + 'token_lifetime_seconds'?: (number | string | Long); +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__Output { + 'json_key': (string); + 'token_lifetime_seconds': (string); +} + export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService { 'token_exchange_service_uri'?: (string); 'resource'?: (string); @@ -146,6 +114,38 @@ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsSe 'actor_token_type': (string); } +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials { + 'ssl_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials); + 'google_default'?: (_google_protobuf_Empty); + 'local_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials); + 'credential_specifier'?: "ssl_credentials"|"google_default"|"local_credentials"; +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials__Output { + 'ssl_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__Output); + 'google_default'?: (_google_protobuf_Empty__Output); + 'local_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials__Output); + 'credential_specifier': "ssl_credentials"|"google_default"|"local_credentials"; +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials { +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials__Output { +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials { + 'root_certs'?: (_envoy_api_v2_core_DataSource); + 'private_key'?: (_envoy_api_v2_core_DataSource); + 'cert_chain'?: (_envoy_api_v2_core_DataSource); +} + +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__Output { + 'root_certs': (_envoy_api_v2_core_DataSource__Output); + 'private_key': (_envoy_api_v2_core_DataSource__Output); + 'cert_chain': (_envoy_api_v2_core_DataSource__Output); +} + export interface GrpcService { 'envoy_grpc'?: (_envoy_api_v2_core_GrpcService_EnvoyGrpc); 'google_grpc'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc); diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts index 934db81b2..e91ef5dbe 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts @@ -4,24 +4,36 @@ import { Duration as _google_protobuf_Duration, Duration__Output as _google_prot import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; import { EventServiceConfig as _envoy_api_v2_core_EventServiceConfig, EventServiceConfig__Output as _envoy_api_v2_core_EventServiceConfig__Output } from '../../../../envoy/api/v2/core/EventServiceConfig'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from '../../../../envoy/api/v2/core/HeaderValueOption'; import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from '../../../../envoy/type/Int64Range'; import { CodecClientType as _envoy_type_CodecClientType } from '../../../../envoy/type/CodecClientType'; import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../../envoy/type/matcher/StringMatcher'; -import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; import { Long } from '@grpc/proto-loader'; -export interface _envoy_api_v2_core_HealthCheck_Payload { - 'text'?: (string); - 'binary'?: (Buffer | Uint8Array | string); - 'payload'?: "text"|"binary"; +export interface _envoy_api_v2_core_HealthCheck_CustomHealthCheck { + 'name'?: (string); + 'config'?: (_google_protobuf_Struct); + 'typed_config'?: (_google_protobuf_Any); + 'config_type'?: "config"|"typed_config"; } -export interface _envoy_api_v2_core_HealthCheck_Payload__Output { - 'text'?: (string); - 'binary'?: (Buffer); - 'payload': "text"|"binary"; +export interface _envoy_api_v2_core_HealthCheck_CustomHealthCheck__Output { + 'name': (string); + 'config'?: (_google_protobuf_Struct__Output); + 'typed_config'?: (_google_protobuf_Any__Output); + 'config_type': "config"|"typed_config"; +} + +export interface _envoy_api_v2_core_HealthCheck_GrpcHealthCheck { + 'service_name'?: (string); + 'authority'?: (string); +} + +export interface _envoy_api_v2_core_HealthCheck_GrpcHealthCheck__Output { + 'service_name': (string); + 'authority': (string); } export interface _envoy_api_v2_core_HealthCheck_HttpHealthCheck { @@ -52,14 +64,16 @@ export interface _envoy_api_v2_core_HealthCheck_HttpHealthCheck__Output { 'service_name_matcher': (_envoy_type_matcher_StringMatcher__Output); } -export interface _envoy_api_v2_core_HealthCheck_TcpHealthCheck { - 'send'?: (_envoy_api_v2_core_HealthCheck_Payload); - 'receive'?: (_envoy_api_v2_core_HealthCheck_Payload)[]; +export interface _envoy_api_v2_core_HealthCheck_Payload { + 'text'?: (string); + 'binary'?: (Buffer | Uint8Array | string); + 'payload'?: "text"|"binary"; } -export interface _envoy_api_v2_core_HealthCheck_TcpHealthCheck__Output { - 'send': (_envoy_api_v2_core_HealthCheck_Payload__Output); - 'receive': (_envoy_api_v2_core_HealthCheck_Payload__Output)[]; +export interface _envoy_api_v2_core_HealthCheck_Payload__Output { + 'text'?: (string); + 'binary'?: (Buffer); + 'payload': "text"|"binary"; } export interface _envoy_api_v2_core_HealthCheck_RedisHealthCheck { @@ -70,28 +84,14 @@ export interface _envoy_api_v2_core_HealthCheck_RedisHealthCheck__Output { 'key': (string); } -export interface _envoy_api_v2_core_HealthCheck_GrpcHealthCheck { - 'service_name'?: (string); - 'authority'?: (string); -} - -export interface _envoy_api_v2_core_HealthCheck_GrpcHealthCheck__Output { - 'service_name': (string); - 'authority': (string); -} - -export interface _envoy_api_v2_core_HealthCheck_CustomHealthCheck { - 'name'?: (string); - 'config'?: (_google_protobuf_Struct); - 'typed_config'?: (_google_protobuf_Any); - 'config_type'?: "config"|"typed_config"; +export interface _envoy_api_v2_core_HealthCheck_TcpHealthCheck { + 'send'?: (_envoy_api_v2_core_HealthCheck_Payload); + 'receive'?: (_envoy_api_v2_core_HealthCheck_Payload)[]; } -export interface _envoy_api_v2_core_HealthCheck_CustomHealthCheck__Output { - 'name': (string); - 'config'?: (_google_protobuf_Struct__Output); - 'typed_config'?: (_google_protobuf_Any__Output); - 'config_type': "config"|"typed_config"; +export interface _envoy_api_v2_core_HealthCheck_TcpHealthCheck__Output { + 'send': (_envoy_api_v2_core_HealthCheck_Payload__Output); + 'receive': (_envoy_api_v2_core_HealthCheck_Payload__Output)[]; } export interface _envoy_api_v2_core_HealthCheck_TlsOptions { @@ -105,9 +105,7 @@ export interface _envoy_api_v2_core_HealthCheck_TlsOptions__Output { export interface HealthCheck { 'timeout'?: (_google_protobuf_Duration); 'interval'?: (_google_protobuf_Duration); - 'initial_jitter'?: (_google_protobuf_Duration); 'interval_jitter'?: (_google_protobuf_Duration); - 'interval_jitter_percent'?: (number); 'unhealthy_threshold'?: (_google_protobuf_UInt32Value); 'healthy_threshold'?: (_google_protobuf_UInt32Value); 'alt_port'?: (_google_protobuf_UInt32Value); @@ -115,24 +113,24 @@ export interface HealthCheck { 'http_health_check'?: (_envoy_api_v2_core_HealthCheck_HttpHealthCheck); 'tcp_health_check'?: (_envoy_api_v2_core_HealthCheck_TcpHealthCheck); 'grpc_health_check'?: (_envoy_api_v2_core_HealthCheck_GrpcHealthCheck); - 'custom_health_check'?: (_envoy_api_v2_core_HealthCheck_CustomHealthCheck); 'no_traffic_interval'?: (_google_protobuf_Duration); + 'custom_health_check'?: (_envoy_api_v2_core_HealthCheck_CustomHealthCheck); 'unhealthy_interval'?: (_google_protobuf_Duration); 'unhealthy_edge_interval'?: (_google_protobuf_Duration); 'healthy_edge_interval'?: (_google_protobuf_Duration); 'event_log_path'?: (string); - 'event_service'?: (_envoy_api_v2_core_EventServiceConfig); + 'interval_jitter_percent'?: (number); 'always_log_health_check_failures'?: (boolean); + 'initial_jitter'?: (_google_protobuf_Duration); 'tls_options'?: (_envoy_api_v2_core_HealthCheck_TlsOptions); + 'event_service'?: (_envoy_api_v2_core_EventServiceConfig); 'health_checker'?: "http_health_check"|"tcp_health_check"|"grpc_health_check"|"custom_health_check"; } export interface HealthCheck__Output { 'timeout': (_google_protobuf_Duration__Output); 'interval': (_google_protobuf_Duration__Output); - 'initial_jitter': (_google_protobuf_Duration__Output); 'interval_jitter': (_google_protobuf_Duration__Output); - 'interval_jitter_percent': (number); 'unhealthy_threshold': (_google_protobuf_UInt32Value__Output); 'healthy_threshold': (_google_protobuf_UInt32Value__Output); 'alt_port': (_google_protobuf_UInt32Value__Output); @@ -140,14 +138,16 @@ export interface HealthCheck__Output { 'http_health_check'?: (_envoy_api_v2_core_HealthCheck_HttpHealthCheck__Output); 'tcp_health_check'?: (_envoy_api_v2_core_HealthCheck_TcpHealthCheck__Output); 'grpc_health_check'?: (_envoy_api_v2_core_HealthCheck_GrpcHealthCheck__Output); - 'custom_health_check'?: (_envoy_api_v2_core_HealthCheck_CustomHealthCheck__Output); 'no_traffic_interval': (_google_protobuf_Duration__Output); + 'custom_health_check'?: (_envoy_api_v2_core_HealthCheck_CustomHealthCheck__Output); 'unhealthy_interval': (_google_protobuf_Duration__Output); 'unhealthy_edge_interval': (_google_protobuf_Duration__Output); 'healthy_edge_interval': (_google_protobuf_Duration__Output); 'event_log_path': (string); - 'event_service': (_envoy_api_v2_core_EventServiceConfig__Output); + 'interval_jitter_percent': (number); 'always_log_health_check_failures': (boolean); + 'initial_jitter': (_google_protobuf_Duration__Output); 'tls_options': (_envoy_api_v2_core_HealthCheck_TlsOptions__Output); + 'event_service': (_envoy_api_v2_core_EventServiceConfig__Output); 'health_checker': "http_health_check"|"tcp_health_check"|"grpc_health_check"|"custom_health_check"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts index f3594ce68..559140a1f 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts @@ -13,16 +13,16 @@ export enum _envoy_api_v2_core_HttpProtocolOptions_HeadersWithUnderscoresAction export interface HttpProtocolOptions { 'idle_timeout'?: (_google_protobuf_Duration); - 'max_connection_duration'?: (_google_protobuf_Duration); 'max_headers_count'?: (_google_protobuf_UInt32Value); + 'max_connection_duration'?: (_google_protobuf_Duration); 'max_stream_duration'?: (_google_protobuf_Duration); 'headers_with_underscores_action'?: (_envoy_api_v2_core_HttpProtocolOptions_HeadersWithUnderscoresAction | keyof typeof _envoy_api_v2_core_HttpProtocolOptions_HeadersWithUnderscoresAction); } export interface HttpProtocolOptions__Output { 'idle_timeout': (_google_protobuf_Duration__Output); - 'max_connection_duration': (_google_protobuf_Duration__Output); 'max_headers_count': (_google_protobuf_UInt32Value__Output); + 'max_connection_duration': (_google_protobuf_Duration__Output); 'max_stream_duration': (_google_protobuf_Duration__Output); 'headers_with_underscores_action': (keyof typeof _envoy_api_v2_core_HttpProtocolOptions_HeadersWithUnderscoresAction); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts index cb40e7c95..50d5f46b2 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts @@ -7,18 +7,18 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _go export interface LbEndpoint { 'endpoint'?: (_envoy_api_v2_endpoint_Endpoint); - 'endpoint_name'?: (string); 'health_status'?: (_envoy_api_v2_core_HealthStatus | keyof typeof _envoy_api_v2_core_HealthStatus); 'metadata'?: (_envoy_api_v2_core_Metadata); 'load_balancing_weight'?: (_google_protobuf_UInt32Value); + 'endpoint_name'?: (string); 'host_identifier'?: "endpoint"|"endpoint_name"; } export interface LbEndpoint__Output { 'endpoint'?: (_envoy_api_v2_endpoint_Endpoint__Output); - 'endpoint_name'?: (string); 'health_status': (keyof typeof _envoy_api_v2_core_HealthStatus); 'metadata': (_envoy_api_v2_core_Metadata__Output); 'load_balancing_weight': (_google_protobuf_UInt32Value__Output); + 'endpoint_name'?: (string); 'host_identifier': "endpoint"|"endpoint_name"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts index 4b74a5544..374621458 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts @@ -1,7 +1,7 @@ // Original file: deps/envoy-api/envoy/api/v2/listener/listener_components.proto -import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from '../../../../envoy/api/v2/core/CidrRange'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; // Original file: deps/envoy-api/envoy/api/v2/listener/listener_components.proto @@ -12,27 +12,27 @@ export enum _envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType { } export interface FilterChainMatch { - 'destination_port'?: (_google_protobuf_UInt32Value); 'prefix_ranges'?: (_envoy_api_v2_core_CidrRange)[]; 'address_suffix'?: (string); 'suffix_len'?: (_google_protobuf_UInt32Value); - 'source_type'?: (_envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType | keyof typeof _envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType); 'source_prefix_ranges'?: (_envoy_api_v2_core_CidrRange)[]; 'source_ports'?: (number)[]; - 'server_names'?: (string)[]; + 'destination_port'?: (_google_protobuf_UInt32Value); 'transport_protocol'?: (string); 'application_protocols'?: (string)[]; + 'server_names'?: (string)[]; + 'source_type'?: (_envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType | keyof typeof _envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType); } export interface FilterChainMatch__Output { - 'destination_port': (_google_protobuf_UInt32Value__Output); 'prefix_ranges': (_envoy_api_v2_core_CidrRange__Output)[]; 'address_suffix': (string); 'suffix_len': (_google_protobuf_UInt32Value__Output); - 'source_type': (keyof typeof _envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType); 'source_prefix_ranges': (_envoy_api_v2_core_CidrRange__Output)[]; 'source_ports': (number)[]; - 'server_names': (string)[]; + 'destination_port': (_google_protobuf_UInt32Value__Output); 'transport_protocol': (string); 'application_protocols': (string)[]; + 'server_names': (string)[]; + 'source_type': (keyof typeof _envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts index d1f5b11d0..fbb1524f4 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts @@ -1,35 +1,35 @@ // Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto -import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../../envoy/type/matcher/StringMatcher'; import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from '../../../../envoy/api/v2/core/RuntimeFractionalPercent'; +import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../../envoy/type/matcher/StringMatcher'; export interface CorsPolicy { 'allow_origin'?: (string)[]; - 'allow_origin_regex'?: (string)[]; - 'allow_origin_string_match'?: (_envoy_type_matcher_StringMatcher)[]; 'allow_methods'?: (string); 'allow_headers'?: (string); 'expose_headers'?: (string); 'max_age'?: (string); 'allow_credentials'?: (_google_protobuf_BoolValue); 'enabled'?: (_google_protobuf_BoolValue); + 'allow_origin_regex'?: (string)[]; 'filter_enabled'?: (_envoy_api_v2_core_RuntimeFractionalPercent); 'shadow_enabled'?: (_envoy_api_v2_core_RuntimeFractionalPercent); + 'allow_origin_string_match'?: (_envoy_type_matcher_StringMatcher)[]; 'enabled_specifier'?: "enabled"|"filter_enabled"; } export interface CorsPolicy__Output { 'allow_origin': (string)[]; - 'allow_origin_regex': (string)[]; - 'allow_origin_string_match': (_envoy_type_matcher_StringMatcher__Output)[]; 'allow_methods': (string); 'allow_headers': (string); 'expose_headers': (string); 'max_age': (string); 'allow_credentials': (_google_protobuf_BoolValue__Output); 'enabled'?: (_google_protobuf_BoolValue__Output); + 'allow_origin_regex': (string)[]; 'filter_enabled'?: (_envoy_api_v2_core_RuntimeFractionalPercent__Output); 'shadow_enabled': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + 'allow_origin_string_match': (_envoy_type_matcher_StringMatcher__Output)[]; 'enabled_specifier': "enabled"|"filter_enabled"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.ts index 97636e12b..6a189d87f 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.ts @@ -1,19 +1,19 @@ // Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto -import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from '../../../../envoy/type/matcher/RegexMatcher'; import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from '../../../../envoy/type/Int64Range'; +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from '../../../../envoy/type/matcher/RegexMatcher'; import { Long } from '@grpc/proto-loader'; export interface HeaderMatcher { 'name'?: (string); 'exact_match'?: (string); 'regex_match'?: (string); - 'safe_regex_match'?: (_envoy_type_matcher_RegexMatcher); 'range_match'?: (_envoy_type_Int64Range); 'present_match'?: (boolean); + 'invert_match'?: (boolean); 'prefix_match'?: (string); 'suffix_match'?: (string); - 'invert_match'?: (boolean); + 'safe_regex_match'?: (_envoy_type_matcher_RegexMatcher); 'header_match_specifier'?: "exact_match"|"regex_match"|"safe_regex_match"|"range_match"|"present_match"|"prefix_match"|"suffix_match"; } @@ -21,11 +21,11 @@ export interface HeaderMatcher__Output { 'name': (string); 'exact_match'?: (string); 'regex_match'?: (string); - 'safe_regex_match'?: (_envoy_type_matcher_RegexMatcher__Output); 'range_match'?: (_envoy_type_Int64Range__Output); 'present_match'?: (boolean); + 'invert_match': (boolean); 'prefix_match'?: (string); 'suffix_match'?: (string); - 'invert_match': (boolean); + 'safe_regex_match'?: (_envoy_type_matcher_RegexMatcher__Output); 'header_match_specifier': "exact_match"|"regex_match"|"safe_regex_match"|"range_match"|"present_match"|"prefix_match"|"suffix_match"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts index 86681d391..b75b9b446 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts @@ -24,34 +24,12 @@ export interface _envoy_api_v2_route_RateLimit_Action__Output { 'action_specifier': "source_cluster"|"destination_cluster"|"request_headers"|"remote_address"|"generic_key"|"header_value_match"; } -export interface _envoy_api_v2_route_RateLimit_Action_SourceCluster { -} - -export interface _envoy_api_v2_route_RateLimit_Action_SourceCluster__Output { -} - export interface _envoy_api_v2_route_RateLimit_Action_DestinationCluster { } export interface _envoy_api_v2_route_RateLimit_Action_DestinationCluster__Output { } -export interface _envoy_api_v2_route_RateLimit_Action_RequestHeaders { - 'header_name'?: (string); - 'descriptor_key'?: (string); -} - -export interface _envoy_api_v2_route_RateLimit_Action_RequestHeaders__Output { - 'header_name': (string); - 'descriptor_key': (string); -} - -export interface _envoy_api_v2_route_RateLimit_Action_RemoteAddress { -} - -export interface _envoy_api_v2_route_RateLimit_Action_RemoteAddress__Output { -} - export interface _envoy_api_v2_route_RateLimit_Action_GenericKey { 'descriptor_value'?: (string); } @@ -72,6 +50,28 @@ export interface _envoy_api_v2_route_RateLimit_Action_HeaderValueMatch__Output { 'headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; } +export interface _envoy_api_v2_route_RateLimit_Action_RemoteAddress { +} + +export interface _envoy_api_v2_route_RateLimit_Action_RemoteAddress__Output { +} + +export interface _envoy_api_v2_route_RateLimit_Action_RequestHeaders { + 'header_name'?: (string); + 'descriptor_key'?: (string); +} + +export interface _envoy_api_v2_route_RateLimit_Action_RequestHeaders__Output { + 'header_name': (string); + 'descriptor_key': (string); +} + +export interface _envoy_api_v2_route_RateLimit_Action_SourceCluster { +} + +export interface _envoy_api_v2_route_RateLimit_Action_SourceCluster__Output { +} + export interface RateLimit { 'stage'?: (_google_protobuf_UInt32Value); 'disable_key'?: (string); diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.ts index cdd33a9e6..06214c9db 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.ts @@ -12,27 +12,27 @@ export enum _envoy_api_v2_route_RedirectAction_RedirectResponseCode { } export interface RedirectAction { - 'https_redirect'?: (boolean); - 'scheme_redirect'?: (string); 'host_redirect'?: (string); - 'port_redirect'?: (number); 'path_redirect'?: (string); - 'prefix_rewrite'?: (string); 'response_code'?: (_envoy_api_v2_route_RedirectAction_RedirectResponseCode | keyof typeof _envoy_api_v2_route_RedirectAction_RedirectResponseCode); + 'https_redirect'?: (boolean); + 'prefix_rewrite'?: (string); 'strip_query'?: (boolean); + 'scheme_redirect'?: (string); + 'port_redirect'?: (number); 'scheme_rewrite_specifier'?: "https_redirect"|"scheme_redirect"; 'path_rewrite_specifier'?: "path_redirect"|"prefix_rewrite"; } export interface RedirectAction__Output { - 'https_redirect'?: (boolean); - 'scheme_redirect'?: (string); 'host_redirect': (string); - 'port_redirect': (number); 'path_redirect'?: (string); - 'prefix_rewrite'?: (string); 'response_code': (keyof typeof _envoy_api_v2_route_RedirectAction_RedirectResponseCode); + 'https_redirect'?: (boolean); + 'prefix_rewrite'?: (string); 'strip_query': (boolean); + 'scheme_redirect'?: (string); + 'port_redirect': (number); 'scheme_rewrite_specifier': "https_redirect"|"scheme_redirect"; 'path_rewrite_specifier': "path_redirect"|"prefix_rewrite"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts index 6a0be9e43..e43648001 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts @@ -7,44 +7,44 @@ import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_S import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; import { Long } from '@grpc/proto-loader'; -export interface _envoy_api_v2_route_RetryPolicy_RetryPriority { +export interface _envoy_api_v2_route_RetryPolicy_RetryBackOff { + 'base_interval'?: (_google_protobuf_Duration); + 'max_interval'?: (_google_protobuf_Duration); +} + +export interface _envoy_api_v2_route_RetryPolicy_RetryBackOff__Output { + 'base_interval': (_google_protobuf_Duration__Output); + 'max_interval': (_google_protobuf_Duration__Output); +} + +export interface _envoy_api_v2_route_RetryPolicy_RetryHostPredicate { 'name'?: (string); 'config'?: (_google_protobuf_Struct); 'typed_config'?: (_google_protobuf_Any); 'config_type'?: "config"|"typed_config"; } -export interface _envoy_api_v2_route_RetryPolicy_RetryPriority__Output { +export interface _envoy_api_v2_route_RetryPolicy_RetryHostPredicate__Output { 'name': (string); 'config'?: (_google_protobuf_Struct__Output); 'typed_config'?: (_google_protobuf_Any__Output); 'config_type': "config"|"typed_config"; } -export interface _envoy_api_v2_route_RetryPolicy_RetryHostPredicate { +export interface _envoy_api_v2_route_RetryPolicy_RetryPriority { 'name'?: (string); 'config'?: (_google_protobuf_Struct); 'typed_config'?: (_google_protobuf_Any); 'config_type'?: "config"|"typed_config"; } -export interface _envoy_api_v2_route_RetryPolicy_RetryHostPredicate__Output { +export interface _envoy_api_v2_route_RetryPolicy_RetryPriority__Output { 'name': (string); 'config'?: (_google_protobuf_Struct__Output); 'typed_config'?: (_google_protobuf_Any__Output); 'config_type': "config"|"typed_config"; } -export interface _envoy_api_v2_route_RetryPolicy_RetryBackOff { - 'base_interval'?: (_google_protobuf_Duration); - 'max_interval'?: (_google_protobuf_Duration); -} - -export interface _envoy_api_v2_route_RetryPolicy_RetryBackOff__Output { - 'base_interval': (_google_protobuf_Duration__Output); - 'max_interval': (_google_protobuf_Duration__Output); -} - export interface RetryPolicy { 'retry_on'?: (string); 'num_retries'?: (_google_protobuf_UInt32Value); diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts index 700c3ac61..42202684c 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts @@ -3,52 +3,52 @@ import { RouteMatch as _envoy_api_v2_route_RouteMatch, RouteMatch__Output as _envoy_api_v2_route_RouteMatch__Output } from '../../../../envoy/api/v2/route/RouteMatch'; import { RouteAction as _envoy_api_v2_route_RouteAction, RouteAction__Output as _envoy_api_v2_route_RouteAction__Output } from '../../../../envoy/api/v2/route/RouteAction'; import { RedirectAction as _envoy_api_v2_route_RedirectAction, RedirectAction__Output as _envoy_api_v2_route_RedirectAction__Output } from '../../../../envoy/api/v2/route/RedirectAction'; -import { DirectResponseAction as _envoy_api_v2_route_DirectResponseAction, DirectResponseAction__Output as _envoy_api_v2_route_DirectResponseAction__Output } from '../../../../envoy/api/v2/route/DirectResponseAction'; -import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from '../../../../envoy/api/v2/route/FilterAction'; import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../../envoy/api/v2/core/Metadata'; import { Decorator as _envoy_api_v2_route_Decorator, Decorator__Output as _envoy_api_v2_route_Decorator__Output } from '../../../../envoy/api/v2/route/Decorator'; +import { DirectResponseAction as _envoy_api_v2_route_DirectResponseAction, DirectResponseAction__Output as _envoy_api_v2_route_DirectResponseAction__Output } from '../../../../envoy/api/v2/route/DirectResponseAction'; import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from '../../../../envoy/api/v2/core/HeaderValueOption'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; import { Tracing as _envoy_api_v2_route_Tracing, Tracing__Output as _envoy_api_v2_route_Tracing__Output } from '../../../../envoy/api/v2/route/Tracing'; import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from '../../../../envoy/api/v2/route/FilterAction'; export interface Route { - 'name'?: (string); 'match'?: (_envoy_api_v2_route_RouteMatch); 'route'?: (_envoy_api_v2_route_RouteAction); 'redirect'?: (_envoy_api_v2_route_RedirectAction); - 'direct_response'?: (_envoy_api_v2_route_DirectResponseAction); - 'filter_action'?: (_envoy_api_v2_route_FilterAction); 'metadata'?: (_envoy_api_v2_core_Metadata); 'decorator'?: (_envoy_api_v2_route_Decorator); + 'direct_response'?: (_envoy_api_v2_route_DirectResponseAction); 'per_filter_config'?: (_google_protobuf_Struct); - 'typed_per_filter_config'?: (_google_protobuf_Any); 'request_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; - 'request_headers_to_remove'?: (string)[]; 'response_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; 'response_headers_to_remove'?: (string)[]; + 'request_headers_to_remove'?: (string)[]; + 'typed_per_filter_config'?: (_google_protobuf_Any); + 'name'?: (string); 'tracing'?: (_envoy_api_v2_route_Tracing); 'per_request_buffer_limit_bytes'?: (_google_protobuf_UInt32Value); + 'filter_action'?: (_envoy_api_v2_route_FilterAction); 'action'?: "route"|"redirect"|"direct_response"|"filter_action"; } export interface Route__Output { - 'name': (string); 'match': (_envoy_api_v2_route_RouteMatch__Output); 'route'?: (_envoy_api_v2_route_RouteAction__Output); 'redirect'?: (_envoy_api_v2_route_RedirectAction__Output); - 'direct_response'?: (_envoy_api_v2_route_DirectResponseAction__Output); - 'filter_action'?: (_envoy_api_v2_route_FilterAction__Output); 'metadata': (_envoy_api_v2_core_Metadata__Output); 'decorator': (_envoy_api_v2_route_Decorator__Output); + 'direct_response'?: (_envoy_api_v2_route_DirectResponseAction__Output); 'per_filter_config': (_google_protobuf_Struct__Output); - 'typed_per_filter_config': (_google_protobuf_Any__Output); 'request_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; - 'request_headers_to_remove': (string)[]; 'response_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; 'response_headers_to_remove': (string)[]; + 'request_headers_to_remove': (string)[]; + 'typed_per_filter_config': (_google_protobuf_Any__Output); + 'name': (string); 'tracing': (_envoy_api_v2_route_Tracing__Output); 'per_request_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); + 'filter_action'?: (_envoy_api_v2_route_FilterAction__Output); 'action': "route"|"redirect"|"direct_response"|"filter_action"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts index 58f8f1acd..7b58e06ee 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts @@ -2,16 +2,16 @@ import { WeightedCluster as _envoy_api_v2_route_WeightedCluster, WeightedCluster__Output as _envoy_api_v2_route_WeightedCluster__Output } from '../../../../envoy/api/v2/route/WeightedCluster'; import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../../envoy/api/v2/core/Metadata'; -import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from '../../../../envoy/type/matcher/RegexMatchAndSubstitute'; import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; import { RetryPolicy as _envoy_api_v2_route_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_route_RetryPolicy__Output } from '../../../../envoy/api/v2/route/RetryPolicy'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from '../../../../envoy/api/v2/core/RoutingPriority'; import { RateLimit as _envoy_api_v2_route_RateLimit, RateLimit__Output as _envoy_api_v2_route_RateLimit__Output } from '../../../../envoy/api/v2/route/RateLimit'; import { CorsPolicy as _envoy_api_v2_route_CorsPolicy, CorsPolicy__Output as _envoy_api_v2_route_CorsPolicy__Output } from '../../../../envoy/api/v2/route/CorsPolicy'; -import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; import { HedgePolicy as _envoy_api_v2_route_HedgePolicy, HedgePolicy__Output as _envoy_api_v2_route_HedgePolicy__Output } from '../../../../envoy/api/v2/route/HedgePolicy'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from '../../../../envoy/type/matcher/RegexMatchAndSubstitute'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from '../../../../envoy/api/v2/core/RuntimeFractionalPercent'; // Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto @@ -21,27 +21,6 @@ export enum _envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode { NOT_FOUND = 1, } -// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto - -export enum _envoy_api_v2_route_RouteAction_InternalRedirectAction { - PASS_THROUGH_INTERNAL_REDIRECT = 0, - HANDLE_INTERNAL_REDIRECT = 1, -} - -export interface _envoy_api_v2_route_RouteAction_RequestMirrorPolicy { - 'cluster'?: (string); - 'runtime_key'?: (string); - 'runtime_fraction'?: (_envoy_api_v2_core_RuntimeFractionalPercent); - 'trace_sampled'?: (_google_protobuf_BoolValue); -} - -export interface _envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output { - 'cluster': (string); - 'runtime_key': (string); - 'runtime_fraction': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); - 'trace_sampled': (_google_protobuf_BoolValue__Output); -} - export interface _envoy_api_v2_route_RouteAction_HashPolicy { 'header'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Header); 'cookie'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Cookie); @@ -62,12 +41,12 @@ export interface _envoy_api_v2_route_RouteAction_HashPolicy__Output { 'policy_specifier': "header"|"cookie"|"connection_properties"|"query_parameter"|"filter_state"; } -export interface _envoy_api_v2_route_RouteAction_HashPolicy_Header { - 'header_name'?: (string); +export interface _envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties { + 'source_ip'?: (boolean); } -export interface _envoy_api_v2_route_RouteAction_HashPolicy_Header__Output { - 'header_name': (string); +export interface _envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties__Output { + 'source_ip': (boolean); } export interface _envoy_api_v2_route_RouteAction_HashPolicy_Cookie { @@ -82,12 +61,20 @@ export interface _envoy_api_v2_route_RouteAction_HashPolicy_Cookie__Output { 'path': (string); } -export interface _envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties { - 'source_ip'?: (boolean); +export interface _envoy_api_v2_route_RouteAction_HashPolicy_FilterState { + 'key'?: (string); } -export interface _envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties__Output { - 'source_ip': (boolean); +export interface _envoy_api_v2_route_RouteAction_HashPolicy_FilterState__Output { + 'key': (string); +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy_Header { + 'header_name'?: (string); +} + +export interface _envoy_api_v2_route_RouteAction_HashPolicy_Header__Output { + 'header_name': (string); } export interface _envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter { @@ -98,12 +85,25 @@ export interface _envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter__Outp 'name': (string); } -export interface _envoy_api_v2_route_RouteAction_HashPolicy_FilterState { - 'key'?: (string); +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +export enum _envoy_api_v2_route_RouteAction_InternalRedirectAction { + PASS_THROUGH_INTERNAL_REDIRECT = 0, + HANDLE_INTERNAL_REDIRECT = 1, } -export interface _envoy_api_v2_route_RouteAction_HashPolicy_FilterState__Output { - 'key': (string); +export interface _envoy_api_v2_route_RouteAction_RequestMirrorPolicy { + 'cluster'?: (string); + 'runtime_key'?: (string); + 'runtime_fraction'?: (_envoy_api_v2_core_RuntimeFractionalPercent); + 'trace_sampled'?: (_google_protobuf_BoolValue); +} + +export interface _envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output { + 'cluster': (string); + 'runtime_key': (string); + 'runtime_fraction': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + 'trace_sampled': (_google_protobuf_BoolValue__Output); } export interface _envoy_api_v2_route_RouteAction_UpgradeConfig { @@ -120,30 +120,30 @@ export interface RouteAction { 'cluster'?: (string); 'cluster_header'?: (string); 'weighted_clusters'?: (_envoy_api_v2_route_WeightedCluster); - 'cluster_not_found_response_code'?: (_envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode | keyof typeof _envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode); 'metadata_match'?: (_envoy_api_v2_core_Metadata); 'prefix_rewrite'?: (string); - 'regex_rewrite'?: (_envoy_type_matcher_RegexMatchAndSubstitute); 'host_rewrite'?: (string); 'auto_host_rewrite'?: (_google_protobuf_BoolValue); - 'auto_host_rewrite_header'?: (string); 'timeout'?: (_google_protobuf_Duration); - 'idle_timeout'?: (_google_protobuf_Duration); 'retry_policy'?: (_envoy_api_v2_route_RetryPolicy); - 'retry_policy_typed_config'?: (_google_protobuf_Any); 'request_mirror_policy'?: (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy); - 'request_mirror_policies'?: (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy)[]; 'priority'?: (_envoy_api_v2_core_RoutingPriority | keyof typeof _envoy_api_v2_core_RoutingPriority); 'rate_limits'?: (_envoy_api_v2_route_RateLimit)[]; 'include_vh_rate_limits'?: (_google_protobuf_BoolValue); 'hash_policy'?: (_envoy_api_v2_route_RouteAction_HashPolicy)[]; 'cors'?: (_envoy_api_v2_route_CorsPolicy); + 'cluster_not_found_response_code'?: (_envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode | keyof typeof _envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode); 'max_grpc_timeout'?: (_google_protobuf_Duration); - 'grpc_timeout_offset'?: (_google_protobuf_Duration); + 'idle_timeout'?: (_google_protobuf_Duration); 'upgrade_configs'?: (_envoy_api_v2_route_RouteAction_UpgradeConfig)[]; 'internal_redirect_action'?: (_envoy_api_v2_route_RouteAction_InternalRedirectAction | keyof typeof _envoy_api_v2_route_RouteAction_InternalRedirectAction); - 'max_internal_redirects'?: (_google_protobuf_UInt32Value); 'hedge_policy'?: (_envoy_api_v2_route_HedgePolicy); + 'grpc_timeout_offset'?: (_google_protobuf_Duration); + 'auto_host_rewrite_header'?: (string); + 'request_mirror_policies'?: (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy)[]; + 'max_internal_redirects'?: (_google_protobuf_UInt32Value); + 'regex_rewrite'?: (_envoy_type_matcher_RegexMatchAndSubstitute); + 'retry_policy_typed_config'?: (_google_protobuf_Any); 'cluster_specifier'?: "cluster"|"cluster_header"|"weighted_clusters"; 'host_rewrite_specifier'?: "host_rewrite"|"auto_host_rewrite"|"auto_host_rewrite_header"; } @@ -152,30 +152,30 @@ export interface RouteAction__Output { 'cluster'?: (string); 'cluster_header'?: (string); 'weighted_clusters'?: (_envoy_api_v2_route_WeightedCluster__Output); - 'cluster_not_found_response_code': (keyof typeof _envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode); 'metadata_match': (_envoy_api_v2_core_Metadata__Output); 'prefix_rewrite': (string); - 'regex_rewrite': (_envoy_type_matcher_RegexMatchAndSubstitute__Output); 'host_rewrite'?: (string); 'auto_host_rewrite'?: (_google_protobuf_BoolValue__Output); - 'auto_host_rewrite_header'?: (string); 'timeout': (_google_protobuf_Duration__Output); - 'idle_timeout': (_google_protobuf_Duration__Output); 'retry_policy': (_envoy_api_v2_route_RetryPolicy__Output); - 'retry_policy_typed_config': (_google_protobuf_Any__Output); 'request_mirror_policy': (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output); - 'request_mirror_policies': (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output)[]; 'priority': (keyof typeof _envoy_api_v2_core_RoutingPriority); 'rate_limits': (_envoy_api_v2_route_RateLimit__Output)[]; 'include_vh_rate_limits': (_google_protobuf_BoolValue__Output); 'hash_policy': (_envoy_api_v2_route_RouteAction_HashPolicy__Output)[]; 'cors': (_envoy_api_v2_route_CorsPolicy__Output); + 'cluster_not_found_response_code': (keyof typeof _envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode); 'max_grpc_timeout': (_google_protobuf_Duration__Output); - 'grpc_timeout_offset': (_google_protobuf_Duration__Output); + 'idle_timeout': (_google_protobuf_Duration__Output); 'upgrade_configs': (_envoy_api_v2_route_RouteAction_UpgradeConfig__Output)[]; 'internal_redirect_action': (keyof typeof _envoy_api_v2_route_RouteAction_InternalRedirectAction); - 'max_internal_redirects': (_google_protobuf_UInt32Value__Output); 'hedge_policy': (_envoy_api_v2_route_HedgePolicy__Output); + 'grpc_timeout_offset': (_google_protobuf_Duration__Output); + 'auto_host_rewrite_header'?: (string); + 'request_mirror_policies': (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output)[]; + 'max_internal_redirects': (_google_protobuf_UInt32Value__Output); + 'regex_rewrite': (_envoy_type_matcher_RegexMatchAndSubstitute__Output); + 'retry_policy_typed_config': (_google_protobuf_Any__Output); 'cluster_specifier': "cluster"|"cluster_header"|"weighted_clusters"; 'host_rewrite_specifier': "host_rewrite"|"auto_host_rewrite"|"auto_host_rewrite_header"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts index 897583eaf..188335bbf 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts @@ -1,10 +1,10 @@ // Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto -import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from '../../../../envoy/type/matcher/RegexMatcher'; import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; -import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from '../../../../envoy/api/v2/core/RuntimeFractionalPercent'; import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from '../../../../envoy/api/v2/route/HeaderMatcher'; import { QueryParameterMatcher as _envoy_api_v2_route_QueryParameterMatcher, QueryParameterMatcher__Output as _envoy_api_v2_route_QueryParameterMatcher__Output } from '../../../../envoy/api/v2/route/QueryParameterMatcher'; +import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from '../../../../envoy/api/v2/core/RuntimeFractionalPercent'; +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from '../../../../envoy/type/matcher/RegexMatcher'; export interface _envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions { } @@ -26,12 +26,12 @@ export interface RouteMatch { 'prefix'?: (string); 'path'?: (string); 'regex'?: (string); - 'safe_regex'?: (_envoy_type_matcher_RegexMatcher); 'case_sensitive'?: (_google_protobuf_BoolValue); - 'runtime_fraction'?: (_envoy_api_v2_core_RuntimeFractionalPercent); 'headers'?: (_envoy_api_v2_route_HeaderMatcher)[]; 'query_parameters'?: (_envoy_api_v2_route_QueryParameterMatcher)[]; 'grpc'?: (_envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions); + 'runtime_fraction'?: (_envoy_api_v2_core_RuntimeFractionalPercent); + 'safe_regex'?: (_envoy_type_matcher_RegexMatcher); 'tls_context'?: (_envoy_api_v2_route_RouteMatch_TlsContextMatchOptions); 'path_specifier'?: "prefix"|"path"|"regex"|"safe_regex"; } @@ -40,12 +40,12 @@ export interface RouteMatch__Output { 'prefix'?: (string); 'path'?: (string); 'regex'?: (string); - 'safe_regex'?: (_envoy_type_matcher_RegexMatcher__Output); 'case_sensitive': (_google_protobuf_BoolValue__Output); - 'runtime_fraction': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); 'headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; 'query_parameters': (_envoy_api_v2_route_QueryParameterMatcher__Output)[]; 'grpc': (_envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions__Output); + 'runtime_fraction': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + 'safe_regex'?: (_envoy_type_matcher_RegexMatcher__Output); 'tls_context': (_envoy_api_v2_route_RouteMatch_TlsContextMatchOptions__Output); 'path_specifier': "prefix"|"path"|"regex"|"safe_regex"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.ts index e0c23d07a..5596328e5 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.ts @@ -1,18 +1,18 @@ // Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto -import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from '../../../../envoy/api/v2/route/HeaderMatcher'; import { RequestMethod as _envoy_api_v2_core_RequestMethod } from '../../../../envoy/api/v2/core/RequestMethod'; +import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from '../../../../envoy/api/v2/route/HeaderMatcher'; export interface VirtualCluster { 'pattern'?: (string); - 'headers'?: (_envoy_api_v2_route_HeaderMatcher)[]; 'name'?: (string); 'method'?: (_envoy_api_v2_core_RequestMethod | keyof typeof _envoy_api_v2_core_RequestMethod); + 'headers'?: (_envoy_api_v2_route_HeaderMatcher)[]; } export interface VirtualCluster__Output { 'pattern': (string); - 'headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; 'name': (string); 'method': (keyof typeof _envoy_api_v2_core_RequestMethod); + 'headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts index 4d046c805..5126a8e7c 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts @@ -27,18 +27,18 @@ export interface VirtualHost { 'virtual_clusters'?: (_envoy_api_v2_route_VirtualCluster)[]; 'rate_limits'?: (_envoy_api_v2_route_RateLimit)[]; 'request_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; - 'request_headers_to_remove'?: (string)[]; + 'cors'?: (_envoy_api_v2_route_CorsPolicy); 'response_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; 'response_headers_to_remove'?: (string)[]; - 'cors'?: (_envoy_api_v2_route_CorsPolicy); 'per_filter_config'?: (_google_protobuf_Struct); - 'typed_per_filter_config'?: (_google_protobuf_Any); + 'request_headers_to_remove'?: (string)[]; 'include_request_attempt_count'?: (boolean); - 'include_attempt_count_in_response'?: (boolean); + 'typed_per_filter_config'?: (_google_protobuf_Any); 'retry_policy'?: (_envoy_api_v2_route_RetryPolicy); - 'retry_policy_typed_config'?: (_google_protobuf_Any); 'hedge_policy'?: (_envoy_api_v2_route_HedgePolicy); 'per_request_buffer_limit_bytes'?: (_google_protobuf_UInt32Value); + 'include_attempt_count_in_response'?: (boolean); + 'retry_policy_typed_config'?: (_google_protobuf_Any); } export interface VirtualHost__Output { @@ -49,16 +49,16 @@ export interface VirtualHost__Output { 'virtual_clusters': (_envoy_api_v2_route_VirtualCluster__Output)[]; 'rate_limits': (_envoy_api_v2_route_RateLimit__Output)[]; 'request_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; - 'request_headers_to_remove': (string)[]; + 'cors': (_envoy_api_v2_route_CorsPolicy__Output); 'response_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; 'response_headers_to_remove': (string)[]; - 'cors': (_envoy_api_v2_route_CorsPolicy__Output); 'per_filter_config': (_google_protobuf_Struct__Output); - 'typed_per_filter_config': (_google_protobuf_Any__Output); + 'request_headers_to_remove': (string)[]; 'include_request_attempt_count': (boolean); - 'include_attempt_count_in_response': (boolean); + 'typed_per_filter_config': (_google_protobuf_Any__Output); 'retry_policy': (_envoy_api_v2_route_RetryPolicy__Output); - 'retry_policy_typed_config': (_google_protobuf_Any__Output); 'hedge_policy': (_envoy_api_v2_route_HedgePolicy__Output); 'per_request_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); + 'include_attempt_count_in_response': (boolean); + 'retry_policy_typed_config': (_google_protobuf_Any__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts index 84ad2348b..234ec5da7 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts @@ -32,12 +32,12 @@ export interface _envoy_api_v2_route_WeightedCluster_ClusterWeight__Output { export interface WeightedCluster { 'clusters'?: (_envoy_api_v2_route_WeightedCluster_ClusterWeight)[]; - 'total_weight'?: (_google_protobuf_UInt32Value); 'runtime_key_prefix'?: (string); + 'total_weight'?: (_google_protobuf_UInt32Value); } export interface WeightedCluster__Output { 'clusters': (_envoy_api_v2_route_WeightedCluster_ClusterWeight__Output)[]; - 'total_weight': (_google_protobuf_UInt32Value__Output); 'runtime_key_prefix': (string); + 'total_weight': (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.ts b/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.ts index 75c47776b..0cf870bec 100644 --- a/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.ts +++ b/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.ts @@ -1,28 +1,28 @@ // Original file: deps/envoy-api/envoy/type/metadata/v2/metadata.proto -export interface _envoy_type_metadata_v2_MetadataKind_Request { +export interface _envoy_type_metadata_v2_MetadataKind_Cluster { } -export interface _envoy_type_metadata_v2_MetadataKind_Request__Output { +export interface _envoy_type_metadata_v2_MetadataKind_Cluster__Output { } -export interface _envoy_type_metadata_v2_MetadataKind_Route { +export interface _envoy_type_metadata_v2_MetadataKind_Host { } -export interface _envoy_type_metadata_v2_MetadataKind_Route__Output { +export interface _envoy_type_metadata_v2_MetadataKind_Host__Output { } -export interface _envoy_type_metadata_v2_MetadataKind_Cluster { +export interface _envoy_type_metadata_v2_MetadataKind_Request { } -export interface _envoy_type_metadata_v2_MetadataKind_Cluster__Output { +export interface _envoy_type_metadata_v2_MetadataKind_Request__Output { } -export interface _envoy_type_metadata_v2_MetadataKind_Host { +export interface _envoy_type_metadata_v2_MetadataKind_Route { } -export interface _envoy_type_metadata_v2_MetadataKind_Host__Output { +export interface _envoy_type_metadata_v2_MetadataKind_Route__Output { } export interface MetadataKind { diff --git a/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts b/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts index 32baa84be..fef01ffa0 100644 --- a/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts +++ b/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts @@ -3,14 +3,6 @@ import { MetadataKind as _envoy_type_metadata_v2_MetadataKind, MetadataKind__Output as _envoy_type_metadata_v2_MetadataKind__Output } from '../../../../envoy/type/metadata/v2/MetadataKind'; import { MetadataKey as _envoy_type_metadata_v2_MetadataKey, MetadataKey__Output as _envoy_type_metadata_v2_MetadataKey__Output } from '../../../../envoy/type/metadata/v2/MetadataKey'; -export interface _envoy_type_tracing_v2_CustomTag_Literal { - 'value'?: (string); -} - -export interface _envoy_type_tracing_v2_CustomTag_Literal__Output { - 'value': (string); -} - export interface _envoy_type_tracing_v2_CustomTag_Environment { 'name'?: (string); 'default_value'?: (string); @@ -31,6 +23,14 @@ export interface _envoy_type_tracing_v2_CustomTag_Header__Output { 'default_value': (string); } +export interface _envoy_type_tracing_v2_CustomTag_Literal { + 'value'?: (string); +} + +export interface _envoy_type_tracing_v2_CustomTag_Literal__Output { + 'value': (string); +} + export interface _envoy_type_tracing_v2_CustomTag_Metadata { 'kind'?: (_envoy_type_metadata_v2_MetadataKind); 'metadata_key'?: (_envoy_type_metadata_v2_MetadataKey); diff --git a/packages/grpc-js/src/generated/google/api/CustomHttpPattern.ts b/packages/grpc-js/src/generated/google/api/CustomHttpPattern.ts index 01ce13ba8..ebdc3e39a 100644 --- a/packages/grpc-js/src/generated/google/api/CustomHttpPattern.ts +++ b/packages/grpc-js/src/generated/google/api/CustomHttpPattern.ts @@ -1,4 +1,4 @@ -// Original file: node_modules/protobufjs/google/api/http.proto +// Original file: deps/googleapis/google/api/http.proto export interface CustomHttpPattern { diff --git a/packages/grpc-js/src/generated/google/api/Http.ts b/packages/grpc-js/src/generated/google/api/Http.ts index 6a04f7b8c..fc3839eb1 100644 --- a/packages/grpc-js/src/generated/google/api/Http.ts +++ b/packages/grpc-js/src/generated/google/api/Http.ts @@ -1,11 +1,13 @@ -// Original file: node_modules/protobufjs/google/api/http.proto +// Original file: deps/googleapis/google/api/http.proto import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from '../../google/api/HttpRule'; export interface Http { 'rules'?: (_google_api_HttpRule)[]; + 'fully_decode_reserved_expansion'?: (boolean); } export interface Http__Output { 'rules': (_google_api_HttpRule__Output)[]; + 'fully_decode_reserved_expansion': (boolean); } diff --git a/packages/grpc-js/src/generated/google/api/HttpRule.ts b/packages/grpc-js/src/generated/google/api/HttpRule.ts index 3bd9acd2b..3b268a026 100644 --- a/packages/grpc-js/src/generated/google/api/HttpRule.ts +++ b/packages/grpc-js/src/generated/google/api/HttpRule.ts @@ -1,30 +1,32 @@ -// Original file: node_modules/protobufjs/google/api/http.proto +// Original file: deps/googleapis/google/api/http.proto import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from '../../google/api/CustomHttpPattern'; import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from '../../google/api/HttpRule'; export interface HttpRule { + 'selector'?: (string); 'get'?: (string); 'put'?: (string); 'post'?: (string); 'delete'?: (string); 'patch'?: (string); - 'custom'?: (_google_api_CustomHttpPattern); - 'selector'?: (string); 'body'?: (string); + 'custom'?: (_google_api_CustomHttpPattern); 'additional_bindings'?: (_google_api_HttpRule)[]; + 'response_body'?: (string); 'pattern'?: "get"|"put"|"post"|"delete"|"patch"|"custom"; } export interface HttpRule__Output { + 'selector': (string); 'get'?: (string); 'put'?: (string); 'post'?: (string); 'delete'?: (string); 'patch'?: (string); - 'custom'?: (_google_api_CustomHttpPattern__Output); - 'selector': (string); 'body': (string); + 'custom'?: (_google_api_CustomHttpPattern__Output); 'additional_bindings': (_google_api_HttpRule__Output)[]; + 'response_body': (string); 'pattern': "get"|"put"|"post"|"delete"|"patch"|"custom"; } diff --git a/packages/grpc-js/src/generated/google/protobuf/DescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/DescriptorProto.ts index 97726c403..423ec0f03 100644 --- a/packages/grpc-js/src/generated/google/protobuf/DescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/DescriptorProto.ts @@ -1,10 +1,10 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from '../../google/protobuf/FieldDescriptorProto'; import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from '../../google/protobuf/DescriptorProto'; import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from '../../google/protobuf/EnumDescriptorProto'; -import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from '../../google/protobuf/OneofDescriptorProto'; import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from '../../google/protobuf/MessageOptions'; +import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from '../../google/protobuf/OneofDescriptorProto'; export interface _google_protobuf_DescriptorProto_ExtensionRange { 'start'?: (number); @@ -29,25 +29,25 @@ export interface _google_protobuf_DescriptorProto_ReservedRange__Output { export interface DescriptorProto { 'name'?: (string); 'field'?: (_google_protobuf_FieldDescriptorProto)[]; + 'nestedType'?: (_google_protobuf_DescriptorProto)[]; + 'enumType'?: (_google_protobuf_EnumDescriptorProto)[]; + 'extensionRange'?: (_google_protobuf_DescriptorProto_ExtensionRange)[]; 'extension'?: (_google_protobuf_FieldDescriptorProto)[]; - 'nested_type'?: (_google_protobuf_DescriptorProto)[]; - 'enum_type'?: (_google_protobuf_EnumDescriptorProto)[]; - 'extension_range'?: (_google_protobuf_DescriptorProto_ExtensionRange)[]; - 'oneof_decl'?: (_google_protobuf_OneofDescriptorProto)[]; 'options'?: (_google_protobuf_MessageOptions); - 'reserved_range'?: (_google_protobuf_DescriptorProto_ReservedRange)[]; - 'reserved_name'?: (string)[]; + 'oneofDecl'?: (_google_protobuf_OneofDescriptorProto)[]; + 'reservedRange'?: (_google_protobuf_DescriptorProto_ReservedRange)[]; + 'reservedName'?: (string)[]; } export interface DescriptorProto__Output { 'name': (string); 'field': (_google_protobuf_FieldDescriptorProto__Output)[]; + 'nestedType': (_google_protobuf_DescriptorProto__Output)[]; + 'enumType': (_google_protobuf_EnumDescriptorProto__Output)[]; + 'extensionRange': (_google_protobuf_DescriptorProto_ExtensionRange__Output)[]; 'extension': (_google_protobuf_FieldDescriptorProto__Output)[]; - 'nested_type': (_google_protobuf_DescriptorProto__Output)[]; - 'enum_type': (_google_protobuf_EnumDescriptorProto__Output)[]; - 'extension_range': (_google_protobuf_DescriptorProto_ExtensionRange__Output)[]; - 'oneof_decl': (_google_protobuf_OneofDescriptorProto__Output)[]; 'options': (_google_protobuf_MessageOptions__Output); - 'reserved_range': (_google_protobuf_DescriptorProto_ReservedRange__Output)[]; - 'reserved_name': (string)[]; + 'oneofDecl': (_google_protobuf_OneofDescriptorProto__Output)[]; + 'reservedRange': (_google_protobuf_DescriptorProto_ReservedRange__Output)[]; + 'reservedName': (string)[]; } diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.ts index 55059ba9e..5c5f2b7bb 100644 --- a/packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.ts @@ -1,4 +1,4 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from '../../google/protobuf/EnumValueDescriptorProto'; import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from '../../google/protobuf/EnumOptions'; diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumOptions.ts b/packages/grpc-js/src/generated/google/protobuf/EnumOptions.ts index 1c096a306..9671ecc31 100644 --- a/packages/grpc-js/src/generated/google/protobuf/EnumOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/EnumOptions.ts @@ -1,18 +1,18 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from '../../udpa/annotations/MigrateAnnotation'; export interface EnumOptions { - 'allow_alias'?: (boolean); + 'allowAlias'?: (boolean); 'deprecated'?: (boolean); - 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; + 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; '.udpa.annotations.enum_migrate'?: (_udpa_annotations_MigrateAnnotation); } export interface EnumOptions__Output { - 'allow_alias': (boolean); + 'allowAlias': (boolean); 'deprecated': (boolean); - 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; + 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; '.udpa.annotations.enum_migrate': (_udpa_annotations_MigrateAnnotation__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.ts index a0b8308d8..042c82ff9 100644 --- a/packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.ts @@ -1,4 +1,4 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from '../../google/protobuf/EnumValueOptions'; diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.ts b/packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.ts index 29c560438..2d4036158 100644 --- a/packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.ts @@ -1,18 +1,18 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from '../../udpa/annotations/MigrateAnnotation'; export interface EnumValueOptions { 'deprecated'?: (boolean); - 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; - '.udpa.annotations.enum_value_migrate'?: (_udpa_annotations_MigrateAnnotation); + 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; '.envoy.annotations.disallowed_by_default_enum'?: (boolean); + '.udpa.annotations.enum_value_migrate'?: (_udpa_annotations_MigrateAnnotation); } export interface EnumValueOptions__Output { 'deprecated': (boolean); - 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; - '.udpa.annotations.enum_value_migrate': (_udpa_annotations_MigrateAnnotation__Output); + 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; '.envoy.annotations.disallowed_by_default_enum': (boolean); + '.udpa.annotations.enum_value_migrate': (_udpa_annotations_MigrateAnnotation__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.ts index b5c089c9c..f9c52a7e1 100644 --- a/packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.ts @@ -1,8 +1,16 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from '../../google/protobuf/FieldOptions'; -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null + +export enum _google_protobuf_FieldDescriptorProto_Label { + LABEL_OPTIONAL = 1, + LABEL_REQUIRED = 2, + LABEL_REPEATED = 3, +} + +// Original file: null export enum _google_protobuf_FieldDescriptorProto_Type { TYPE_DOUBLE = 1, @@ -25,36 +33,28 @@ export enum _google_protobuf_FieldDescriptorProto_Type { TYPE_SINT64 = 18, } -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto - -export enum _google_protobuf_FieldDescriptorProto_Label { - LABEL_OPTIONAL = 1, - LABEL_REQUIRED = 2, - LABEL_REPEATED = 3, -} - export interface FieldDescriptorProto { 'name'?: (string); + 'extendee'?: (string); 'number'?: (number); 'label'?: (_google_protobuf_FieldDescriptorProto_Label | keyof typeof _google_protobuf_FieldDescriptorProto_Label); 'type'?: (_google_protobuf_FieldDescriptorProto_Type | keyof typeof _google_protobuf_FieldDescriptorProto_Type); - 'type_name'?: (string); - 'extendee'?: (string); - 'default_value'?: (string); - 'oneof_index'?: (number); - 'json_name'?: (string); + 'typeName'?: (string); + 'defaultValue'?: (string); 'options'?: (_google_protobuf_FieldOptions); + 'oneofIndex'?: (number); + 'jsonName'?: (string); } export interface FieldDescriptorProto__Output { 'name': (string); + 'extendee': (string); 'number': (number); 'label': (keyof typeof _google_protobuf_FieldDescriptorProto_Label); 'type': (keyof typeof _google_protobuf_FieldDescriptorProto_Type); - 'type_name': (string); - 'extendee': (string); - 'default_value': (string); - 'oneof_index': (number); - 'json_name': (string); + 'typeName': (string); + 'defaultValue': (string); 'options': (_google_protobuf_FieldOptions__Output); + 'oneofIndex': (number); + 'jsonName': (string); } diff --git a/packages/grpc-js/src/generated/google/protobuf/FieldOptions.ts b/packages/grpc-js/src/generated/google/protobuf/FieldOptions.ts index d2bec450d..dcba8be7c 100644 --- a/packages/grpc-js/src/generated/google/protobuf/FieldOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/FieldOptions.ts @@ -1,10 +1,10 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; -import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from '../../udpa/annotations/FieldMigrateAnnotation'; import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from '../../validate/FieldRules'; +import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from '../../udpa/annotations/FieldMigrateAnnotation'; -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null export enum _google_protobuf_FieldOptions_CType { STRING = 0, @@ -12,7 +12,7 @@ export enum _google_protobuf_FieldOptions_CType { STRING_PIECE = 2, } -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null export enum _google_protobuf_FieldOptions_JSType { JS_NORMAL = 0, @@ -23,27 +23,27 @@ export enum _google_protobuf_FieldOptions_JSType { export interface FieldOptions { 'ctype'?: (_google_protobuf_FieldOptions_CType | keyof typeof _google_protobuf_FieldOptions_CType); 'packed'?: (boolean); - 'jstype'?: (_google_protobuf_FieldOptions_JSType | keyof typeof _google_protobuf_FieldOptions_JSType); - 'lazy'?: (boolean); 'deprecated'?: (boolean); + 'lazy'?: (boolean); + 'jstype'?: (_google_protobuf_FieldOptions_JSType | keyof typeof _google_protobuf_FieldOptions_JSType); 'weak'?: (boolean); - 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; - '.udpa.annotations.field_migrate'?: (_udpa_annotations_FieldMigrateAnnotation); + 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; '.validate.rules'?: (_validate_FieldRules); - '.envoy.annotations.disallowed_by_default'?: (boolean); '.udpa.annotations.sensitive'?: (boolean); + '.udpa.annotations.field_migrate'?: (_udpa_annotations_FieldMigrateAnnotation); + '.envoy.annotations.disallowed_by_default'?: (boolean); } export interface FieldOptions__Output { 'ctype': (keyof typeof _google_protobuf_FieldOptions_CType); 'packed': (boolean); - 'jstype': (keyof typeof _google_protobuf_FieldOptions_JSType); - 'lazy': (boolean); 'deprecated': (boolean); + 'lazy': (boolean); + 'jstype': (keyof typeof _google_protobuf_FieldOptions_JSType); 'weak': (boolean); - 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; - '.udpa.annotations.field_migrate': (_udpa_annotations_FieldMigrateAnnotation__Output); + 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; '.validate.rules': (_validate_FieldRules__Output); - '.envoy.annotations.disallowed_by_default': (boolean); '.udpa.annotations.sensitive': (boolean); + '.udpa.annotations.field_migrate': (_udpa_annotations_FieldMigrateAnnotation__Output); + '.envoy.annotations.disallowed_by_default': (boolean); } diff --git a/packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.ts index aeebbf242..fd69f164e 100644 --- a/packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.ts @@ -1,4 +1,4 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from '../../google/protobuf/DescriptorProto'; import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from '../../google/protobuf/EnumDescriptorProto'; @@ -11,14 +11,14 @@ export interface FileDescriptorProto { 'name'?: (string); 'package'?: (string); 'dependency'?: (string)[]; - 'public_dependency'?: (number)[]; - 'weak_dependency'?: (number)[]; - 'message_type'?: (_google_protobuf_DescriptorProto)[]; - 'enum_type'?: (_google_protobuf_EnumDescriptorProto)[]; + 'messageType'?: (_google_protobuf_DescriptorProto)[]; + 'enumType'?: (_google_protobuf_EnumDescriptorProto)[]; 'service'?: (_google_protobuf_ServiceDescriptorProto)[]; 'extension'?: (_google_protobuf_FieldDescriptorProto)[]; 'options'?: (_google_protobuf_FileOptions); - 'source_code_info'?: (_google_protobuf_SourceCodeInfo); + 'sourceCodeInfo'?: (_google_protobuf_SourceCodeInfo); + 'publicDependency'?: (number)[]; + 'weakDependency'?: (number)[]; 'syntax'?: (string); } @@ -26,13 +26,13 @@ export interface FileDescriptorProto__Output { 'name': (string); 'package': (string); 'dependency': (string)[]; - 'public_dependency': (number)[]; - 'weak_dependency': (number)[]; - 'message_type': (_google_protobuf_DescriptorProto__Output)[]; - 'enum_type': (_google_protobuf_EnumDescriptorProto__Output)[]; + 'messageType': (_google_protobuf_DescriptorProto__Output)[]; + 'enumType': (_google_protobuf_EnumDescriptorProto__Output)[]; 'service': (_google_protobuf_ServiceDescriptorProto__Output)[]; 'extension': (_google_protobuf_FieldDescriptorProto__Output)[]; 'options': (_google_protobuf_FileOptions__Output); - 'source_code_info': (_google_protobuf_SourceCodeInfo__Output); + 'sourceCodeInfo': (_google_protobuf_SourceCodeInfo__Output); + 'publicDependency': (number)[]; + 'weakDependency': (number)[]; 'syntax': (string); } diff --git a/packages/grpc-js/src/generated/google/protobuf/FileDescriptorSet.ts b/packages/grpc-js/src/generated/google/protobuf/FileDescriptorSet.ts index b30f4679c..f01cabc4c 100644 --- a/packages/grpc-js/src/generated/google/protobuf/FileDescriptorSet.ts +++ b/packages/grpc-js/src/generated/google/protobuf/FileDescriptorSet.ts @@ -1,4 +1,4 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from '../../google/protobuf/FileDescriptorProto'; diff --git a/packages/grpc-js/src/generated/google/protobuf/FileOptions.ts b/packages/grpc-js/src/generated/google/protobuf/FileOptions.ts index 337f38d82..ac556b3be 100644 --- a/packages/grpc-js/src/generated/google/protobuf/FileOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/FileOptions.ts @@ -1,10 +1,10 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from '../../udpa/annotations/FileMigrateAnnotation'; import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from '../../udpa/annotations/StatusAnnotation'; -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null export enum _google_protobuf_FileOptions_OptimizeMode { SPEED = 1, @@ -13,41 +13,41 @@ export enum _google_protobuf_FileOptions_OptimizeMode { } export interface FileOptions { - 'java_package'?: (string); - 'java_outer_classname'?: (string); - 'java_multiple_files'?: (boolean); - 'java_generate_equals_and_hash'?: (boolean); - 'java_string_check_utf8'?: (boolean); - 'optimize_for'?: (_google_protobuf_FileOptions_OptimizeMode | keyof typeof _google_protobuf_FileOptions_OptimizeMode); - 'go_package'?: (string); - 'cc_generic_services'?: (boolean); - 'java_generic_services'?: (boolean); - 'py_generic_services'?: (boolean); + 'javaPackage'?: (string); + 'javaOuterClassname'?: (string); + 'optimizeFor'?: (_google_protobuf_FileOptions_OptimizeMode | keyof typeof _google_protobuf_FileOptions_OptimizeMode); + 'javaMultipleFiles'?: (boolean); + 'goPackage'?: (string); + 'ccGenericServices'?: (boolean); + 'javaGenericServices'?: (boolean); + 'pyGenericServices'?: (boolean); + 'javaGenerateEqualsAndHash'?: (boolean); 'deprecated'?: (boolean); - 'cc_enable_arenas'?: (boolean); - 'objc_class_prefix'?: (string); - 'csharp_namespace'?: (string); - 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; + 'javaStringCheckUtf8'?: (boolean); + 'ccEnableArenas'?: (boolean); + 'objcClassPrefix'?: (string); + 'csharpNamespace'?: (string); + 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; '.udpa.annotations.file_migrate'?: (_udpa_annotations_FileMigrateAnnotation); '.udpa.annotations.file_status'?: (_udpa_annotations_StatusAnnotation); } export interface FileOptions__Output { - 'java_package': (string); - 'java_outer_classname': (string); - 'java_multiple_files': (boolean); - 'java_generate_equals_and_hash': (boolean); - 'java_string_check_utf8': (boolean); - 'optimize_for': (keyof typeof _google_protobuf_FileOptions_OptimizeMode); - 'go_package': (string); - 'cc_generic_services': (boolean); - 'java_generic_services': (boolean); - 'py_generic_services': (boolean); + 'javaPackage': (string); + 'javaOuterClassname': (string); + 'optimizeFor': (keyof typeof _google_protobuf_FileOptions_OptimizeMode); + 'javaMultipleFiles': (boolean); + 'goPackage': (string); + 'ccGenericServices': (boolean); + 'javaGenericServices': (boolean); + 'pyGenericServices': (boolean); + 'javaGenerateEqualsAndHash': (boolean); 'deprecated': (boolean); - 'cc_enable_arenas': (boolean); - 'objc_class_prefix': (string); - 'csharp_namespace': (string); - 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; + 'javaStringCheckUtf8': (boolean); + 'ccEnableArenas': (boolean); + 'objcClassPrefix': (string); + 'csharpNamespace': (string); + 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; '.udpa.annotations.file_migrate': (_udpa_annotations_FileMigrateAnnotation__Output); '.udpa.annotations.file_status': (_udpa_annotations_StatusAnnotation__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/GeneratedCodeInfo.ts b/packages/grpc-js/src/generated/google/protobuf/GeneratedCodeInfo.ts index f925dbff1..019fb0e15 100644 --- a/packages/grpc-js/src/generated/google/protobuf/GeneratedCodeInfo.ts +++ b/packages/grpc-js/src/generated/google/protobuf/GeneratedCodeInfo.ts @@ -1,16 +1,16 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null export interface _google_protobuf_GeneratedCodeInfo_Annotation { 'path'?: (number)[]; - 'source_file'?: (string); + 'sourceFile'?: (string); 'begin'?: (number); 'end'?: (number); } export interface _google_protobuf_GeneratedCodeInfo_Annotation__Output { 'path': (number)[]; - 'source_file': (string); + 'sourceFile': (string); 'begin': (number); 'end': (number); } diff --git a/packages/grpc-js/src/generated/google/protobuf/MessageOptions.ts b/packages/grpc-js/src/generated/google/protobuf/MessageOptions.ts index ec6508b0c..4bdb411ec 100644 --- a/packages/grpc-js/src/generated/google/protobuf/MessageOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/MessageOptions.ts @@ -1,24 +1,24 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from '../../udpa/annotations/MigrateAnnotation'; export interface MessageOptions { - 'message_set_wire_format'?: (boolean); - 'no_standard_descriptor_accessor'?: (boolean); + 'messageSetWireFormat'?: (boolean); + 'noStandardDescriptorAccessor'?: (boolean); 'deprecated'?: (boolean); - 'map_entry'?: (boolean); - 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; - '.udpa.annotations.message_migrate'?: (_udpa_annotations_MigrateAnnotation); + 'mapEntry'?: (boolean); + 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; '.validate.disabled'?: (boolean); + '.udpa.annotations.message_migrate'?: (_udpa_annotations_MigrateAnnotation); } export interface MessageOptions__Output { - 'message_set_wire_format': (boolean); - 'no_standard_descriptor_accessor': (boolean); + 'messageSetWireFormat': (boolean); + 'noStandardDescriptorAccessor': (boolean); 'deprecated': (boolean); - 'map_entry': (boolean); - 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; - '.udpa.annotations.message_migrate': (_udpa_annotations_MigrateAnnotation__Output); + 'mapEntry': (boolean); + 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; '.validate.disabled': (boolean); + '.udpa.annotations.message_migrate': (_udpa_annotations_MigrateAnnotation__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.ts index a378ab637..2457567b0 100644 --- a/packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.ts @@ -1,21 +1,21 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from '../../google/protobuf/MethodOptions'; export interface MethodDescriptorProto { 'name'?: (string); - 'input_type'?: (string); - 'output_type'?: (string); + 'inputType'?: (string); + 'outputType'?: (string); 'options'?: (_google_protobuf_MethodOptions); - 'client_streaming'?: (boolean); - 'server_streaming'?: (boolean); + 'clientStreaming'?: (boolean); + 'serverStreaming'?: (boolean); } export interface MethodDescriptorProto__Output { 'name': (string); - 'input_type': (string); - 'output_type': (string); + 'inputType': (string); + 'outputType': (string); 'options': (_google_protobuf_MethodOptions__Output); - 'client_streaming': (boolean); - 'server_streaming': (boolean); + 'clientStreaming': (boolean); + 'serverStreaming': (boolean); } diff --git a/packages/grpc-js/src/generated/google/protobuf/MethodOptions.ts b/packages/grpc-js/src/generated/google/protobuf/MethodOptions.ts index 582ba4bef..d2bbd8516 100644 --- a/packages/grpc-js/src/generated/google/protobuf/MethodOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/MethodOptions.ts @@ -1,16 +1,16 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from '../../google/api/HttpRule'; export interface MethodOptions { 'deprecated'?: (boolean); - 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; + 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; '.google.api.http'?: (_google_api_HttpRule); } export interface MethodOptions__Output { 'deprecated': (boolean); - 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; + 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; '.google.api.http': (_google_api_HttpRule__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.ts index 084cabff5..ab1f85e6e 100644 --- a/packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.ts @@ -1,4 +1,4 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from '../../google/protobuf/OneofOptions'; diff --git a/packages/grpc-js/src/generated/google/protobuf/OneofOptions.ts b/packages/grpc-js/src/generated/google/protobuf/OneofOptions.ts index ea07ab22f..01fdc9d2b 100644 --- a/packages/grpc-js/src/generated/google/protobuf/OneofOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/OneofOptions.ts @@ -1,13 +1,13 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; export interface OneofOptions { - 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; + 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; '.validate.required'?: (boolean); } export interface OneofOptions__Output { - 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; + 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; '.validate.required': (boolean); } diff --git a/packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.ts index aab7736ce..0e0bd5bab 100644 --- a/packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.ts @@ -1,4 +1,4 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from '../../google/protobuf/MethodDescriptorProto'; import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from '../../google/protobuf/ServiceOptions'; diff --git a/packages/grpc-js/src/generated/google/protobuf/ServiceOptions.ts b/packages/grpc-js/src/generated/google/protobuf/ServiceOptions.ts index 602e670ad..c1bd83603 100644 --- a/packages/grpc-js/src/generated/google/protobuf/ServiceOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/ServiceOptions.ts @@ -1,13 +1,13 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; export interface ServiceOptions { 'deprecated'?: (boolean); - 'uninterpreted_option'?: (_google_protobuf_UninterpretedOption)[]; + 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; } export interface ServiceOptions__Output { 'deprecated': (boolean); - 'uninterpreted_option': (_google_protobuf_UninterpretedOption__Output)[]; + 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; } diff --git a/packages/grpc-js/src/generated/google/protobuf/SourceCodeInfo.ts b/packages/grpc-js/src/generated/google/protobuf/SourceCodeInfo.ts index cf68f3ac1..d30e59b4f 100644 --- a/packages/grpc-js/src/generated/google/protobuf/SourceCodeInfo.ts +++ b/packages/grpc-js/src/generated/google/protobuf/SourceCodeInfo.ts @@ -1,20 +1,20 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null export interface _google_protobuf_SourceCodeInfo_Location { 'path'?: (number)[]; 'span'?: (number)[]; - 'leading_comments'?: (string); - 'trailing_comments'?: (string); - 'leading_detached_comments'?: (string)[]; + 'leadingComments'?: (string); + 'trailingComments'?: (string); + 'leadingDetachedComments'?: (string)[]; } export interface _google_protobuf_SourceCodeInfo_Location__Output { 'path': (number)[]; 'span': (number)[]; - 'leading_comments': (string); - 'trailing_comments': (string); - 'leading_detached_comments': (string)[]; + 'leadingComments': (string); + 'trailingComments': (string); + 'leadingDetachedComments': (string)[]; } export interface SourceCodeInfo { diff --git a/packages/grpc-js/src/generated/google/protobuf/UninterpretedOption.ts b/packages/grpc-js/src/generated/google/protobuf/UninterpretedOption.ts index 770394761..91e3b99bc 100644 --- a/packages/grpc-js/src/generated/google/protobuf/UninterpretedOption.ts +++ b/packages/grpc-js/src/generated/google/protobuf/UninterpretedOption.ts @@ -1,33 +1,33 @@ -// Original file: node_modules/protobufjs/google/protobuf/descriptor.proto +// Original file: null import { Long } from '@grpc/proto-loader'; export interface _google_protobuf_UninterpretedOption_NamePart { - 'name_part'?: (string); - 'is_extension'?: (boolean); + 'namePart'?: (string); + 'isExtension'?: (boolean); } export interface _google_protobuf_UninterpretedOption_NamePart__Output { - 'name_part': (string); - 'is_extension': (boolean); + 'namePart': (string); + 'isExtension': (boolean); } export interface UninterpretedOption { 'name'?: (_google_protobuf_UninterpretedOption_NamePart)[]; - 'identifier_value'?: (string); - 'positive_int_value'?: (number | string | Long); - 'negative_int_value'?: (number | string | Long); - 'double_value'?: (number | string); - 'string_value'?: (Buffer | Uint8Array | string); - 'aggregate_value'?: (string); + 'identifierValue'?: (string); + 'positiveIntValue'?: (number | string | Long); + 'negativeIntValue'?: (number | string | Long); + 'doubleValue'?: (number | string); + 'stringValue'?: (Buffer | Uint8Array | string); + 'aggregateValue'?: (string); } export interface UninterpretedOption__Output { 'name': (_google_protobuf_UninterpretedOption_NamePart__Output)[]; - 'identifier_value': (string); - 'positive_int_value': (string); - 'negative_int_value': (string); - 'double_value': (number | string); - 'string_value': (Buffer); - 'aggregate_value': (string); + 'identifierValue': (string); + 'positiveIntValue': (string); + 'negativeIntValue': (string); + 'doubleValue': (number | string); + 'stringValue': (Buffer); + 'aggregateValue': (string); } diff --git a/packages/grpc-js/src/generated/listener.ts b/packages/grpc-js/src/generated/listener.ts index ef657d3a3..65a514ab7 100644 --- a/packages/grpc-js/src/generated/listener.ts +++ b/packages/grpc-js/src/generated/listener.ts @@ -2,339 +2,335 @@ import * as grpc from '../index'; import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; import { Listener as _envoy_api_v2_Listener, Listener__Output as _envoy_api_v2_Listener__Output } from './envoy/api/v2/Listener'; -import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; -import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; -import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; -import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; -import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; +import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from './envoy/api/v2/auth/CertificateValidationContext'; +import { CommonTlsContext as _envoy_api_v2_auth_CommonTlsContext, CommonTlsContext__Output as _envoy_api_v2_auth_CommonTlsContext__Output } from './envoy/api/v2/auth/CommonTlsContext'; +import { DownstreamTlsContext as _envoy_api_v2_auth_DownstreamTlsContext, DownstreamTlsContext__Output as _envoy_api_v2_auth_DownstreamTlsContext__Output } from './envoy/api/v2/auth/DownstreamTlsContext'; +import { GenericSecret as _envoy_api_v2_auth_GenericSecret, GenericSecret__Output as _envoy_api_v2_auth_GenericSecret__Output } from './envoy/api/v2/auth/GenericSecret'; +import { PrivateKeyProvider as _envoy_api_v2_auth_PrivateKeyProvider, PrivateKeyProvider__Output as _envoy_api_v2_auth_PrivateKeyProvider__Output } from './envoy/api/v2/auth/PrivateKeyProvider'; +import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from './envoy/api/v2/auth/SdsSecretConfig'; +import { Secret as _envoy_api_v2_auth_Secret, Secret__Output as _envoy_api_v2_auth_Secret__Output } from './envoy/api/v2/auth/Secret'; +import { TlsCertificate as _envoy_api_v2_auth_TlsCertificate, TlsCertificate__Output as _envoy_api_v2_auth_TlsCertificate__Output } from './envoy/api/v2/auth/TlsCertificate'; +import { TlsParameters as _envoy_api_v2_auth_TlsParameters, TlsParameters__Output as _envoy_api_v2_auth_TlsParameters__Output } from './envoy/api/v2/auth/TlsParameters'; +import { TlsSessionTicketKeys as _envoy_api_v2_auth_TlsSessionTicketKeys, TlsSessionTicketKeys__Output as _envoy_api_v2_auth_TlsSessionTicketKeys__Output } from './envoy/api/v2/auth/TlsSessionTicketKeys'; +import { UpstreamTlsContext as _envoy_api_v2_auth_UpstreamTlsContext, UpstreamTlsContext__Output as _envoy_api_v2_auth_UpstreamTlsContext__Output } from './envoy/api/v2/auth/UpstreamTlsContext'; import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; -import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; -import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; -import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; -import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; -import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from './envoy/api/v2/core/AggregatedConfigSource'; +import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; +import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; +import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; +import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; +import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; +import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; +import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; +import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; -import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; -import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; -import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; -import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; -import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; +import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; +import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; -import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; -import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; -import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; +import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; +import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; +import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; -import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; -import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; +import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; +import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; +import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; -import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; -import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; -import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; -import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from './envoy/api/v2/core/AggregatedConfigSource'; +import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from './envoy/api/v2/core/SelfConfigSource'; -import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; -import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; -import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; +import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; +import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; +import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; +import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; +import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { ActiveRawUdpListenerConfig as _envoy_api_v2_listener_ActiveRawUdpListenerConfig, ActiveRawUdpListenerConfig__Output as _envoy_api_v2_listener_ActiveRawUdpListenerConfig__Output } from './envoy/api/v2/listener/ActiveRawUdpListenerConfig'; import { Filter as _envoy_api_v2_listener_Filter, Filter__Output as _envoy_api_v2_listener_Filter__Output } from './envoy/api/v2/listener/Filter'; -import { FilterChainMatch as _envoy_api_v2_listener_FilterChainMatch, FilterChainMatch__Output as _envoy_api_v2_listener_FilterChainMatch__Output } from './envoy/api/v2/listener/FilterChainMatch'; import { FilterChain as _envoy_api_v2_listener_FilterChain, FilterChain__Output as _envoy_api_v2_listener_FilterChain__Output } from './envoy/api/v2/listener/FilterChain'; -import { ListenerFilterChainMatchPredicate as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate, ListenerFilterChainMatchPredicate__Output as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output } from './envoy/api/v2/listener/ListenerFilterChainMatchPredicate'; +import { FilterChainMatch as _envoy_api_v2_listener_FilterChainMatch, FilterChainMatch__Output as _envoy_api_v2_listener_FilterChainMatch__Output } from './envoy/api/v2/listener/FilterChainMatch'; import { ListenerFilter as _envoy_api_v2_listener_ListenerFilter, ListenerFilter__Output as _envoy_api_v2_listener_ListenerFilter__Output } from './envoy/api/v2/listener/ListenerFilter'; +import { ListenerFilterChainMatchPredicate as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate, ListenerFilterChainMatchPredicate__Output as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output } from './envoy/api/v2/listener/ListenerFilterChainMatchPredicate'; import { UdpListenerConfig as _envoy_api_v2_listener_UdpListenerConfig, UdpListenerConfig__Output as _envoy_api_v2_listener_UdpListenerConfig__Output } from './envoy/api/v2/listener/UdpListenerConfig'; -import { ActiveRawUdpListenerConfig as _envoy_api_v2_listener_ActiveRawUdpListenerConfig, ActiveRawUdpListenerConfig__Output as _envoy_api_v2_listener_ActiveRawUdpListenerConfig__Output } from './envoy/api/v2/listener/ActiveRawUdpListenerConfig'; -import { UpstreamTlsContext as _envoy_api_v2_auth_UpstreamTlsContext, UpstreamTlsContext__Output as _envoy_api_v2_auth_UpstreamTlsContext__Output } from './envoy/api/v2/auth/UpstreamTlsContext'; -import { DownstreamTlsContext as _envoy_api_v2_auth_DownstreamTlsContext, DownstreamTlsContext__Output as _envoy_api_v2_auth_DownstreamTlsContext__Output } from './envoy/api/v2/auth/DownstreamTlsContext'; -import { CommonTlsContext as _envoy_api_v2_auth_CommonTlsContext, CommonTlsContext__Output as _envoy_api_v2_auth_CommonTlsContext__Output } from './envoy/api/v2/auth/CommonTlsContext'; -import { TlsParameters as _envoy_api_v2_auth_TlsParameters, TlsParameters__Output as _envoy_api_v2_auth_TlsParameters__Output } from './envoy/api/v2/auth/TlsParameters'; -import { PrivateKeyProvider as _envoy_api_v2_auth_PrivateKeyProvider, PrivateKeyProvider__Output as _envoy_api_v2_auth_PrivateKeyProvider__Output } from './envoy/api/v2/auth/PrivateKeyProvider'; -import { TlsCertificate as _envoy_api_v2_auth_TlsCertificate, TlsCertificate__Output as _envoy_api_v2_auth_TlsCertificate__Output } from './envoy/api/v2/auth/TlsCertificate'; -import { TlsSessionTicketKeys as _envoy_api_v2_auth_TlsSessionTicketKeys, TlsSessionTicketKeys__Output as _envoy_api_v2_auth_TlsSessionTicketKeys__Output } from './envoy/api/v2/auth/TlsSessionTicketKeys'; -import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from './envoy/api/v2/auth/CertificateValidationContext'; -import { GenericSecret as _envoy_api_v2_auth_GenericSecret, GenericSecret__Output as _envoy_api_v2_auth_GenericSecret__Output } from './envoy/api/v2/auth/GenericSecret'; -import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from './envoy/api/v2/auth/SdsSecretConfig'; -import { Secret as _envoy_api_v2_auth_Secret, Secret__Output as _envoy_api_v2_auth_Secret__Output } from './envoy/api/v2/auth/Secret'; -import { VirtualHost as _envoy_api_v2_route_VirtualHost, VirtualHost__Output as _envoy_api_v2_route_VirtualHost__Output } from './envoy/api/v2/route/VirtualHost'; -import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from './envoy/api/v2/route/FilterAction'; -import { Route as _envoy_api_v2_route_Route, Route__Output as _envoy_api_v2_route_Route__Output } from './envoy/api/v2/route/Route'; -import { WeightedCluster as _envoy_api_v2_route_WeightedCluster, WeightedCluster__Output as _envoy_api_v2_route_WeightedCluster__Output } from './envoy/api/v2/route/WeightedCluster'; -import { RouteMatch as _envoy_api_v2_route_RouteMatch, RouteMatch__Output as _envoy_api_v2_route_RouteMatch__Output } from './envoy/api/v2/route/RouteMatch'; import { CorsPolicy as _envoy_api_v2_route_CorsPolicy, CorsPolicy__Output as _envoy_api_v2_route_CorsPolicy__Output } from './envoy/api/v2/route/CorsPolicy'; -import { RouteAction as _envoy_api_v2_route_RouteAction, RouteAction__Output as _envoy_api_v2_route_RouteAction__Output } from './envoy/api/v2/route/RouteAction'; -import { RetryPolicy as _envoy_api_v2_route_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_route_RetryPolicy__Output } from './envoy/api/v2/route/RetryPolicy'; +import { Decorator as _envoy_api_v2_route_Decorator, Decorator__Output as _envoy_api_v2_route_Decorator__Output } from './envoy/api/v2/route/Decorator'; +import { DirectResponseAction as _envoy_api_v2_route_DirectResponseAction, DirectResponseAction__Output as _envoy_api_v2_route_DirectResponseAction__Output } from './envoy/api/v2/route/DirectResponseAction'; +import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from './envoy/api/v2/route/FilterAction'; +import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from './envoy/api/v2/route/HeaderMatcher'; import { HedgePolicy as _envoy_api_v2_route_HedgePolicy, HedgePolicy__Output as _envoy_api_v2_route_HedgePolicy__Output } from './envoy/api/v2/route/HedgePolicy'; +import { QueryParameterMatcher as _envoy_api_v2_route_QueryParameterMatcher, QueryParameterMatcher__Output as _envoy_api_v2_route_QueryParameterMatcher__Output } from './envoy/api/v2/route/QueryParameterMatcher'; +import { RateLimit as _envoy_api_v2_route_RateLimit, RateLimit__Output as _envoy_api_v2_route_RateLimit__Output } from './envoy/api/v2/route/RateLimit'; import { RedirectAction as _envoy_api_v2_route_RedirectAction, RedirectAction__Output as _envoy_api_v2_route_RedirectAction__Output } from './envoy/api/v2/route/RedirectAction'; -import { DirectResponseAction as _envoy_api_v2_route_DirectResponseAction, DirectResponseAction__Output as _envoy_api_v2_route_DirectResponseAction__Output } from './envoy/api/v2/route/DirectResponseAction'; -import { Decorator as _envoy_api_v2_route_Decorator, Decorator__Output as _envoy_api_v2_route_Decorator__Output } from './envoy/api/v2/route/Decorator'; +import { RetryPolicy as _envoy_api_v2_route_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_route_RetryPolicy__Output } from './envoy/api/v2/route/RetryPolicy'; +import { Route as _envoy_api_v2_route_Route, Route__Output as _envoy_api_v2_route_Route__Output } from './envoy/api/v2/route/Route'; +import { RouteAction as _envoy_api_v2_route_RouteAction, RouteAction__Output as _envoy_api_v2_route_RouteAction__Output } from './envoy/api/v2/route/RouteAction'; +import { RouteMatch as _envoy_api_v2_route_RouteMatch, RouteMatch__Output as _envoy_api_v2_route_RouteMatch__Output } from './envoy/api/v2/route/RouteMatch'; import { Tracing as _envoy_api_v2_route_Tracing, Tracing__Output as _envoy_api_v2_route_Tracing__Output } from './envoy/api/v2/route/Tracing'; import { VirtualCluster as _envoy_api_v2_route_VirtualCluster, VirtualCluster__Output as _envoy_api_v2_route_VirtualCluster__Output } from './envoy/api/v2/route/VirtualCluster'; -import { RateLimit as _envoy_api_v2_route_RateLimit, RateLimit__Output as _envoy_api_v2_route_RateLimit__Output } from './envoy/api/v2/route/RateLimit'; -import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from './envoy/api/v2/route/HeaderMatcher'; -import { QueryParameterMatcher as _envoy_api_v2_route_QueryParameterMatcher, QueryParameterMatcher__Output as _envoy_api_v2_route_QueryParameterMatcher__Output } from './envoy/api/v2/route/QueryParameterMatcher'; -import { ApiListener as _envoy_config_listener_v2_ApiListener, ApiListener__Output as _envoy_config_listener_v2_ApiListener__Output } from './envoy/config/listener/v2/ApiListener'; +import { VirtualHost as _envoy_api_v2_route_VirtualHost, VirtualHost__Output as _envoy_api_v2_route_VirtualHost__Output } from './envoy/api/v2/route/VirtualHost'; +import { WeightedCluster as _envoy_api_v2_route_WeightedCluster, WeightedCluster__Output as _envoy_api_v2_route_WeightedCluster__Output } from './envoy/api/v2/route/WeightedCluster'; import { AccessLog as _envoy_config_filter_accesslog_v2_AccessLog, AccessLog__Output as _envoy_config_filter_accesslog_v2_AccessLog__Output } from './envoy/config/filter/accesslog/v2/AccessLog'; import { AccessLogFilter as _envoy_config_filter_accesslog_v2_AccessLogFilter, AccessLogFilter__Output as _envoy_config_filter_accesslog_v2_AccessLogFilter__Output } from './envoy/config/filter/accesslog/v2/AccessLogFilter'; +import { AndFilter as _envoy_config_filter_accesslog_v2_AndFilter, AndFilter__Output as _envoy_config_filter_accesslog_v2_AndFilter__Output } from './envoy/config/filter/accesslog/v2/AndFilter'; import { ComparisonFilter as _envoy_config_filter_accesslog_v2_ComparisonFilter, ComparisonFilter__Output as _envoy_config_filter_accesslog_v2_ComparisonFilter__Output } from './envoy/config/filter/accesslog/v2/ComparisonFilter'; -import { StatusCodeFilter as _envoy_config_filter_accesslog_v2_StatusCodeFilter, StatusCodeFilter__Output as _envoy_config_filter_accesslog_v2_StatusCodeFilter__Output } from './envoy/config/filter/accesslog/v2/StatusCodeFilter'; import { DurationFilter as _envoy_config_filter_accesslog_v2_DurationFilter, DurationFilter__Output as _envoy_config_filter_accesslog_v2_DurationFilter__Output } from './envoy/config/filter/accesslog/v2/DurationFilter'; +import { ExtensionFilter as _envoy_config_filter_accesslog_v2_ExtensionFilter, ExtensionFilter__Output as _envoy_config_filter_accesslog_v2_ExtensionFilter__Output } from './envoy/config/filter/accesslog/v2/ExtensionFilter'; +import { GrpcStatusFilter as _envoy_config_filter_accesslog_v2_GrpcStatusFilter, GrpcStatusFilter__Output as _envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output } from './envoy/config/filter/accesslog/v2/GrpcStatusFilter'; +import { HeaderFilter as _envoy_config_filter_accesslog_v2_HeaderFilter, HeaderFilter__Output as _envoy_config_filter_accesslog_v2_HeaderFilter__Output } from './envoy/config/filter/accesslog/v2/HeaderFilter'; import { NotHealthCheckFilter as _envoy_config_filter_accesslog_v2_NotHealthCheckFilter, NotHealthCheckFilter__Output as _envoy_config_filter_accesslog_v2_NotHealthCheckFilter__Output } from './envoy/config/filter/accesslog/v2/NotHealthCheckFilter'; -import { TraceableFilter as _envoy_config_filter_accesslog_v2_TraceableFilter, TraceableFilter__Output as _envoy_config_filter_accesslog_v2_TraceableFilter__Output } from './envoy/config/filter/accesslog/v2/TraceableFilter'; -import { RuntimeFilter as _envoy_config_filter_accesslog_v2_RuntimeFilter, RuntimeFilter__Output as _envoy_config_filter_accesslog_v2_RuntimeFilter__Output } from './envoy/config/filter/accesslog/v2/RuntimeFilter'; -import { AndFilter as _envoy_config_filter_accesslog_v2_AndFilter, AndFilter__Output as _envoy_config_filter_accesslog_v2_AndFilter__Output } from './envoy/config/filter/accesslog/v2/AndFilter'; import { OrFilter as _envoy_config_filter_accesslog_v2_OrFilter, OrFilter__Output as _envoy_config_filter_accesslog_v2_OrFilter__Output } from './envoy/config/filter/accesslog/v2/OrFilter'; -import { HeaderFilter as _envoy_config_filter_accesslog_v2_HeaderFilter, HeaderFilter__Output as _envoy_config_filter_accesslog_v2_HeaderFilter__Output } from './envoy/config/filter/accesslog/v2/HeaderFilter'; import { ResponseFlagFilter as _envoy_config_filter_accesslog_v2_ResponseFlagFilter, ResponseFlagFilter__Output as _envoy_config_filter_accesslog_v2_ResponseFlagFilter__Output } from './envoy/config/filter/accesslog/v2/ResponseFlagFilter'; -import { GrpcStatusFilter as _envoy_config_filter_accesslog_v2_GrpcStatusFilter, GrpcStatusFilter__Output as _envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output } from './envoy/config/filter/accesslog/v2/GrpcStatusFilter'; -import { ExtensionFilter as _envoy_config_filter_accesslog_v2_ExtensionFilter, ExtensionFilter__Output as _envoy_config_filter_accesslog_v2_ExtensionFilter__Output } from './envoy/config/filter/accesslog/v2/ExtensionFilter'; -import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; +import { RuntimeFilter as _envoy_config_filter_accesslog_v2_RuntimeFilter, RuntimeFilter__Output as _envoy_config_filter_accesslog_v2_RuntimeFilter__Output } from './envoy/config/filter/accesslog/v2/RuntimeFilter'; +import { StatusCodeFilter as _envoy_config_filter_accesslog_v2_StatusCodeFilter, StatusCodeFilter__Output as _envoy_config_filter_accesslog_v2_StatusCodeFilter__Output } from './envoy/config/filter/accesslog/v2/StatusCodeFilter'; +import { TraceableFilter as _envoy_config_filter_accesslog_v2_TraceableFilter, TraceableFilter__Output as _envoy_config_filter_accesslog_v2_TraceableFilter__Output } from './envoy/config/filter/accesslog/v2/TraceableFilter'; +import { ApiListener as _envoy_config_listener_v2_ApiListener, ApiListener__Output as _envoy_config_listener_v2_ApiListener__Output } from './envoy/config/listener/v2/ApiListener'; +import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; -import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; -import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; +import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; +import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; -import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; +import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; -import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; -import { CustomTag as _envoy_type_tracing_v2_CustomTag, CustomTag__Output as _envoy_type_tracing_v2_CustomTag__Output } from './envoy/type/tracing/v2/CustomTag'; import { MetadataKey as _envoy_type_metadata_v2_MetadataKey, MetadataKey__Output as _envoy_type_metadata_v2_MetadataKey__Output } from './envoy/type/metadata/v2/MetadataKey'; import { MetadataKind as _envoy_type_metadata_v2_MetadataKind, MetadataKind__Output as _envoy_type_metadata_v2_MetadataKind__Output } from './envoy/type/metadata/v2/MetadataKind'; -import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; +import { CustomTag as _envoy_type_tracing_v2_CustomTag, CustomTag__Output as _envoy_type_tracing_v2_CustomTag__Output } from './envoy/type/tracing/v2/CustomTag'; +import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from './google/api/CustomHttpPattern'; +import { Http as _google_api_Http, Http__Output as _google_api_Http__Output } from './google/api/Http'; +import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from './google/api/HttpRule'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; +import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; +import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; +import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; +import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; +import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; +import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; +import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; +import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; +import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; +import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; +import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; +import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; +import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; +import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; +import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; +import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; +import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; +import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; +import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; +import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; +import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; +import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; +import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; +import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; +import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; +import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; +import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; +import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; +import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; +import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; +import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; +import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; +import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; +import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; +import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; +import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; +import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; +import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; +import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; +import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; -import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; -import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; -import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; -import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; -import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; -import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; -import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; -import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; -import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; -import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; -import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; -import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; -import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; +import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; -import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; -import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; -import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; +import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; +import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; +import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; +import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; +import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; -import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; -import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; -import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; -import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; -import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; -import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; -import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; -import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; -import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; -import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; -import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; -import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; -import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; -import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; -import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; -import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; -import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; -import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; -import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; -import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; -import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; -import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; -import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; -import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; -import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; -import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; -import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; -import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; -import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; -import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; -import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; -import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; -import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; -import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; -import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; -import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; -import { Http as _google_api_Http, Http__Output as _google_api_Http__Output } from './google/api/Http'; -import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from './google/api/HttpRule'; -import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from './google/api/CustomHttpPattern'; +import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; +import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; export namespace messages { export namespace envoy { + export namespace annotations { + } export namespace api { export namespace v2 { export type Listener = _envoy_api_v2_Listener; export type Listener__Output = _envoy_api_v2_Listener__Output; + export namespace auth { + export type CertificateValidationContext = _envoy_api_v2_auth_CertificateValidationContext; + export type CertificateValidationContext__Output = _envoy_api_v2_auth_CertificateValidationContext__Output; + export type CommonTlsContext = _envoy_api_v2_auth_CommonTlsContext; + export type CommonTlsContext__Output = _envoy_api_v2_auth_CommonTlsContext__Output; + export type DownstreamTlsContext = _envoy_api_v2_auth_DownstreamTlsContext; + export type DownstreamTlsContext__Output = _envoy_api_v2_auth_DownstreamTlsContext__Output; + export type GenericSecret = _envoy_api_v2_auth_GenericSecret; + export type GenericSecret__Output = _envoy_api_v2_auth_GenericSecret__Output; + export type PrivateKeyProvider = _envoy_api_v2_auth_PrivateKeyProvider; + export type PrivateKeyProvider__Output = _envoy_api_v2_auth_PrivateKeyProvider__Output; + export type SdsSecretConfig = _envoy_api_v2_auth_SdsSecretConfig; + export type SdsSecretConfig__Output = _envoy_api_v2_auth_SdsSecretConfig__Output; + export type Secret = _envoy_api_v2_auth_Secret; + export type Secret__Output = _envoy_api_v2_auth_Secret__Output; + export type TlsCertificate = _envoy_api_v2_auth_TlsCertificate; + export type TlsCertificate__Output = _envoy_api_v2_auth_TlsCertificate__Output; + export type TlsParameters = _envoy_api_v2_auth_TlsParameters; + export type TlsParameters__Output = _envoy_api_v2_auth_TlsParameters__Output; + export type TlsSessionTicketKeys = _envoy_api_v2_auth_TlsSessionTicketKeys; + export type TlsSessionTicketKeys__Output = _envoy_api_v2_auth_TlsSessionTicketKeys__Output; + export type UpstreamTlsContext = _envoy_api_v2_auth_UpstreamTlsContext; + export type UpstreamTlsContext__Output = _envoy_api_v2_auth_UpstreamTlsContext__Output; + } export namespace core { - export type SocketOption = _envoy_api_v2_core_SocketOption; - export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; - export type Pipe = _envoy_api_v2_core_Pipe; - export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; - export type SocketAddress = _envoy_api_v2_core_SocketAddress; - export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; - export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; - export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; - export type BindConfig = _envoy_api_v2_core_BindConfig; - export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; export type Address = _envoy_api_v2_core_Address; export type Address__Output = _envoy_api_v2_core_Address__Output; - export type CidrRange = _envoy_api_v2_core_CidrRange; - export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; - export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; - export type RequestMethod = _envoy_api_v2_core_RequestMethod; - export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; - export type Locality = _envoy_api_v2_core_Locality; - export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; + export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; + export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; + export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; + export type ApiVersion = _envoy_api_v2_core_ApiVersion; + export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type BindConfig = _envoy_api_v2_core_BindConfig; + export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; export type BuildVersion = _envoy_api_v2_core_BuildVersion; export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + export type CidrRange = _envoy_api_v2_core_CidrRange; + export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + export type ConfigSource = _envoy_api_v2_core_ConfigSource; + export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; + export type ControlPlane = _envoy_api_v2_core_ControlPlane; + export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + export type DataSource = _envoy_api_v2_core_DataSource; + export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; export type Extension = _envoy_api_v2_core_Extension; export type Extension__Output = _envoy_api_v2_core_Extension__Output; - export type Node = _envoy_api_v2_core_Node; - export type Node__Output = _envoy_api_v2_core_Node__Output; - export type Metadata = _envoy_api_v2_core_Metadata; - export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; - export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; - export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; - export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; - export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; - export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; - export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + export type GrpcService = _envoy_api_v2_core_GrpcService; + export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + export type HeaderMap = _envoy_api_v2_core_HeaderMap; + export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; export type HeaderValue = _envoy_api_v2_core_HeaderValue; export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; - export type HeaderMap = _envoy_api_v2_core_HeaderMap; - export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; - export type DataSource = _envoy_api_v2_core_DataSource; - export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; - export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; - export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type Locality = _envoy_api_v2_core_Locality; + export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type Metadata = _envoy_api_v2_core_Metadata; + export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + export type Node = _envoy_api_v2_core_Node; + export type Node__Output = _envoy_api_v2_core_Node__Output; + export type Pipe = _envoy_api_v2_core_Pipe; + export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; + export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; - export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; - export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; - export type TransportSocket = _envoy_api_v2_core_TransportSocket; - export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; + export type RequestMethod = _envoy_api_v2_core_RequestMethod; + export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; - export type ControlPlane = _envoy_api_v2_core_ControlPlane; - export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; - export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; - export type HttpUri = _envoy_api_v2_core_HttpUri; - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; - export type ApiVersion = _envoy_api_v2_core_ApiVersion; - export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; - export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; - export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; - export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; + export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; - export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; - export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; - export type ConfigSource = _envoy_api_v2_core_ConfigSource; - export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; - export type GrpcService = _envoy_api_v2_core_GrpcService; - export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + export type SocketAddress = _envoy_api_v2_core_SocketAddress; + export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; + export type SocketOption = _envoy_api_v2_core_SocketOption; + export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; + export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; + export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + export type TransportSocket = _envoy_api_v2_core_TransportSocket; + export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; } export namespace listener { + export type ActiveRawUdpListenerConfig = _envoy_api_v2_listener_ActiveRawUdpListenerConfig; + export type ActiveRawUdpListenerConfig__Output = _envoy_api_v2_listener_ActiveRawUdpListenerConfig__Output; export type Filter = _envoy_api_v2_listener_Filter; export type Filter__Output = _envoy_api_v2_listener_Filter__Output; - export type FilterChainMatch = _envoy_api_v2_listener_FilterChainMatch; - export type FilterChainMatch__Output = _envoy_api_v2_listener_FilterChainMatch__Output; export type FilterChain = _envoy_api_v2_listener_FilterChain; export type FilterChain__Output = _envoy_api_v2_listener_FilterChain__Output; - export type ListenerFilterChainMatchPredicate = _envoy_api_v2_listener_ListenerFilterChainMatchPredicate; - export type ListenerFilterChainMatchPredicate__Output = _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output; + export type FilterChainMatch = _envoy_api_v2_listener_FilterChainMatch; + export type FilterChainMatch__Output = _envoy_api_v2_listener_FilterChainMatch__Output; export type ListenerFilter = _envoy_api_v2_listener_ListenerFilter; export type ListenerFilter__Output = _envoy_api_v2_listener_ListenerFilter__Output; - export type UdpListenerConfig = _envoy_api_v2_listener_UdpListenerConfig; - export type UdpListenerConfig__Output = _envoy_api_v2_listener_UdpListenerConfig__Output; - export type ActiveRawUdpListenerConfig = _envoy_api_v2_listener_ActiveRawUdpListenerConfig; - export type ActiveRawUdpListenerConfig__Output = _envoy_api_v2_listener_ActiveRawUdpListenerConfig__Output; - } - export namespace auth { - export type UpstreamTlsContext = _envoy_api_v2_auth_UpstreamTlsContext; - export type UpstreamTlsContext__Output = _envoy_api_v2_auth_UpstreamTlsContext__Output; - export type DownstreamTlsContext = _envoy_api_v2_auth_DownstreamTlsContext; - export type DownstreamTlsContext__Output = _envoy_api_v2_auth_DownstreamTlsContext__Output; - export type CommonTlsContext = _envoy_api_v2_auth_CommonTlsContext; - export type CommonTlsContext__Output = _envoy_api_v2_auth_CommonTlsContext__Output; - export type TlsParameters = _envoy_api_v2_auth_TlsParameters; - export type TlsParameters__Output = _envoy_api_v2_auth_TlsParameters__Output; - export type PrivateKeyProvider = _envoy_api_v2_auth_PrivateKeyProvider; - export type PrivateKeyProvider__Output = _envoy_api_v2_auth_PrivateKeyProvider__Output; - export type TlsCertificate = _envoy_api_v2_auth_TlsCertificate; - export type TlsCertificate__Output = _envoy_api_v2_auth_TlsCertificate__Output; - export type TlsSessionTicketKeys = _envoy_api_v2_auth_TlsSessionTicketKeys; - export type TlsSessionTicketKeys__Output = _envoy_api_v2_auth_TlsSessionTicketKeys__Output; - export type CertificateValidationContext = _envoy_api_v2_auth_CertificateValidationContext; - export type CertificateValidationContext__Output = _envoy_api_v2_auth_CertificateValidationContext__Output; - export type GenericSecret = _envoy_api_v2_auth_GenericSecret; - export type GenericSecret__Output = _envoy_api_v2_auth_GenericSecret__Output; - export type SdsSecretConfig = _envoy_api_v2_auth_SdsSecretConfig; - export type SdsSecretConfig__Output = _envoy_api_v2_auth_SdsSecretConfig__Output; - export type Secret = _envoy_api_v2_auth_Secret; - export type Secret__Output = _envoy_api_v2_auth_Secret__Output; + export type ListenerFilterChainMatchPredicate = _envoy_api_v2_listener_ListenerFilterChainMatchPredicate; + export type ListenerFilterChainMatchPredicate__Output = _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output; + export type UdpListenerConfig = _envoy_api_v2_listener_UdpListenerConfig; + export type UdpListenerConfig__Output = _envoy_api_v2_listener_UdpListenerConfig__Output; } export namespace route { - export type VirtualHost = _envoy_api_v2_route_VirtualHost; - export type VirtualHost__Output = _envoy_api_v2_route_VirtualHost__Output; - export type FilterAction = _envoy_api_v2_route_FilterAction; - export type FilterAction__Output = _envoy_api_v2_route_FilterAction__Output; - export type Route = _envoy_api_v2_route_Route; - export type Route__Output = _envoy_api_v2_route_Route__Output; - export type WeightedCluster = _envoy_api_v2_route_WeightedCluster; - export type WeightedCluster__Output = _envoy_api_v2_route_WeightedCluster__Output; - export type RouteMatch = _envoy_api_v2_route_RouteMatch; - export type RouteMatch__Output = _envoy_api_v2_route_RouteMatch__Output; export type CorsPolicy = _envoy_api_v2_route_CorsPolicy; export type CorsPolicy__Output = _envoy_api_v2_route_CorsPolicy__Output; - export type RouteAction = _envoy_api_v2_route_RouteAction; - export type RouteAction__Output = _envoy_api_v2_route_RouteAction__Output; - export type RetryPolicy = _envoy_api_v2_route_RetryPolicy; - export type RetryPolicy__Output = _envoy_api_v2_route_RetryPolicy__Output; + export type Decorator = _envoy_api_v2_route_Decorator; + export type Decorator__Output = _envoy_api_v2_route_Decorator__Output; + export type DirectResponseAction = _envoy_api_v2_route_DirectResponseAction; + export type DirectResponseAction__Output = _envoy_api_v2_route_DirectResponseAction__Output; + export type FilterAction = _envoy_api_v2_route_FilterAction; + export type FilterAction__Output = _envoy_api_v2_route_FilterAction__Output; + export type HeaderMatcher = _envoy_api_v2_route_HeaderMatcher; + export type HeaderMatcher__Output = _envoy_api_v2_route_HeaderMatcher__Output; export type HedgePolicy = _envoy_api_v2_route_HedgePolicy; export type HedgePolicy__Output = _envoy_api_v2_route_HedgePolicy__Output; + export type QueryParameterMatcher = _envoy_api_v2_route_QueryParameterMatcher; + export type QueryParameterMatcher__Output = _envoy_api_v2_route_QueryParameterMatcher__Output; + export type RateLimit = _envoy_api_v2_route_RateLimit; + export type RateLimit__Output = _envoy_api_v2_route_RateLimit__Output; export type RedirectAction = _envoy_api_v2_route_RedirectAction; export type RedirectAction__Output = _envoy_api_v2_route_RedirectAction__Output; - export type DirectResponseAction = _envoy_api_v2_route_DirectResponseAction; - export type DirectResponseAction__Output = _envoy_api_v2_route_DirectResponseAction__Output; - export type Decorator = _envoy_api_v2_route_Decorator; - export type Decorator__Output = _envoy_api_v2_route_Decorator__Output; + export type RetryPolicy = _envoy_api_v2_route_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_route_RetryPolicy__Output; + export type Route = _envoy_api_v2_route_Route; + export type Route__Output = _envoy_api_v2_route_Route__Output; + export type RouteAction = _envoy_api_v2_route_RouteAction; + export type RouteAction__Output = _envoy_api_v2_route_RouteAction__Output; + export type RouteMatch = _envoy_api_v2_route_RouteMatch; + export type RouteMatch__Output = _envoy_api_v2_route_RouteMatch__Output; export type Tracing = _envoy_api_v2_route_Tracing; export type Tracing__Output = _envoy_api_v2_route_Tracing__Output; export type VirtualCluster = _envoy_api_v2_route_VirtualCluster; export type VirtualCluster__Output = _envoy_api_v2_route_VirtualCluster__Output; - export type RateLimit = _envoy_api_v2_route_RateLimit; - export type RateLimit__Output = _envoy_api_v2_route_RateLimit__Output; - export type HeaderMatcher = _envoy_api_v2_route_HeaderMatcher; - export type HeaderMatcher__Output = _envoy_api_v2_route_HeaderMatcher__Output; - export type QueryParameterMatcher = _envoy_api_v2_route_QueryParameterMatcher; - export type QueryParameterMatcher__Output = _envoy_api_v2_route_QueryParameterMatcher__Output; + export type VirtualHost = _envoy_api_v2_route_VirtualHost; + export type VirtualHost__Output = _envoy_api_v2_route_VirtualHost__Output; + export type WeightedCluster = _envoy_api_v2_route_WeightedCluster; + export type WeightedCluster__Output = _envoy_api_v2_route_WeightedCluster__Output; } } } export namespace config { - export namespace listener { - export namespace v2 { - export type ApiListener = _envoy_config_listener_v2_ApiListener; - export type ApiListener__Output = _envoy_config_listener_v2_ApiListener__Output; - } - } export namespace filter { export namespace accesslog { export namespace v2 { @@ -342,62 +338,62 @@ export namespace messages { export type AccessLog__Output = _envoy_config_filter_accesslog_v2_AccessLog__Output; export type AccessLogFilter = _envoy_config_filter_accesslog_v2_AccessLogFilter; export type AccessLogFilter__Output = _envoy_config_filter_accesslog_v2_AccessLogFilter__Output; + export type AndFilter = _envoy_config_filter_accesslog_v2_AndFilter; + export type AndFilter__Output = _envoy_config_filter_accesslog_v2_AndFilter__Output; export type ComparisonFilter = _envoy_config_filter_accesslog_v2_ComparisonFilter; export type ComparisonFilter__Output = _envoy_config_filter_accesslog_v2_ComparisonFilter__Output; - export type StatusCodeFilter = _envoy_config_filter_accesslog_v2_StatusCodeFilter; - export type StatusCodeFilter__Output = _envoy_config_filter_accesslog_v2_StatusCodeFilter__Output; export type DurationFilter = _envoy_config_filter_accesslog_v2_DurationFilter; export type DurationFilter__Output = _envoy_config_filter_accesslog_v2_DurationFilter__Output; + export type ExtensionFilter = _envoy_config_filter_accesslog_v2_ExtensionFilter; + export type ExtensionFilter__Output = _envoy_config_filter_accesslog_v2_ExtensionFilter__Output; + export type GrpcStatusFilter = _envoy_config_filter_accesslog_v2_GrpcStatusFilter; + export type GrpcStatusFilter__Output = _envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output; + export type HeaderFilter = _envoy_config_filter_accesslog_v2_HeaderFilter; + export type HeaderFilter__Output = _envoy_config_filter_accesslog_v2_HeaderFilter__Output; export type NotHealthCheckFilter = _envoy_config_filter_accesslog_v2_NotHealthCheckFilter; export type NotHealthCheckFilter__Output = _envoy_config_filter_accesslog_v2_NotHealthCheckFilter__Output; - export type TraceableFilter = _envoy_config_filter_accesslog_v2_TraceableFilter; - export type TraceableFilter__Output = _envoy_config_filter_accesslog_v2_TraceableFilter__Output; - export type RuntimeFilter = _envoy_config_filter_accesslog_v2_RuntimeFilter; - export type RuntimeFilter__Output = _envoy_config_filter_accesslog_v2_RuntimeFilter__Output; - export type AndFilter = _envoy_config_filter_accesslog_v2_AndFilter; - export type AndFilter__Output = _envoy_config_filter_accesslog_v2_AndFilter__Output; export type OrFilter = _envoy_config_filter_accesslog_v2_OrFilter; export type OrFilter__Output = _envoy_config_filter_accesslog_v2_OrFilter__Output; - export type HeaderFilter = _envoy_config_filter_accesslog_v2_HeaderFilter; - export type HeaderFilter__Output = _envoy_config_filter_accesslog_v2_HeaderFilter__Output; export type ResponseFlagFilter = _envoy_config_filter_accesslog_v2_ResponseFlagFilter; export type ResponseFlagFilter__Output = _envoy_config_filter_accesslog_v2_ResponseFlagFilter__Output; - export type GrpcStatusFilter = _envoy_config_filter_accesslog_v2_GrpcStatusFilter; - export type GrpcStatusFilter__Output = _envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output; - export type ExtensionFilter = _envoy_config_filter_accesslog_v2_ExtensionFilter; - export type ExtensionFilter__Output = _envoy_config_filter_accesslog_v2_ExtensionFilter__Output; + export type RuntimeFilter = _envoy_config_filter_accesslog_v2_RuntimeFilter; + export type RuntimeFilter__Output = _envoy_config_filter_accesslog_v2_RuntimeFilter__Output; + export type StatusCodeFilter = _envoy_config_filter_accesslog_v2_StatusCodeFilter; + export type StatusCodeFilter__Output = _envoy_config_filter_accesslog_v2_StatusCodeFilter__Output; + export type TraceableFilter = _envoy_config_filter_accesslog_v2_TraceableFilter; + export type TraceableFilter__Output = _envoy_config_filter_accesslog_v2_TraceableFilter__Output; } } } + export namespace listener { + export namespace v2 { + export type ApiListener = _envoy_config_listener_v2_ApiListener; + export type ApiListener__Output = _envoy_config_listener_v2_ApiListener__Output; + } + } } export namespace type { - export type Percent = _envoy_type_Percent; - export type Percent__Output = _envoy_type_Percent__Output; + export type DoubleRange = _envoy_type_DoubleRange; + export type DoubleRange__Output = _envoy_type_DoubleRange__Output; export type FractionalPercent = _envoy_type_FractionalPercent; export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; - export type Int64Range = _envoy_type_Int64Range; - export type Int64Range__Output = _envoy_type_Int64Range__Output; export type Int32Range = _envoy_type_Int32Range; export type Int32Range__Output = _envoy_type_Int32Range__Output; - export type DoubleRange = _envoy_type_DoubleRange; - export type DoubleRange__Output = _envoy_type_DoubleRange__Output; + export type Int64Range = _envoy_type_Int64Range; + export type Int64Range__Output = _envoy_type_Int64Range__Output; + export type Percent = _envoy_type_Percent; + export type Percent__Output = _envoy_type_Percent__Output; export type SemanticVersion = _envoy_type_SemanticVersion; export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; export namespace matcher { - export type RegexMatcher = _envoy_type_matcher_RegexMatcher; - export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; + export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; + export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; + export type RegexMatcher = _envoy_type_matcher_RegexMatcher; + export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; export type StringMatcher = _envoy_type_matcher_StringMatcher; export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; - export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; - export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; - } - export namespace tracing { - export namespace v2 { - export type CustomTag = _envoy_type_tracing_v2_CustomTag; - export type CustomTag__Output = _envoy_type_tracing_v2_CustomTag__Output; - } } export namespace metadata { export namespace v2 { @@ -407,390 +403,390 @@ export namespace messages { export type MetadataKind__Output = _envoy_type_metadata_v2_MetadataKind__Output; } } + export namespace tracing { + export namespace v2 { + export type CustomTag = _envoy_type_tracing_v2_CustomTag; + export type CustomTag__Output = _envoy_type_tracing_v2_CustomTag__Output; + } + } } - export namespace annotations { - } - } - export namespace udpa { - export namespace annotations { - export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; - export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; - export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; - export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; - export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; - export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; - export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; - export type StatusAnnotation = _udpa_annotations_StatusAnnotation; - export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; - } - } - export namespace validate { - export type FieldRules = _validate_FieldRules; - export type FieldRules__Output = _validate_FieldRules__Output; - export type FloatRules = _validate_FloatRules; - export type FloatRules__Output = _validate_FloatRules__Output; - export type DoubleRules = _validate_DoubleRules; - export type DoubleRules__Output = _validate_DoubleRules__Output; - export type Int32Rules = _validate_Int32Rules; - export type Int32Rules__Output = _validate_Int32Rules__Output; - export type Int64Rules = _validate_Int64Rules; - export type Int64Rules__Output = _validate_Int64Rules__Output; - export type UInt32Rules = _validate_UInt32Rules; - export type UInt32Rules__Output = _validate_UInt32Rules__Output; - export type UInt64Rules = _validate_UInt64Rules; - export type UInt64Rules__Output = _validate_UInt64Rules__Output; - export type SInt32Rules = _validate_SInt32Rules; - export type SInt32Rules__Output = _validate_SInt32Rules__Output; - export type SInt64Rules = _validate_SInt64Rules; - export type SInt64Rules__Output = _validate_SInt64Rules__Output; - export type Fixed32Rules = _validate_Fixed32Rules; - export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; - export type Fixed64Rules = _validate_Fixed64Rules; - export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; - export type SFixed32Rules = _validate_SFixed32Rules; - export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; - export type SFixed64Rules = _validate_SFixed64Rules; - export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; - export type BoolRules = _validate_BoolRules; - export type BoolRules__Output = _validate_BoolRules__Output; - export type StringRules = _validate_StringRules; - export type StringRules__Output = _validate_StringRules__Output; - export type KnownRegex = _validate_KnownRegex; - export type BytesRules = _validate_BytesRules; - export type BytesRules__Output = _validate_BytesRules__Output; - export type EnumRules = _validate_EnumRules; - export type EnumRules__Output = _validate_EnumRules__Output; - export type MessageRules = _validate_MessageRules; - export type MessageRules__Output = _validate_MessageRules__Output; - export type RepeatedRules = _validate_RepeatedRules; - export type RepeatedRules__Output = _validate_RepeatedRules__Output; - export type MapRules = _validate_MapRules; - export type MapRules__Output = _validate_MapRules__Output; - export type AnyRules = _validate_AnyRules; - export type AnyRules__Output = _validate_AnyRules__Output; - export type DurationRules = _validate_DurationRules; - export type DurationRules__Output = _validate_DurationRules__Output; - export type TimestampRules = _validate_TimestampRules; - export type TimestampRules__Output = _validate_TimestampRules__Output; } export namespace google { + export namespace api { + export type CustomHttpPattern = _google_api_CustomHttpPattern; + export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; + export type Http = _google_api_Http; + export type Http__Output = _google_api_Http__Output; + export type HttpRule = _google_api_HttpRule; + export type HttpRule__Output = _google_api_HttpRule__Output; + } export namespace protobuf { - export type Duration = _google_protobuf_Duration; - export type Duration__Output = _google_protobuf_Duration__Output; - export type DoubleValue = _google_protobuf_DoubleValue; - export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; - export type FloatValue = _google_protobuf_FloatValue; - export type FloatValue__Output = _google_protobuf_FloatValue__Output; - export type Int64Value = _google_protobuf_Int64Value; - export type Int64Value__Output = _google_protobuf_Int64Value__Output; - export type UInt64Value = _google_protobuf_UInt64Value; - export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; - export type Int32Value = _google_protobuf_Int32Value; - export type Int32Value__Output = _google_protobuf_Int32Value__Output; - export type UInt32Value = _google_protobuf_UInt32Value; - export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; + export type Any = _google_protobuf_Any; + export type Any__Output = _google_protobuf_Any__Output; export type BoolValue = _google_protobuf_BoolValue; export type BoolValue__Output = _google_protobuf_BoolValue__Output; - export type StringValue = _google_protobuf_StringValue; - export type StringValue__Output = _google_protobuf_StringValue__Output; export type BytesValue = _google_protobuf_BytesValue; export type BytesValue__Output = _google_protobuf_BytesValue__Output; - export type Any = _google_protobuf_Any; - export type Any__Output = _google_protobuf_Any__Output; - export type Struct = _google_protobuf_Struct; - export type Struct__Output = _google_protobuf_Struct__Output; - export type Value = _google_protobuf_Value; - export type Value__Output = _google_protobuf_Value__Output; - export type NullValue = _google_protobuf_NullValue; - export type ListValue = _google_protobuf_ListValue; - export type ListValue__Output = _google_protobuf_ListValue__Output; - export type Timestamp = _google_protobuf_Timestamp; - export type Timestamp__Output = _google_protobuf_Timestamp__Output; - export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; - export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; - export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; - export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; export type DescriptorProto = _google_protobuf_DescriptorProto; export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; - export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; - export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; - export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; - export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; + export type DoubleValue = _google_protobuf_DoubleValue; + export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; + export type Duration = _google_protobuf_Duration; + export type Duration__Output = _google_protobuf_Duration__Output; + export type Empty = _google_protobuf_Empty; + export type Empty__Output = _google_protobuf_Empty__Output; export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; + export type EnumOptions = _google_protobuf_EnumOptions; + export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; - export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; - export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; - export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; - export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type EnumValueOptions = _google_protobuf_EnumValueOptions; + export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; + export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; + export type FieldOptions = _google_protobuf_FieldOptions; + export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; + export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; + export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; + export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; export type FileOptions = _google_protobuf_FileOptions; export type FileOptions__Output = _google_protobuf_FileOptions__Output; + export type FloatValue = _google_protobuf_FloatValue; + export type FloatValue__Output = _google_protobuf_FloatValue__Output; + export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; + export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; + export type Int32Value = _google_protobuf_Int32Value; + export type Int32Value__Output = _google_protobuf_Int32Value__Output; + export type Int64Value = _google_protobuf_Int64Value; + export type Int64Value__Output = _google_protobuf_Int64Value__Output; + export type ListValue = _google_protobuf_ListValue; + export type ListValue__Output = _google_protobuf_ListValue__Output; export type MessageOptions = _google_protobuf_MessageOptions; export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; - export type FieldOptions = _google_protobuf_FieldOptions; - export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; + export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type MethodOptions = _google_protobuf_MethodOptions; + export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; + export type NullValue = _google_protobuf_NullValue; + export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; + export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; export type OneofOptions = _google_protobuf_OneofOptions; export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; - export type EnumOptions = _google_protobuf_EnumOptions; - export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; - export type EnumValueOptions = _google_protobuf_EnumValueOptions; - export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; + export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; export type ServiceOptions = _google_protobuf_ServiceOptions; export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; - export type MethodOptions = _google_protobuf_MethodOptions; - export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; - export type UninterpretedOption = _google_protobuf_UninterpretedOption; - export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; - export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; - export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; - export type Empty = _google_protobuf_Empty; - export type Empty__Output = _google_protobuf_Empty__Output; + export type StringValue = _google_protobuf_StringValue; + export type StringValue__Output = _google_protobuf_StringValue__Output; + export type Struct = _google_protobuf_Struct; + export type Struct__Output = _google_protobuf_Struct__Output; + export type Timestamp = _google_protobuf_Timestamp; + export type Timestamp__Output = _google_protobuf_Timestamp__Output; + export type UInt32Value = _google_protobuf_UInt32Value; + export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; + export type UInt64Value = _google_protobuf_UInt64Value; + export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; + export type UninterpretedOption = _google_protobuf_UninterpretedOption; + export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; + export type Value = _google_protobuf_Value; + export type Value__Output = _google_protobuf_Value__Output; } - export namespace api { - export type Http = _google_api_Http; - export type Http__Output = _google_api_Http__Output; - export type HttpRule = _google_api_HttpRule; - export type HttpRule__Output = _google_api_HttpRule__Output; - export type CustomHttpPattern = _google_api_CustomHttpPattern; - export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; + } + export namespace udpa { + export namespace annotations { + export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; + export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; + export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; + export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; + export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; + export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; + export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; + export type StatusAnnotation = _udpa_annotations_StatusAnnotation; + export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; } } + export namespace validate { + export type AnyRules = _validate_AnyRules; + export type AnyRules__Output = _validate_AnyRules__Output; + export type BoolRules = _validate_BoolRules; + export type BoolRules__Output = _validate_BoolRules__Output; + export type BytesRules = _validate_BytesRules; + export type BytesRules__Output = _validate_BytesRules__Output; + export type DoubleRules = _validate_DoubleRules; + export type DoubleRules__Output = _validate_DoubleRules__Output; + export type DurationRules = _validate_DurationRules; + export type DurationRules__Output = _validate_DurationRules__Output; + export type EnumRules = _validate_EnumRules; + export type EnumRules__Output = _validate_EnumRules__Output; + export type FieldRules = _validate_FieldRules; + export type FieldRules__Output = _validate_FieldRules__Output; + export type Fixed32Rules = _validate_Fixed32Rules; + export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + export type Fixed64Rules = _validate_Fixed64Rules; + export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + export type FloatRules = _validate_FloatRules; + export type FloatRules__Output = _validate_FloatRules__Output; + export type Int32Rules = _validate_Int32Rules; + export type Int32Rules__Output = _validate_Int32Rules__Output; + export type Int64Rules = _validate_Int64Rules; + export type Int64Rules__Output = _validate_Int64Rules__Output; + export type KnownRegex = _validate_KnownRegex; + export type MapRules = _validate_MapRules; + export type MapRules__Output = _validate_MapRules__Output; + export type MessageRules = _validate_MessageRules; + export type MessageRules__Output = _validate_MessageRules__Output; + export type RepeatedRules = _validate_RepeatedRules; + export type RepeatedRules__Output = _validate_RepeatedRules__Output; + export type SFixed32Rules = _validate_SFixed32Rules; + export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + export type SFixed64Rules = _validate_SFixed64Rules; + export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + export type SInt32Rules = _validate_SInt32Rules; + export type SInt32Rules__Output = _validate_SInt32Rules__Output; + export type SInt64Rules = _validate_SInt64Rules; + export type SInt64Rules__Output = _validate_SInt64Rules__Output; + export type StringRules = _validate_StringRules; + export type StringRules__Output = _validate_StringRules__Output; + export type TimestampRules = _validate_TimestampRules; + export type TimestampRules__Output = _validate_TimestampRules__Output; + export type UInt32Rules = _validate_UInt32Rules; + export type UInt32Rules__Output = _validate_UInt32Rules__Output; + export type UInt64Rules = _validate_UInt64Rules; + export type UInt64Rules__Output = _validate_UInt64Rules__Output; + } } export namespace ClientInterfaces { export namespace envoy { + export namespace annotations { + } export namespace api { export namespace v2 { export namespace Listener { - export namespace DeprecatedV1 { - } export namespace ConnectionBalanceConfig { export namespace ExactBalance { } } - } - export namespace core { - export namespace SocketOption { - } - export namespace Pipe { - } - export namespace SocketAddress { - } - export namespace TcpKeepalive { - } - export namespace BindConfig { - } - export namespace Address { - } - export namespace CidrRange { + export namespace DeprecatedV1 { } - export namespace Locality { + } + export namespace auth { + export namespace CertificateValidationContext { } - export namespace BuildVersion { + export namespace CommonTlsContext { + export namespace CombinedCertificateValidationContext { + } } - export namespace Extension { + export namespace DownstreamTlsContext { } - export namespace Node { + export namespace GenericSecret { } - export namespace Metadata { + export namespace PrivateKeyProvider { } - export namespace RuntimeUInt32 { + export namespace SdsSecretConfig { } - export namespace RuntimeDouble { + export namespace Secret { } - export namespace RuntimeFeatureFlag { + export namespace TlsCertificate { } - export namespace HeaderValue { + export namespace TlsParameters { } - export namespace HeaderValueOption { + export namespace TlsSessionTicketKeys { } - export namespace HeaderMap { + export namespace UpstreamTlsContext { } - export namespace DataSource { + } + export namespace core { + export namespace Address { } - export namespace RetryPolicy { + export namespace AggregatedConfigSource { } - export namespace RemoteDataSource { + export namespace ApiConfigSource { } export namespace AsyncDataSource { } - export namespace TransportSocket { - } - export namespace RuntimeFractionalPercent { - } - export namespace ControlPlane { - } export namespace BackoffStrategy { } - export namespace HttpUri { + export namespace BindConfig { } - export namespace ApiConfigSource { + export namespace BuildVersion { } - export namespace AggregatedConfigSource { + export namespace CidrRange { } - export namespace SelfConfigSource { + export namespace ConfigSource { } - export namespace RateLimitSettings { + export namespace ControlPlane { } - export namespace ConfigSource { + export namespace DataSource { + } + export namespace Extension { } export namespace GrpcService { export namespace EnvoyGrpc { } export namespace GoogleGrpc { - export namespace SslCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace ChannelCredentials { - } export namespace CallCredentials { - export namespace ServiceAccountJWTAccessCredentials { - } export namespace GoogleIAMCredentials { } export namespace MetadataCredentialsFromPlugin { } + export namespace ServiceAccountJWTAccessCredentials { + } export namespace StsService { } } + export namespace ChannelCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace SslCredentials { + } } } - } - export namespace listener { - export namespace Filter { + export namespace HeaderMap { } - export namespace FilterChainMatch { + export namespace HeaderValue { } - export namespace FilterChain { + export namespace HeaderValueOption { } - export namespace ListenerFilterChainMatchPredicate { - export namespace MatchSet { - } + export namespace HttpUri { } - export namespace ListenerFilter { + export namespace Locality { } - export namespace UdpListenerConfig { + export namespace Metadata { } - export namespace ActiveRawUdpListenerConfig { + export namespace Node { } - } - export namespace auth { - export namespace UpstreamTlsContext { + export namespace Pipe { } - export namespace DownstreamTlsContext { + export namespace RateLimitSettings { } - export namespace CommonTlsContext { - export namespace CombinedCertificateValidationContext { - } + export namespace RemoteDataSource { } - export namespace TlsParameters { + export namespace RetryPolicy { } - export namespace PrivateKeyProvider { + export namespace RuntimeDouble { + } + export namespace RuntimeFeatureFlag { + } + export namespace RuntimeFractionalPercent { + } + export namespace RuntimeUInt32 { + } + export namespace SelfConfigSource { + } + export namespace SocketAddress { + } + export namespace SocketOption { + } + export namespace TcpKeepalive { + } + export namespace TransportSocket { + } + } + export namespace listener { + export namespace ActiveRawUdpListenerConfig { } - export namespace TlsCertificate { + export namespace Filter { } - export namespace TlsSessionTicketKeys { + export namespace FilterChain { } - export namespace CertificateValidationContext { + export namespace FilterChainMatch { } - export namespace GenericSecret { + export namespace ListenerFilter { } - export namespace SdsSecretConfig { + export namespace ListenerFilterChainMatchPredicate { + export namespace MatchSet { + } } - export namespace Secret { + export namespace UdpListenerConfig { } } export namespace route { - export namespace VirtualHost { + export namespace CorsPolicy { + } + export namespace Decorator { + } + export namespace DirectResponseAction { } export namespace FilterAction { } - export namespace Route { + export namespace HeaderMatcher { } - export namespace WeightedCluster { - export namespace ClusterWeight { + export namespace HedgePolicy { + } + export namespace QueryParameterMatcher { + } + export namespace RateLimit { + export namespace Action { + export namespace DestinationCluster { + } + export namespace GenericKey { + } + export namespace HeaderValueMatch { + } + export namespace RemoteAddress { + } + export namespace RequestHeaders { + } + export namespace SourceCluster { + } } } - export namespace RouteMatch { - export namespace GrpcRouteMatchOptions { + export namespace RedirectAction { + } + export namespace RetryPolicy { + export namespace RetryBackOff { } - export namespace TlsContextMatchOptions { + export namespace RetryHostPredicate { + } + export namespace RetryPriority { } } - export namespace CorsPolicy { + export namespace Route { } export namespace RouteAction { - export namespace RequestMirrorPolicy { - } export namespace HashPolicy { - export namespace Header { + export namespace ConnectionProperties { } export namespace Cookie { } - export namespace ConnectionProperties { + export namespace FilterState { } - export namespace QueryParameter { + export namespace Header { } - export namespace FilterState { + export namespace QueryParameter { } } + export namespace RequestMirrorPolicy { + } export namespace UpgradeConfig { } } - export namespace RetryPolicy { - export namespace RetryPriority { - } - export namespace RetryHostPredicate { + export namespace RouteMatch { + export namespace GrpcRouteMatchOptions { } - export namespace RetryBackOff { + export namespace TlsContextMatchOptions { } } - export namespace HedgePolicy { - } - export namespace RedirectAction { - } - export namespace DirectResponseAction { - } - export namespace Decorator { - } export namespace Tracing { } export namespace VirtualCluster { } - export namespace RateLimit { - export namespace Action { - export namespace SourceCluster { - } - export namespace DestinationCluster { - } - export namespace RequestHeaders { - } - export namespace RemoteAddress { - } - export namespace GenericKey { - } - export namespace HeaderValueMatch { - } - } - } - export namespace HeaderMatcher { + export namespace VirtualHost { } - export namespace QueryParameterMatcher { + export namespace WeightedCluster { + export namespace ClusterWeight { + } } } } } export namespace config { - export namespace listener { - export namespace v2 { - export namespace ApiListener { - } - } - } export namespace filter { export namespace accesslog { export namespace v2 { @@ -798,190 +794,114 @@ export namespace ClientInterfaces { } export namespace AccessLogFilter { } - export namespace ComparisonFilter { + export namespace AndFilter { } - export namespace StatusCodeFilter { + export namespace ComparisonFilter { } export namespace DurationFilter { } - export namespace NotHealthCheckFilter { + export namespace ExtensionFilter { } - export namespace TraceableFilter { + export namespace GrpcStatusFilter { } - export namespace RuntimeFilter { + export namespace HeaderFilter { } - export namespace AndFilter { + export namespace NotHealthCheckFilter { } export namespace OrFilter { } - export namespace HeaderFilter { - } export namespace ResponseFlagFilter { } - export namespace GrpcStatusFilter { - } - export namespace ExtensionFilter { - } - } - } - } - } - export namespace type { - export namespace Percent { - } - export namespace FractionalPercent { - } - export namespace Int64Range { - } - export namespace Int32Range { - } - export namespace DoubleRange { - } - export namespace SemanticVersion { - } - export namespace matcher { - export namespace RegexMatcher { - export namespace GoogleRE2 { - } - } - export namespace RegexMatchAndSubstitute { - } - export namespace StringMatcher { - } - export namespace ListStringMatcher { - } - } - export namespace tracing { - export namespace v2 { - export namespace CustomTag { - export namespace Literal { - } - export namespace Environment { - } - export namespace Header { - } - export namespace Metadata { - } - } - } - } - export namespace metadata { - export namespace v2 { - export namespace MetadataKey { - export namespace PathSegment { - } - } - export namespace MetadataKind { - export namespace Request { - } - export namespace Route { + export namespace RuntimeFilter { } - export namespace Cluster { + export namespace StatusCodeFilter { } - export namespace Host { + export namespace TraceableFilter { } } } } - } - export namespace annotations { - } - } - export namespace udpa { - export namespace annotations { - export namespace MigrateAnnotation { - } - export namespace FieldMigrateAnnotation { - } - export namespace FileMigrateAnnotation { - } - export namespace StatusAnnotation { - } - } - } - export namespace validate { - export namespace FieldRules { - } - export namespace FloatRules { - } - export namespace DoubleRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace BoolRules { - } - export namespace StringRules { - } - export namespace BytesRules { - } - export namespace EnumRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace MapRules { - } - export namespace AnyRules { - } - export namespace DurationRules { - } - export namespace TimestampRules { - } - } - export namespace google { - export namespace protobuf { - export namespace Duration { - } - export namespace DoubleValue { + export namespace listener { + export namespace v2 { + export namespace ApiListener { + } + } } - export namespace FloatValue { + } + export namespace type { + export namespace DoubleRange { } - export namespace Int64Value { + export namespace FractionalPercent { } - export namespace UInt64Value { + export namespace Int32Range { } - export namespace Int32Value { + export namespace Int64Range { } - export namespace UInt32Value { + export namespace Percent { } - export namespace BoolValue { + export namespace SemanticVersion { } - export namespace StringValue { + export namespace matcher { + export namespace ListStringMatcher { + } + export namespace RegexMatchAndSubstitute { + } + export namespace RegexMatcher { + export namespace GoogleRE2 { + } + } + export namespace StringMatcher { + } } - export namespace BytesValue { + export namespace metadata { + export namespace v2 { + export namespace MetadataKey { + export namespace PathSegment { + } + } + export namespace MetadataKind { + export namespace Cluster { + } + export namespace Host { + } + export namespace Request { + } + export namespace Route { + } + } + } } - export namespace Any { + export namespace tracing { + export namespace v2 { + export namespace CustomTag { + export namespace Environment { + } + export namespace Header { + } + export namespace Literal { + } + export namespace Metadata { + } + } + } } - export namespace Struct { + } + } + export namespace google { + export namespace api { + export namespace CustomHttpPattern { } - export namespace Value { + export namespace Http { } - export namespace ListValue { + export namespace HttpRule { } - export namespace Timestamp { + } + export namespace protobuf { + export namespace Any { } - export namespace FileDescriptorSet { + export namespace BoolValue { } - export namespace FileDescriptorProto { + export namespace BytesValue { } export namespace DescriptorProto { export namespace ExtensionRange { @@ -989,58 +909,138 @@ export namespace ClientInterfaces { export namespace ReservedRange { } } - export namespace FieldDescriptorProto { + export namespace DoubleValue { } - export namespace OneofDescriptorProto { + export namespace Duration { + } + export namespace Empty { } export namespace EnumDescriptorProto { } + export namespace EnumOptions { + } export namespace EnumValueDescriptorProto { } - export namespace ServiceDescriptorProto { + export namespace EnumValueOptions { } - export namespace MethodDescriptorProto { + export namespace FieldDescriptorProto { + } + export namespace FieldOptions { + } + export namespace FileDescriptorProto { + } + export namespace FileDescriptorSet { } export namespace FileOptions { } - export namespace MessageOptions { + export namespace FloatValue { } - export namespace FieldOptions { + export namespace GeneratedCodeInfo { + export namespace Annotation { + } } - export namespace OneofOptions { + export namespace Int32Value { } - export namespace EnumOptions { + export namespace Int64Value { } - export namespace EnumValueOptions { + export namespace ListValue { } - export namespace ServiceOptions { + export namespace MessageOptions { + } + export namespace MethodDescriptorProto { } export namespace MethodOptions { } - export namespace UninterpretedOption { - export namespace NamePart { - } + export namespace OneofDescriptorProto { + } + export namespace OneofOptions { + } + export namespace ServiceDescriptorProto { + } + export namespace ServiceOptions { } export namespace SourceCodeInfo { export namespace Location { } } - export namespace GeneratedCodeInfo { - export namespace Annotation { + export namespace StringValue { + } + export namespace Struct { + } + export namespace Timestamp { + } + export namespace UInt32Value { + } + export namespace UInt64Value { + } + export namespace UninterpretedOption { + export namespace NamePart { } } - export namespace Empty { + export namespace Value { } } - export namespace api { - export namespace Http { + } + export namespace udpa { + export namespace annotations { + export namespace FieldMigrateAnnotation { } - export namespace HttpRule { + export namespace FileMigrateAnnotation { } - export namespace CustomHttpPattern { + export namespace MigrateAnnotation { + } + export namespace StatusAnnotation { } } } + export namespace validate { + export namespace AnyRules { + } + export namespace BoolRules { + } + export namespace BytesRules { + } + export namespace DoubleRules { + } + export namespace DurationRules { + } + export namespace EnumRules { + } + export namespace FieldRules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace FloatRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace MapRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace StringRules { + } + export namespace TimestampRules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + } } type ConstructorArguments = Constructor extends new (...args: infer Args) => any ? Args: never; @@ -1050,135 +1050,132 @@ type SubtypeConstructor = { export interface ProtoGrpcType { envoy: { + annotations: { + } api: { v2: { Listener: MessageTypeDefinition + auth: { + CertificateValidationContext: MessageTypeDefinition + CommonTlsContext: MessageTypeDefinition + DownstreamTlsContext: MessageTypeDefinition + GenericSecret: MessageTypeDefinition + PrivateKeyProvider: MessageTypeDefinition + SdsSecretConfig: MessageTypeDefinition + Secret: MessageTypeDefinition + TlsCertificate: MessageTypeDefinition + TlsParameters: MessageTypeDefinition + TlsSessionTicketKeys: MessageTypeDefinition + UpstreamTlsContext: MessageTypeDefinition + } core: { - SocketOption: MessageTypeDefinition - Pipe: MessageTypeDefinition - SocketAddress: MessageTypeDefinition - TcpKeepalive: MessageTypeDefinition - BindConfig: MessageTypeDefinition Address: MessageTypeDefinition - CidrRange: MessageTypeDefinition - RoutingPriority: EnumTypeDefinition - RequestMethod: EnumTypeDefinition - TrafficDirection: EnumTypeDefinition - Locality: MessageTypeDefinition + AggregatedConfigSource: MessageTypeDefinition + ApiConfigSource: MessageTypeDefinition + ApiVersion: EnumTypeDefinition + AsyncDataSource: MessageTypeDefinition + BackoffStrategy: MessageTypeDefinition + BindConfig: MessageTypeDefinition BuildVersion: MessageTypeDefinition + CidrRange: MessageTypeDefinition + ConfigSource: MessageTypeDefinition + ControlPlane: MessageTypeDefinition + DataSource: MessageTypeDefinition Extension: MessageTypeDefinition - Node: MessageTypeDefinition - Metadata: MessageTypeDefinition - RuntimeUInt32: MessageTypeDefinition - RuntimeDouble: MessageTypeDefinition - RuntimeFeatureFlag: MessageTypeDefinition + GrpcService: MessageTypeDefinition + HeaderMap: MessageTypeDefinition HeaderValue: MessageTypeDefinition HeaderValueOption: MessageTypeDefinition - HeaderMap: MessageTypeDefinition - DataSource: MessageTypeDefinition - RetryPolicy: MessageTypeDefinition + HttpUri: MessageTypeDefinition + Locality: MessageTypeDefinition + Metadata: MessageTypeDefinition + Node: MessageTypeDefinition + Pipe: MessageTypeDefinition + RateLimitSettings: MessageTypeDefinition RemoteDataSource: MessageTypeDefinition - AsyncDataSource: MessageTypeDefinition - TransportSocket: MessageTypeDefinition + RequestMethod: EnumTypeDefinition + RetryPolicy: MessageTypeDefinition + RoutingPriority: EnumTypeDefinition + RuntimeDouble: MessageTypeDefinition + RuntimeFeatureFlag: MessageTypeDefinition RuntimeFractionalPercent: MessageTypeDefinition - ControlPlane: MessageTypeDefinition - BackoffStrategy: MessageTypeDefinition - HttpUri: MessageTypeDefinition - ApiVersion: EnumTypeDefinition - ApiConfigSource: MessageTypeDefinition - AggregatedConfigSource: MessageTypeDefinition + RuntimeUInt32: MessageTypeDefinition SelfConfigSource: MessageTypeDefinition - RateLimitSettings: MessageTypeDefinition - ConfigSource: MessageTypeDefinition - GrpcService: MessageTypeDefinition + SocketAddress: MessageTypeDefinition + SocketOption: MessageTypeDefinition + TcpKeepalive: MessageTypeDefinition + TrafficDirection: EnumTypeDefinition + TransportSocket: MessageTypeDefinition } listener: { + ActiveRawUdpListenerConfig: MessageTypeDefinition Filter: MessageTypeDefinition - FilterChainMatch: MessageTypeDefinition FilterChain: MessageTypeDefinition - ListenerFilterChainMatchPredicate: MessageTypeDefinition + FilterChainMatch: MessageTypeDefinition ListenerFilter: MessageTypeDefinition + ListenerFilterChainMatchPredicate: MessageTypeDefinition UdpListenerConfig: MessageTypeDefinition - ActiveRawUdpListenerConfig: MessageTypeDefinition - } - auth: { - UpstreamTlsContext: MessageTypeDefinition - DownstreamTlsContext: MessageTypeDefinition - CommonTlsContext: MessageTypeDefinition - TlsParameters: MessageTypeDefinition - PrivateKeyProvider: MessageTypeDefinition - TlsCertificate: MessageTypeDefinition - TlsSessionTicketKeys: MessageTypeDefinition - CertificateValidationContext: MessageTypeDefinition - GenericSecret: MessageTypeDefinition - SdsSecretConfig: MessageTypeDefinition - Secret: MessageTypeDefinition } route: { - VirtualHost: MessageTypeDefinition - FilterAction: MessageTypeDefinition - Route: MessageTypeDefinition - WeightedCluster: MessageTypeDefinition - RouteMatch: MessageTypeDefinition CorsPolicy: MessageTypeDefinition - RouteAction: MessageTypeDefinition - RetryPolicy: MessageTypeDefinition + Decorator: MessageTypeDefinition + DirectResponseAction: MessageTypeDefinition + FilterAction: MessageTypeDefinition + HeaderMatcher: MessageTypeDefinition HedgePolicy: MessageTypeDefinition + QueryParameterMatcher: MessageTypeDefinition + RateLimit: MessageTypeDefinition RedirectAction: MessageTypeDefinition - DirectResponseAction: MessageTypeDefinition - Decorator: MessageTypeDefinition + RetryPolicy: MessageTypeDefinition + Route: MessageTypeDefinition + RouteAction: MessageTypeDefinition + RouteMatch: MessageTypeDefinition Tracing: MessageTypeDefinition VirtualCluster: MessageTypeDefinition - RateLimit: MessageTypeDefinition - HeaderMatcher: MessageTypeDefinition - QueryParameterMatcher: MessageTypeDefinition + VirtualHost: MessageTypeDefinition + WeightedCluster: MessageTypeDefinition } } } config: { - listener: { - v2: { - ApiListener: MessageTypeDefinition - } - } filter: { accesslog: { v2: { AccessLog: MessageTypeDefinition AccessLogFilter: MessageTypeDefinition + AndFilter: MessageTypeDefinition ComparisonFilter: MessageTypeDefinition - StatusCodeFilter: MessageTypeDefinition DurationFilter: MessageTypeDefinition + ExtensionFilter: MessageTypeDefinition + GrpcStatusFilter: MessageTypeDefinition + HeaderFilter: MessageTypeDefinition NotHealthCheckFilter: MessageTypeDefinition - TraceableFilter: MessageTypeDefinition - RuntimeFilter: MessageTypeDefinition - AndFilter: MessageTypeDefinition OrFilter: MessageTypeDefinition - HeaderFilter: MessageTypeDefinition ResponseFlagFilter: MessageTypeDefinition - GrpcStatusFilter: MessageTypeDefinition - ExtensionFilter: MessageTypeDefinition + RuntimeFilter: MessageTypeDefinition + StatusCodeFilter: MessageTypeDefinition + TraceableFilter: MessageTypeDefinition } } } + listener: { + v2: { + ApiListener: MessageTypeDefinition + } + } } type: { - Percent: MessageTypeDefinition + DoubleRange: MessageTypeDefinition FractionalPercent: MessageTypeDefinition - Int64Range: MessageTypeDefinition Int32Range: MessageTypeDefinition - DoubleRange: MessageTypeDefinition + Int64Range: MessageTypeDefinition + Percent: MessageTypeDefinition SemanticVersion: MessageTypeDefinition matcher: { - RegexMatcher: MessageTypeDefinition + ListStringMatcher: MessageTypeDefinition RegexMatchAndSubstitute: MessageTypeDefinition + RegexMatcher: MessageTypeDefinition StringMatcher: MessageTypeDefinition - ListStringMatcher: MessageTypeDefinition - } - tracing: { - v2: { - CustomTag: MessageTypeDefinition - } } metadata: { v2: { @@ -1186,324 +1183,323 @@ export interface ProtoGrpcType { MetadataKind: MessageTypeDefinition } } + tracing: { + v2: { + CustomTag: MessageTypeDefinition + } + } } - annotations: { + } + google: { + api: { + CustomHttpPattern: MessageTypeDefinition + Http: MessageTypeDefinition + HttpRule: MessageTypeDefinition + } + protobuf: { + Any: MessageTypeDefinition + BoolValue: MessageTypeDefinition + BytesValue: MessageTypeDefinition + DescriptorProto: MessageTypeDefinition + DoubleValue: MessageTypeDefinition + Duration: MessageTypeDefinition + Empty: MessageTypeDefinition + EnumDescriptorProto: MessageTypeDefinition + EnumOptions: MessageTypeDefinition + EnumValueDescriptorProto: MessageTypeDefinition + EnumValueOptions: MessageTypeDefinition + FieldDescriptorProto: MessageTypeDefinition + FieldOptions: MessageTypeDefinition + FileDescriptorProto: MessageTypeDefinition + FileDescriptorSet: MessageTypeDefinition + FileOptions: MessageTypeDefinition + FloatValue: MessageTypeDefinition + GeneratedCodeInfo: MessageTypeDefinition + Int32Value: MessageTypeDefinition + Int64Value: MessageTypeDefinition + ListValue: MessageTypeDefinition + MessageOptions: MessageTypeDefinition + MethodDescriptorProto: MessageTypeDefinition + MethodOptions: MessageTypeDefinition + NullValue: EnumTypeDefinition + OneofDescriptorProto: MessageTypeDefinition + OneofOptions: MessageTypeDefinition + ServiceDescriptorProto: MessageTypeDefinition + ServiceOptions: MessageTypeDefinition + SourceCodeInfo: MessageTypeDefinition + StringValue: MessageTypeDefinition + Struct: MessageTypeDefinition + Timestamp: MessageTypeDefinition + UInt32Value: MessageTypeDefinition + UInt64Value: MessageTypeDefinition + UninterpretedOption: MessageTypeDefinition + Value: MessageTypeDefinition } } udpa: { annotations: { - MigrateAnnotation: MessageTypeDefinition FieldMigrateAnnotation: MessageTypeDefinition FileMigrateAnnotation: MessageTypeDefinition + MigrateAnnotation: MessageTypeDefinition PackageVersionStatus: EnumTypeDefinition StatusAnnotation: MessageTypeDefinition } } validate: { + AnyRules: MessageTypeDefinition + BoolRules: MessageTypeDefinition + BytesRules: MessageTypeDefinition + DoubleRules: MessageTypeDefinition + DurationRules: MessageTypeDefinition + EnumRules: MessageTypeDefinition FieldRules: MessageTypeDefinition + Fixed32Rules: MessageTypeDefinition + Fixed64Rules: MessageTypeDefinition FloatRules: MessageTypeDefinition - DoubleRules: MessageTypeDefinition Int32Rules: MessageTypeDefinition Int64Rules: MessageTypeDefinition - UInt32Rules: MessageTypeDefinition - UInt64Rules: MessageTypeDefinition - SInt32Rules: MessageTypeDefinition - SInt64Rules: MessageTypeDefinition - Fixed32Rules: MessageTypeDefinition - Fixed64Rules: MessageTypeDefinition - SFixed32Rules: MessageTypeDefinition - SFixed64Rules: MessageTypeDefinition - BoolRules: MessageTypeDefinition - StringRules: MessageTypeDefinition KnownRegex: EnumTypeDefinition - BytesRules: MessageTypeDefinition - EnumRules: MessageTypeDefinition + MapRules: MessageTypeDefinition MessageRules: MessageTypeDefinition RepeatedRules: MessageTypeDefinition - MapRules: MessageTypeDefinition - AnyRules: MessageTypeDefinition - DurationRules: MessageTypeDefinition + SFixed32Rules: MessageTypeDefinition + SFixed64Rules: MessageTypeDefinition + SInt32Rules: MessageTypeDefinition + SInt64Rules: MessageTypeDefinition + StringRules: MessageTypeDefinition TimestampRules: MessageTypeDefinition - } - google: { - protobuf: { - Duration: MessageTypeDefinition - DoubleValue: MessageTypeDefinition - FloatValue: MessageTypeDefinition - Int64Value: MessageTypeDefinition - UInt64Value: MessageTypeDefinition - Int32Value: MessageTypeDefinition - UInt32Value: MessageTypeDefinition - BoolValue: MessageTypeDefinition - StringValue: MessageTypeDefinition - BytesValue: MessageTypeDefinition - Any: MessageTypeDefinition - Struct: MessageTypeDefinition - Value: MessageTypeDefinition - NullValue: EnumTypeDefinition - ListValue: MessageTypeDefinition - Timestamp: MessageTypeDefinition - FileDescriptorSet: MessageTypeDefinition - FileDescriptorProto: MessageTypeDefinition - DescriptorProto: MessageTypeDefinition - FieldDescriptorProto: MessageTypeDefinition - OneofDescriptorProto: MessageTypeDefinition - EnumDescriptorProto: MessageTypeDefinition - EnumValueDescriptorProto: MessageTypeDefinition - ServiceDescriptorProto: MessageTypeDefinition - MethodDescriptorProto: MessageTypeDefinition - FileOptions: MessageTypeDefinition - MessageOptions: MessageTypeDefinition - FieldOptions: MessageTypeDefinition - OneofOptions: MessageTypeDefinition - EnumOptions: MessageTypeDefinition - EnumValueOptions: MessageTypeDefinition - ServiceOptions: MessageTypeDefinition - MethodOptions: MessageTypeDefinition - UninterpretedOption: MessageTypeDefinition - SourceCodeInfo: MessageTypeDefinition - GeneratedCodeInfo: MessageTypeDefinition - Empty: MessageTypeDefinition - } - api: { - Http: MessageTypeDefinition - HttpRule: MessageTypeDefinition - CustomHttpPattern: MessageTypeDefinition - } + UInt32Rules: MessageTypeDefinition + UInt64Rules: MessageTypeDefinition } } export namespace ServiceHandlers { export namespace envoy { + export namespace annotations { + } export namespace api { export namespace v2 { export namespace Listener { - export namespace DeprecatedV1 { - } export namespace ConnectionBalanceConfig { export namespace ExactBalance { } } - } - export namespace core { - export namespace SocketOption { - } - export namespace Pipe { - } - export namespace SocketAddress { - } - export namespace TcpKeepalive { - } - export namespace BindConfig { - } - export namespace Address { - } - export namespace CidrRange { - } - export namespace Locality { - } - export namespace BuildVersion { - } - export namespace Extension { + export namespace DeprecatedV1 { } - export namespace Node { + } + export namespace auth { + export namespace CertificateValidationContext { } - export namespace Metadata { + export namespace CommonTlsContext { + export namespace CombinedCertificateValidationContext { + } } - export namespace RuntimeUInt32 { + export namespace DownstreamTlsContext { } - export namespace RuntimeDouble { + export namespace GenericSecret { } - export namespace RuntimeFeatureFlag { + export namespace PrivateKeyProvider { } - export namespace HeaderValue { + export namespace SdsSecretConfig { } - export namespace HeaderValueOption { + export namespace Secret { } - export namespace HeaderMap { + export namespace TlsCertificate { } - export namespace DataSource { + export namespace TlsParameters { } - export namespace RetryPolicy { + export namespace TlsSessionTicketKeys { } - export namespace RemoteDataSource { + export namespace UpstreamTlsContext { } - export namespace AsyncDataSource { + } + export namespace core { + export namespace Address { } - export namespace TransportSocket { + export namespace AggregatedConfigSource { } - export namespace RuntimeFractionalPercent { + export namespace ApiConfigSource { } - export namespace ControlPlane { + export namespace AsyncDataSource { } export namespace BackoffStrategy { } - export namespace HttpUri { + export namespace BindConfig { } - export namespace ApiConfigSource { + export namespace BuildVersion { } - export namespace AggregatedConfigSource { + export namespace CidrRange { } - export namespace SelfConfigSource { + export namespace ConfigSource { } - export namespace RateLimitSettings { + export namespace ControlPlane { } - export namespace ConfigSource { + export namespace DataSource { + } + export namespace Extension { } export namespace GrpcService { export namespace EnvoyGrpc { } export namespace GoogleGrpc { - export namespace SslCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace ChannelCredentials { - } export namespace CallCredentials { - export namespace ServiceAccountJWTAccessCredentials { - } export namespace GoogleIAMCredentials { } export namespace MetadataCredentialsFromPlugin { } + export namespace ServiceAccountJWTAccessCredentials { + } export namespace StsService { } } + export namespace ChannelCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace SslCredentials { + } } } - } - export namespace listener { - export namespace Filter { + export namespace HeaderMap { } - export namespace FilterChainMatch { + export namespace HeaderValue { } - export namespace FilterChain { + export namespace HeaderValueOption { } - export namespace ListenerFilterChainMatchPredicate { - export namespace MatchSet { - } + export namespace HttpUri { } - export namespace ListenerFilter { + export namespace Locality { } - export namespace UdpListenerConfig { + export namespace Metadata { } - export namespace ActiveRawUdpListenerConfig { + export namespace Node { } - } - export namespace auth { - export namespace UpstreamTlsContext { + export namespace Pipe { } - export namespace DownstreamTlsContext { + export namespace RateLimitSettings { } - export namespace CommonTlsContext { - export namespace CombinedCertificateValidationContext { - } + export namespace RemoteDataSource { } - export namespace TlsParameters { + export namespace RetryPolicy { } - export namespace PrivateKeyProvider { + export namespace RuntimeDouble { } - export namespace TlsCertificate { + export namespace RuntimeFeatureFlag { } - export namespace TlsSessionTicketKeys { + export namespace RuntimeFractionalPercent { } - export namespace CertificateValidationContext { + export namespace RuntimeUInt32 { } - export namespace GenericSecret { + export namespace SelfConfigSource { } - export namespace SdsSecretConfig { + export namespace SocketAddress { } - export namespace Secret { + export namespace SocketOption { + } + export namespace TcpKeepalive { + } + export namespace TransportSocket { + } + } + export namespace listener { + export namespace ActiveRawUdpListenerConfig { + } + export namespace Filter { + } + export namespace FilterChain { + } + export namespace FilterChainMatch { + } + export namespace ListenerFilter { + } + export namespace ListenerFilterChainMatchPredicate { + export namespace MatchSet { + } + } + export namespace UdpListenerConfig { } } export namespace route { - export namespace VirtualHost { + export namespace CorsPolicy { + } + export namespace Decorator { + } + export namespace DirectResponseAction { } export namespace FilterAction { } - export namespace Route { + export namespace HeaderMatcher { } - export namespace WeightedCluster { - export namespace ClusterWeight { + export namespace HedgePolicy { + } + export namespace QueryParameterMatcher { + } + export namespace RateLimit { + export namespace Action { + export namespace DestinationCluster { + } + export namespace GenericKey { + } + export namespace HeaderValueMatch { + } + export namespace RemoteAddress { + } + export namespace RequestHeaders { + } + export namespace SourceCluster { + } } } - export namespace RouteMatch { - export namespace GrpcRouteMatchOptions { + export namespace RedirectAction { + } + export namespace RetryPolicy { + export namespace RetryBackOff { } - export namespace TlsContextMatchOptions { + export namespace RetryHostPredicate { + } + export namespace RetryPriority { } } - export namespace CorsPolicy { + export namespace Route { } export namespace RouteAction { - export namespace RequestMirrorPolicy { - } export namespace HashPolicy { - export namespace Header { + export namespace ConnectionProperties { } export namespace Cookie { } - export namespace ConnectionProperties { + export namespace FilterState { } - export namespace QueryParameter { + export namespace Header { } - export namespace FilterState { + export namespace QueryParameter { } } + export namespace RequestMirrorPolicy { + } export namespace UpgradeConfig { } } - export namespace RetryPolicy { - export namespace RetryPriority { - } - export namespace RetryHostPredicate { + export namespace RouteMatch { + export namespace GrpcRouteMatchOptions { } - export namespace RetryBackOff { + export namespace TlsContextMatchOptions { } } - export namespace HedgePolicy { - } - export namespace RedirectAction { - } - export namespace DirectResponseAction { - } - export namespace Decorator { - } export namespace Tracing { } export namespace VirtualCluster { } - export namespace RateLimit { - export namespace Action { - export namespace SourceCluster { - } - export namespace DestinationCluster { - } - export namespace RequestHeaders { - } - export namespace RemoteAddress { - } - export namespace GenericKey { - } - export namespace HeaderValueMatch { - } - } - } - export namespace HeaderMatcher { + export namespace VirtualHost { } - export namespace QueryParameterMatcher { + export namespace WeightedCluster { + export namespace ClusterWeight { + } } } } } export namespace config { - export namespace listener { - export namespace v2 { - export namespace ApiListener { - } - } - } export namespace filter { export namespace accesslog { export namespace v2 { @@ -1511,72 +1507,64 @@ export namespace ServiceHandlers { } export namespace AccessLogFilter { } - export namespace ComparisonFilter { + export namespace AndFilter { } - export namespace StatusCodeFilter { + export namespace ComparisonFilter { } export namespace DurationFilter { } - export namespace NotHealthCheckFilter { + export namespace ExtensionFilter { } - export namespace TraceableFilter { + export namespace GrpcStatusFilter { } - export namespace RuntimeFilter { + export namespace HeaderFilter { } - export namespace AndFilter { + export namespace NotHealthCheckFilter { } export namespace OrFilter { } - export namespace HeaderFilter { - } export namespace ResponseFlagFilter { } - export namespace GrpcStatusFilter { + export namespace RuntimeFilter { } - export namespace ExtensionFilter { + export namespace StatusCodeFilter { + } + export namespace TraceableFilter { } } } } + export namespace listener { + export namespace v2 { + export namespace ApiListener { + } + } + } } export namespace type { - export namespace Percent { + export namespace DoubleRange { } export namespace FractionalPercent { } - export namespace Int64Range { - } export namespace Int32Range { } - export namespace DoubleRange { + export namespace Int64Range { + } + export namespace Percent { } export namespace SemanticVersion { } export namespace matcher { + export namespace ListStringMatcher { + } + export namespace RegexMatchAndSubstitute { + } export namespace RegexMatcher { export namespace GoogleRE2 { } } - export namespace RegexMatchAndSubstitute { - } export namespace StringMatcher { } - export namespace ListStringMatcher { - } - } - export namespace tracing { - export namespace v2 { - export namespace CustomTag { - export namespace Literal { - } - export namespace Environment { - } - export namespace Header { - } - export namespace Metadata { - } - } - } } export namespace metadata { export namespace v2 { @@ -1585,173 +1573,185 @@ export namespace ServiceHandlers { } } export namespace MetadataKind { + export namespace Cluster { + } + export namespace Host { + } export namespace Request { } export namespace Route { } - export namespace Cluster { + } + } + } + export namespace tracing { + export namespace v2 { + export namespace CustomTag { + export namespace Environment { } - export namespace Host { + export namespace Header { + } + export namespace Literal { + } + export namespace Metadata { } } } } } - export namespace annotations { - } } - export namespace udpa { - export namespace annotations { - export namespace MigrateAnnotation { - } - export namespace FieldMigrateAnnotation { + export namespace google { + export namespace api { + export namespace CustomHttpPattern { } - export namespace FileMigrateAnnotation { + export namespace Http { } - export namespace StatusAnnotation { + export namespace HttpRule { } } - } - export namespace validate { - export namespace FieldRules { - } - export namespace FloatRules { - } - export namespace DoubleRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace BoolRules { - } - export namespace StringRules { - } - export namespace BytesRules { - } - export namespace EnumRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace MapRules { - } - export namespace AnyRules { - } - export namespace DurationRules { - } - export namespace TimestampRules { - } - } - export namespace google { export namespace protobuf { - export namespace Duration { - } - export namespace DoubleValue { + export namespace Any { } - export namespace FloatValue { + export namespace BoolValue { } - export namespace Int64Value { + export namespace BytesValue { } - export namespace UInt64Value { + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } } - export namespace Int32Value { + export namespace DoubleValue { } - export namespace UInt32Value { + export namespace Duration { } - export namespace BoolValue { + export namespace Empty { } - export namespace StringValue { + export namespace EnumDescriptorProto { } - export namespace BytesValue { + export namespace EnumOptions { } - export namespace Any { + export namespace EnumValueDescriptorProto { } - export namespace Struct { + export namespace EnumValueOptions { } - export namespace Value { + export namespace FieldDescriptorProto { } - export namespace ListValue { + export namespace FieldOptions { } - export namespace Timestamp { + export namespace FileDescriptorProto { } export namespace FileDescriptorSet { } - export namespace FileDescriptorProto { + export namespace FileOptions { } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } + export namespace FloatValue { } - export namespace FieldDescriptorProto { + export namespace GeneratedCodeInfo { + export namespace Annotation { + } } - export namespace OneofDescriptorProto { + export namespace Int32Value { } - export namespace EnumDescriptorProto { + export namespace Int64Value { } - export namespace EnumValueDescriptorProto { + export namespace ListValue { } - export namespace ServiceDescriptorProto { + export namespace MessageOptions { } export namespace MethodDescriptorProto { } - export namespace FileOptions { - } - export namespace MessageOptions { + export namespace MethodOptions { } - export namespace FieldOptions { + export namespace OneofDescriptorProto { } export namespace OneofOptions { } - export namespace EnumOptions { - } - export namespace EnumValueOptions { + export namespace ServiceDescriptorProto { } export namespace ServiceOptions { } - export namespace MethodOptions { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } export namespace SourceCodeInfo { export namespace Location { } } - export namespace GeneratedCodeInfo { - export namespace Annotation { + export namespace StringValue { + } + export namespace Struct { + } + export namespace Timestamp { + } + export namespace UInt32Value { + } + export namespace UInt64Value { + } + export namespace UninterpretedOption { + export namespace NamePart { } } - export namespace Empty { + export namespace Value { } } - export namespace api { - export namespace Http { + } + export namespace udpa { + export namespace annotations { + export namespace FieldMigrateAnnotation { } - export namespace HttpRule { + export namespace FileMigrateAnnotation { } - export namespace CustomHttpPattern { + export namespace MigrateAnnotation { + } + export namespace StatusAnnotation { } } } + export namespace validate { + export namespace AnyRules { + } + export namespace BoolRules { + } + export namespace BytesRules { + } + export namespace DoubleRules { + } + export namespace DurationRules { + } + export namespace EnumRules { + } + export namespace FieldRules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace FloatRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace MapRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace StringRules { + } + export namespace TimestampRules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + } } diff --git a/packages/grpc-js/src/generated/route.ts b/packages/grpc-js/src/generated/route.ts index b7d34ee2e..b3de909f2 100644 --- a/packages/grpc-js/src/generated/route.ts +++ b/packages/grpc-js/src/generated/route.ts @@ -3,142 +3,144 @@ import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@g import { RouteConfiguration as _envoy_api_v2_RouteConfiguration, RouteConfiguration__Output as _envoy_api_v2_RouteConfiguration__Output } from './envoy/api/v2/RouteConfiguration'; import { Vhds as _envoy_api_v2_Vhds, Vhds__Output as _envoy_api_v2_Vhds__Output } from './envoy/api/v2/Vhds'; -import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; -import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; -import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; -import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; +import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from './envoy/api/v2/core/AggregatedConfigSource'; +import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; +import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; +import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; +import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; +import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; +import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; +import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; +import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; -import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; -import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; -import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; -import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; -import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; +import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; +import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; -import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; -import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; -import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; +import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; +import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; +import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; +import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; -import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; -import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; +import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; +import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; +import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; +import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; +import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; -import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; -import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; -import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from './envoy/api/v2/core/AggregatedConfigSource'; +import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from './envoy/api/v2/core/SelfConfigSource'; -import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; -import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; -import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; -import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; -import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; -import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; -import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; -import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; -import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; -import { VirtualHost as _envoy_api_v2_route_VirtualHost, VirtualHost__Output as _envoy_api_v2_route_VirtualHost__Output } from './envoy/api/v2/route/VirtualHost'; -import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from './envoy/api/v2/route/FilterAction'; -import { Route as _envoy_api_v2_route_Route, Route__Output as _envoy_api_v2_route_Route__Output } from './envoy/api/v2/route/Route'; -import { WeightedCluster as _envoy_api_v2_route_WeightedCluster, WeightedCluster__Output as _envoy_api_v2_route_WeightedCluster__Output } from './envoy/api/v2/route/WeightedCluster'; -import { RouteMatch as _envoy_api_v2_route_RouteMatch, RouteMatch__Output as _envoy_api_v2_route_RouteMatch__Output } from './envoy/api/v2/route/RouteMatch'; +import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; +import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; +import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; import { CorsPolicy as _envoy_api_v2_route_CorsPolicy, CorsPolicy__Output as _envoy_api_v2_route_CorsPolicy__Output } from './envoy/api/v2/route/CorsPolicy'; -import { RouteAction as _envoy_api_v2_route_RouteAction, RouteAction__Output as _envoy_api_v2_route_RouteAction__Output } from './envoy/api/v2/route/RouteAction'; -import { RetryPolicy as _envoy_api_v2_route_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_route_RetryPolicy__Output } from './envoy/api/v2/route/RetryPolicy'; +import { Decorator as _envoy_api_v2_route_Decorator, Decorator__Output as _envoy_api_v2_route_Decorator__Output } from './envoy/api/v2/route/Decorator'; +import { DirectResponseAction as _envoy_api_v2_route_DirectResponseAction, DirectResponseAction__Output as _envoy_api_v2_route_DirectResponseAction__Output } from './envoy/api/v2/route/DirectResponseAction'; +import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from './envoy/api/v2/route/FilterAction'; +import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from './envoy/api/v2/route/HeaderMatcher'; import { HedgePolicy as _envoy_api_v2_route_HedgePolicy, HedgePolicy__Output as _envoy_api_v2_route_HedgePolicy__Output } from './envoy/api/v2/route/HedgePolicy'; +import { QueryParameterMatcher as _envoy_api_v2_route_QueryParameterMatcher, QueryParameterMatcher__Output as _envoy_api_v2_route_QueryParameterMatcher__Output } from './envoy/api/v2/route/QueryParameterMatcher'; +import { RateLimit as _envoy_api_v2_route_RateLimit, RateLimit__Output as _envoy_api_v2_route_RateLimit__Output } from './envoy/api/v2/route/RateLimit'; import { RedirectAction as _envoy_api_v2_route_RedirectAction, RedirectAction__Output as _envoy_api_v2_route_RedirectAction__Output } from './envoy/api/v2/route/RedirectAction'; -import { DirectResponseAction as _envoy_api_v2_route_DirectResponseAction, DirectResponseAction__Output as _envoy_api_v2_route_DirectResponseAction__Output } from './envoy/api/v2/route/DirectResponseAction'; -import { Decorator as _envoy_api_v2_route_Decorator, Decorator__Output as _envoy_api_v2_route_Decorator__Output } from './envoy/api/v2/route/Decorator'; +import { RetryPolicy as _envoy_api_v2_route_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_route_RetryPolicy__Output } from './envoy/api/v2/route/RetryPolicy'; +import { Route as _envoy_api_v2_route_Route, Route__Output as _envoy_api_v2_route_Route__Output } from './envoy/api/v2/route/Route'; +import { RouteAction as _envoy_api_v2_route_RouteAction, RouteAction__Output as _envoy_api_v2_route_RouteAction__Output } from './envoy/api/v2/route/RouteAction'; +import { RouteMatch as _envoy_api_v2_route_RouteMatch, RouteMatch__Output as _envoy_api_v2_route_RouteMatch__Output } from './envoy/api/v2/route/RouteMatch'; import { Tracing as _envoy_api_v2_route_Tracing, Tracing__Output as _envoy_api_v2_route_Tracing__Output } from './envoy/api/v2/route/Tracing'; import { VirtualCluster as _envoy_api_v2_route_VirtualCluster, VirtualCluster__Output as _envoy_api_v2_route_VirtualCluster__Output } from './envoy/api/v2/route/VirtualCluster'; -import { RateLimit as _envoy_api_v2_route_RateLimit, RateLimit__Output as _envoy_api_v2_route_RateLimit__Output } from './envoy/api/v2/route/RateLimit'; -import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from './envoy/api/v2/route/HeaderMatcher'; -import { QueryParameterMatcher as _envoy_api_v2_route_QueryParameterMatcher, QueryParameterMatcher__Output as _envoy_api_v2_route_QueryParameterMatcher__Output } from './envoy/api/v2/route/QueryParameterMatcher'; -import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; +import { VirtualHost as _envoy_api_v2_route_VirtualHost, VirtualHost__Output as _envoy_api_v2_route_VirtualHost__Output } from './envoy/api/v2/route/VirtualHost'; +import { WeightedCluster as _envoy_api_v2_route_WeightedCluster, WeightedCluster__Output as _envoy_api_v2_route_WeightedCluster__Output } from './envoy/api/v2/route/WeightedCluster'; +import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; +import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; +import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; +import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; -import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; +import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; +import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; -import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; -import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; -import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; -import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; -import { CustomTag as _envoy_type_tracing_v2_CustomTag, CustomTag__Output as _envoy_type_tracing_v2_CustomTag__Output } from './envoy/type/tracing/v2/CustomTag'; import { MetadataKey as _envoy_type_metadata_v2_MetadataKey, MetadataKey__Output as _envoy_type_metadata_v2_MetadataKey__Output } from './envoy/type/metadata/v2/MetadataKey'; import { MetadataKind as _envoy_type_metadata_v2_MetadataKind, MetadataKind__Output as _envoy_type_metadata_v2_MetadataKind__Output } from './envoy/type/metadata/v2/MetadataKind'; -import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; -import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; -import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; -import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; -import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; -import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; -import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; -import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; -import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; -import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; -import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; -import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; -import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; -import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; -import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; -import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; -import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; -import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; -import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; -import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; -import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; -import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; -import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; -import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; -import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; -import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; -import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; -import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; -import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; -import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; -import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; -import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; -import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; -import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; -import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; +import { CustomTag as _envoy_type_tracing_v2_CustomTag, CustomTag__Output as _envoy_type_tracing_v2_CustomTag__Output } from './envoy/type/tracing/v2/CustomTag'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; -import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; -import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; -import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; -import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; -import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; -import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; -import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; -import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; -import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; -import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; -import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; +import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; +import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; +import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; -import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; -import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; +import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; +import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; +import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; +import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; +import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; +import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; +import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; +import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; +import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; +import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; -import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; +import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; +import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; +import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; +import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; -import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; -import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; +import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; -import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; -import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; -import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; -import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; +import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; +import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; +import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; +import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; +import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; +import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; +import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; +import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; +import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; +import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; +import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; +import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; +import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; +import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; +import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; +import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; +import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; +import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; +import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; +import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; +import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; +import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; +import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; +import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; +import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; +import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; +import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; +import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; +import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; +import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; +import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; +import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; +import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; +import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; export namespace messages { export namespace envoy { + export namespace annotations { + } export namespace api { export namespace v2 { export type RouteConfiguration = _envoy_api_v2_RouteConfiguration; @@ -146,143 +148,137 @@ export namespace messages { export type Vhds = _envoy_api_v2_Vhds; export type Vhds__Output = _envoy_api_v2_Vhds__Output; export namespace core { - export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; - export type RequestMethod = _envoy_api_v2_core_RequestMethod; - export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; - export type Locality = _envoy_api_v2_core_Locality; - export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type Address = _envoy_api_v2_core_Address; + export type Address__Output = _envoy_api_v2_core_Address__Output; + export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; + export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; + export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; + export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; + export type ApiVersion = _envoy_api_v2_core_ApiVersion; + export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; + export type BindConfig = _envoy_api_v2_core_BindConfig; + export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; export type BuildVersion = _envoy_api_v2_core_BuildVersion; export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + export type CidrRange = _envoy_api_v2_core_CidrRange; + export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + export type ConfigSource = _envoy_api_v2_core_ConfigSource; + export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; + export type ControlPlane = _envoy_api_v2_core_ControlPlane; + export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + export type DataSource = _envoy_api_v2_core_DataSource; + export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; export type Extension = _envoy_api_v2_core_Extension; export type Extension__Output = _envoy_api_v2_core_Extension__Output; - export type Node = _envoy_api_v2_core_Node; - export type Node__Output = _envoy_api_v2_core_Node__Output; - export type Metadata = _envoy_api_v2_core_Metadata; - export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; - export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; - export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; - export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; - export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; - export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; - export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + export type GrpcService = _envoy_api_v2_core_GrpcService; + export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + export type HeaderMap = _envoy_api_v2_core_HeaderMap; + export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; export type HeaderValue = _envoy_api_v2_core_HeaderValue; export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; - export type HeaderMap = _envoy_api_v2_core_HeaderMap; - export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; - export type DataSource = _envoy_api_v2_core_DataSource; - export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; - export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; - export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type HttpUri = _envoy_api_v2_core_HttpUri; + export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + export type Locality = _envoy_api_v2_core_Locality; + export type Locality__Output = _envoy_api_v2_core_Locality__Output; + export type Metadata = _envoy_api_v2_core_Metadata; + export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + export type Node = _envoy_api_v2_core_Node; + export type Node__Output = _envoy_api_v2_core_Node__Output; + export type Pipe = _envoy_api_v2_core_Pipe; + export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; + export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; - export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; - export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; - export type TransportSocket = _envoy_api_v2_core_TransportSocket; - export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; + export type RequestMethod = _envoy_api_v2_core_RequestMethod; + export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; - export type ControlPlane = _envoy_api_v2_core_ControlPlane; - export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - export type ApiVersion = _envoy_api_v2_core_ApiVersion; - export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; - export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; - export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; - export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; + export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; - export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; - export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; - export type ConfigSource = _envoy_api_v2_core_ConfigSource; - export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; - export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; - export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; - export type Pipe = _envoy_api_v2_core_Pipe; - export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; export type SocketAddress = _envoy_api_v2_core_SocketAddress; export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; - export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; - export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; - export type BindConfig = _envoy_api_v2_core_BindConfig; - export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; - export type Address = _envoy_api_v2_core_Address; - export type Address__Output = _envoy_api_v2_core_Address__Output; - export type CidrRange = _envoy_api_v2_core_CidrRange; - export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; - export type HttpUri = _envoy_api_v2_core_HttpUri; - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; - export type GrpcService = _envoy_api_v2_core_GrpcService; - export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; export type SocketOption = _envoy_api_v2_core_SocketOption; export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; + export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; + export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + export type TransportSocket = _envoy_api_v2_core_TransportSocket; + export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; } export namespace route { - export type VirtualHost = _envoy_api_v2_route_VirtualHost; - export type VirtualHost__Output = _envoy_api_v2_route_VirtualHost__Output; - export type FilterAction = _envoy_api_v2_route_FilterAction; - export type FilterAction__Output = _envoy_api_v2_route_FilterAction__Output; - export type Route = _envoy_api_v2_route_Route; - export type Route__Output = _envoy_api_v2_route_Route__Output; - export type WeightedCluster = _envoy_api_v2_route_WeightedCluster; - export type WeightedCluster__Output = _envoy_api_v2_route_WeightedCluster__Output; - export type RouteMatch = _envoy_api_v2_route_RouteMatch; - export type RouteMatch__Output = _envoy_api_v2_route_RouteMatch__Output; export type CorsPolicy = _envoy_api_v2_route_CorsPolicy; export type CorsPolicy__Output = _envoy_api_v2_route_CorsPolicy__Output; - export type RouteAction = _envoy_api_v2_route_RouteAction; - export type RouteAction__Output = _envoy_api_v2_route_RouteAction__Output; - export type RetryPolicy = _envoy_api_v2_route_RetryPolicy; - export type RetryPolicy__Output = _envoy_api_v2_route_RetryPolicy__Output; + export type Decorator = _envoy_api_v2_route_Decorator; + export type Decorator__Output = _envoy_api_v2_route_Decorator__Output; + export type DirectResponseAction = _envoy_api_v2_route_DirectResponseAction; + export type DirectResponseAction__Output = _envoy_api_v2_route_DirectResponseAction__Output; + export type FilterAction = _envoy_api_v2_route_FilterAction; + export type FilterAction__Output = _envoy_api_v2_route_FilterAction__Output; + export type HeaderMatcher = _envoy_api_v2_route_HeaderMatcher; + export type HeaderMatcher__Output = _envoy_api_v2_route_HeaderMatcher__Output; export type HedgePolicy = _envoy_api_v2_route_HedgePolicy; export type HedgePolicy__Output = _envoy_api_v2_route_HedgePolicy__Output; + export type QueryParameterMatcher = _envoy_api_v2_route_QueryParameterMatcher; + export type QueryParameterMatcher__Output = _envoy_api_v2_route_QueryParameterMatcher__Output; + export type RateLimit = _envoy_api_v2_route_RateLimit; + export type RateLimit__Output = _envoy_api_v2_route_RateLimit__Output; export type RedirectAction = _envoy_api_v2_route_RedirectAction; export type RedirectAction__Output = _envoy_api_v2_route_RedirectAction__Output; - export type DirectResponseAction = _envoy_api_v2_route_DirectResponseAction; - export type DirectResponseAction__Output = _envoy_api_v2_route_DirectResponseAction__Output; - export type Decorator = _envoy_api_v2_route_Decorator; - export type Decorator__Output = _envoy_api_v2_route_Decorator__Output; + export type RetryPolicy = _envoy_api_v2_route_RetryPolicy; + export type RetryPolicy__Output = _envoy_api_v2_route_RetryPolicy__Output; + export type Route = _envoy_api_v2_route_Route; + export type Route__Output = _envoy_api_v2_route_Route__Output; + export type RouteAction = _envoy_api_v2_route_RouteAction; + export type RouteAction__Output = _envoy_api_v2_route_RouteAction__Output; + export type RouteMatch = _envoy_api_v2_route_RouteMatch; + export type RouteMatch__Output = _envoy_api_v2_route_RouteMatch__Output; export type Tracing = _envoy_api_v2_route_Tracing; export type Tracing__Output = _envoy_api_v2_route_Tracing__Output; export type VirtualCluster = _envoy_api_v2_route_VirtualCluster; export type VirtualCluster__Output = _envoy_api_v2_route_VirtualCluster__Output; - export type RateLimit = _envoy_api_v2_route_RateLimit; - export type RateLimit__Output = _envoy_api_v2_route_RateLimit__Output; - export type HeaderMatcher = _envoy_api_v2_route_HeaderMatcher; - export type HeaderMatcher__Output = _envoy_api_v2_route_HeaderMatcher__Output; - export type QueryParameterMatcher = _envoy_api_v2_route_QueryParameterMatcher; - export type QueryParameterMatcher__Output = _envoy_api_v2_route_QueryParameterMatcher__Output; + export type VirtualHost = _envoy_api_v2_route_VirtualHost; + export type VirtualHost__Output = _envoy_api_v2_route_VirtualHost__Output; + export type WeightedCluster = _envoy_api_v2_route_WeightedCluster; + export type WeightedCluster__Output = _envoy_api_v2_route_WeightedCluster__Output; } } } export namespace type { - export type Percent = _envoy_type_Percent; - export type Percent__Output = _envoy_type_Percent__Output; + export type DoubleRange = _envoy_type_DoubleRange; + export type DoubleRange__Output = _envoy_type_DoubleRange__Output; export type FractionalPercent = _envoy_type_FractionalPercent; export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + export type Int32Range = _envoy_type_Int32Range; + export type Int32Range__Output = _envoy_type_Int32Range__Output; + export type Int64Range = _envoy_type_Int64Range; + export type Int64Range__Output = _envoy_type_Int64Range__Output; + export type Percent = _envoy_type_Percent; + export type Percent__Output = _envoy_type_Percent__Output; export type SemanticVersion = _envoy_type_SemanticVersion; export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; export namespace matcher { - export type RegexMatcher = _envoy_type_matcher_RegexMatcher; - export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; + export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; + export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; + export type RegexMatcher = _envoy_type_matcher_RegexMatcher; + export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; export type StringMatcher = _envoy_type_matcher_StringMatcher; export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; - export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; - export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; - } - export type Int64Range = _envoy_type_Int64Range; - export type Int64Range__Output = _envoy_type_Int64Range__Output; - export type Int32Range = _envoy_type_Int32Range; - export type Int32Range__Output = _envoy_type_Int32Range__Output; - export type DoubleRange = _envoy_type_DoubleRange; - export type DoubleRange__Output = _envoy_type_DoubleRange__Output; - export namespace tracing { - export namespace v2 { - export type CustomTag = _envoy_type_tracing_v2_CustomTag; - export type CustomTag__Output = _envoy_type_tracing_v2_CustomTag__Output; - } } export namespace metadata { export namespace v2 { @@ -292,153 +288,159 @@ export namespace messages { export type MetadataKind__Output = _envoy_type_metadata_v2_MetadataKind__Output; } } + export namespace tracing { + export namespace v2 { + export type CustomTag = _envoy_type_tracing_v2_CustomTag; + export type CustomTag__Output = _envoy_type_tracing_v2_CustomTag__Output; + } + } } - export namespace annotations { + } + export namespace google { + export namespace protobuf { + export type Any = _google_protobuf_Any; + export type Any__Output = _google_protobuf_Any__Output; + export type BoolValue = _google_protobuf_BoolValue; + export type BoolValue__Output = _google_protobuf_BoolValue__Output; + export type BytesValue = _google_protobuf_BytesValue; + export type BytesValue__Output = _google_protobuf_BytesValue__Output; + export type DescriptorProto = _google_protobuf_DescriptorProto; + export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; + export type DoubleValue = _google_protobuf_DoubleValue; + export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; + export type Duration = _google_protobuf_Duration; + export type Duration__Output = _google_protobuf_Duration__Output; + export type Empty = _google_protobuf_Empty; + export type Empty__Output = _google_protobuf_Empty__Output; + export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; + export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; + export type EnumOptions = _google_protobuf_EnumOptions; + export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; + export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; + export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; + export type EnumValueOptions = _google_protobuf_EnumValueOptions; + export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; + export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; + export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; + export type FieldOptions = _google_protobuf_FieldOptions; + export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; + export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; + export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; + export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; + export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; + export type FileOptions = _google_protobuf_FileOptions; + export type FileOptions__Output = _google_protobuf_FileOptions__Output; + export type FloatValue = _google_protobuf_FloatValue; + export type FloatValue__Output = _google_protobuf_FloatValue__Output; + export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; + export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; + export type Int32Value = _google_protobuf_Int32Value; + export type Int32Value__Output = _google_protobuf_Int32Value__Output; + export type Int64Value = _google_protobuf_Int64Value; + export type Int64Value__Output = _google_protobuf_Int64Value__Output; + export type ListValue = _google_protobuf_ListValue; + export type ListValue__Output = _google_protobuf_ListValue__Output; + export type MessageOptions = _google_protobuf_MessageOptions; + export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; + export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; + export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; + export type MethodOptions = _google_protobuf_MethodOptions; + export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; + export type NullValue = _google_protobuf_NullValue; + export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; + export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; + export type OneofOptions = _google_protobuf_OneofOptions; + export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; + export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; + export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; + export type ServiceOptions = _google_protobuf_ServiceOptions; + export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; + export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; + export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; + export type StringValue = _google_protobuf_StringValue; + export type StringValue__Output = _google_protobuf_StringValue__Output; + export type Struct = _google_protobuf_Struct; + export type Struct__Output = _google_protobuf_Struct__Output; + export type Timestamp = _google_protobuf_Timestamp; + export type Timestamp__Output = _google_protobuf_Timestamp__Output; + export type UInt32Value = _google_protobuf_UInt32Value; + export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; + export type UInt64Value = _google_protobuf_UInt64Value; + export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; + export type UninterpretedOption = _google_protobuf_UninterpretedOption; + export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; + export type Value = _google_protobuf_Value; + export type Value__Output = _google_protobuf_Value__Output; } } export namespace udpa { export namespace annotations { - export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; - export type StatusAnnotation = _udpa_annotations_StatusAnnotation; - export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; - export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; - export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; + export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; + export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; + export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; + export type StatusAnnotation = _udpa_annotations_StatusAnnotation; + export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; } } export namespace validate { + export type AnyRules = _validate_AnyRules; + export type AnyRules__Output = _validate_AnyRules__Output; + export type BoolRules = _validate_BoolRules; + export type BoolRules__Output = _validate_BoolRules__Output; + export type BytesRules = _validate_BytesRules; + export type BytesRules__Output = _validate_BytesRules__Output; + export type DoubleRules = _validate_DoubleRules; + export type DoubleRules__Output = _validate_DoubleRules__Output; + export type DurationRules = _validate_DurationRules; + export type DurationRules__Output = _validate_DurationRules__Output; + export type EnumRules = _validate_EnumRules; + export type EnumRules__Output = _validate_EnumRules__Output; export type FieldRules = _validate_FieldRules; export type FieldRules__Output = _validate_FieldRules__Output; + export type Fixed32Rules = _validate_Fixed32Rules; + export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + export type Fixed64Rules = _validate_Fixed64Rules; + export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; export type FloatRules = _validate_FloatRules; export type FloatRules__Output = _validate_FloatRules__Output; - export type DoubleRules = _validate_DoubleRules; - export type DoubleRules__Output = _validate_DoubleRules__Output; export type Int32Rules = _validate_Int32Rules; export type Int32Rules__Output = _validate_Int32Rules__Output; export type Int64Rules = _validate_Int64Rules; export type Int64Rules__Output = _validate_Int64Rules__Output; - export type UInt32Rules = _validate_UInt32Rules; - export type UInt32Rules__Output = _validate_UInt32Rules__Output; - export type UInt64Rules = _validate_UInt64Rules; - export type UInt64Rules__Output = _validate_UInt64Rules__Output; - export type SInt32Rules = _validate_SInt32Rules; - export type SInt32Rules__Output = _validate_SInt32Rules__Output; - export type SInt64Rules = _validate_SInt64Rules; - export type SInt64Rules__Output = _validate_SInt64Rules__Output; - export type Fixed32Rules = _validate_Fixed32Rules; - export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; - export type Fixed64Rules = _validate_Fixed64Rules; - export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + export type KnownRegex = _validate_KnownRegex; + export type MapRules = _validate_MapRules; + export type MapRules__Output = _validate_MapRules__Output; + export type MessageRules = _validate_MessageRules; + export type MessageRules__Output = _validate_MessageRules__Output; + export type RepeatedRules = _validate_RepeatedRules; + export type RepeatedRules__Output = _validate_RepeatedRules__Output; export type SFixed32Rules = _validate_SFixed32Rules; export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; export type SFixed64Rules = _validate_SFixed64Rules; export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; - export type BoolRules = _validate_BoolRules; - export type BoolRules__Output = _validate_BoolRules__Output; + export type SInt32Rules = _validate_SInt32Rules; + export type SInt32Rules__Output = _validate_SInt32Rules__Output; + export type SInt64Rules = _validate_SInt64Rules; + export type SInt64Rules__Output = _validate_SInt64Rules__Output; export type StringRules = _validate_StringRules; export type StringRules__Output = _validate_StringRules__Output; - export type KnownRegex = _validate_KnownRegex; - export type BytesRules = _validate_BytesRules; - export type BytesRules__Output = _validate_BytesRules__Output; - export type EnumRules = _validate_EnumRules; - export type EnumRules__Output = _validate_EnumRules__Output; - export type MessageRules = _validate_MessageRules; - export type MessageRules__Output = _validate_MessageRules__Output; - export type RepeatedRules = _validate_RepeatedRules; - export type RepeatedRules__Output = _validate_RepeatedRules__Output; - export type MapRules = _validate_MapRules; - export type MapRules__Output = _validate_MapRules__Output; - export type AnyRules = _validate_AnyRules; - export type AnyRules__Output = _validate_AnyRules__Output; - export type DurationRules = _validate_DurationRules; - export type DurationRules__Output = _validate_DurationRules__Output; export type TimestampRules = _validate_TimestampRules; export type TimestampRules__Output = _validate_TimestampRules__Output; - } - export namespace google { - export namespace protobuf { - export type DoubleValue = _google_protobuf_DoubleValue; - export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; - export type FloatValue = _google_protobuf_FloatValue; - export type FloatValue__Output = _google_protobuf_FloatValue__Output; - export type Int64Value = _google_protobuf_Int64Value; - export type Int64Value__Output = _google_protobuf_Int64Value__Output; - export type UInt64Value = _google_protobuf_UInt64Value; - export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; - export type Int32Value = _google_protobuf_Int32Value; - export type Int32Value__Output = _google_protobuf_Int32Value__Output; - export type UInt32Value = _google_protobuf_UInt32Value; - export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; - export type BoolValue = _google_protobuf_BoolValue; - export type BoolValue__Output = _google_protobuf_BoolValue__Output; - export type StringValue = _google_protobuf_StringValue; - export type StringValue__Output = _google_protobuf_StringValue__Output; - export type BytesValue = _google_protobuf_BytesValue; - export type BytesValue__Output = _google_protobuf_BytesValue__Output; - export type Any = _google_protobuf_Any; - export type Any__Output = _google_protobuf_Any__Output; - export type Duration = _google_protobuf_Duration; - export type Duration__Output = _google_protobuf_Duration__Output; - export type Struct = _google_protobuf_Struct; - export type Struct__Output = _google_protobuf_Struct__Output; - export type Value = _google_protobuf_Value; - export type Value__Output = _google_protobuf_Value__Output; - export type NullValue = _google_protobuf_NullValue; - export type ListValue = _google_protobuf_ListValue; - export type ListValue__Output = _google_protobuf_ListValue__Output; - export type Timestamp = _google_protobuf_Timestamp; - export type Timestamp__Output = _google_protobuf_Timestamp__Output; - export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; - export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; - export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; - export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; - export type DescriptorProto = _google_protobuf_DescriptorProto; - export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; - export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; - export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; - export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; - export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; - export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; - export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; - export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; - export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; - export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; - export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; - export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; - export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; - export type FileOptions = _google_protobuf_FileOptions; - export type FileOptions__Output = _google_protobuf_FileOptions__Output; - export type MessageOptions = _google_protobuf_MessageOptions; - export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; - export type FieldOptions = _google_protobuf_FieldOptions; - export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; - export type OneofOptions = _google_protobuf_OneofOptions; - export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; - export type EnumOptions = _google_protobuf_EnumOptions; - export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; - export type EnumValueOptions = _google_protobuf_EnumValueOptions; - export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; - export type ServiceOptions = _google_protobuf_ServiceOptions; - export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; - export type MethodOptions = _google_protobuf_MethodOptions; - export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; - export type UninterpretedOption = _google_protobuf_UninterpretedOption; - export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; - export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; - export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; - export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; - export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; - export type Empty = _google_protobuf_Empty; - export type Empty__Output = _google_protobuf_Empty__Output; - } + export type UInt32Rules = _validate_UInt32Rules; + export type UInt32Rules__Output = _validate_UInt32Rules__Output; + export type UInt64Rules = _validate_UInt64Rules; + export type UInt64Rules__Output = _validate_UInt64Rules__Output; } } export namespace ClientInterfaces { export namespace envoy { + export namespace annotations { + } export namespace api { export namespace v2 { export namespace RouteConfiguration { @@ -446,211 +448,197 @@ export namespace ClientInterfaces { export namespace Vhds { } export namespace core { - export namespace Locality { + export namespace Address { + } + export namespace AggregatedConfigSource { + } + export namespace ApiConfigSource { + } + export namespace AsyncDataSource { + } + export namespace BackoffStrategy { + } + export namespace BindConfig { } export namespace BuildVersion { } - export namespace Extension { + export namespace CidrRange { } - export namespace Node { + export namespace ConfigSource { } - export namespace Metadata { + export namespace ControlPlane { } - export namespace RuntimeUInt32 { + export namespace DataSource { } - export namespace RuntimeDouble { + export namespace Extension { } - export namespace RuntimeFeatureFlag { + export namespace GrpcService { + export namespace EnvoyGrpc { + } + export namespace GoogleGrpc { + export namespace CallCredentials { + export namespace GoogleIAMCredentials { + } + export namespace MetadataCredentialsFromPlugin { + } + export namespace ServiceAccountJWTAccessCredentials { + } + export namespace StsService { + } + } + export namespace ChannelCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace SslCredentials { + } + } + } + export namespace HeaderMap { } export namespace HeaderValue { } export namespace HeaderValueOption { } - export namespace HeaderMap { + export namespace HttpUri { } - export namespace DataSource { + export namespace Locality { } - export namespace RetryPolicy { + export namespace Metadata { } - export namespace RemoteDataSource { + export namespace Node { } - export namespace AsyncDataSource { + export namespace Pipe { } - export namespace TransportSocket { + export namespace RateLimitSettings { } - export namespace RuntimeFractionalPercent { + export namespace RemoteDataSource { } - export namespace ControlPlane { + export namespace RetryPolicy { } - export namespace ApiConfigSource { + export namespace RuntimeDouble { } - export namespace AggregatedConfigSource { + export namespace RuntimeFeatureFlag { + } + export namespace RuntimeFractionalPercent { + } + export namespace RuntimeUInt32 { } export namespace SelfConfigSource { } - export namespace RateLimitSettings { + export namespace SocketAddress { } - export namespace ConfigSource { + export namespace SocketOption { } - export namespace BackoffStrategy { + export namespace TcpKeepalive { } - export namespace Pipe { + export namespace TransportSocket { } - export namespace SocketAddress { + } + export namespace route { + export namespace CorsPolicy { } - export namespace TcpKeepalive { + export namespace Decorator { } - export namespace BindConfig { + export namespace DirectResponseAction { } - export namespace Address { + export namespace FilterAction { } - export namespace CidrRange { + export namespace HeaderMatcher { } - export namespace HttpUri { + export namespace HedgePolicy { } - export namespace GrpcService { - export namespace EnvoyGrpc { - } - export namespace GoogleGrpc { - export namespace SslCredentials { + export namespace QueryParameterMatcher { + } + export namespace RateLimit { + export namespace Action { + export namespace DestinationCluster { } - export namespace GoogleLocalCredentials { + export namespace GenericKey { } - export namespace ChannelCredentials { + export namespace HeaderValueMatch { + } + export namespace RemoteAddress { + } + export namespace RequestHeaders { } - export namespace CallCredentials { - export namespace ServiceAccountJWTAccessCredentials { - } - export namespace GoogleIAMCredentials { - } - export namespace MetadataCredentialsFromPlugin { - } - export namespace StsService { - } + export namespace SourceCluster { } } } - export namespace SocketOption { - } - } - export namespace route { - export namespace VirtualHost { - } - export namespace FilterAction { - } - export namespace Route { + export namespace RedirectAction { } - export namespace WeightedCluster { - export namespace ClusterWeight { + export namespace RetryPolicy { + export namespace RetryBackOff { } - } - export namespace RouteMatch { - export namespace GrpcRouteMatchOptions { + export namespace RetryHostPredicate { } - export namespace TlsContextMatchOptions { + export namespace RetryPriority { } } - export namespace CorsPolicy { + export namespace Route { } export namespace RouteAction { - export namespace RequestMirrorPolicy { - } export namespace HashPolicy { - export namespace Header { + export namespace ConnectionProperties { } export namespace Cookie { } - export namespace ConnectionProperties { + export namespace FilterState { } - export namespace QueryParameter { + export namespace Header { } - export namespace FilterState { + export namespace QueryParameter { } } + export namespace RequestMirrorPolicy { + } export namespace UpgradeConfig { } } - export namespace RetryPolicy { - export namespace RetryPriority { - } - export namespace RetryHostPredicate { + export namespace RouteMatch { + export namespace GrpcRouteMatchOptions { } - export namespace RetryBackOff { + export namespace TlsContextMatchOptions { } } - export namespace HedgePolicy { - } - export namespace RedirectAction { - } - export namespace DirectResponseAction { - } - export namespace Decorator { - } export namespace Tracing { } export namespace VirtualCluster { } - export namespace RateLimit { - export namespace Action { - export namespace SourceCluster { - } - export namespace DestinationCluster { - } - export namespace RequestHeaders { - } - export namespace RemoteAddress { - } - export namespace GenericKey { - } - export namespace HeaderValueMatch { - } - } - } - export namespace HeaderMatcher { + export namespace VirtualHost { } - export namespace QueryParameterMatcher { + export namespace WeightedCluster { + export namespace ClusterWeight { + } } } } } export namespace type { - export namespace Percent { + export namespace DoubleRange { } export namespace FractionalPercent { } + export namespace Int32Range { + } + export namespace Int64Range { + } + export namespace Percent { + } export namespace SemanticVersion { } export namespace matcher { + export namespace ListStringMatcher { + } + export namespace RegexMatchAndSubstitute { + } export namespace RegexMatcher { export namespace GoogleRE2 { } } - export namespace RegexMatchAndSubstitute { - } export namespace StringMatcher { } - export namespace ListStringMatcher { - } - } - export namespace Int64Range { - } - export namespace Int32Range { - } - export namespace DoubleRange { - } - export namespace tracing { - export namespace v2 { - export namespace CustomTag { - export namespace Literal { - } - export namespace Environment { - } - export namespace Header { - } - export namespace Metadata { - } - } - } } export namespace metadata { export namespace v2 { @@ -659,165 +647,177 @@ export namespace ClientInterfaces { } } export namespace MetadataKind { + export namespace Cluster { + } + export namespace Host { + } export namespace Request { } export namespace Route { } - export namespace Cluster { + } + } + } + export namespace tracing { + export namespace v2 { + export namespace CustomTag { + export namespace Environment { } - export namespace Host { + export namespace Header { + } + export namespace Literal { + } + export namespace Metadata { } } } } } - export namespace annotations { - } - } - export namespace udpa { - export namespace annotations { - export namespace StatusAnnotation { - } - export namespace MigrateAnnotation { - } - export namespace FieldMigrateAnnotation { - } - export namespace FileMigrateAnnotation { - } - } - } - export namespace validate { - export namespace FieldRules { - } - export namespace FloatRules { - } - export namespace DoubleRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace BoolRules { - } - export namespace StringRules { - } - export namespace BytesRules { - } - export namespace EnumRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace MapRules { - } - export namespace AnyRules { - } - export namespace DurationRules { - } - export namespace TimestampRules { - } } export namespace google { export namespace protobuf { - export namespace DoubleValue { - } - export namespace FloatValue { + export namespace Any { } - export namespace Int64Value { + export namespace BoolValue { } - export namespace UInt64Value { + export namespace BytesValue { } - export namespace Int32Value { + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } } - export namespace UInt32Value { + export namespace DoubleValue { } - export namespace BoolValue { + export namespace Duration { } - export namespace StringValue { + export namespace Empty { } - export namespace BytesValue { + export namespace EnumDescriptorProto { } - export namespace Any { + export namespace EnumOptions { } - export namespace Duration { + export namespace EnumValueDescriptorProto { } - export namespace Struct { + export namespace EnumValueOptions { } - export namespace Value { + export namespace FieldDescriptorProto { } - export namespace ListValue { + export namespace FieldOptions { } - export namespace Timestamp { + export namespace FileDescriptorProto { } export namespace FileDescriptorSet { } - export namespace FileDescriptorProto { + export namespace FileOptions { } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { + export namespace FloatValue { + } + export namespace GeneratedCodeInfo { + export namespace Annotation { } } - export namespace FieldDescriptorProto { + export namespace Int32Value { } - export namespace OneofDescriptorProto { + export namespace Int64Value { } - export namespace EnumDescriptorProto { + export namespace ListValue { } - export namespace EnumValueDescriptorProto { + export namespace MessageOptions { } - export namespace ServiceDescriptorProto { + export namespace MethodDescriptorProto { + } + export namespace MethodOptions { + } + export namespace OneofDescriptorProto { } - export namespace MethodDescriptorProto { + export namespace OneofOptions { } - export namespace FileOptions { + export namespace ServiceDescriptorProto { } - export namespace MessageOptions { + export namespace ServiceOptions { } - export namespace FieldOptions { + export namespace SourceCodeInfo { + export namespace Location { + } } - export namespace OneofOptions { + export namespace StringValue { } - export namespace EnumOptions { + export namespace Struct { } - export namespace EnumValueOptions { + export namespace Timestamp { } - export namespace ServiceOptions { + export namespace UInt32Value { } - export namespace MethodOptions { + export namespace UInt64Value { } export namespace UninterpretedOption { export namespace NamePart { } } - export namespace SourceCodeInfo { - export namespace Location { - } + export namespace Value { } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } + } + } + export namespace udpa { + export namespace annotations { + export namespace FieldMigrateAnnotation { } - export namespace Empty { + export namespace FileMigrateAnnotation { + } + export namespace MigrateAnnotation { } + export namespace StatusAnnotation { + } + } + } + export namespace validate { + export namespace AnyRules { + } + export namespace BoolRules { + } + export namespace BytesRules { + } + export namespace DoubleRules { + } + export namespace DurationRules { + } + export namespace EnumRules { + } + export namespace FieldRules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace FloatRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace MapRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace StringRules { + } + export namespace TimestampRules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { } } } @@ -829,87 +829,84 @@ type SubtypeConstructor = { export interface ProtoGrpcType { envoy: { + annotations: { + } api: { v2: { RouteConfiguration: MessageTypeDefinition Vhds: MessageTypeDefinition core: { - RoutingPriority: EnumTypeDefinition - RequestMethod: EnumTypeDefinition - TrafficDirection: EnumTypeDefinition - Locality: MessageTypeDefinition + Address: MessageTypeDefinition + AggregatedConfigSource: MessageTypeDefinition + ApiConfigSource: MessageTypeDefinition + ApiVersion: EnumTypeDefinition + AsyncDataSource: MessageTypeDefinition + BackoffStrategy: MessageTypeDefinition + BindConfig: MessageTypeDefinition BuildVersion: MessageTypeDefinition + CidrRange: MessageTypeDefinition + ConfigSource: MessageTypeDefinition + ControlPlane: MessageTypeDefinition + DataSource: MessageTypeDefinition Extension: MessageTypeDefinition - Node: MessageTypeDefinition - Metadata: MessageTypeDefinition - RuntimeUInt32: MessageTypeDefinition - RuntimeDouble: MessageTypeDefinition - RuntimeFeatureFlag: MessageTypeDefinition + GrpcService: MessageTypeDefinition + HeaderMap: MessageTypeDefinition HeaderValue: MessageTypeDefinition HeaderValueOption: MessageTypeDefinition - HeaderMap: MessageTypeDefinition - DataSource: MessageTypeDefinition - RetryPolicy: MessageTypeDefinition + HttpUri: MessageTypeDefinition + Locality: MessageTypeDefinition + Metadata: MessageTypeDefinition + Node: MessageTypeDefinition + Pipe: MessageTypeDefinition + RateLimitSettings: MessageTypeDefinition RemoteDataSource: MessageTypeDefinition - AsyncDataSource: MessageTypeDefinition - TransportSocket: MessageTypeDefinition + RequestMethod: EnumTypeDefinition + RetryPolicy: MessageTypeDefinition + RoutingPriority: EnumTypeDefinition + RuntimeDouble: MessageTypeDefinition + RuntimeFeatureFlag: MessageTypeDefinition RuntimeFractionalPercent: MessageTypeDefinition - ControlPlane: MessageTypeDefinition - ApiVersion: EnumTypeDefinition - ApiConfigSource: MessageTypeDefinition - AggregatedConfigSource: MessageTypeDefinition + RuntimeUInt32: MessageTypeDefinition SelfConfigSource: MessageTypeDefinition - RateLimitSettings: MessageTypeDefinition - ConfigSource: MessageTypeDefinition - BackoffStrategy: MessageTypeDefinition - Pipe: MessageTypeDefinition SocketAddress: MessageTypeDefinition - TcpKeepalive: MessageTypeDefinition - BindConfig: MessageTypeDefinition - Address: MessageTypeDefinition - CidrRange: MessageTypeDefinition - HttpUri: MessageTypeDefinition - GrpcService: MessageTypeDefinition SocketOption: MessageTypeDefinition + TcpKeepalive: MessageTypeDefinition + TrafficDirection: EnumTypeDefinition + TransportSocket: MessageTypeDefinition } route: { - VirtualHost: MessageTypeDefinition - FilterAction: MessageTypeDefinition - Route: MessageTypeDefinition - WeightedCluster: MessageTypeDefinition - RouteMatch: MessageTypeDefinition CorsPolicy: MessageTypeDefinition - RouteAction: MessageTypeDefinition - RetryPolicy: MessageTypeDefinition + Decorator: MessageTypeDefinition + DirectResponseAction: MessageTypeDefinition + FilterAction: MessageTypeDefinition + HeaderMatcher: MessageTypeDefinition HedgePolicy: MessageTypeDefinition + QueryParameterMatcher: MessageTypeDefinition + RateLimit: MessageTypeDefinition RedirectAction: MessageTypeDefinition - DirectResponseAction: MessageTypeDefinition - Decorator: MessageTypeDefinition + RetryPolicy: MessageTypeDefinition + Route: MessageTypeDefinition + RouteAction: MessageTypeDefinition + RouteMatch: MessageTypeDefinition Tracing: MessageTypeDefinition VirtualCluster: MessageTypeDefinition - RateLimit: MessageTypeDefinition - HeaderMatcher: MessageTypeDefinition - QueryParameterMatcher: MessageTypeDefinition + VirtualHost: MessageTypeDefinition + WeightedCluster: MessageTypeDefinition } } } type: { - Percent: MessageTypeDefinition + DoubleRange: MessageTypeDefinition FractionalPercent: MessageTypeDefinition + Int32Range: MessageTypeDefinition + Int64Range: MessageTypeDefinition + Percent: MessageTypeDefinition SemanticVersion: MessageTypeDefinition matcher: { - RegexMatcher: MessageTypeDefinition + ListStringMatcher: MessageTypeDefinition RegexMatchAndSubstitute: MessageTypeDefinition + RegexMatcher: MessageTypeDefinition StringMatcher: MessageTypeDefinition - ListStringMatcher: MessageTypeDefinition - } - Int64Range: MessageTypeDefinition - Int32Range: MessageTypeDefinition - DoubleRange: MessageTypeDefinition - tracing: { - v2: { - CustomTag: MessageTypeDefinition - } } metadata: { v2: { @@ -917,90 +914,95 @@ export interface ProtoGrpcType { MetadataKind: MessageTypeDefinition } } + tracing: { + v2: { + CustomTag: MessageTypeDefinition + } + } } - annotations: { - } - } - udpa: { - annotations: { - PackageVersionStatus: EnumTypeDefinition - StatusAnnotation: MessageTypeDefinition - MigrateAnnotation: MessageTypeDefinition - FieldMigrateAnnotation: MessageTypeDefinition - FileMigrateAnnotation: MessageTypeDefinition - } - } - validate: { - FieldRules: MessageTypeDefinition - FloatRules: MessageTypeDefinition - DoubleRules: MessageTypeDefinition - Int32Rules: MessageTypeDefinition - Int64Rules: MessageTypeDefinition - UInt32Rules: MessageTypeDefinition - UInt64Rules: MessageTypeDefinition - SInt32Rules: MessageTypeDefinition - SInt64Rules: MessageTypeDefinition - Fixed32Rules: MessageTypeDefinition - Fixed64Rules: MessageTypeDefinition - SFixed32Rules: MessageTypeDefinition - SFixed64Rules: MessageTypeDefinition - BoolRules: MessageTypeDefinition - StringRules: MessageTypeDefinition - KnownRegex: EnumTypeDefinition - BytesRules: MessageTypeDefinition - EnumRules: MessageTypeDefinition - MessageRules: MessageTypeDefinition - RepeatedRules: MessageTypeDefinition - MapRules: MessageTypeDefinition - AnyRules: MessageTypeDefinition - DurationRules: MessageTypeDefinition - TimestampRules: MessageTypeDefinition } google: { protobuf: { - DoubleValue: MessageTypeDefinition - FloatValue: MessageTypeDefinition - Int64Value: MessageTypeDefinition - UInt64Value: MessageTypeDefinition - Int32Value: MessageTypeDefinition - UInt32Value: MessageTypeDefinition + Any: MessageTypeDefinition BoolValue: MessageTypeDefinition - StringValue: MessageTypeDefinition BytesValue: MessageTypeDefinition - Any: MessageTypeDefinition - Duration: MessageTypeDefinition - Struct: MessageTypeDefinition - Value: MessageTypeDefinition - NullValue: EnumTypeDefinition - ListValue: MessageTypeDefinition - Timestamp: MessageTypeDefinition - FileDescriptorSet: MessageTypeDefinition - FileDescriptorProto: MessageTypeDefinition DescriptorProto: MessageTypeDefinition - FieldDescriptorProto: MessageTypeDefinition - OneofDescriptorProto: MessageTypeDefinition + DoubleValue: MessageTypeDefinition + Duration: MessageTypeDefinition + Empty: MessageTypeDefinition EnumDescriptorProto: MessageTypeDefinition + EnumOptions: MessageTypeDefinition EnumValueDescriptorProto: MessageTypeDefinition - ServiceDescriptorProto: MessageTypeDefinition - MethodDescriptorProto: MessageTypeDefinition + EnumValueOptions: MessageTypeDefinition + FieldDescriptorProto: MessageTypeDefinition + FieldOptions: MessageTypeDefinition + FileDescriptorProto: MessageTypeDefinition + FileDescriptorSet: MessageTypeDefinition FileOptions: MessageTypeDefinition + FloatValue: MessageTypeDefinition + GeneratedCodeInfo: MessageTypeDefinition + Int32Value: MessageTypeDefinition + Int64Value: MessageTypeDefinition + ListValue: MessageTypeDefinition MessageOptions: MessageTypeDefinition - FieldOptions: MessageTypeDefinition + MethodDescriptorProto: MessageTypeDefinition + MethodOptions: MessageTypeDefinition + NullValue: EnumTypeDefinition + OneofDescriptorProto: MessageTypeDefinition OneofOptions: MessageTypeDefinition - EnumOptions: MessageTypeDefinition - EnumValueOptions: MessageTypeDefinition + ServiceDescriptorProto: MessageTypeDefinition ServiceOptions: MessageTypeDefinition - MethodOptions: MessageTypeDefinition - UninterpretedOption: MessageTypeDefinition SourceCodeInfo: MessageTypeDefinition - GeneratedCodeInfo: MessageTypeDefinition - Empty: MessageTypeDefinition + StringValue: MessageTypeDefinition + Struct: MessageTypeDefinition + Timestamp: MessageTypeDefinition + UInt32Value: MessageTypeDefinition + UInt64Value: MessageTypeDefinition + UninterpretedOption: MessageTypeDefinition + Value: MessageTypeDefinition + } + } + udpa: { + annotations: { + FieldMigrateAnnotation: MessageTypeDefinition + FileMigrateAnnotation: MessageTypeDefinition + MigrateAnnotation: MessageTypeDefinition + PackageVersionStatus: EnumTypeDefinition + StatusAnnotation: MessageTypeDefinition } } + validate: { + AnyRules: MessageTypeDefinition + BoolRules: MessageTypeDefinition + BytesRules: MessageTypeDefinition + DoubleRules: MessageTypeDefinition + DurationRules: MessageTypeDefinition + EnumRules: MessageTypeDefinition + FieldRules: MessageTypeDefinition + Fixed32Rules: MessageTypeDefinition + Fixed64Rules: MessageTypeDefinition + FloatRules: MessageTypeDefinition + Int32Rules: MessageTypeDefinition + Int64Rules: MessageTypeDefinition + KnownRegex: EnumTypeDefinition + MapRules: MessageTypeDefinition + MessageRules: MessageTypeDefinition + RepeatedRules: MessageTypeDefinition + SFixed32Rules: MessageTypeDefinition + SFixed64Rules: MessageTypeDefinition + SInt32Rules: MessageTypeDefinition + SInt64Rules: MessageTypeDefinition + StringRules: MessageTypeDefinition + TimestampRules: MessageTypeDefinition + UInt32Rules: MessageTypeDefinition + UInt64Rules: MessageTypeDefinition + } } export namespace ServiceHandlers { export namespace envoy { + export namespace annotations { + } export namespace api { export namespace v2 { export namespace RouteConfiguration { @@ -1008,211 +1010,197 @@ export namespace ServiceHandlers { export namespace Vhds { } export namespace core { - export namespace Locality { + export namespace Address { + } + export namespace AggregatedConfigSource { + } + export namespace ApiConfigSource { + } + export namespace AsyncDataSource { + } + export namespace BackoffStrategy { + } + export namespace BindConfig { } export namespace BuildVersion { } - export namespace Extension { + export namespace CidrRange { } - export namespace Node { + export namespace ConfigSource { } - export namespace Metadata { + export namespace ControlPlane { } - export namespace RuntimeUInt32 { + export namespace DataSource { } - export namespace RuntimeDouble { + export namespace Extension { } - export namespace RuntimeFeatureFlag { + export namespace GrpcService { + export namespace EnvoyGrpc { + } + export namespace GoogleGrpc { + export namespace CallCredentials { + export namespace GoogleIAMCredentials { + } + export namespace MetadataCredentialsFromPlugin { + } + export namespace ServiceAccountJWTAccessCredentials { + } + export namespace StsService { + } + } + export namespace ChannelCredentials { + } + export namespace GoogleLocalCredentials { + } + export namespace SslCredentials { + } + } + } + export namespace HeaderMap { } export namespace HeaderValue { } export namespace HeaderValueOption { } - export namespace HeaderMap { + export namespace HttpUri { } - export namespace DataSource { + export namespace Locality { } - export namespace RetryPolicy { + export namespace Metadata { } - export namespace RemoteDataSource { + export namespace Node { } - export namespace AsyncDataSource { + export namespace Pipe { } - export namespace TransportSocket { + export namespace RateLimitSettings { } - export namespace RuntimeFractionalPercent { + export namespace RemoteDataSource { } - export namespace ControlPlane { + export namespace RetryPolicy { } - export namespace ApiConfigSource { + export namespace RuntimeDouble { } - export namespace AggregatedConfigSource { + export namespace RuntimeFeatureFlag { + } + export namespace RuntimeFractionalPercent { + } + export namespace RuntimeUInt32 { } export namespace SelfConfigSource { } - export namespace RateLimitSettings { + export namespace SocketAddress { } - export namespace ConfigSource { + export namespace SocketOption { } - export namespace BackoffStrategy { + export namespace TcpKeepalive { } - export namespace Pipe { + export namespace TransportSocket { } - export namespace SocketAddress { + } + export namespace route { + export namespace CorsPolicy { } - export namespace TcpKeepalive { + export namespace Decorator { } - export namespace BindConfig { + export namespace DirectResponseAction { } - export namespace Address { + export namespace FilterAction { } - export namespace CidrRange { + export namespace HeaderMatcher { } - export namespace HttpUri { + export namespace HedgePolicy { } - export namespace GrpcService { - export namespace EnvoyGrpc { - } - export namespace GoogleGrpc { - export namespace SslCredentials { + export namespace QueryParameterMatcher { + } + export namespace RateLimit { + export namespace Action { + export namespace DestinationCluster { } - export namespace GoogleLocalCredentials { + export namespace GenericKey { } - export namespace ChannelCredentials { + export namespace HeaderValueMatch { } - export namespace CallCredentials { - export namespace ServiceAccountJWTAccessCredentials { - } - export namespace GoogleIAMCredentials { - } - export namespace MetadataCredentialsFromPlugin { - } - export namespace StsService { - } + export namespace RemoteAddress { + } + export namespace RequestHeaders { + } + export namespace SourceCluster { } } } - export namespace SocketOption { - } - } - export namespace route { - export namespace VirtualHost { - } - export namespace FilterAction { - } - export namespace Route { + export namespace RedirectAction { } - export namespace WeightedCluster { - export namespace ClusterWeight { + export namespace RetryPolicy { + export namespace RetryBackOff { } - } - export namespace RouteMatch { - export namespace GrpcRouteMatchOptions { + export namespace RetryHostPredicate { } - export namespace TlsContextMatchOptions { + export namespace RetryPriority { } } - export namespace CorsPolicy { + export namespace Route { } export namespace RouteAction { - export namespace RequestMirrorPolicy { - } export namespace HashPolicy { - export namespace Header { + export namespace ConnectionProperties { } export namespace Cookie { } - export namespace ConnectionProperties { + export namespace FilterState { } - export namespace QueryParameter { + export namespace Header { } - export namespace FilterState { + export namespace QueryParameter { } } + export namespace RequestMirrorPolicy { + } export namespace UpgradeConfig { } } - export namespace RetryPolicy { - export namespace RetryPriority { - } - export namespace RetryHostPredicate { + export namespace RouteMatch { + export namespace GrpcRouteMatchOptions { } - export namespace RetryBackOff { + export namespace TlsContextMatchOptions { } } - export namespace HedgePolicy { - } - export namespace RedirectAction { - } - export namespace DirectResponseAction { - } - export namespace Decorator { - } export namespace Tracing { } export namespace VirtualCluster { } - export namespace RateLimit { - export namespace Action { - export namespace SourceCluster { - } - export namespace DestinationCluster { - } - export namespace RequestHeaders { - } - export namespace RemoteAddress { - } - export namespace GenericKey { - } - export namespace HeaderValueMatch { - } - } - } - export namespace HeaderMatcher { + export namespace VirtualHost { } - export namespace QueryParameterMatcher { + export namespace WeightedCluster { + export namespace ClusterWeight { + } } } } } export namespace type { - export namespace Percent { + export namespace DoubleRange { } export namespace FractionalPercent { } + export namespace Int32Range { + } + export namespace Int64Range { + } + export namespace Percent { + } export namespace SemanticVersion { } export namespace matcher { + export namespace ListStringMatcher { + } + export namespace RegexMatchAndSubstitute { + } export namespace RegexMatcher { export namespace GoogleRE2 { } } - export namespace RegexMatchAndSubstitute { - } export namespace StringMatcher { } - export namespace ListStringMatcher { - } - } - export namespace Int64Range { - } - export namespace Int32Range { - } - export namespace DoubleRange { - } - export namespace tracing { - export namespace v2 { - export namespace CustomTag { - export namespace Literal { - } - export namespace Environment { - } - export namespace Header { - } - export namespace Metadata { - } - } - } } export namespace metadata { export namespace v2 { @@ -1221,165 +1209,177 @@ export namespace ServiceHandlers { } } export namespace MetadataKind { + export namespace Cluster { + } + export namespace Host { + } export namespace Request { } export namespace Route { } - export namespace Cluster { + } + } + } + export namespace tracing { + export namespace v2 { + export namespace CustomTag { + export namespace Environment { } - export namespace Host { + export namespace Header { + } + export namespace Literal { + } + export namespace Metadata { } } } } } - export namespace annotations { - } } - export namespace udpa { - export namespace annotations { - export namespace StatusAnnotation { + export namespace google { + export namespace protobuf { + export namespace Any { } - export namespace MigrateAnnotation { + export namespace BoolValue { } - export namespace FieldMigrateAnnotation { + export namespace BytesValue { } - export namespace FileMigrateAnnotation { + export namespace DescriptorProto { + export namespace ExtensionRange { + } + export namespace ReservedRange { + } } - } - } - export namespace validate { - export namespace FieldRules { - } - export namespace FloatRules { - } - export namespace DoubleRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace BoolRules { - } - export namespace StringRules { - } - export namespace BytesRules { - } - export namespace EnumRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace MapRules { - } - export namespace AnyRules { - } - export namespace DurationRules { - } - export namespace TimestampRules { - } - } - export namespace google { - export namespace protobuf { export namespace DoubleValue { } - export namespace FloatValue { + export namespace Duration { } - export namespace Int64Value { + export namespace Empty { } - export namespace UInt64Value { + export namespace EnumDescriptorProto { } - export namespace Int32Value { + export namespace EnumOptions { } - export namespace UInt32Value { + export namespace EnumValueDescriptorProto { } - export namespace BoolValue { + export namespace EnumValueOptions { } - export namespace StringValue { + export namespace FieldDescriptorProto { } - export namespace BytesValue { + export namespace FieldOptions { } - export namespace Any { + export namespace FileDescriptorProto { } - export namespace Duration { + export namespace FileDescriptorSet { } - export namespace Struct { + export namespace FileOptions { } - export namespace Value { + export namespace FloatValue { } - export namespace ListValue { + export namespace GeneratedCodeInfo { + export namespace Annotation { + } } - export namespace Timestamp { + export namespace Int32Value { } - export namespace FileDescriptorSet { + export namespace Int64Value { } - export namespace FileDescriptorProto { + export namespace ListValue { } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } + export namespace MessageOptions { } - export namespace FieldDescriptorProto { + export namespace MethodDescriptorProto { } - export namespace OneofDescriptorProto { + export namespace MethodOptions { } - export namespace EnumDescriptorProto { + export namespace OneofDescriptorProto { } - export namespace EnumValueDescriptorProto { + export namespace OneofOptions { } export namespace ServiceDescriptorProto { } - export namespace MethodDescriptorProto { - } - export namespace FileOptions { - } - export namespace MessageOptions { + export namespace ServiceOptions { } - export namespace FieldOptions { + export namespace SourceCodeInfo { + export namespace Location { + } } - export namespace OneofOptions { + export namespace StringValue { } - export namespace EnumOptions { + export namespace Struct { } - export namespace EnumValueOptions { + export namespace Timestamp { } - export namespace ServiceOptions { + export namespace UInt32Value { } - export namespace MethodOptions { + export namespace UInt64Value { } export namespace UninterpretedOption { export namespace NamePart { } } - export namespace SourceCodeInfo { - export namespace Location { - } + export namespace Value { } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } + } + } + export namespace udpa { + export namespace annotations { + export namespace FieldMigrateAnnotation { } - export namespace Empty { + export namespace FileMigrateAnnotation { + } + export namespace MigrateAnnotation { + } + export namespace StatusAnnotation { } } } + export namespace validate { + export namespace AnyRules { + } + export namespace BoolRules { + } + export namespace BytesRules { + } + export namespace DoubleRules { + } + export namespace DurationRules { + } + export namespace EnumRules { + } + export namespace FieldRules { + } + export namespace Fixed32Rules { + } + export namespace Fixed64Rules { + } + export namespace FloatRules { + } + export namespace Int32Rules { + } + export namespace Int64Rules { + } + export namespace MapRules { + } + export namespace MessageRules { + } + export namespace RepeatedRules { + } + export namespace SFixed32Rules { + } + export namespace SFixed64Rules { + } + export namespace SInt32Rules { + } + export namespace SInt64Rules { + } + export namespace StringRules { + } + export namespace TimestampRules { + } + export namespace UInt32Rules { + } + export namespace UInt64Rules { + } + } } diff --git a/packages/grpc-js/src/generated/validate/BytesRules.ts b/packages/grpc-js/src/generated/validate/BytesRules.ts index 7d356fef2..a18bf6906 100644 --- a/packages/grpc-js/src/generated/validate/BytesRules.ts +++ b/packages/grpc-js/src/generated/validate/BytesRules.ts @@ -4,7 +4,6 @@ import { Long } from '@grpc/proto-loader'; export interface BytesRules { 'const'?: (Buffer | Uint8Array | string); - 'len'?: (number | string | Long); 'min_len'?: (number | string | Long); 'max_len'?: (number | string | Long); 'pattern'?: (string); @@ -16,12 +15,12 @@ export interface BytesRules { 'ip'?: (boolean); 'ipv4'?: (boolean); 'ipv6'?: (boolean); + 'len'?: (number | string | Long); 'well_known'?: "ip"|"ipv4"|"ipv6"; } export interface BytesRules__Output { 'const': (Buffer); - 'len': (string); 'min_len': (string); 'max_len': (string); 'pattern': (string); @@ -33,5 +32,6 @@ export interface BytesRules__Output { 'ip'?: (boolean); 'ipv4'?: (boolean); 'ipv6'?: (boolean); + 'len': (string); 'well_known': "ip"|"ipv4"|"ipv6"; } diff --git a/packages/grpc-js/src/generated/validate/FieldRules.ts b/packages/grpc-js/src/generated/validate/FieldRules.ts index 099391f44..5451902d7 100644 --- a/packages/grpc-js/src/generated/validate/FieldRules.ts +++ b/packages/grpc-js/src/generated/validate/FieldRules.ts @@ -1,6 +1,5 @@ // Original file: deps/protoc-gen-validate/validate/validate.proto -import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from '../validate/MessageRules'; import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from '../validate/FloatRules'; import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from '../validate/DoubleRules'; import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from '../validate/Int32Rules'; @@ -17,6 +16,7 @@ import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRu import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from '../validate/StringRules'; import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from '../validate/BytesRules'; import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from '../validate/EnumRules'; +import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from '../validate/MessageRules'; import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from '../validate/RepeatedRules'; import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from '../validate/MapRules'; import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from '../validate/AnyRules'; @@ -25,7 +25,6 @@ import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _ import { Long } from '@grpc/proto-loader'; export interface FieldRules { - 'message'?: (_validate_MessageRules); 'float'?: (_validate_FloatRules); 'double'?: (_validate_DoubleRules); 'int32'?: (_validate_Int32Rules); @@ -42,6 +41,7 @@ export interface FieldRules { 'string'?: (_validate_StringRules); 'bytes'?: (_validate_BytesRules); 'enum'?: (_validate_EnumRules); + 'message'?: (_validate_MessageRules); 'repeated'?: (_validate_RepeatedRules); 'map'?: (_validate_MapRules); 'any'?: (_validate_AnyRules); @@ -51,7 +51,6 @@ export interface FieldRules { } export interface FieldRules__Output { - 'message': (_validate_MessageRules__Output); 'float'?: (_validate_FloatRules__Output); 'double'?: (_validate_DoubleRules__Output); 'int32'?: (_validate_Int32Rules__Output); @@ -68,6 +67,7 @@ export interface FieldRules__Output { 'string'?: (_validate_StringRules__Output); 'bytes'?: (_validate_BytesRules__Output); 'enum'?: (_validate_EnumRules__Output); + 'message': (_validate_MessageRules__Output); 'repeated'?: (_validate_RepeatedRules__Output); 'map'?: (_validate_MapRules__Output); 'any'?: (_validate_AnyRules__Output); diff --git a/packages/grpc-js/src/generated/validate/StringRules.ts b/packages/grpc-js/src/generated/validate/StringRules.ts index ed4339f90..810697f57 100644 --- a/packages/grpc-js/src/generated/validate/StringRules.ts +++ b/packages/grpc-js/src/generated/validate/StringRules.ts @@ -5,17 +5,14 @@ import { Long } from '@grpc/proto-loader'; export interface StringRules { 'const'?: (string); - 'len'?: (number | string | Long); 'min_len'?: (number | string | Long); 'max_len'?: (number | string | Long); - 'len_bytes'?: (number | string | Long); 'min_bytes'?: (number | string | Long); 'max_bytes'?: (number | string | Long); 'pattern'?: (string); 'prefix'?: (string); 'suffix'?: (string); 'contains'?: (string); - 'not_contains'?: (string); 'in'?: (string)[]; 'not_in'?: (string)[]; 'email'?: (boolean); @@ -25,8 +22,11 @@ export interface StringRules { 'ipv6'?: (boolean); 'uri'?: (boolean); 'uri_ref'?: (boolean); + 'len'?: (number | string | Long); + 'len_bytes'?: (number | string | Long); 'address'?: (boolean); 'uuid'?: (boolean); + 'not_contains'?: (string); 'well_known_regex'?: (_validate_KnownRegex | keyof typeof _validate_KnownRegex); 'strict'?: (boolean); 'well_known'?: "email"|"hostname"|"ip"|"ipv4"|"ipv6"|"uri"|"uri_ref"|"address"|"uuid"|"well_known_regex"; @@ -34,17 +34,14 @@ export interface StringRules { export interface StringRules__Output { 'const': (string); - 'len': (string); 'min_len': (string); 'max_len': (string); - 'len_bytes': (string); 'min_bytes': (string); 'max_bytes': (string); 'pattern': (string); 'prefix': (string); 'suffix': (string); 'contains': (string); - 'not_contains': (string); 'in': (string)[]; 'not_in': (string)[]; 'email'?: (boolean); @@ -54,8 +51,11 @@ export interface StringRules__Output { 'ipv6'?: (boolean); 'uri'?: (boolean); 'uri_ref'?: (boolean); + 'len': (string); + 'len_bytes': (string); 'address'?: (boolean); 'uuid'?: (boolean); + 'not_contains': (string); 'well_known_regex'?: (keyof typeof _validate_KnownRegex); 'strict': (boolean); 'well_known': "email"|"hostname"|"ip"|"ipv4"|"ipv6"|"uri"|"uri_ref"|"address"|"uuid"|"well_known_regex"; From bf471a96a6cc301b46380f16d8e97d661ed9634b Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Fri, 10 Jul 2020 14:24:54 -0700 Subject: [PATCH 12/19] Generate comments in generated code --- packages/grpc-js/package.json | 2 +- packages/grpc-js/src/generated/ads.ts | 579 ++++++ packages/grpc-js/src/generated/cluster.ts | 1325 +++++++++++++ packages/grpc-js/src/generated/endpoint.ts | 1117 +++++++++++ .../src/generated/envoy/api/v2/Cluster.ts | 1340 +++++++++++++ .../envoy/api/v2/ClusterLoadAssignment.ts | 190 ++ .../envoy/api/v2/DeltaDiscoveryRequest.ts | 178 ++ .../envoy/api/v2/DeltaDiscoveryResponse.ts | 44 + .../envoy/api/v2/DiscoveryRequest.ts | 88 + .../envoy/api/v2/DiscoveryResponse.ts | 86 + .../src/generated/envoy/api/v2/Listener.ts | 411 ++++ .../envoy/api/v2/LoadBalancingPolicy.ts | 66 + .../src/generated/envoy/api/v2/Resource.ts | 26 + .../envoy/api/v2/RouteConfiguration.ts | 154 ++ .../envoy/api/v2/UpstreamBindConfig.ts | 14 + .../envoy/api/v2/UpstreamConnectionOptions.ts | 6 + .../src/generated/envoy/api/v2/Vhds.ts | 6 + .../v2/auth/CertificateValidationContext.ts | 277 +++ .../envoy/api/v2/auth/CommonTlsContext.ts | 102 + .../envoy/api/v2/auth/DownstreamTlsContext.ts | 72 + .../envoy/api/v2/auth/GenericSecret.ts | 6 + .../envoy/api/v2/auth/PrivateKeyProvider.ts | 24 + .../envoy/api/v2/auth/SdsSecretConfig.ts | 10 + .../src/generated/envoy/api/v2/auth/Secret.ts | 12 + .../envoy/api/v2/auth/TlsCertificate.ts | 56 + .../envoy/api/v2/auth/TlsParameters.ts | 145 ++ .../envoy/api/v2/auth/TlsSessionTicketKeys.ts | 50 + .../envoy/api/v2/auth/UpstreamTlsContext.ts | 50 + .../envoy/api/v2/cluster/CircuitBreakers.ts | 150 ++ .../generated/envoy/api/v2/cluster/Filter.ts | 16 + .../envoy/api/v2/cluster/OutlierDetection.ts | 250 +++ .../generated/envoy/api/v2/core/Address.ts | 10 + .../api/v2/core/AggregatedConfigSource.ts | 10 + .../envoy/api/v2/core/ApiConfigSource.ts | 98 + .../generated/envoy/api/v2/core/ApiVersion.ts | 15 + .../envoy/api/v2/core/AsyncDataSource.ts | 18 + .../envoy/api/v2/core/BackoffStrategy.ts | 30 + .../generated/envoy/api/v2/core/BindConfig.ts | 32 + .../envoy/api/v2/core/BuildVersion.ts | 22 + .../generated/envoy/api/v2/core/CidrRange.ts | 20 + .../envoy/api/v2/core/ConfigSource.ts | 116 ++ .../envoy/api/v2/core/ControlPlane.ts | 16 + .../generated/envoy/api/v2/core/DataSource.ts | 24 + .../envoy/api/v2/core/EventServiceConfig.ts | 14 + .../generated/envoy/api/v2/core/Extension.ts | 56 + .../envoy/api/v2/core/GrpcProtocolOptions.ts | 6 + .../envoy/api/v2/core/GrpcService.ts | 318 ++++ .../generated/envoy/api/v2/core/HeaderMap.ts | 6 + .../envoy/api/v2/core/HeaderValue.ts | 26 + .../envoy/api/v2/core/HeaderValueOption.ts | 20 + .../envoy/api/v2/core/HealthCheck.ts | 454 +++++ .../envoy/api/v2/core/HealthStatus.ts | 26 + .../envoy/api/v2/core/Http1ProtocolOptions.ts | 84 + .../envoy/api/v2/core/Http2ProtocolOptions.ts | 280 +++ .../envoy/api/v2/core/HttpProtocolOptions.ts | 98 + .../generated/envoy/api/v2/core/HttpUri.ts | 62 + .../generated/envoy/api/v2/core/Locality.ts | 42 + .../generated/envoy/api/v2/core/Metadata.ts | 56 + .../src/generated/envoy/api/v2/core/Node.ts | 136 ++ .../src/generated/envoy/api/v2/core/Pipe.ts | 18 + .../envoy/api/v2/core/RateLimitSettings.ts | 22 + .../envoy/api/v2/core/RemoteDataSource.ts | 24 + .../envoy/api/v2/core/RequestMethod.ts | 3 + .../envoy/api/v2/core/RetryPolicy.ts | 24 + .../envoy/api/v2/core/RoutingPriority.ts | 9 + .../envoy/api/v2/core/RuntimeDouble.ts | 18 + .../envoy/api/v2/core/RuntimeFeatureFlag.ts | 22 + .../api/v2/core/RuntimeFractionalPercent.ts | 36 + .../envoy/api/v2/core/RuntimeUInt32.ts | 18 + .../envoy/api/v2/core/SelfConfigSource.ts | 12 + .../envoy/api/v2/core/SocketAddress.ts | 68 + .../envoy/api/v2/core/SocketOption.ts | 59 + .../envoy/api/v2/core/TcpKeepalive.ts | 28 + .../envoy/api/v2/core/TcpProtocolOptions.ts | 6 + .../envoy/api/v2/core/TrafficDirection.ts | 12 + .../envoy/api/v2/core/TransportSocket.ts | 28 + .../v2/core/UpstreamHttpProtocolOptions.ts | 22 + .../envoy/api/v2/endpoint/Endpoint.ts | 94 + .../envoy/api/v2/endpoint/LbEndpoint.ts | 66 + .../api/v2/endpoint/LocalityLbEndpoints.ts | 90 + .../generated/envoy/api/v2/listener/Filter.ts | 16 + .../envoy/api/v2/listener/FilterChain.ts | 90 + .../envoy/api/v2/listener/FilterChainMatch.ts | 225 +++ .../envoy/api/v2/listener/ListenerFilter.ts | 26 + .../ListenerFilterChainMatchPredicate.ts | 106 ++ .../api/v2/listener/UdpListenerConfig.ts | 18 + .../envoy/api/v2/route/CorsPolicy.ts | 134 ++ .../generated/envoy/api/v2/route/Decorator.ts | 26 + .../api/v2/route/DirectResponseAction.ts | 26 + .../envoy/api/v2/route/FilterAction.ts | 6 + .../envoy/api/v2/route/HeaderMatcher.ts | 196 ++ .../envoy/api/v2/route/HedgePolicy.ts | 50 + .../api/v2/route/QueryParameterMatcher.ts | 64 + .../generated/envoy/api/v2/route/RateLimit.ts | 256 +++ .../envoy/api/v2/route/RedirectAction.ts | 101 + .../envoy/api/v2/route/RetryPolicy.ts | 146 ++ .../src/generated/envoy/api/v2/route/Route.ts | 174 ++ .../envoy/api/v2/route/RouteAction.ts | 823 ++++++++ .../envoy/api/v2/route/RouteMatch.ts | 196 ++ .../generated/envoy/api/v2/route/Tracing.ts | 66 + .../envoy/api/v2/route/VirtualCluster.ts | 102 + .../envoy/api/v2/route/VirtualHost.ts | 277 +++ .../envoy/api/v2/route/WeightedCluster.ts | 170 ++ .../config/filter/accesslog/v2/AccessLog.ts | 44 + .../filter/accesslog/v2/AccessLogFilter.ts | 72 + .../config/filter/accesslog/v2/AndFilter.ts | 10 + .../filter/accesslog/v2/ComparisonFilter.ts | 27 + .../filter/accesslog/v2/DurationFilter.ts | 12 + .../filter/accesslog/v2/ExtensionFilter.ts | 20 + .../filter/accesslog/v2/GrpcStatusFilter.ts | 22 + .../filter/accesslog/v2/HeaderFilter.ts | 14 + .../accesslog/v2/NotHealthCheckFilter.ts | 8 + .../config/filter/accesslog/v2/OrFilter.ts | 10 + .../filter/accesslog/v2/ResponseFlagFilter.ts | 20 + .../filter/accesslog/v2/RuntimeFilter.ts | 48 + .../filter/accesslog/v2/StatusCodeFilter.ts | 12 + .../filter/accesslog/v2/TraceableFilter.ts | 8 + .../envoy/config/listener/v2/ApiListener.ts | 28 + .../envoy/service/discovery/v2/AdsDummy.ts | 8 + .../generated/envoy/type/CodecClientType.ts | 5 + .../src/generated/envoy/type/DoubleRange.ts | 20 + .../generated/envoy/type/FractionalPercent.ts | 48 + .../src/generated/envoy/type/Int32Range.ts | 20 + .../src/generated/envoy/type/Int64Range.ts | 20 + .../src/generated/envoy/type/Percent.ts | 6 + .../generated/envoy/type/SemanticVersion.ts | 10 + .../envoy/type/matcher/ListStringMatcher.ts | 6 + .../type/matcher/RegexMatchAndSubstitute.ts | 52 + .../envoy/type/matcher/RegexMatcher.ts | 46 + .../envoy/type/matcher/StringMatcher.ts | 100 + .../envoy/type/metadata/v2/MetadataKey.ts | 86 + .../envoy/type/metadata/v2/MetadataKind.ts | 56 + .../envoy/type/tracing/v2/CustomTag.ts | 136 ++ .../generated/google/api/CustomHttpPattern.ts | 18 + .../grpc-js/src/generated/google/api/Http.ts | 36 + .../src/generated/google/api/HttpRule.ts | 648 +++++++ .../src/generated/google/rpc/Status.ts | 42 + packages/grpc-js/src/generated/listener.ts | 1656 +++++++++++++++++ packages/grpc-js/src/generated/route.ts | 822 ++++++++ .../annotations/FieldMigrateAnnotation.ts | 16 + .../udpa/annotations/FileMigrateAnnotation.ts | 8 + .../udpa/annotations/MigrateAnnotation.ts | 6 + .../udpa/annotations/PackageVersionStatus.ts | 13 + .../udpa/annotations/StatusAnnotation.ts | 12 + .../src/generated/validate/AnyRules.ts | 30 + .../src/generated/validate/BoolRules.ts | 12 + .../src/generated/validate/BytesRules.ts | 116 ++ .../src/generated/validate/DoubleRules.ts | 64 + .../src/generated/validate/DurationRules.ts | 68 + .../src/generated/validate/EnumRules.ts | 36 + .../src/generated/validate/FieldRules.ts | 26 + .../src/generated/validate/Fixed32Rules.ts | 64 + .../src/generated/validate/Fixed64Rules.ts | 64 + .../src/generated/validate/FloatRules.ts | 64 + .../src/generated/validate/Int32Rules.ts | 64 + .../src/generated/validate/Int64Rules.ts | 64 + .../src/generated/validate/KnownRegex.ts | 9 + .../src/generated/validate/MapRules.ts | 46 + .../src/generated/validate/MessageRules.ts | 22 + .../src/generated/validate/RepeatedRules.ts | 42 + .../src/generated/validate/SFixed32Rules.ts | 64 + .../src/generated/validate/SFixed64Rules.ts | 64 + .../src/generated/validate/SInt32Rules.ts | 64 + .../src/generated/validate/SInt64Rules.ts | 64 + .../src/generated/validate/StringRules.ts | 226 +++ .../src/generated/validate/TimestampRules.ts | 78 + .../src/generated/validate/UInt32Rules.ts | 64 + .../src/generated/validate/UInt64Rules.ts | 64 + 168 files changed, 18649 insertions(+), 1 deletion(-) diff --git a/packages/grpc-js/package.json b/packages/grpc-js/package.json index a795afc78..e1b380ba1 100644 --- a/packages/grpc-js/package.json +++ b/packages/grpc-js/package.json @@ -47,7 +47,7 @@ "clean": "node -e 'require(\"rimraf\")(\"./build\", () => {})'", "compile": "tsc -p .", "format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts", - "generate-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --json --includeDirs deps/envoy-api/ deps/udpa/ deps/googleapis/ deps/protoc-gen-validate/ -O src/generated/ --grpcLib ../index envoy/service/discovery/v2/ads.proto envoy/api/v2/listener.proto envoy/api/v2/route.proto envoy/api/v2/cluster.proto envoy/api/v2/endpoint.proto", + "generate-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --json --generateComments --includeDirs deps/envoy-api/ deps/udpa/ deps/googleapis/ deps/protoc-gen-validate/ -O src/generated/ --grpcLib ../index envoy/service/discovery/v2/ads.proto envoy/api/v2/listener.proto envoy/api/v2/route.proto envoy/api/v2/cluster.proto envoy/api/v2/endpoint.proto", "lint": "npm run check", "prepare": "npm run compile", "test": "gulp test", diff --git a/packages/grpc-js/src/generated/ads.ts b/packages/grpc-js/src/generated/ads.ts index 4a5a4d121..369b6b8c1 100644 --- a/packages/grpc-js/src/generated/ads.ts +++ b/packages/grpc-js/src/generated/ads.ts @@ -111,73 +111,410 @@ export namespace messages { export namespace envoy { export namespace api { export namespace v2 { + /** + * DeltaDiscoveryRequest and DeltaDiscoveryResponse are used in a new gRPC + * endpoint for Delta xDS. + * + * With Delta xDS, the DeltaDiscoveryResponses do not need to include a full + * snapshot of the tracked resources. Instead, DeltaDiscoveryResponses are a + * diff to the state of a xDS client. + * In Delta XDS there are per-resource versions, which allow tracking state at + * the resource granularity. + * An xDS Delta session is always in the context of a gRPC bidirectional + * stream. This allows the xDS server to keep track of the state of xDS clients + * connected to it. + * + * In Delta xDS the nonce field is required and used to pair + * DeltaDiscoveryResponse to a DeltaDiscoveryRequest ACK or NACK. + * Optionally, a response message level system_version_info is present for + * debugging purposes only. + * + * DeltaDiscoveryRequest plays two independent roles. Any DeltaDiscoveryRequest + * can be either or both of: [1] informing the server of what resources the + * client has gained/lost interest in (using resource_names_subscribe and + * resource_names_unsubscribe), or [2] (N)ACKing an earlier resource update from + * the server (using response_nonce, with presence of error_detail making it a NACK). + * Additionally, the first message (for a given type_url) of a reconnected gRPC stream + * has a third role: informing the server of the resources (and their versions) + * that the client already possesses, using the initial_resource_versions field. + * + * As with state-of-the-world, when multiple resource types are multiplexed (ADS), + * all requests/acknowledgments/updates are logically walled off by type_url: + * a Cluster ACK exists in a completely separate world from a prior Route NACK. + * In particular, initial_resource_versions being sent at the "start" of every + * gRPC stream actually entails a message for each type_url, each with its own + * initial_resource_versions. + * [#next-free-field: 8] + */ export type DeltaDiscoveryRequest = _envoy_api_v2_DeltaDiscoveryRequest; + /** + * DeltaDiscoveryRequest and DeltaDiscoveryResponse are used in a new gRPC + * endpoint for Delta xDS. + * + * With Delta xDS, the DeltaDiscoveryResponses do not need to include a full + * snapshot of the tracked resources. Instead, DeltaDiscoveryResponses are a + * diff to the state of a xDS client. + * In Delta XDS there are per-resource versions, which allow tracking state at + * the resource granularity. + * An xDS Delta session is always in the context of a gRPC bidirectional + * stream. This allows the xDS server to keep track of the state of xDS clients + * connected to it. + * + * In Delta xDS the nonce field is required and used to pair + * DeltaDiscoveryResponse to a DeltaDiscoveryRequest ACK or NACK. + * Optionally, a response message level system_version_info is present for + * debugging purposes only. + * + * DeltaDiscoveryRequest plays two independent roles. Any DeltaDiscoveryRequest + * can be either or both of: [1] informing the server of what resources the + * client has gained/lost interest in (using resource_names_subscribe and + * resource_names_unsubscribe), or [2] (N)ACKing an earlier resource update from + * the server (using response_nonce, with presence of error_detail making it a NACK). + * Additionally, the first message (for a given type_url) of a reconnected gRPC stream + * has a third role: informing the server of the resources (and their versions) + * that the client already possesses, using the initial_resource_versions field. + * + * As with state-of-the-world, when multiple resource types are multiplexed (ADS), + * all requests/acknowledgments/updates are logically walled off by type_url: + * a Cluster ACK exists in a completely separate world from a prior Route NACK. + * In particular, initial_resource_versions being sent at the "start" of every + * gRPC stream actually entails a message for each type_url, each with its own + * initial_resource_versions. + * [#next-free-field: 8] + */ export type DeltaDiscoveryRequest__Output = _envoy_api_v2_DeltaDiscoveryRequest__Output; + /** + * [#next-free-field: 7] + */ export type DeltaDiscoveryResponse = _envoy_api_v2_DeltaDiscoveryResponse; + /** + * [#next-free-field: 7] + */ export type DeltaDiscoveryResponse__Output = _envoy_api_v2_DeltaDiscoveryResponse__Output; + /** + * A DiscoveryRequest requests a set of versioned resources of the same type for + * a given Envoy node on some API. + * [#next-free-field: 7] + */ export type DiscoveryRequest = _envoy_api_v2_DiscoveryRequest; + /** + * A DiscoveryRequest requests a set of versioned resources of the same type for + * a given Envoy node on some API. + * [#next-free-field: 7] + */ export type DiscoveryRequest__Output = _envoy_api_v2_DiscoveryRequest__Output; + /** + * [#next-free-field: 7] + */ export type DiscoveryResponse = _envoy_api_v2_DiscoveryResponse; + /** + * [#next-free-field: 7] + */ export type DiscoveryResponse__Output = _envoy_api_v2_DiscoveryResponse__Output; export type Resource = _envoy_api_v2_Resource; export type Resource__Output = _envoy_api_v2_Resource__Output; export namespace core { + /** + * Addresses specify either a logical or physical address and port, which are + * used to tell Envoy where to bind/listen, connect to upstream and find + * management servers. + */ export type Address = _envoy_api_v2_core_Address; + /** + * Addresses specify either a logical or physical address and port, which are + * used to tell Envoy where to bind/listen, connect to upstream and find + * management servers. + */ export type Address__Output = _envoy_api_v2_core_Address__Output; + /** + * Async data source which support async data fetch. + */ export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + /** + * Async data source which support async data fetch. + */ export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + /** + * Configuration defining a jittered exponential back off strategy. + */ export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + /** + * Configuration defining a jittered exponential back off strategy. + */ export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; export type BindConfig = _envoy_api_v2_core_BindConfig; export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; + /** + * BuildVersion combines SemVer version of extension with free-form build information + * (i.e. 'alpha', 'private-build') as a set of strings. + */ export type BuildVersion = _envoy_api_v2_core_BuildVersion; + /** + * BuildVersion combines SemVer version of extension with free-form build information + * (i.e. 'alpha', 'private-build') as a set of strings. + */ export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + /** + * CidrRange specifies an IP Address and a prefix length to construct + * the subnet mask for a `CIDR `_ range. + */ export type CidrRange = _envoy_api_v2_core_CidrRange; + /** + * CidrRange specifies an IP Address and a prefix length to construct + * the subnet mask for a `CIDR `_ range. + */ export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + /** + * Identifies a specific ControlPlane instance that Envoy is connected to. + */ export type ControlPlane = _envoy_api_v2_core_ControlPlane; + /** + * Identifies a specific ControlPlane instance that Envoy is connected to. + */ export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + /** + * Data source consisting of either a file or an inline value. + */ export type DataSource = _envoy_api_v2_core_DataSource; + /** + * Data source consisting of either a file or an inline value. + */ export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; + /** + * Version and identification for an Envoy extension. + * [#next-free-field: 6] + */ export type Extension = _envoy_api_v2_core_Extension; + /** + * Version and identification for an Envoy extension. + * [#next-free-field: 6] + */ export type Extension__Output = _envoy_api_v2_core_Extension__Output; + /** + * Wrapper for a set of headers. + */ export type HeaderMap = _envoy_api_v2_core_HeaderMap; + /** + * Wrapper for a set of headers. + */ export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; + /** + * Header name/value pair. + */ export type HeaderValue = _envoy_api_v2_core_HeaderValue; + /** + * Header name/value pair. + */ export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; + /** + * Header name/value pair plus option to control append behavior. + */ export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; + /** + * Header name/value pair plus option to control append behavior. + */ export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; + /** + * Envoy external URI descriptor + */ export type HttpUri = _envoy_api_v2_core_HttpUri; + /** + * Envoy external URI descriptor + */ export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + /** + * Identifies location of where either Envoy runs or where upstream hosts run. + */ export type Locality = _envoy_api_v2_core_Locality; + /** + * Identifies location of where either Envoy runs or where upstream hosts run. + */ export type Locality__Output = _envoy_api_v2_core_Locality__Output; + /** + * Metadata provides additional inputs to filters based on matched listeners, + * filter chains, routes and endpoints. It is structured as a map, usually from + * filter name (in reverse DNS format) to metadata specific to the filter. Metadata + * key-values for a filter are merged as connection and request handling occurs, + * with later values for the same key overriding earlier values. + * + * An example use of metadata is providing additional values to + * http_connection_manager in the envoy.http_connection_manager.access_log + * namespace. + * + * Another example use of metadata is to per service config info in cluster metadata, which may get + * consumed by multiple filters. + * + * For load balancing, Metadata provides a means to subset cluster endpoints. + * Endpoints have a Metadata object associated and routes contain a Metadata + * object to match against. There are some well defined metadata used today for + * this purpose: + * + * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an + * endpoint and is also used during header processing + * (x-envoy-upstream-canary) and for stats purposes. + * [#next-major-version: move to type/metadata/v2] + */ export type Metadata = _envoy_api_v2_core_Metadata; + /** + * Metadata provides additional inputs to filters based on matched listeners, + * filter chains, routes and endpoints. It is structured as a map, usually from + * filter name (in reverse DNS format) to metadata specific to the filter. Metadata + * key-values for a filter are merged as connection and request handling occurs, + * with later values for the same key overriding earlier values. + * + * An example use of metadata is providing additional values to + * http_connection_manager in the envoy.http_connection_manager.access_log + * namespace. + * + * Another example use of metadata is to per service config info in cluster metadata, which may get + * consumed by multiple filters. + * + * For load balancing, Metadata provides a means to subset cluster endpoints. + * Endpoints have a Metadata object associated and routes contain a Metadata + * object to match against. There are some well defined metadata used today for + * this purpose: + * + * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an + * endpoint and is also used during header processing + * (x-envoy-upstream-canary) and for stats purposes. + * [#next-major-version: move to type/metadata/v2] + */ export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + /** + * Identifies a specific Envoy instance. The node identifier is presented to the + * management server, which may use this identifier to distinguish per Envoy + * configuration for serving. + * [#next-free-field: 12] + */ export type Node = _envoy_api_v2_core_Node; + /** + * Identifies a specific Envoy instance. The node identifier is presented to the + * management server, which may use this identifier to distinguish per Envoy + * configuration for serving. + * [#next-free-field: 12] + */ export type Node__Output = _envoy_api_v2_core_Node__Output; export type Pipe = _envoy_api_v2_core_Pipe; export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + /** + * The message specifies how to fetch data from remote and how to verify it. + */ export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; + /** + * The message specifies how to fetch data from remote and how to verify it. + */ export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; + /** + * HTTP request method. + */ export type RequestMethod = _envoy_api_v2_core_RequestMethod; + /** + * The message specifies the retry policy of remote data source when fetching fails. + */ export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + /** + * The message specifies the retry policy of remote data source when fetching fails. + */ export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + /** + * Envoy supports :ref:`upstream priority routing + * ` both at the route and the virtual + * cluster level. The current priority implementation uses different connection + * pool and circuit breaking settings for each priority level. This means that + * even for HTTP/2 requests, two physical connections will be used to an + * upstream host. In the future Envoy will likely support true HTTP/2 priority + * over a single upstream connection. + */ export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + /** + * Runtime derived double with a default when not specified. + */ export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + /** + * Runtime derived double with a default when not specified. + */ export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + /** + * Runtime derived bool with a default when not specified. + */ export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + /** + * Runtime derived bool with a default when not specified. + */ export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + /** + * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not + * specified via a runtime key. + * + * .. note:: + * + * Parsing of the runtime key's data is implemented such that it may be represented as a + * :ref:`FractionalPercent ` proto represented as JSON/YAML + * and may also be represented as an integer with the assumption that the value is an integral + * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse + * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. + */ export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; + /** + * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not + * specified via a runtime key. + * + * .. note:: + * + * Parsing of the runtime key's data is implemented such that it may be represented as a + * :ref:`FractionalPercent ` proto represented as JSON/YAML + * and may also be represented as an integer with the assumption that the value is an integral + * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse + * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. + */ export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; + /** + * Runtime derived uint32 with a default when not specified. + */ export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + /** + * Runtime derived uint32 with a default when not specified. + */ export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; + /** + * [#next-free-field: 7] + */ export type SocketAddress = _envoy_api_v2_core_SocketAddress; + /** + * [#next-free-field: 7] + */ export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; + /** + * Generic socket option message. This would be used to set socket options that + * might not exist in upstream kernels or precompiled Envoy binaries. + * [#next-free-field: 7] + */ export type SocketOption = _envoy_api_v2_core_SocketOption; + /** + * Generic socket option message. This would be used to set socket options that + * might not exist in upstream kernels or precompiled Envoy binaries. + * [#next-free-field: 7] + */ export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + /** + * Identifies the direction of the traffic relative to the local Envoy. + */ export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + /** + * Configuration for transport socket in :ref:`listeners ` and + * :ref:`clusters `. If the configuration is + * empty, a default transport socket implementation and configuration will be + * chosen based on the platform and existence of tls_context. + */ export type TransportSocket = _envoy_api_v2_core_TransportSocket; + /** + * Configuration for transport socket in :ref:`listeners ` and + * :ref:`clusters `. If the configuration is + * empty, a default transport socket implementation and configuration will be + * chosen based on the platform and existence of tls_context. + */ export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; } } @@ -185,7 +522,15 @@ export namespace messages { export namespace service { export namespace discovery { export namespace v2 { + /** + * [#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing + * services: https://github.com/google/protobuf/issues/4221 + */ export type AdsDummy = _envoy_service_discovery_v2_AdsDummy; + /** + * [#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing + * services: https://github.com/google/protobuf/issues/4221 + */ export type AdsDummy__Output = _envoy_service_discovery_v2_AdsDummy__Output; export namespace AggregatedDiscoveryService { } @@ -193,11 +538,43 @@ export namespace messages { } } export namespace type { + /** + * A fractional percentage is used in cases in which for performance reasons performing floating + * point to integer conversions during randomness calculations is undesirable. The message includes + * both a numerator and denominator that together determine the final fractional value. + * + * * **Example**: 1/100 = 1%. + * * **Example**: 3/10000 = 0.03%. + */ export type FractionalPercent = _envoy_type_FractionalPercent; + /** + * A fractional percentage is used in cases in which for performance reasons performing floating + * point to integer conversions during randomness calculations is undesirable. The message includes + * both a numerator and denominator that together determine the final fractional value. + * + * * **Example**: 1/100 = 1%. + * * **Example**: 3/10000 = 0.03%. + */ export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + /** + * Identifies a percentage, in the range [0.0, 100.0]. + */ export type Percent = _envoy_type_Percent; + /** + * Identifies a percentage, in the range [0.0, 100.0]. + */ export type Percent__Output = _envoy_type_Percent__Output; + /** + * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate + * expected behaviors and APIs, the patch version field is used only + * for security fixes and can be generally ignored. + */ export type SemanticVersion = _envoy_type_SemanticVersion; + /** + * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate + * expected behaviors and APIs, the patch version field is used only + * for security fixes and can be generally ignored. + */ export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; } } @@ -276,7 +653,25 @@ export namespace messages { export type Value__Output = _google_protobuf_Value__Output; } export namespace rpc { + /** + * The `Status` type defines a logical error model that is suitable for + * different programming environments, including REST APIs and RPC APIs. It is + * used by [gRPC](https://github.com/grpc). Each `Status` message contains + * three pieces of data: error code, error message, and error details. + * + * You can find out more about this error model and how to work with it in the + * [API Design Guide](https://cloud.google.com/apis/design/errors). + */ export type Status = _google_rpc_Status; + /** + * The `Status` type defines a logical error model that is suitable for + * different programming environments, including REST APIs and RPC APIs. It is + * used by [gRPC](https://github.com/grpc). Each `Status` message contains + * three pieces of data: error code, error message, and error details. + * + * You can find out more about this error model and how to work with it in the + * [API Design Guide](https://cloud.google.com/apis/design/errors). + */ export type Status__Output = _google_rpc_Status__Output; } } @@ -294,52 +689,203 @@ export namespace messages { } } export namespace validate { + /** + * AnyRules describe constraints applied exclusively to the + * `google.protobuf.Any` well-known type + */ export type AnyRules = _validate_AnyRules; + /** + * AnyRules describe constraints applied exclusively to the + * `google.protobuf.Any` well-known type + */ export type AnyRules__Output = _validate_AnyRules__Output; + /** + * BoolRules describes the constraints applied to `bool` values + */ export type BoolRules = _validate_BoolRules; + /** + * BoolRules describes the constraints applied to `bool` values + */ export type BoolRules__Output = _validate_BoolRules__Output; + /** + * BytesRules describe the constraints applied to `bytes` values + */ export type BytesRules = _validate_BytesRules; + /** + * BytesRules describe the constraints applied to `bytes` values + */ export type BytesRules__Output = _validate_BytesRules__Output; + /** + * DoubleRules describes the constraints applied to `double` values + */ export type DoubleRules = _validate_DoubleRules; + /** + * DoubleRules describes the constraints applied to `double` values + */ export type DoubleRules__Output = _validate_DoubleRules__Output; + /** + * DurationRules describe the constraints applied exclusively to the + * `google.protobuf.Duration` well-known type + */ export type DurationRules = _validate_DurationRules; + /** + * DurationRules describe the constraints applied exclusively to the + * `google.protobuf.Duration` well-known type + */ export type DurationRules__Output = _validate_DurationRules__Output; + /** + * EnumRules describe the constraints applied to enum values + */ export type EnumRules = _validate_EnumRules; + /** + * EnumRules describe the constraints applied to enum values + */ export type EnumRules__Output = _validate_EnumRules__Output; + /** + * FieldRules encapsulates the rules for each type of field. Depending on the + * field, the correct set should be used to ensure proper validations. + */ export type FieldRules = _validate_FieldRules; + /** + * FieldRules encapsulates the rules for each type of field. Depending on the + * field, the correct set should be used to ensure proper validations. + */ export type FieldRules__Output = _validate_FieldRules__Output; + /** + * Fixed32Rules describes the constraints applied to `fixed32` values + */ export type Fixed32Rules = _validate_Fixed32Rules; + /** + * Fixed32Rules describes the constraints applied to `fixed32` values + */ export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + /** + * Fixed64Rules describes the constraints applied to `fixed64` values + */ export type Fixed64Rules = _validate_Fixed64Rules; + /** + * Fixed64Rules describes the constraints applied to `fixed64` values + */ export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + /** + * FloatRules describes the constraints applied to `float` values + */ export type FloatRules = _validate_FloatRules; + /** + * FloatRules describes the constraints applied to `float` values + */ export type FloatRules__Output = _validate_FloatRules__Output; + /** + * Int32Rules describes the constraints applied to `int32` values + */ export type Int32Rules = _validate_Int32Rules; + /** + * Int32Rules describes the constraints applied to `int32` values + */ export type Int32Rules__Output = _validate_Int32Rules__Output; + /** + * Int64Rules describes the constraints applied to `int64` values + */ export type Int64Rules = _validate_Int64Rules; + /** + * Int64Rules describes the constraints applied to `int64` values + */ export type Int64Rules__Output = _validate_Int64Rules__Output; + /** + * WellKnownRegex contain some well-known patterns. + */ export type KnownRegex = _validate_KnownRegex; + /** + * MapRules describe the constraints applied to `map` values + */ export type MapRules = _validate_MapRules; + /** + * MapRules describe the constraints applied to `map` values + */ export type MapRules__Output = _validate_MapRules__Output; + /** + * MessageRules describe the constraints applied to embedded message values. + * For message-type fields, validation is performed recursively. + */ export type MessageRules = _validate_MessageRules; + /** + * MessageRules describe the constraints applied to embedded message values. + * For message-type fields, validation is performed recursively. + */ export type MessageRules__Output = _validate_MessageRules__Output; + /** + * RepeatedRules describe the constraints applied to `repeated` values + */ export type RepeatedRules = _validate_RepeatedRules; + /** + * RepeatedRules describe the constraints applied to `repeated` values + */ export type RepeatedRules__Output = _validate_RepeatedRules__Output; + /** + * SFixed32Rules describes the constraints applied to `sfixed32` values + */ export type SFixed32Rules = _validate_SFixed32Rules; + /** + * SFixed32Rules describes the constraints applied to `sfixed32` values + */ export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + /** + * SFixed64Rules describes the constraints applied to `sfixed64` values + */ export type SFixed64Rules = _validate_SFixed64Rules; + /** + * SFixed64Rules describes the constraints applied to `sfixed64` values + */ export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + /** + * SInt32Rules describes the constraints applied to `sint32` values + */ export type SInt32Rules = _validate_SInt32Rules; + /** + * SInt32Rules describes the constraints applied to `sint32` values + */ export type SInt32Rules__Output = _validate_SInt32Rules__Output; + /** + * SInt64Rules describes the constraints applied to `sint64` values + */ export type SInt64Rules = _validate_SInt64Rules; + /** + * SInt64Rules describes the constraints applied to `sint64` values + */ export type SInt64Rules__Output = _validate_SInt64Rules__Output; + /** + * StringRules describe the constraints applied to `string` values + */ export type StringRules = _validate_StringRules; + /** + * StringRules describe the constraints applied to `string` values + */ export type StringRules__Output = _validate_StringRules__Output; + /** + * TimestampRules describe the constraints applied exclusively to the + * `google.protobuf.Timestamp` well-known type + */ export type TimestampRules = _validate_TimestampRules; + /** + * TimestampRules describe the constraints applied exclusively to the + * `google.protobuf.Timestamp` well-known type + */ export type TimestampRules__Output = _validate_TimestampRules__Output; + /** + * UInt32Rules describes the constraints applied to `uint32` values + */ export type UInt32Rules = _validate_UInt32Rules; + /** + * UInt32Rules describes the constraints applied to `uint32` values + */ export type UInt32Rules__Output = _validate_UInt32Rules__Output; + /** + * UInt64Rules describes the constraints applied to `uint64` values + */ export type UInt64Rules = _validate_UInt64Rules; + /** + * UInt64Rules describes the constraints applied to `uint64` values + */ export type UInt64Rules__Output = _validate_UInt64Rules__Output; } } @@ -421,14 +967,28 @@ export namespace ClientInterfaces { export namespace v2 { export namespace AdsDummy { } + /** + * See https://github.com/lyft/envoy-api#apis for a description of the role of + * ADS and how it is intended to be used by a management server. ADS requests + * have the same structure as their singleton xDS counterparts, but can + * multiplex many resource types on a single stream. The type_url in the + * DiscoveryRequest/DiscoveryResponse provides sufficient information to recover + * the multiplexed singleton APIs at the Envoy instance and management server. + */ export interface AggregatedDiscoveryServiceClient extends grpc.Client { DeltaAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; DeltaAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; deltaAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; deltaAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; + /** + * This is a gRPC-only API. + */ StreamAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; StreamAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; + /** + * This is a gRPC-only API. + */ streamAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; streamAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; @@ -647,6 +1207,14 @@ export interface ProtoGrpcType { discovery: { v2: { AdsDummy: MessageTypeDefinition + /** + * See https://github.com/lyft/envoy-api#apis for a description of the role of + * ADS and how it is intended to be used by a management server. ADS requests + * have the same structure as their singleton xDS counterparts, but can + * multiplex many resource types on a single stream. The type_url in the + * DiscoveryRequest/DiscoveryResponse provides sufficient information to recover + * the multiplexed singleton APIs at the Envoy instance and management server. + */ AggregatedDiscoveryService: SubtypeConstructor & { service: ServiceDefinition } } } @@ -814,9 +1382,20 @@ export namespace ServiceHandlers { export namespace v2 { export namespace AdsDummy { } + /** + * See https://github.com/lyft/envoy-api#apis for a description of the role of + * ADS and how it is intended to be used by a management server. ADS requests + * have the same structure as their singleton xDS counterparts, but can + * multiplex many resource types on a single stream. The type_url in the + * DiscoveryRequest/DiscoveryResponse provides sufficient information to recover + * the multiplexed singleton APIs at the Envoy instance and management server. + */ export interface AggregatedDiscoveryService { DeltaAggregatedResources(call: grpc.ServerDuplexStream): void; + /** + * This is a gRPC-only API. + */ StreamAggregatedResources(call: grpc.ServerDuplexStream): void; } diff --git a/packages/grpc-js/src/generated/cluster.ts b/packages/grpc-js/src/generated/cluster.ts index a99ff3277..bf6f37bfc 100644 --- a/packages/grpc-js/src/generated/cluster.ts +++ b/packages/grpc-js/src/generated/cluster.ts @@ -156,32 +156,156 @@ export namespace messages { } export namespace api { export namespace v2 { + /** + * Configuration for a single upstream cluster. + * [#next-free-field: 48] + */ export type Cluster = _envoy_api_v2_Cluster; + /** + * Configuration for a single upstream cluster. + * [#next-free-field: 48] + */ export type Cluster__Output = _envoy_api_v2_Cluster__Output; + /** + * Each route from RDS will map to a single cluster or traffic split across + * clusters using weights expressed in the RDS WeightedCluster. + * + * With EDS, each cluster is treated independently from a LB perspective, with + * LB taking place between the Localities within a cluster and at a finer + * granularity between the hosts within a locality. The percentage of traffic + * for each endpoint is determined by both its load_balancing_weight, and the + * load_balancing_weight of its locality. First, a locality will be selected, + * then an endpoint within that locality will be chose based on its weight. + * [#next-free-field: 6] + */ export type ClusterLoadAssignment = _envoy_api_v2_ClusterLoadAssignment; + /** + * Each route from RDS will map to a single cluster or traffic split across + * clusters using weights expressed in the RDS WeightedCluster. + * + * With EDS, each cluster is treated independently from a LB perspective, with + * LB taking place between the Localities within a cluster and at a finer + * granularity between the hosts within a locality. The percentage of traffic + * for each endpoint is determined by both its load_balancing_weight, and the + * load_balancing_weight of its locality. First, a locality will be selected, + * then an endpoint within that locality will be chose based on its weight. + * [#next-free-field: 6] + */ export type ClusterLoadAssignment__Output = _envoy_api_v2_ClusterLoadAssignment__Output; + /** + * [#not-implemented-hide:] Extensible load balancing policy configuration. + * + * Every LB policy defined via this mechanism will be identified via a unique name using reverse + * DNS notation. If the policy needs configuration parameters, it must define a message for its + * own configuration, which will be stored in the config field. The name of the policy will tell + * clients which type of message they should expect to see in the config field. + * + * Note that there are cases where it is useful to be able to independently select LB policies + * for choosing a locality and for choosing an endpoint within that locality. For example, a + * given deployment may always use the same policy to choose the locality, but for choosing the + * endpoint within the locality, some clusters may use weighted-round-robin, while others may + * use some sort of session-based balancing. + * + * This can be accomplished via hierarchical LB policies, where the parent LB policy creates a + * child LB policy for each locality. For each request, the parent chooses the locality and then + * delegates to the child policy for that locality to choose the endpoint within the locality. + * + * To facilitate this, the config message for the top-level LB policy may include a field of + * type LoadBalancingPolicy that specifies the child policy. + */ export type LoadBalancingPolicy = _envoy_api_v2_LoadBalancingPolicy; + /** + * [#not-implemented-hide:] Extensible load balancing policy configuration. + * + * Every LB policy defined via this mechanism will be identified via a unique name using reverse + * DNS notation. If the policy needs configuration parameters, it must define a message for its + * own configuration, which will be stored in the config field. The name of the policy will tell + * clients which type of message they should expect to see in the config field. + * + * Note that there are cases where it is useful to be able to independently select LB policies + * for choosing a locality and for choosing an endpoint within that locality. For example, a + * given deployment may always use the same policy to choose the locality, but for choosing the + * endpoint within the locality, some clusters may use weighted-round-robin, while others may + * use some sort of session-based balancing. + * + * This can be accomplished via hierarchical LB policies, where the parent LB policy creates a + * child LB policy for each locality. For each request, the parent chooses the locality and then + * delegates to the child policy for that locality to choose the endpoint within the locality. + * + * To facilitate this, the config message for the top-level LB policy may include a field of + * type LoadBalancingPolicy that specifies the child policy. + */ export type LoadBalancingPolicy__Output = _envoy_api_v2_LoadBalancingPolicy__Output; + /** + * An extensible structure containing the address Envoy should bind to when + * establishing upstream connections. + */ export type UpstreamBindConfig = _envoy_api_v2_UpstreamBindConfig; + /** + * An extensible structure containing the address Envoy should bind to when + * establishing upstream connections. + */ export type UpstreamBindConfig__Output = _envoy_api_v2_UpstreamBindConfig__Output; export type UpstreamConnectionOptions = _envoy_api_v2_UpstreamConnectionOptions; export type UpstreamConnectionOptions__Output = _envoy_api_v2_UpstreamConnectionOptions__Output; export namespace auth { + /** + * [#next-free-field: 11] + */ export type CertificateValidationContext = _envoy_api_v2_auth_CertificateValidationContext; + /** + * [#next-free-field: 11] + */ export type CertificateValidationContext__Output = _envoy_api_v2_auth_CertificateValidationContext__Output; + /** + * TLS context shared by both client and server TLS contexts. + * [#next-free-field: 9] + */ export type CommonTlsContext = _envoy_api_v2_auth_CommonTlsContext; + /** + * TLS context shared by both client and server TLS contexts. + * [#next-free-field: 9] + */ export type CommonTlsContext__Output = _envoy_api_v2_auth_CommonTlsContext__Output; + /** + * [#next-free-field: 8] + */ export type DownstreamTlsContext = _envoy_api_v2_auth_DownstreamTlsContext; + /** + * [#next-free-field: 8] + */ export type DownstreamTlsContext__Output = _envoy_api_v2_auth_DownstreamTlsContext__Output; export type GenericSecret = _envoy_api_v2_auth_GenericSecret; export type GenericSecret__Output = _envoy_api_v2_auth_GenericSecret__Output; + /** + * BoringSSL private key method configuration. The private key methods are used for external + * (potentially asynchronous) signing and decryption operations. Some use cases for private key + * methods would be TPM support and TLS acceleration. + */ export type PrivateKeyProvider = _envoy_api_v2_auth_PrivateKeyProvider; + /** + * BoringSSL private key method configuration. The private key methods are used for external + * (potentially asynchronous) signing and decryption operations. Some use cases for private key + * methods would be TPM support and TLS acceleration. + */ export type PrivateKeyProvider__Output = _envoy_api_v2_auth_PrivateKeyProvider__Output; export type SdsSecretConfig = _envoy_api_v2_auth_SdsSecretConfig; export type SdsSecretConfig__Output = _envoy_api_v2_auth_SdsSecretConfig__Output; + /** + * [#next-free-field: 6] + */ export type Secret = _envoy_api_v2_auth_Secret; + /** + * [#next-free-field: 6] + */ export type Secret__Output = _envoy_api_v2_auth_Secret__Output; + /** + * [#next-free-field: 7] + */ export type TlsCertificate = _envoy_api_v2_auth_TlsCertificate; + /** + * [#next-free-field: 7] + */ export type TlsCertificate__Output = _envoy_api_v2_auth_TlsCertificate__Output; export type TlsParameters = _envoy_api_v2_auth_TlsParameters; export type TlsParameters__Output = _envoy_api_v2_auth_TlsParameters__Output; @@ -191,145 +315,1195 @@ export namespace messages { export type UpstreamTlsContext__Output = _envoy_api_v2_auth_UpstreamTlsContext__Output; } export namespace cluster { + /** + * :ref:`Circuit breaking` settings can be + * specified individually for each defined priority. + */ export type CircuitBreakers = _envoy_api_v2_cluster_CircuitBreakers; + /** + * :ref:`Circuit breaking` settings can be + * specified individually for each defined priority. + */ export type CircuitBreakers__Output = _envoy_api_v2_cluster_CircuitBreakers__Output; export type Filter = _envoy_api_v2_cluster_Filter; export type Filter__Output = _envoy_api_v2_cluster_Filter__Output; + /** + * See the :ref:`architecture overview ` for + * more information on outlier detection. + * [#next-free-field: 21] + */ export type OutlierDetection = _envoy_api_v2_cluster_OutlierDetection; + /** + * See the :ref:`architecture overview ` for + * more information on outlier detection. + * [#next-free-field: 21] + */ export type OutlierDetection__Output = _envoy_api_v2_cluster_OutlierDetection__Output; } export namespace core { + /** + * Addresses specify either a logical or physical address and port, which are + * used to tell Envoy where to bind/listen, connect to upstream and find + * management servers. + */ export type Address = _envoy_api_v2_core_Address; + /** + * Addresses specify either a logical or physical address and port, which are + * used to tell Envoy where to bind/listen, connect to upstream and find + * management servers. + */ export type Address__Output = _envoy_api_v2_core_Address__Output; + /** + * Aggregated Discovery Service (ADS) options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that ADS is to be used. + */ export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; + /** + * Aggregated Discovery Service (ADS) options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that ADS is to be used. + */ export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; + /** + * API configuration source. This identifies the API type and cluster that Envoy + * will use to fetch an xDS API. + * [#next-free-field: 9] + */ export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; + /** + * API configuration source. This identifies the API type and cluster that Envoy + * will use to fetch an xDS API. + * [#next-free-field: 9] + */ export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; + /** + * xDS API version. This is used to describe both resource and transport + * protocol versions (in distinct configuration fields). + */ export type ApiVersion = _envoy_api_v2_core_ApiVersion; + /** + * Async data source which support async data fetch. + */ export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + /** + * Async data source which support async data fetch. + */ export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + /** + * Configuration defining a jittered exponential back off strategy. + */ export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + /** + * Configuration defining a jittered exponential back off strategy. + */ export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; export type BindConfig = _envoy_api_v2_core_BindConfig; export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; + /** + * BuildVersion combines SemVer version of extension with free-form build information + * (i.e. 'alpha', 'private-build') as a set of strings. + */ export type BuildVersion = _envoy_api_v2_core_BuildVersion; + /** + * BuildVersion combines SemVer version of extension with free-form build information + * (i.e. 'alpha', 'private-build') as a set of strings. + */ export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + /** + * CidrRange specifies an IP Address and a prefix length to construct + * the subnet mask for a `CIDR `_ range. + */ export type CidrRange = _envoy_api_v2_core_CidrRange; + /** + * CidrRange specifies an IP Address and a prefix length to construct + * the subnet mask for a `CIDR `_ range. + */ export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + /** + * Configuration for :ref:`listeners `, :ref:`clusters + * `, :ref:`routes + * `, :ref:`endpoints + * ` etc. may either be sourced from the + * filesystem or from an xDS API source. Filesystem configs are watched with + * inotify for updates. + * [#next-free-field: 7] + */ export type ConfigSource = _envoy_api_v2_core_ConfigSource; + /** + * Configuration for :ref:`listeners `, :ref:`clusters + * `, :ref:`routes + * `, :ref:`endpoints + * ` etc. may either be sourced from the + * filesystem or from an xDS API source. Filesystem configs are watched with + * inotify for updates. + * [#next-free-field: 7] + */ export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; + /** + * Identifies a specific ControlPlane instance that Envoy is connected to. + */ export type ControlPlane = _envoy_api_v2_core_ControlPlane; + /** + * Identifies a specific ControlPlane instance that Envoy is connected to. + */ export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + /** + * Data source consisting of either a file or an inline value. + */ export type DataSource = _envoy_api_v2_core_DataSource; + /** + * Data source consisting of either a file or an inline value. + */ export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; + /** + * [#not-implemented-hide:] + * Configuration of the event reporting service endpoint. + */ export type EventServiceConfig = _envoy_api_v2_core_EventServiceConfig; + /** + * [#not-implemented-hide:] + * Configuration of the event reporting service endpoint. + */ export type EventServiceConfig__Output = _envoy_api_v2_core_EventServiceConfig__Output; + /** + * Version and identification for an Envoy extension. + * [#next-free-field: 6] + */ export type Extension = _envoy_api_v2_core_Extension; + /** + * Version and identification for an Envoy extension. + * [#next-free-field: 6] + */ export type Extension__Output = _envoy_api_v2_core_Extension__Output; + /** + * [#not-implemented-hide:] + */ export type GrpcProtocolOptions = _envoy_api_v2_core_GrpcProtocolOptions; + /** + * [#not-implemented-hide:] + */ export type GrpcProtocolOptions__Output = _envoy_api_v2_core_GrpcProtocolOptions__Output; + /** + * gRPC service configuration. This is used by :ref:`ApiConfigSource + * ` and filter configurations. + * [#next-free-field: 6] + */ export type GrpcService = _envoy_api_v2_core_GrpcService; + /** + * gRPC service configuration. This is used by :ref:`ApiConfigSource + * ` and filter configurations. + * [#next-free-field: 6] + */ export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + /** + * Wrapper for a set of headers. + */ export type HeaderMap = _envoy_api_v2_core_HeaderMap; + /** + * Wrapper for a set of headers. + */ export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; + /** + * Header name/value pair. + */ export type HeaderValue = _envoy_api_v2_core_HeaderValue; + /** + * Header name/value pair. + */ export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; + /** + * Header name/value pair plus option to control append behavior. + */ export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; + /** + * Header name/value pair plus option to control append behavior. + */ export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; + /** + * [#next-free-field: 23] + */ export type HealthCheck = _envoy_api_v2_core_HealthCheck; + /** + * [#next-free-field: 23] + */ export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; + /** + * Endpoint health status. + */ export type HealthStatus = _envoy_api_v2_core_HealthStatus; + /** + * [#next-free-field: 6] + */ export type Http1ProtocolOptions = _envoy_api_v2_core_Http1ProtocolOptions; + /** + * [#next-free-field: 6] + */ export type Http1ProtocolOptions__Output = _envoy_api_v2_core_Http1ProtocolOptions__Output; + /** + * [#next-free-field: 14] + */ export type Http2ProtocolOptions = _envoy_api_v2_core_Http2ProtocolOptions; + /** + * [#next-free-field: 14] + */ export type Http2ProtocolOptions__Output = _envoy_api_v2_core_Http2ProtocolOptions__Output; + /** + * [#next-free-field: 6] + */ export type HttpProtocolOptions = _envoy_api_v2_core_HttpProtocolOptions; + /** + * [#next-free-field: 6] + */ export type HttpProtocolOptions__Output = _envoy_api_v2_core_HttpProtocolOptions__Output; + /** + * Envoy external URI descriptor + */ export type HttpUri = _envoy_api_v2_core_HttpUri; + /** + * Envoy external URI descriptor + */ export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + /** + * Identifies location of where either Envoy runs or where upstream hosts run. + */ export type Locality = _envoy_api_v2_core_Locality; + /** + * Identifies location of where either Envoy runs or where upstream hosts run. + */ export type Locality__Output = _envoy_api_v2_core_Locality__Output; + /** + * Metadata provides additional inputs to filters based on matched listeners, + * filter chains, routes and endpoints. It is structured as a map, usually from + * filter name (in reverse DNS format) to metadata specific to the filter. Metadata + * key-values for a filter are merged as connection and request handling occurs, + * with later values for the same key overriding earlier values. + * + * An example use of metadata is providing additional values to + * http_connection_manager in the envoy.http_connection_manager.access_log + * namespace. + * + * Another example use of metadata is to per service config info in cluster metadata, which may get + * consumed by multiple filters. + * + * For load balancing, Metadata provides a means to subset cluster endpoints. + * Endpoints have a Metadata object associated and routes contain a Metadata + * object to match against. There are some well defined metadata used today for + * this purpose: + * + * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an + * endpoint and is also used during header processing + * (x-envoy-upstream-canary) and for stats purposes. + * [#next-major-version: move to type/metadata/v2] + */ export type Metadata = _envoy_api_v2_core_Metadata; + /** + * Metadata provides additional inputs to filters based on matched listeners, + * filter chains, routes and endpoints. It is structured as a map, usually from + * filter name (in reverse DNS format) to metadata specific to the filter. Metadata + * key-values for a filter are merged as connection and request handling occurs, + * with later values for the same key overriding earlier values. + * + * An example use of metadata is providing additional values to + * http_connection_manager in the envoy.http_connection_manager.access_log + * namespace. + * + * Another example use of metadata is to per service config info in cluster metadata, which may get + * consumed by multiple filters. + * + * For load balancing, Metadata provides a means to subset cluster endpoints. + * Endpoints have a Metadata object associated and routes contain a Metadata + * object to match against. There are some well defined metadata used today for + * this purpose: + * + * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an + * endpoint and is also used during header processing + * (x-envoy-upstream-canary) and for stats purposes. + * [#next-major-version: move to type/metadata/v2] + */ export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + /** + * Identifies a specific Envoy instance. The node identifier is presented to the + * management server, which may use this identifier to distinguish per Envoy + * configuration for serving. + * [#next-free-field: 12] + */ export type Node = _envoy_api_v2_core_Node; + /** + * Identifies a specific Envoy instance. The node identifier is presented to the + * management server, which may use this identifier to distinguish per Envoy + * configuration for serving. + * [#next-free-field: 12] + */ export type Node__Output = _envoy_api_v2_core_Node__Output; export type Pipe = _envoy_api_v2_core_Pipe; export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + /** + * Rate Limit settings to be applied for discovery requests made by Envoy. + */ export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; + /** + * Rate Limit settings to be applied for discovery requests made by Envoy. + */ export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; + /** + * The message specifies how to fetch data from remote and how to verify it. + */ export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; + /** + * The message specifies how to fetch data from remote and how to verify it. + */ export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; + /** + * HTTP request method. + */ export type RequestMethod = _envoy_api_v2_core_RequestMethod; + /** + * The message specifies the retry policy of remote data source when fetching fails. + */ export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + /** + * The message specifies the retry policy of remote data source when fetching fails. + */ export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + /** + * Envoy supports :ref:`upstream priority routing + * ` both at the route and the virtual + * cluster level. The current priority implementation uses different connection + * pool and circuit breaking settings for each priority level. This means that + * even for HTTP/2 requests, two physical connections will be used to an + * upstream host. In the future Envoy will likely support true HTTP/2 priority + * over a single upstream connection. + */ export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + /** + * Runtime derived double with a default when not specified. + */ export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + /** + * Runtime derived double with a default when not specified. + */ export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + /** + * Runtime derived bool with a default when not specified. + */ export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + /** + * Runtime derived bool with a default when not specified. + */ export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + /** + * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not + * specified via a runtime key. + * + * .. note:: + * + * Parsing of the runtime key's data is implemented such that it may be represented as a + * :ref:`FractionalPercent ` proto represented as JSON/YAML + * and may also be represented as an integer with the assumption that the value is an integral + * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse + * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. + */ export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; + /** + * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not + * specified via a runtime key. + * + * .. note:: + * + * Parsing of the runtime key's data is implemented such that it may be represented as a + * :ref:`FractionalPercent ` proto represented as JSON/YAML + * and may also be represented as an integer with the assumption that the value is an integral + * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse + * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. + */ export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; + /** + * Runtime derived uint32 with a default when not specified. + */ export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + /** + * Runtime derived uint32 with a default when not specified. + */ export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; + /** + * [#not-implemented-hide:] + * Self-referencing config source options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that other data can be obtained from the same server. + */ export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; + /** + * [#not-implemented-hide:] + * Self-referencing config source options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that other data can be obtained from the same server. + */ export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; + /** + * [#next-free-field: 7] + */ export type SocketAddress = _envoy_api_v2_core_SocketAddress; + /** + * [#next-free-field: 7] + */ export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; + /** + * Generic socket option message. This would be used to set socket options that + * might not exist in upstream kernels or precompiled Envoy binaries. + * [#next-free-field: 7] + */ export type SocketOption = _envoy_api_v2_core_SocketOption; + /** + * Generic socket option message. This would be used to set socket options that + * might not exist in upstream kernels or precompiled Envoy binaries. + * [#next-free-field: 7] + */ export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + /** + * [#not-implemented-hide:] + */ export type TcpProtocolOptions = _envoy_api_v2_core_TcpProtocolOptions; + /** + * [#not-implemented-hide:] + */ export type TcpProtocolOptions__Output = _envoy_api_v2_core_TcpProtocolOptions__Output; + /** + * Identifies the direction of the traffic relative to the local Envoy. + */ export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + /** + * Configuration for transport socket in :ref:`listeners ` and + * :ref:`clusters `. If the configuration is + * empty, a default transport socket implementation and configuration will be + * chosen based on the platform and existence of tls_context. + */ export type TransportSocket = _envoy_api_v2_core_TransportSocket; + /** + * Configuration for transport socket in :ref:`listeners ` and + * :ref:`clusters `. If the configuration is + * empty, a default transport socket implementation and configuration will be + * chosen based on the platform and existence of tls_context. + */ export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; export type UpstreamHttpProtocolOptions = _envoy_api_v2_core_UpstreamHttpProtocolOptions; export type UpstreamHttpProtocolOptions__Output = _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output; } export namespace endpoint { + /** + * Upstream host identifier. + */ export type Endpoint = _envoy_api_v2_endpoint_Endpoint; + /** + * Upstream host identifier. + */ export type Endpoint__Output = _envoy_api_v2_endpoint_Endpoint__Output; + /** + * An Endpoint that Envoy can route traffic to. + * [#next-free-field: 6] + */ export type LbEndpoint = _envoy_api_v2_endpoint_LbEndpoint; + /** + * An Endpoint that Envoy can route traffic to. + * [#next-free-field: 6] + */ export type LbEndpoint__Output = _envoy_api_v2_endpoint_LbEndpoint__Output; + /** + * A group of endpoints belonging to a Locality. + * One can have multiple LocalityLbEndpoints for a locality, but this is + * generally only done if the different groups need to have different load + * balancing weights or different priorities. + * [#next-free-field: 7] + */ export type LocalityLbEndpoints = _envoy_api_v2_endpoint_LocalityLbEndpoints; + /** + * A group of endpoints belonging to a Locality. + * One can have multiple LocalityLbEndpoints for a locality, but this is + * generally only done if the different groups need to have different load + * balancing weights or different priorities. + * [#next-free-field: 7] + */ export type LocalityLbEndpoints__Output = _envoy_api_v2_endpoint_LocalityLbEndpoints__Output; } } } export namespace type { export type CodecClientType = _envoy_type_CodecClientType; + /** + * Specifies the double start and end of the range using half-open interval semantics [start, + * end). + */ export type DoubleRange = _envoy_type_DoubleRange; + /** + * Specifies the double start and end of the range using half-open interval semantics [start, + * end). + */ export type DoubleRange__Output = _envoy_type_DoubleRange__Output; + /** + * A fractional percentage is used in cases in which for performance reasons performing floating + * point to integer conversions during randomness calculations is undesirable. The message includes + * both a numerator and denominator that together determine the final fractional value. + * + * * **Example**: 1/100 = 1%. + * * **Example**: 3/10000 = 0.03%. + */ export type FractionalPercent = _envoy_type_FractionalPercent; + /** + * A fractional percentage is used in cases in which for performance reasons performing floating + * point to integer conversions during randomness calculations is undesirable. The message includes + * both a numerator and denominator that together determine the final fractional value. + * + * * **Example**: 1/100 = 1%. + * * **Example**: 3/10000 = 0.03%. + */ export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + /** + * Specifies the int32 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int32Range = _envoy_type_Int32Range; + /** + * Specifies the int32 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int32Range__Output = _envoy_type_Int32Range__Output; + /** + * Specifies the int64 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int64Range = _envoy_type_Int64Range; + /** + * Specifies the int64 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int64Range__Output = _envoy_type_Int64Range__Output; + /** + * Identifies a percentage, in the range [0.0, 100.0]. + */ export type Percent = _envoy_type_Percent; + /** + * Identifies a percentage, in the range [0.0, 100.0]. + */ export type Percent__Output = _envoy_type_Percent__Output; + /** + * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate + * expected behaviors and APIs, the patch version field is used only + * for security fixes and can be generally ignored. + */ export type SemanticVersion = _envoy_type_SemanticVersion; + /** + * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate + * expected behaviors and APIs, the patch version field is used only + * for security fixes and can be generally ignored. + */ export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; export namespace matcher { + /** + * Specifies a list of ways to match a string. + */ export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; + /** + * Specifies a list of ways to match a string. + */ export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; + /** + * Describes how to match a string and then produce a new string using a regular + * expression and a substitution string. + */ export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; + /** + * Describes how to match a string and then produce a new string using a regular + * expression and a substitution string. + */ export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; + /** + * A regex matcher designed for safety when used with untrusted input. + */ export type RegexMatcher = _envoy_type_matcher_RegexMatcher; + /** + * A regex matcher designed for safety when used with untrusted input. + */ export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; + /** + * Specifies the way to match a string. + * [#next-free-field: 7] + */ export type StringMatcher = _envoy_type_matcher_StringMatcher; + /** + * Specifies the way to match a string. + * [#next-free-field: 7] + */ export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; } } } export namespace google { export namespace api { + /** + * A custom pattern is used for defining custom HTTP verb. + */ export type CustomHttpPattern = _google_api_CustomHttpPattern; + /** + * A custom pattern is used for defining custom HTTP verb. + */ export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; + /** + * Defines the HTTP configuration for an API service. It contains a list of + * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method + * to one or more HTTP REST API methods. + */ export type Http = _google_api_Http; + /** + * Defines the HTTP configuration for an API service. It contains a list of + * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method + * to one or more HTTP REST API methods. + */ export type Http__Output = _google_api_Http__Output; + /** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ export type HttpRule = _google_api_HttpRule; + /** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ export type HttpRule__Output = _google_api_HttpRule__Output; } export namespace protobuf { @@ -422,52 +1596,203 @@ export namespace messages { } } export namespace validate { + /** + * AnyRules describe constraints applied exclusively to the + * `google.protobuf.Any` well-known type + */ export type AnyRules = _validate_AnyRules; + /** + * AnyRules describe constraints applied exclusively to the + * `google.protobuf.Any` well-known type + */ export type AnyRules__Output = _validate_AnyRules__Output; + /** + * BoolRules describes the constraints applied to `bool` values + */ export type BoolRules = _validate_BoolRules; + /** + * BoolRules describes the constraints applied to `bool` values + */ export type BoolRules__Output = _validate_BoolRules__Output; + /** + * BytesRules describe the constraints applied to `bytes` values + */ export type BytesRules = _validate_BytesRules; + /** + * BytesRules describe the constraints applied to `bytes` values + */ export type BytesRules__Output = _validate_BytesRules__Output; + /** + * DoubleRules describes the constraints applied to `double` values + */ export type DoubleRules = _validate_DoubleRules; + /** + * DoubleRules describes the constraints applied to `double` values + */ export type DoubleRules__Output = _validate_DoubleRules__Output; + /** + * DurationRules describe the constraints applied exclusively to the + * `google.protobuf.Duration` well-known type + */ export type DurationRules = _validate_DurationRules; + /** + * DurationRules describe the constraints applied exclusively to the + * `google.protobuf.Duration` well-known type + */ export type DurationRules__Output = _validate_DurationRules__Output; + /** + * EnumRules describe the constraints applied to enum values + */ export type EnumRules = _validate_EnumRules; + /** + * EnumRules describe the constraints applied to enum values + */ export type EnumRules__Output = _validate_EnumRules__Output; + /** + * FieldRules encapsulates the rules for each type of field. Depending on the + * field, the correct set should be used to ensure proper validations. + */ export type FieldRules = _validate_FieldRules; + /** + * FieldRules encapsulates the rules for each type of field. Depending on the + * field, the correct set should be used to ensure proper validations. + */ export type FieldRules__Output = _validate_FieldRules__Output; + /** + * Fixed32Rules describes the constraints applied to `fixed32` values + */ export type Fixed32Rules = _validate_Fixed32Rules; + /** + * Fixed32Rules describes the constraints applied to `fixed32` values + */ export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + /** + * Fixed64Rules describes the constraints applied to `fixed64` values + */ export type Fixed64Rules = _validate_Fixed64Rules; + /** + * Fixed64Rules describes the constraints applied to `fixed64` values + */ export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + /** + * FloatRules describes the constraints applied to `float` values + */ export type FloatRules = _validate_FloatRules; + /** + * FloatRules describes the constraints applied to `float` values + */ export type FloatRules__Output = _validate_FloatRules__Output; + /** + * Int32Rules describes the constraints applied to `int32` values + */ export type Int32Rules = _validate_Int32Rules; + /** + * Int32Rules describes the constraints applied to `int32` values + */ export type Int32Rules__Output = _validate_Int32Rules__Output; + /** + * Int64Rules describes the constraints applied to `int64` values + */ export type Int64Rules = _validate_Int64Rules; + /** + * Int64Rules describes the constraints applied to `int64` values + */ export type Int64Rules__Output = _validate_Int64Rules__Output; + /** + * WellKnownRegex contain some well-known patterns. + */ export type KnownRegex = _validate_KnownRegex; + /** + * MapRules describe the constraints applied to `map` values + */ export type MapRules = _validate_MapRules; + /** + * MapRules describe the constraints applied to `map` values + */ export type MapRules__Output = _validate_MapRules__Output; + /** + * MessageRules describe the constraints applied to embedded message values. + * For message-type fields, validation is performed recursively. + */ export type MessageRules = _validate_MessageRules; + /** + * MessageRules describe the constraints applied to embedded message values. + * For message-type fields, validation is performed recursively. + */ export type MessageRules__Output = _validate_MessageRules__Output; + /** + * RepeatedRules describe the constraints applied to `repeated` values + */ export type RepeatedRules = _validate_RepeatedRules; + /** + * RepeatedRules describe the constraints applied to `repeated` values + */ export type RepeatedRules__Output = _validate_RepeatedRules__Output; + /** + * SFixed32Rules describes the constraints applied to `sfixed32` values + */ export type SFixed32Rules = _validate_SFixed32Rules; + /** + * SFixed32Rules describes the constraints applied to `sfixed32` values + */ export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + /** + * SFixed64Rules describes the constraints applied to `sfixed64` values + */ export type SFixed64Rules = _validate_SFixed64Rules; + /** + * SFixed64Rules describes the constraints applied to `sfixed64` values + */ export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + /** + * SInt32Rules describes the constraints applied to `sint32` values + */ export type SInt32Rules = _validate_SInt32Rules; + /** + * SInt32Rules describes the constraints applied to `sint32` values + */ export type SInt32Rules__Output = _validate_SInt32Rules__Output; + /** + * SInt64Rules describes the constraints applied to `sint64` values + */ export type SInt64Rules = _validate_SInt64Rules; + /** + * SInt64Rules describes the constraints applied to `sint64` values + */ export type SInt64Rules__Output = _validate_SInt64Rules__Output; + /** + * StringRules describe the constraints applied to `string` values + */ export type StringRules = _validate_StringRules; + /** + * StringRules describe the constraints applied to `string` values + */ export type StringRules__Output = _validate_StringRules__Output; + /** + * TimestampRules describe the constraints applied exclusively to the + * `google.protobuf.Timestamp` well-known type + */ export type TimestampRules = _validate_TimestampRules; + /** + * TimestampRules describe the constraints applied exclusively to the + * `google.protobuf.Timestamp` well-known type + */ export type TimestampRules__Output = _validate_TimestampRules__Output; + /** + * UInt32Rules describes the constraints applied to `uint32` values + */ export type UInt32Rules = _validate_UInt32Rules; + /** + * UInt32Rules describes the constraints applied to `uint32` values + */ export type UInt32Rules__Output = _validate_UInt32Rules__Output; + /** + * UInt64Rules describes the constraints applied to `uint64` values + */ export type UInt64Rules = _validate_UInt64Rules; + /** + * UInt64Rules describes the constraints applied to `uint64` values + */ export type UInt64Rules__Output = _validate_UInt64Rules__Output; } } diff --git a/packages/grpc-js/src/generated/endpoint.ts b/packages/grpc-js/src/generated/endpoint.ts index 7bfbe093f..bbd9ef7df 100644 --- a/packages/grpc-js/src/generated/endpoint.ts +++ b/packages/grpc-js/src/generated/endpoint.ts @@ -126,117 +126,1083 @@ export namespace messages { } export namespace api { export namespace v2 { + /** + * Each route from RDS will map to a single cluster or traffic split across + * clusters using weights expressed in the RDS WeightedCluster. + * + * With EDS, each cluster is treated independently from a LB perspective, with + * LB taking place between the Localities within a cluster and at a finer + * granularity between the hosts within a locality. The percentage of traffic + * for each endpoint is determined by both its load_balancing_weight, and the + * load_balancing_weight of its locality. First, a locality will be selected, + * then an endpoint within that locality will be chose based on its weight. + * [#next-free-field: 6] + */ export type ClusterLoadAssignment = _envoy_api_v2_ClusterLoadAssignment; + /** + * Each route from RDS will map to a single cluster or traffic split across + * clusters using weights expressed in the RDS WeightedCluster. + * + * With EDS, each cluster is treated independently from a LB perspective, with + * LB taking place between the Localities within a cluster and at a finer + * granularity between the hosts within a locality. The percentage of traffic + * for each endpoint is determined by both its load_balancing_weight, and the + * load_balancing_weight of its locality. First, a locality will be selected, + * then an endpoint within that locality will be chose based on its weight. + * [#next-free-field: 6] + */ export type ClusterLoadAssignment__Output = _envoy_api_v2_ClusterLoadAssignment__Output; export namespace core { + /** + * Addresses specify either a logical or physical address and port, which are + * used to tell Envoy where to bind/listen, connect to upstream and find + * management servers. + */ export type Address = _envoy_api_v2_core_Address; + /** + * Addresses specify either a logical or physical address and port, which are + * used to tell Envoy where to bind/listen, connect to upstream and find + * management servers. + */ export type Address__Output = _envoy_api_v2_core_Address__Output; + /** + * Async data source which support async data fetch. + */ export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + /** + * Async data source which support async data fetch. + */ export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + /** + * Configuration defining a jittered exponential back off strategy. + */ export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + /** + * Configuration defining a jittered exponential back off strategy. + */ export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; export type BindConfig = _envoy_api_v2_core_BindConfig; export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; + /** + * BuildVersion combines SemVer version of extension with free-form build information + * (i.e. 'alpha', 'private-build') as a set of strings. + */ export type BuildVersion = _envoy_api_v2_core_BuildVersion; + /** + * BuildVersion combines SemVer version of extension with free-form build information + * (i.e. 'alpha', 'private-build') as a set of strings. + */ export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + /** + * CidrRange specifies an IP Address and a prefix length to construct + * the subnet mask for a `CIDR `_ range. + */ export type CidrRange = _envoy_api_v2_core_CidrRange; + /** + * CidrRange specifies an IP Address and a prefix length to construct + * the subnet mask for a `CIDR `_ range. + */ export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + /** + * Identifies a specific ControlPlane instance that Envoy is connected to. + */ export type ControlPlane = _envoy_api_v2_core_ControlPlane; + /** + * Identifies a specific ControlPlane instance that Envoy is connected to. + */ export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + /** + * Data source consisting of either a file or an inline value. + */ export type DataSource = _envoy_api_v2_core_DataSource; + /** + * Data source consisting of either a file or an inline value. + */ export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; + /** + * [#not-implemented-hide:] + * Configuration of the event reporting service endpoint. + */ export type EventServiceConfig = _envoy_api_v2_core_EventServiceConfig; + /** + * [#not-implemented-hide:] + * Configuration of the event reporting service endpoint. + */ export type EventServiceConfig__Output = _envoy_api_v2_core_EventServiceConfig__Output; + /** + * Version and identification for an Envoy extension. + * [#next-free-field: 6] + */ export type Extension = _envoy_api_v2_core_Extension; + /** + * Version and identification for an Envoy extension. + * [#next-free-field: 6] + */ export type Extension__Output = _envoy_api_v2_core_Extension__Output; + /** + * gRPC service configuration. This is used by :ref:`ApiConfigSource + * ` and filter configurations. + * [#next-free-field: 6] + */ export type GrpcService = _envoy_api_v2_core_GrpcService; + /** + * gRPC service configuration. This is used by :ref:`ApiConfigSource + * ` and filter configurations. + * [#next-free-field: 6] + */ export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + /** + * Wrapper for a set of headers. + */ export type HeaderMap = _envoy_api_v2_core_HeaderMap; + /** + * Wrapper for a set of headers. + */ export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; + /** + * Header name/value pair. + */ export type HeaderValue = _envoy_api_v2_core_HeaderValue; + /** + * Header name/value pair. + */ export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; + /** + * Header name/value pair plus option to control append behavior. + */ export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; + /** + * Header name/value pair plus option to control append behavior. + */ export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; + /** + * [#next-free-field: 23] + */ export type HealthCheck = _envoy_api_v2_core_HealthCheck; + /** + * [#next-free-field: 23] + */ export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; + /** + * Endpoint health status. + */ export type HealthStatus = _envoy_api_v2_core_HealthStatus; + /** + * Envoy external URI descriptor + */ export type HttpUri = _envoy_api_v2_core_HttpUri; + /** + * Envoy external URI descriptor + */ export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + /** + * Identifies location of where either Envoy runs or where upstream hosts run. + */ export type Locality = _envoy_api_v2_core_Locality; + /** + * Identifies location of where either Envoy runs or where upstream hosts run. + */ export type Locality__Output = _envoy_api_v2_core_Locality__Output; + /** + * Metadata provides additional inputs to filters based on matched listeners, + * filter chains, routes and endpoints. It is structured as a map, usually from + * filter name (in reverse DNS format) to metadata specific to the filter. Metadata + * key-values for a filter are merged as connection and request handling occurs, + * with later values for the same key overriding earlier values. + * + * An example use of metadata is providing additional values to + * http_connection_manager in the envoy.http_connection_manager.access_log + * namespace. + * + * Another example use of metadata is to per service config info in cluster metadata, which may get + * consumed by multiple filters. + * + * For load balancing, Metadata provides a means to subset cluster endpoints. + * Endpoints have a Metadata object associated and routes contain a Metadata + * object to match against. There are some well defined metadata used today for + * this purpose: + * + * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an + * endpoint and is also used during header processing + * (x-envoy-upstream-canary) and for stats purposes. + * [#next-major-version: move to type/metadata/v2] + */ export type Metadata = _envoy_api_v2_core_Metadata; + /** + * Metadata provides additional inputs to filters based on matched listeners, + * filter chains, routes and endpoints. It is structured as a map, usually from + * filter name (in reverse DNS format) to metadata specific to the filter. Metadata + * key-values for a filter are merged as connection and request handling occurs, + * with later values for the same key overriding earlier values. + * + * An example use of metadata is providing additional values to + * http_connection_manager in the envoy.http_connection_manager.access_log + * namespace. + * + * Another example use of metadata is to per service config info in cluster metadata, which may get + * consumed by multiple filters. + * + * For load balancing, Metadata provides a means to subset cluster endpoints. + * Endpoints have a Metadata object associated and routes contain a Metadata + * object to match against. There are some well defined metadata used today for + * this purpose: + * + * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an + * endpoint and is also used during header processing + * (x-envoy-upstream-canary) and for stats purposes. + * [#next-major-version: move to type/metadata/v2] + */ export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + /** + * Identifies a specific Envoy instance. The node identifier is presented to the + * management server, which may use this identifier to distinguish per Envoy + * configuration for serving. + * [#next-free-field: 12] + */ export type Node = _envoy_api_v2_core_Node; + /** + * Identifies a specific Envoy instance. The node identifier is presented to the + * management server, which may use this identifier to distinguish per Envoy + * configuration for serving. + * [#next-free-field: 12] + */ export type Node__Output = _envoy_api_v2_core_Node__Output; export type Pipe = _envoy_api_v2_core_Pipe; export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + /** + * The message specifies how to fetch data from remote and how to verify it. + */ export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; + /** + * The message specifies how to fetch data from remote and how to verify it. + */ export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; + /** + * HTTP request method. + */ export type RequestMethod = _envoy_api_v2_core_RequestMethod; + /** + * The message specifies the retry policy of remote data source when fetching fails. + */ export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + /** + * The message specifies the retry policy of remote data source when fetching fails. + */ export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + /** + * Envoy supports :ref:`upstream priority routing + * ` both at the route and the virtual + * cluster level. The current priority implementation uses different connection + * pool and circuit breaking settings for each priority level. This means that + * even for HTTP/2 requests, two physical connections will be used to an + * upstream host. In the future Envoy will likely support true HTTP/2 priority + * over a single upstream connection. + */ export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + /** + * Runtime derived double with a default when not specified. + */ export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + /** + * Runtime derived double with a default when not specified. + */ export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + /** + * Runtime derived bool with a default when not specified. + */ export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + /** + * Runtime derived bool with a default when not specified. + */ export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + /** + * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not + * specified via a runtime key. + * + * .. note:: + * + * Parsing of the runtime key's data is implemented such that it may be represented as a + * :ref:`FractionalPercent ` proto represented as JSON/YAML + * and may also be represented as an integer with the assumption that the value is an integral + * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse + * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. + */ export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; + /** + * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not + * specified via a runtime key. + * + * .. note:: + * + * Parsing of the runtime key's data is implemented such that it may be represented as a + * :ref:`FractionalPercent ` proto represented as JSON/YAML + * and may also be represented as an integer with the assumption that the value is an integral + * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse + * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. + */ export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; + /** + * Runtime derived uint32 with a default when not specified. + */ export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + /** + * Runtime derived uint32 with a default when not specified. + */ export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; + /** + * [#next-free-field: 7] + */ export type SocketAddress = _envoy_api_v2_core_SocketAddress; + /** + * [#next-free-field: 7] + */ export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; + /** + * Generic socket option message. This would be used to set socket options that + * might not exist in upstream kernels or precompiled Envoy binaries. + * [#next-free-field: 7] + */ export type SocketOption = _envoy_api_v2_core_SocketOption; + /** + * Generic socket option message. This would be used to set socket options that + * might not exist in upstream kernels or precompiled Envoy binaries. + * [#next-free-field: 7] + */ export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + /** + * Identifies the direction of the traffic relative to the local Envoy. + */ export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + /** + * Configuration for transport socket in :ref:`listeners ` and + * :ref:`clusters `. If the configuration is + * empty, a default transport socket implementation and configuration will be + * chosen based on the platform and existence of tls_context. + */ export type TransportSocket = _envoy_api_v2_core_TransportSocket; + /** + * Configuration for transport socket in :ref:`listeners ` and + * :ref:`clusters `. If the configuration is + * empty, a default transport socket implementation and configuration will be + * chosen based on the platform and existence of tls_context. + */ export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; } export namespace endpoint { + /** + * Upstream host identifier. + */ export type Endpoint = _envoy_api_v2_endpoint_Endpoint; + /** + * Upstream host identifier. + */ export type Endpoint__Output = _envoy_api_v2_endpoint_Endpoint__Output; + /** + * An Endpoint that Envoy can route traffic to. + * [#next-free-field: 6] + */ export type LbEndpoint = _envoy_api_v2_endpoint_LbEndpoint; + /** + * An Endpoint that Envoy can route traffic to. + * [#next-free-field: 6] + */ export type LbEndpoint__Output = _envoy_api_v2_endpoint_LbEndpoint__Output; + /** + * A group of endpoints belonging to a Locality. + * One can have multiple LocalityLbEndpoints for a locality, but this is + * generally only done if the different groups need to have different load + * balancing weights or different priorities. + * [#next-free-field: 7] + */ export type LocalityLbEndpoints = _envoy_api_v2_endpoint_LocalityLbEndpoints; + /** + * A group of endpoints belonging to a Locality. + * One can have multiple LocalityLbEndpoints for a locality, but this is + * generally only done if the different groups need to have different load + * balancing weights or different priorities. + * [#next-free-field: 7] + */ export type LocalityLbEndpoints__Output = _envoy_api_v2_endpoint_LocalityLbEndpoints__Output; } } } export namespace type { export type CodecClientType = _envoy_type_CodecClientType; + /** + * Specifies the double start and end of the range using half-open interval semantics [start, + * end). + */ export type DoubleRange = _envoy_type_DoubleRange; + /** + * Specifies the double start and end of the range using half-open interval semantics [start, + * end). + */ export type DoubleRange__Output = _envoy_type_DoubleRange__Output; + /** + * A fractional percentage is used in cases in which for performance reasons performing floating + * point to integer conversions during randomness calculations is undesirable. The message includes + * both a numerator and denominator that together determine the final fractional value. + * + * * **Example**: 1/100 = 1%. + * * **Example**: 3/10000 = 0.03%. + */ export type FractionalPercent = _envoy_type_FractionalPercent; + /** + * A fractional percentage is used in cases in which for performance reasons performing floating + * point to integer conversions during randomness calculations is undesirable. The message includes + * both a numerator and denominator that together determine the final fractional value. + * + * * **Example**: 1/100 = 1%. + * * **Example**: 3/10000 = 0.03%. + */ export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + /** + * Specifies the int32 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int32Range = _envoy_type_Int32Range; + /** + * Specifies the int32 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int32Range__Output = _envoy_type_Int32Range__Output; + /** + * Specifies the int64 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int64Range = _envoy_type_Int64Range; + /** + * Specifies the int64 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int64Range__Output = _envoy_type_Int64Range__Output; + /** + * Identifies a percentage, in the range [0.0, 100.0]. + */ export type Percent = _envoy_type_Percent; + /** + * Identifies a percentage, in the range [0.0, 100.0]. + */ export type Percent__Output = _envoy_type_Percent__Output; + /** + * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate + * expected behaviors and APIs, the patch version field is used only + * for security fixes and can be generally ignored. + */ export type SemanticVersion = _envoy_type_SemanticVersion; + /** + * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate + * expected behaviors and APIs, the patch version field is used only + * for security fixes and can be generally ignored. + */ export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; export namespace matcher { + /** + * Specifies a list of ways to match a string. + */ export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; + /** + * Specifies a list of ways to match a string. + */ export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; + /** + * Describes how to match a string and then produce a new string using a regular + * expression and a substitution string. + */ export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; + /** + * Describes how to match a string and then produce a new string using a regular + * expression and a substitution string. + */ export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; + /** + * A regex matcher designed for safety when used with untrusted input. + */ export type RegexMatcher = _envoy_type_matcher_RegexMatcher; + /** + * A regex matcher designed for safety when used with untrusted input. + */ export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; + /** + * Specifies the way to match a string. + * [#next-free-field: 7] + */ export type StringMatcher = _envoy_type_matcher_StringMatcher; + /** + * Specifies the way to match a string. + * [#next-free-field: 7] + */ export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; } } } export namespace google { export namespace api { + /** + * A custom pattern is used for defining custom HTTP verb. + */ export type CustomHttpPattern = _google_api_CustomHttpPattern; + /** + * A custom pattern is used for defining custom HTTP verb. + */ export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; + /** + * Defines the HTTP configuration for an API service. It contains a list of + * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method + * to one or more HTTP REST API methods. + */ export type Http = _google_api_Http; + /** + * Defines the HTTP configuration for an API service. It contains a list of + * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method + * to one or more HTTP REST API methods. + */ export type Http__Output = _google_api_Http__Output; + /** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ export type HttpRule = _google_api_HttpRule; + /** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ export type HttpRule__Output = _google_api_HttpRule__Output; } export namespace protobuf { @@ -329,52 +1295,203 @@ export namespace messages { } } export namespace validate { + /** + * AnyRules describe constraints applied exclusively to the + * `google.protobuf.Any` well-known type + */ export type AnyRules = _validate_AnyRules; + /** + * AnyRules describe constraints applied exclusively to the + * `google.protobuf.Any` well-known type + */ export type AnyRules__Output = _validate_AnyRules__Output; + /** + * BoolRules describes the constraints applied to `bool` values + */ export type BoolRules = _validate_BoolRules; + /** + * BoolRules describes the constraints applied to `bool` values + */ export type BoolRules__Output = _validate_BoolRules__Output; + /** + * BytesRules describe the constraints applied to `bytes` values + */ export type BytesRules = _validate_BytesRules; + /** + * BytesRules describe the constraints applied to `bytes` values + */ export type BytesRules__Output = _validate_BytesRules__Output; + /** + * DoubleRules describes the constraints applied to `double` values + */ export type DoubleRules = _validate_DoubleRules; + /** + * DoubleRules describes the constraints applied to `double` values + */ export type DoubleRules__Output = _validate_DoubleRules__Output; + /** + * DurationRules describe the constraints applied exclusively to the + * `google.protobuf.Duration` well-known type + */ export type DurationRules = _validate_DurationRules; + /** + * DurationRules describe the constraints applied exclusively to the + * `google.protobuf.Duration` well-known type + */ export type DurationRules__Output = _validate_DurationRules__Output; + /** + * EnumRules describe the constraints applied to enum values + */ export type EnumRules = _validate_EnumRules; + /** + * EnumRules describe the constraints applied to enum values + */ export type EnumRules__Output = _validate_EnumRules__Output; + /** + * FieldRules encapsulates the rules for each type of field. Depending on the + * field, the correct set should be used to ensure proper validations. + */ export type FieldRules = _validate_FieldRules; + /** + * FieldRules encapsulates the rules for each type of field. Depending on the + * field, the correct set should be used to ensure proper validations. + */ export type FieldRules__Output = _validate_FieldRules__Output; + /** + * Fixed32Rules describes the constraints applied to `fixed32` values + */ export type Fixed32Rules = _validate_Fixed32Rules; + /** + * Fixed32Rules describes the constraints applied to `fixed32` values + */ export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + /** + * Fixed64Rules describes the constraints applied to `fixed64` values + */ export type Fixed64Rules = _validate_Fixed64Rules; + /** + * Fixed64Rules describes the constraints applied to `fixed64` values + */ export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + /** + * FloatRules describes the constraints applied to `float` values + */ export type FloatRules = _validate_FloatRules; + /** + * FloatRules describes the constraints applied to `float` values + */ export type FloatRules__Output = _validate_FloatRules__Output; + /** + * Int32Rules describes the constraints applied to `int32` values + */ export type Int32Rules = _validate_Int32Rules; + /** + * Int32Rules describes the constraints applied to `int32` values + */ export type Int32Rules__Output = _validate_Int32Rules__Output; + /** + * Int64Rules describes the constraints applied to `int64` values + */ export type Int64Rules = _validate_Int64Rules; + /** + * Int64Rules describes the constraints applied to `int64` values + */ export type Int64Rules__Output = _validate_Int64Rules__Output; + /** + * WellKnownRegex contain some well-known patterns. + */ export type KnownRegex = _validate_KnownRegex; + /** + * MapRules describe the constraints applied to `map` values + */ export type MapRules = _validate_MapRules; + /** + * MapRules describe the constraints applied to `map` values + */ export type MapRules__Output = _validate_MapRules__Output; + /** + * MessageRules describe the constraints applied to embedded message values. + * For message-type fields, validation is performed recursively. + */ export type MessageRules = _validate_MessageRules; + /** + * MessageRules describe the constraints applied to embedded message values. + * For message-type fields, validation is performed recursively. + */ export type MessageRules__Output = _validate_MessageRules__Output; + /** + * RepeatedRules describe the constraints applied to `repeated` values + */ export type RepeatedRules = _validate_RepeatedRules; + /** + * RepeatedRules describe the constraints applied to `repeated` values + */ export type RepeatedRules__Output = _validate_RepeatedRules__Output; + /** + * SFixed32Rules describes the constraints applied to `sfixed32` values + */ export type SFixed32Rules = _validate_SFixed32Rules; + /** + * SFixed32Rules describes the constraints applied to `sfixed32` values + */ export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + /** + * SFixed64Rules describes the constraints applied to `sfixed64` values + */ export type SFixed64Rules = _validate_SFixed64Rules; + /** + * SFixed64Rules describes the constraints applied to `sfixed64` values + */ export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + /** + * SInt32Rules describes the constraints applied to `sint32` values + */ export type SInt32Rules = _validate_SInt32Rules; + /** + * SInt32Rules describes the constraints applied to `sint32` values + */ export type SInt32Rules__Output = _validate_SInt32Rules__Output; + /** + * SInt64Rules describes the constraints applied to `sint64` values + */ export type SInt64Rules = _validate_SInt64Rules; + /** + * SInt64Rules describes the constraints applied to `sint64` values + */ export type SInt64Rules__Output = _validate_SInt64Rules__Output; + /** + * StringRules describe the constraints applied to `string` values + */ export type StringRules = _validate_StringRules; + /** + * StringRules describe the constraints applied to `string` values + */ export type StringRules__Output = _validate_StringRules__Output; + /** + * TimestampRules describe the constraints applied exclusively to the + * `google.protobuf.Timestamp` well-known type + */ export type TimestampRules = _validate_TimestampRules; + /** + * TimestampRules describe the constraints applied exclusively to the + * `google.protobuf.Timestamp` well-known type + */ export type TimestampRules__Output = _validate_TimestampRules__Output; + /** + * UInt32Rules describes the constraints applied to `uint32` values + */ export type UInt32Rules = _validate_UInt32Rules; + /** + * UInt32Rules describes the constraints applied to `uint32` values + */ export type UInt32Rules__Output = _validate_UInt32Rules__Output; + /** + * UInt64Rules describes the constraints applied to `uint64` values + */ export type UInt64Rules = _validate_UInt64Rules; + /** + * UInt64Rules describes the constraints applied to `uint64` values + */ export type UInt64Rules__Output = _validate_UInt64Rules__Output; } } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts b/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts index e3d33e0ac..9d7cad537 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts @@ -28,312 +28,1652 @@ import { Long } from '@grpc/proto-loader'; // Original file: deps/envoy-api/envoy/api/v2/cluster.proto export enum _envoy_api_v2_Cluster_ClusterProtocolSelection { + /** + * Cluster can only operate on one of the possible upstream protocols (HTTP1.1, HTTP2). + * If :ref:`http2_protocol_options ` are + * present, HTTP2 will be used, otherwise HTTP1.1 will be used. + */ USE_CONFIGURED_PROTOCOL = 0, + /** + * Use HTTP1.1 or HTTP2, depending on which one is used on the downstream connection. + */ USE_DOWNSTREAM_PROTOCOL = 1, } +/** + * Common configuration for all load balancer implementations. + * [#next-free-field: 8] + */ export interface _envoy_api_v2_Cluster_CommonLbConfig { + /** + * Configures the :ref:`healthy panic threshold `. + * If not specified, the default is 50%. + * To disable panic mode, set to 0%. + * + * .. note:: + * The specified percent will be truncated to the nearest 1%. + */ 'healthy_panic_threshold'?: (_envoy_type_Percent); 'zone_aware_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig); 'locality_weighted_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig); + /** + * If set, all health check/weight/metadata updates that happen within this duration will be + * merged and delivered in one shot when the duration expires. The start of the duration is when + * the first update happens. This is useful for big clusters, with potentially noisy deploys + * that might trigger excessive CPU usage due to a constant stream of healthcheck state changes + * or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new + * cluster). Please always keep in mind that the use of sandbox technologies may change this + * behavior. + * + * If this is not set, we default to a merge window of 1000ms. To disable it, set the merge + * window to 0. + * + * Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is + * because merging those updates isn't currently safe. See + * https://github.com/envoyproxy/envoy/pull/3941. + */ 'update_merge_window'?: (_google_protobuf_Duration); + /** + * If set to true, Envoy will not consider new hosts when computing load balancing weights until + * they have been health checked for the first time. This will have no effect unless + * active health checking is also configured. + * + * Ignoring a host means that for any load balancing calculations that adjust weights based + * on the ratio of eligible hosts and total hosts (priority spillover, locality weighting and + * panic mode) Envoy will exclude these hosts in the denominator. + * + * For example, with hosts in two priorities P0 and P1, where P0 looks like + * {healthy, unhealthy (new), unhealthy (new)} + * and where P1 looks like + * {healthy, healthy} + * all traffic will still hit P0, as 1 / (3 - 2) = 1. + * + * Enabling this will allow scaling up the number of hosts for a given cluster without entering + * panic mode or triggering priority spillover, assuming the hosts pass the first health check. + * + * If panic mode is triggered, new hosts are still eligible for traffic; they simply do not + * contribute to the calculation when deciding whether panic mode is enabled or not. + */ 'ignore_new_hosts_until_first_hc'?: (boolean); + /** + * If set to `true`, the cluster manager will drain all existing + * connections to upstream hosts whenever hosts are added or removed from the cluster. + */ 'close_connections_on_host_set_change'?: (boolean); + /** + * Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.) + */ 'consistent_hashing_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig); 'locality_config_specifier'?: "zone_aware_lb_config"|"locality_weighted_lb_config"; } +/** + * Common configuration for all load balancer implementations. + * [#next-free-field: 8] + */ export interface _envoy_api_v2_Cluster_CommonLbConfig__Output { + /** + * Configures the :ref:`healthy panic threshold `. + * If not specified, the default is 50%. + * To disable panic mode, set to 0%. + * + * .. note:: + * The specified percent will be truncated to the nearest 1%. + */ 'healthy_panic_threshold': (_envoy_type_Percent__Output); 'zone_aware_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__Output); 'locality_weighted_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig__Output); + /** + * If set, all health check/weight/metadata updates that happen within this duration will be + * merged and delivered in one shot when the duration expires. The start of the duration is when + * the first update happens. This is useful for big clusters, with potentially noisy deploys + * that might trigger excessive CPU usage due to a constant stream of healthcheck state changes + * or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new + * cluster). Please always keep in mind that the use of sandbox technologies may change this + * behavior. + * + * If this is not set, we default to a merge window of 1000ms. To disable it, set the merge + * window to 0. + * + * Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is + * because merging those updates isn't currently safe. See + * https://github.com/envoyproxy/envoy/pull/3941. + */ 'update_merge_window': (_google_protobuf_Duration__Output); + /** + * If set to true, Envoy will not consider new hosts when computing load balancing weights until + * they have been health checked for the first time. This will have no effect unless + * active health checking is also configured. + * + * Ignoring a host means that for any load balancing calculations that adjust weights based + * on the ratio of eligible hosts and total hosts (priority spillover, locality weighting and + * panic mode) Envoy will exclude these hosts in the denominator. + * + * For example, with hosts in two priorities P0 and P1, where P0 looks like + * {healthy, unhealthy (new), unhealthy (new)} + * and where P1 looks like + * {healthy, healthy} + * all traffic will still hit P0, as 1 / (3 - 2) = 1. + * + * Enabling this will allow scaling up the number of hosts for a given cluster without entering + * panic mode or triggering priority spillover, assuming the hosts pass the first health check. + * + * If panic mode is triggered, new hosts are still eligible for traffic; they simply do not + * contribute to the calculation when deciding whether panic mode is enabled or not. + */ 'ignore_new_hosts_until_first_hc': (boolean); + /** + * If set to `true`, the cluster manager will drain all existing + * connections to upstream hosts whenever hosts are added or removed from the cluster. + */ 'close_connections_on_host_set_change': (boolean); + /** + * Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.) + */ 'consistent_hashing_lb_config': (_envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig__Output); 'locality_config_specifier': "zone_aware_lb_config"|"locality_weighted_lb_config"; } +/** + * Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.) + */ export interface _envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig { + /** + * If set to `true`, the cluster will use hostname instead of the resolved + * address as the key to consistently hash to an upstream host. Only valid for StrictDNS clusters with hostnames which resolve to a single IP address. + */ 'use_hostname_for_hashing'?: (boolean); } +/** + * Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.) + */ export interface _envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig__Output { + /** + * If set to `true`, the cluster will use hostname instead of the resolved + * address as the key to consistently hash to an upstream host. Only valid for StrictDNS clusters with hostnames which resolve to a single IP address. + */ 'use_hostname_for_hashing': (boolean); } +/** + * Configuration for :ref:`locality weighted load balancing + * ` + */ export interface _envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig { } +/** + * Configuration for :ref:`locality weighted load balancing + * ` + */ export interface _envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig__Output { } +/** + * Configuration for :ref:`zone aware routing + * `. + */ export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig { + /** + * Configures percentage of requests that will be considered for zone aware routing + * if zone aware routing is configured. If not specified, the default is 100%. + * * :ref:`runtime values `. + * * :ref:`Zone aware routing support `. + */ 'routing_enabled'?: (_envoy_type_Percent); + /** + * Configures minimum upstream cluster size required for zone aware routing + * If upstream cluster size is less than specified, zone aware routing is not performed + * even if zone aware routing is configured. If not specified, the default is 6. + * * :ref:`runtime values `. + * * :ref:`Zone aware routing support `. + */ 'min_cluster_size'?: (_google_protobuf_UInt64Value); + /** + * If set to true, Envoy will not consider any hosts when the cluster is in :ref:`panic + * mode`. Instead, the cluster will fail all + * requests as if all hosts are unhealthy. This can help avoid potentially overwhelming a + * failing service. + */ 'fail_traffic_on_panic'?: (boolean); } +/** + * Configuration for :ref:`zone aware routing + * `. + */ export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__Output { + /** + * Configures percentage of requests that will be considered for zone aware routing + * if zone aware routing is configured. If not specified, the default is 100%. + * * :ref:`runtime values `. + * * :ref:`Zone aware routing support `. + */ 'routing_enabled': (_envoy_type_Percent__Output); + /** + * Configures minimum upstream cluster size required for zone aware routing + * If upstream cluster size is less than specified, zone aware routing is not performed + * even if zone aware routing is configured. If not specified, the default is 6. + * * :ref:`runtime values `. + * * :ref:`Zone aware routing support `. + */ 'min_cluster_size': (_google_protobuf_UInt64Value__Output); + /** + * If set to true, Envoy will not consider any hosts when the cluster is in :ref:`panic + * mode`. Instead, the cluster will fail all + * requests as if all hosts are unhealthy. This can help avoid potentially overwhelming a + * failing service. + */ 'fail_traffic_on_panic': (boolean); } +/** + * Extended cluster type. + */ export interface _envoy_api_v2_Cluster_CustomClusterType { + /** + * The type of the cluster to instantiate. The name must match a supported cluster type. + */ 'name'?: (string); + /** + * Cluster specific configuration which depends on the cluster being instantiated. + * See the supported cluster for further documentation. + */ 'typed_config'?: (_google_protobuf_Any); } +/** + * Extended cluster type. + */ export interface _envoy_api_v2_Cluster_CustomClusterType__Output { + /** + * The type of the cluster to instantiate. The name must match a supported cluster type. + */ 'name': (string); + /** + * Cluster specific configuration which depends on the cluster being instantiated. + * See the supported cluster for further documentation. + */ 'typed_config': (_google_protobuf_Any__Output); } // Original file: deps/envoy-api/envoy/api/v2/cluster.proto +/** + * Refer to :ref:`service discovery type ` + * for an explanation on each type. + */ export enum _envoy_api_v2_Cluster_DiscoveryType { + /** + * Refer to the :ref:`static discovery type` + * for an explanation. + */ STATIC = 0, + /** + * Refer to the :ref:`strict DNS discovery + * type` + * for an explanation. + */ STRICT_DNS = 1, + /** + * Refer to the :ref:`logical DNS discovery + * type` + * for an explanation. + */ LOGICAL_DNS = 2, + /** + * Refer to the :ref:`service discovery type` + * for an explanation. + */ EDS = 3, + /** + * Refer to the :ref:`original destination discovery + * type` + * for an explanation. + */ ORIGINAL_DST = 4, } // Original file: deps/envoy-api/envoy/api/v2/cluster.proto +/** + * When V4_ONLY is selected, the DNS resolver will only perform a lookup for + * addresses in the IPv4 family. If V6_ONLY is selected, the DNS resolver will + * only perform a lookup for addresses in the IPv6 family. If AUTO is + * specified, the DNS resolver will first perform a lookup for addresses in + * the IPv6 family and fallback to a lookup for addresses in the IPv4 family. + * For cluster types other than + * :ref:`STRICT_DNS` and + * :ref:`LOGICAL_DNS`, + * this setting is + * ignored. + */ export enum _envoy_api_v2_Cluster_DnsLookupFamily { AUTO = 0, V4_ONLY = 1, V6_ONLY = 2, } +/** + * Only valid when discovery type is EDS. + */ export interface _envoy_api_v2_Cluster_EdsClusterConfig { + /** + * Configuration for the source of EDS updates for this Cluster. + */ 'eds_config'?: (_envoy_api_v2_core_ConfigSource); + /** + * Optional alternative to cluster name to present to EDS. This does not + * have the same restrictions as cluster name, i.e. it may be arbitrary + * length. + */ 'service_name'?: (string); } +/** + * Only valid when discovery type is EDS. + */ export interface _envoy_api_v2_Cluster_EdsClusterConfig__Output { + /** + * Configuration for the source of EDS updates for this Cluster. + */ 'eds_config': (_envoy_api_v2_core_ConfigSource__Output); + /** + * Optional alternative to cluster name to present to EDS. This does not + * have the same restrictions as cluster name, i.e. it may be arbitrary + * length. + */ 'service_name': (string); } // Original file: deps/envoy-api/envoy/api/v2/cluster.proto +/** + * Refer to :ref:`load balancer type ` architecture + * overview section for information on each type. + */ export enum _envoy_api_v2_Cluster_LbPolicy { + /** + * Refer to the :ref:`round robin load balancing + * policy` + * for an explanation. + */ ROUND_ROBIN = 0, + /** + * Refer to the :ref:`least request load balancing + * policy` + * for an explanation. + */ LEAST_REQUEST = 1, + /** + * Refer to the :ref:`ring hash load balancing + * policy` + * for an explanation. + */ RING_HASH = 2, + /** + * Refer to the :ref:`random load balancing + * policy` + * for an explanation. + */ RANDOM = 3, + /** + * Refer to the :ref:`original destination load balancing + * policy` + * for an explanation. + * + * .. attention:: + * + * **This load balancing policy is deprecated**. Use CLUSTER_PROVIDED instead. + */ ORIGINAL_DST_LB = 4, + /** + * Refer to the :ref:`Maglev load balancing policy` + * for an explanation. + */ MAGLEV = 5, + /** + * This load balancer type must be specified if the configured cluster provides a cluster + * specific load balancer. Consult the configured cluster's documentation for whether to set + * this option or not. + */ CLUSTER_PROVIDED = 6, + /** + * [#not-implemented-hide:] Use the new :ref:`load_balancing_policy + * ` field to determine the LB policy. + * [#next-major-version: In the v3 API, we should consider deprecating the lb_policy field + * and instead using the new load_balancing_policy field as the one and only mechanism for + * configuring this.] + */ LOAD_BALANCING_POLICY_CONFIG = 7, } +/** + * Optionally divide the endpoints in this cluster into subsets defined by + * endpoint metadata and selected by route and weighted cluster metadata. + * [#next-free-field: 8] + */ export interface _envoy_api_v2_Cluster_LbSubsetConfig { + /** + * The behavior used when no endpoint subset matches the selected route's + * metadata. The value defaults to + * :ref:`NO_FALLBACK`. + */ 'fallback_policy'?: (_envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetFallbackPolicy | keyof typeof _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetFallbackPolicy); + /** + * Specifies the default subset of endpoints used during fallback if + * fallback_policy is + * :ref:`DEFAULT_SUBSET`. + * Each field in default_subset is + * compared to the matching LbEndpoint.Metadata under the *envoy.lb* + * namespace. It is valid for no hosts to match, in which case the behavior + * is the same as a fallback_policy of + * :ref:`NO_FALLBACK`. + */ 'default_subset'?: (_google_protobuf_Struct); + /** + * For each entry, LbEndpoint.Metadata's + * *envoy.lb* namespace is traversed and a subset is created for each unique + * combination of key and value. For example: + * + * .. code-block:: json + * + * { "subset_selectors": [ + * { "keys": [ "version" ] }, + * { "keys": [ "stage", "hardware_type" ] } + * ]} + * + * A subset is matched when the metadata from the selected route and + * weighted cluster contains the same keys and values as the subset's + * metadata. The same host may appear in multiple subsets. + */ 'subset_selectors'?: (_envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector)[]; + /** + * If true, routing to subsets will take into account the localities and locality weights of the + * endpoints when making the routing decision. + * + * There are some potential pitfalls associated with enabling this feature, as the resulting + * traffic split after applying both a subset match and locality weights might be undesirable. + * + * Consider for example a situation in which you have 50/50 split across two localities X/Y + * which have 100 hosts each without subsetting. If the subset LB results in X having only 1 + * host selected but Y having 100, then a lot more load is being dumped on the single host in X + * than originally anticipated in the load balancing assignment delivered via EDS. + */ 'locality_weight_aware'?: (boolean); + /** + * When used with locality_weight_aware, scales the weight of each locality by the ratio + * of hosts in the subset vs hosts in the original subset. This aims to even out the load + * going to an individual locality if said locality is disproportionately affected by the + * subset predicate. + */ 'scale_locality_weight'?: (boolean); + /** + * If true, when a fallback policy is configured and its corresponding subset fails to find + * a host this will cause any host to be selected instead. + * + * This is useful when using the default subset as the fallback policy, given the default + * subset might become empty. With this option enabled, if that happens the LB will attempt + * to select a host from the entire cluster. + */ 'panic_mode_any'?: (boolean); + /** + * If true, metadata specified for a metadata key will be matched against the corresponding + * endpoint metadata if the endpoint metadata matches the value exactly OR it is a list value + * and any of the elements in the list matches the criteria. + */ 'list_as_any'?: (boolean); } +/** + * Optionally divide the endpoints in this cluster into subsets defined by + * endpoint metadata and selected by route and weighted cluster metadata. + * [#next-free-field: 8] + */ export interface _envoy_api_v2_Cluster_LbSubsetConfig__Output { + /** + * The behavior used when no endpoint subset matches the selected route's + * metadata. The value defaults to + * :ref:`NO_FALLBACK`. + */ 'fallback_policy': (keyof typeof _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetFallbackPolicy); + /** + * Specifies the default subset of endpoints used during fallback if + * fallback_policy is + * :ref:`DEFAULT_SUBSET`. + * Each field in default_subset is + * compared to the matching LbEndpoint.Metadata under the *envoy.lb* + * namespace. It is valid for no hosts to match, in which case the behavior + * is the same as a fallback_policy of + * :ref:`NO_FALLBACK`. + */ 'default_subset': (_google_protobuf_Struct__Output); + /** + * For each entry, LbEndpoint.Metadata's + * *envoy.lb* namespace is traversed and a subset is created for each unique + * combination of key and value. For example: + * + * .. code-block:: json + * + * { "subset_selectors": [ + * { "keys": [ "version" ] }, + * { "keys": [ "stage", "hardware_type" ] } + * ]} + * + * A subset is matched when the metadata from the selected route and + * weighted cluster contains the same keys and values as the subset's + * metadata. The same host may appear in multiple subsets. + */ 'subset_selectors': (_envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector__Output)[]; + /** + * If true, routing to subsets will take into account the localities and locality weights of the + * endpoints when making the routing decision. + * + * There are some potential pitfalls associated with enabling this feature, as the resulting + * traffic split after applying both a subset match and locality weights might be undesirable. + * + * Consider for example a situation in which you have 50/50 split across two localities X/Y + * which have 100 hosts each without subsetting. If the subset LB results in X having only 1 + * host selected but Y having 100, then a lot more load is being dumped on the single host in X + * than originally anticipated in the load balancing assignment delivered via EDS. + */ 'locality_weight_aware': (boolean); + /** + * When used with locality_weight_aware, scales the weight of each locality by the ratio + * of hosts in the subset vs hosts in the original subset. This aims to even out the load + * going to an individual locality if said locality is disproportionately affected by the + * subset predicate. + */ 'scale_locality_weight': (boolean); + /** + * If true, when a fallback policy is configured and its corresponding subset fails to find + * a host this will cause any host to be selected instead. + * + * This is useful when using the default subset as the fallback policy, given the default + * subset might become empty. With this option enabled, if that happens the LB will attempt + * to select a host from the entire cluster. + */ 'panic_mode_any': (boolean); + /** + * If true, metadata specified for a metadata key will be matched against the corresponding + * endpoint metadata if the endpoint metadata matches the value exactly OR it is a list value + * and any of the elements in the list matches the criteria. + */ 'list_as_any': (boolean); } // Original file: deps/envoy-api/envoy/api/v2/cluster.proto +/** + * If NO_FALLBACK is selected, a result + * equivalent to no healthy hosts is reported. If ANY_ENDPOINT is selected, + * any cluster endpoint may be returned (subject to policy, health checks, + * etc). If DEFAULT_SUBSET is selected, load balancing is performed over the + * endpoints matching the values from the default_subset field. + */ export enum _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetFallbackPolicy { NO_FALLBACK = 0, ANY_ENDPOINT = 1, DEFAULT_SUBSET = 2, } +/** + * Specifications for subsets. + */ export interface _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector { + /** + * List of keys to match with the weighted cluster metadata. + */ 'keys'?: (string)[]; + /** + * The behavior used when no endpoint subset matches the selected route's + * metadata. + */ 'fallback_policy'?: (_envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy | keyof typeof _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy); + /** + * Subset of + * :ref:`keys` used by + * :ref:`KEYS_SUBSET` + * fallback policy. + * It has to be a non empty list if KEYS_SUBSET fallback policy is selected. + * For any other fallback policy the parameter is not used and should not be set. + * Only values also present in + * :ref:`keys` are allowed, but + * `fallback_keys_subset` cannot be equal to `keys`. + */ 'fallback_keys_subset'?: (string)[]; } +/** + * Specifications for subsets. + */ export interface _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector__Output { + /** + * List of keys to match with the weighted cluster metadata. + */ 'keys': (string)[]; + /** + * The behavior used when no endpoint subset matches the selected route's + * metadata. + */ 'fallback_policy': (keyof typeof _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy); + /** + * Subset of + * :ref:`keys` used by + * :ref:`KEYS_SUBSET` + * fallback policy. + * It has to be a non empty list if KEYS_SUBSET fallback policy is selected. + * For any other fallback policy the parameter is not used and should not be set. + * Only values also present in + * :ref:`keys` are allowed, but + * `fallback_keys_subset` cannot be equal to `keys`. + */ 'fallback_keys_subset': (string)[]; } // Original file: deps/envoy-api/envoy/api/v2/cluster.proto +/** + * Allows to override top level fallback policy per selector. + */ export enum _envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy { + /** + * If NOT_DEFINED top level config fallback policy is used instead. + */ NOT_DEFINED = 0, + /** + * If NO_FALLBACK is selected, a result equivalent to no healthy hosts is reported. + */ NO_FALLBACK = 1, + /** + * If ANY_ENDPOINT is selected, any cluster endpoint may be returned + * (subject to policy, health checks, etc). + */ ANY_ENDPOINT = 2, + /** + * If DEFAULT_SUBSET is selected, load balancing is performed over the + * endpoints matching the values from the default_subset field. + */ DEFAULT_SUBSET = 3, + /** + * If KEYS_SUBSET is selected, subset selector matching is performed again with metadata + * keys reduced to + * :ref:`fallback_keys_subset`. + * It allows for a fallback to a different, less specific selector if some of the keys of + * the selector are considered optional. + */ KEYS_SUBSET = 4, } +/** + * Specific configuration for the LeastRequest load balancing policy. + */ export interface _envoy_api_v2_Cluster_LeastRequestLbConfig { + /** + * The number of random healthy hosts from which the host with the fewest active requests will + * be chosen. Defaults to 2 so that we perform two-choice selection if the field is not set. + */ 'choice_count'?: (_google_protobuf_UInt32Value); } +/** + * Specific configuration for the LeastRequest load balancing policy. + */ export interface _envoy_api_v2_Cluster_LeastRequestLbConfig__Output { + /** + * The number of random healthy hosts from which the host with the fewest active requests will + * be chosen. Defaults to 2 so that we perform two-choice selection if the field is not set. + */ 'choice_count': (_google_protobuf_UInt32Value__Output); } +/** + * Specific configuration for the + * :ref:`Original Destination ` + * load balancing policy. + */ export interface _envoy_api_v2_Cluster_OriginalDstLbConfig { + /** + * When true, :ref:`x-envoy-original-dst-host + * ` can be used to override destination + * address. + * + * .. attention:: + * + * This header isn't sanitized by default, so enabling this feature allows HTTP clients to + * route traffic to arbitrary hosts and/or ports, which may have serious security + * consequences. + */ 'use_http_header'?: (boolean); } +/** + * Specific configuration for the + * :ref:`Original Destination ` + * load balancing policy. + */ export interface _envoy_api_v2_Cluster_OriginalDstLbConfig__Output { + /** + * When true, :ref:`x-envoy-original-dst-host + * ` can be used to override destination + * address. + * + * .. attention:: + * + * This header isn't sanitized by default, so enabling this feature allows HTTP clients to + * route traffic to arbitrary hosts and/or ports, which may have serious security + * consequences. + */ 'use_http_header': (boolean); } export interface _envoy_api_v2_Cluster_RefreshRate { + /** + * Specifies the base interval between refreshes. This parameter is required and must be greater + * than zero and less than + * :ref:`max_interval `. + */ 'base_interval'?: (_google_protobuf_Duration); + /** + * Specifies the maximum interval between refreshes. This parameter is optional, but must be + * greater than or equal to the + * :ref:`base_interval ` if set. The default + * is 10 times the :ref:`base_interval `. + */ 'max_interval'?: (_google_protobuf_Duration); } export interface _envoy_api_v2_Cluster_RefreshRate__Output { + /** + * Specifies the base interval between refreshes. This parameter is required and must be greater + * than zero and less than + * :ref:`max_interval `. + */ 'base_interval': (_google_protobuf_Duration__Output); + /** + * Specifies the maximum interval between refreshes. This parameter is optional, but must be + * greater than or equal to the + * :ref:`base_interval ` if set. The default + * is 10 times the :ref:`base_interval `. + */ 'max_interval': (_google_protobuf_Duration__Output); } +/** + * Specific configuration for the :ref:`RingHash` + * load balancing policy. + */ export interface _envoy_api_v2_Cluster_RingHashLbConfig { + /** + * Minimum hash ring size. The larger the ring is (that is, the more hashes there are for each + * provided host) the better the request distribution will reflect the desired weights. Defaults + * to 1024 entries, and limited to 8M entries. See also + * :ref:`maximum_ring_size`. + */ 'minimum_ring_size'?: (_google_protobuf_UInt64Value); + /** + * The hash function used to hash hosts onto the ketama ring. The value defaults to + * :ref:`XX_HASH`. + */ 'hash_function'?: (_envoy_api_v2_Cluster_RingHashLbConfig_HashFunction | keyof typeof _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction); + /** + * Maximum hash ring size. Defaults to 8M entries, and limited to 8M entries, but can be lowered + * to further constrain resource use. See also + * :ref:`minimum_ring_size`. + */ 'maximum_ring_size'?: (_google_protobuf_UInt64Value); } +/** + * Specific configuration for the :ref:`RingHash` + * load balancing policy. + */ export interface _envoy_api_v2_Cluster_RingHashLbConfig__Output { + /** + * Minimum hash ring size. The larger the ring is (that is, the more hashes there are for each + * provided host) the better the request distribution will reflect the desired weights. Defaults + * to 1024 entries, and limited to 8M entries. See also + * :ref:`maximum_ring_size`. + */ 'minimum_ring_size': (_google_protobuf_UInt64Value__Output); + /** + * The hash function used to hash hosts onto the ketama ring. The value defaults to + * :ref:`XX_HASH`. + */ 'hash_function': (keyof typeof _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction); + /** + * Maximum hash ring size. Defaults to 8M entries, and limited to 8M entries, but can be lowered + * to further constrain resource use. See also + * :ref:`minimum_ring_size`. + */ 'maximum_ring_size': (_google_protobuf_UInt64Value__Output); } // Original file: deps/envoy-api/envoy/api/v2/cluster.proto +/** + * The hash function used to hash hosts onto the ketama ring. + */ export enum _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction { + /** + * Use `xxHash `_, this is the default hash function. + */ XX_HASH = 0, + /** + * Use `MurmurHash2 `_, this is compatible with + * std:hash in GNU libstdc++ 3.4.20 or above. This is typically the case when compiled + * on Linux and not macOS. + */ MURMUR_HASH_2 = 1, } +/** + * TransportSocketMatch specifies what transport socket config will be used + * when the match conditions are satisfied. + */ export interface _envoy_api_v2_Cluster_TransportSocketMatch { + /** + * The name of the match, used in stats generation. + */ 'name'?: (string); + /** + * Optional endpoint metadata match criteria. + * The connection to the endpoint with metadata matching what is set in this field + * will use the transport socket configuration specified here. + * The endpoint's metadata entry in *envoy.transport_socket_match* is used to match + * against the values specified in this field. + */ 'match'?: (_google_protobuf_Struct); + /** + * The configuration of the transport socket. + */ 'transport_socket'?: (_envoy_api_v2_core_TransportSocket); } +/** + * TransportSocketMatch specifies what transport socket config will be used + * when the match conditions are satisfied. + */ export interface _envoy_api_v2_Cluster_TransportSocketMatch__Output { + /** + * The name of the match, used in stats generation. + */ 'name': (string); + /** + * Optional endpoint metadata match criteria. + * The connection to the endpoint with metadata matching what is set in this field + * will use the transport socket configuration specified here. + * The endpoint's metadata entry in *envoy.transport_socket_match* is used to match + * against the values specified in this field. + */ 'match': (_google_protobuf_Struct__Output); + /** + * The configuration of the transport socket. + */ 'transport_socket': (_envoy_api_v2_core_TransportSocket__Output); } +/** + * Configuration for a single upstream cluster. + * [#next-free-field: 48] + */ export interface Cluster { + /** + * Supplies the name of the cluster which must be unique across all clusters. + * The cluster name is used when emitting + * :ref:`statistics ` if :ref:`alt_stat_name + * ` is not provided. + * Any ``:`` in the cluster name will be converted to ``_`` when emitting statistics. + */ 'name'?: (string); + /** + * The :ref:`service discovery type ` + * to use for resolving the cluster. + */ 'type'?: (_envoy_api_v2_Cluster_DiscoveryType | keyof typeof _envoy_api_v2_Cluster_DiscoveryType); + /** + * Configuration to use for EDS updates for the Cluster. + */ 'eds_cluster_config'?: (_envoy_api_v2_Cluster_EdsClusterConfig); + /** + * The timeout for new network connections to hosts in the cluster. + */ 'connect_timeout'?: (_google_protobuf_Duration); + /** + * Soft limit on size of the cluster’s connections read and write buffers. If + * unspecified, an implementation defined default is applied (1MiB). + */ 'per_connection_buffer_limit_bytes'?: (_google_protobuf_UInt32Value); + /** + * The :ref:`load balancer type ` to use + * when picking a host in the cluster. + */ 'lb_policy'?: (_envoy_api_v2_Cluster_LbPolicy | keyof typeof _envoy_api_v2_Cluster_LbPolicy); + /** + * If the service discovery type is + * :ref:`STATIC`, + * :ref:`STRICT_DNS` + * or :ref:`LOGICAL_DNS`, + * then hosts is required. + * + * .. attention:: + * + * **This field is deprecated**. Set the + * :ref:`load_assignment` field instead. + */ 'hosts'?: (_envoy_api_v2_core_Address)[]; + /** + * Optional :ref:`active health checking ` + * configuration for the cluster. If no + * configuration is specified no health checking will be done and all cluster + * members will be considered healthy at all times. + */ 'health_checks'?: (_envoy_api_v2_core_HealthCheck)[]; + /** + * Optional maximum requests for a single upstream connection. This parameter + * is respected by both the HTTP/1.1 and HTTP/2 connection pool + * implementations. If not specified, there is no limit. Setting this + * parameter to 1 will effectively disable keep alive. + */ 'max_requests_per_connection'?: (_google_protobuf_UInt32Value); + /** + * Optional :ref:`circuit breaking ` for the cluster. + */ 'circuit_breakers'?: (_envoy_api_v2_cluster_CircuitBreakers); + /** + * The TLS configuration for connections to the upstream cluster. + * + * .. attention:: + * + * **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are + * set, `transport_socket` takes priority. + */ 'tls_context'?: (_envoy_api_v2_auth_UpstreamTlsContext); + /** + * Additional options when handling HTTP1 requests. + */ 'http_protocol_options'?: (_envoy_api_v2_core_Http1ProtocolOptions); + /** + * Even if default HTTP2 protocol options are desired, this field must be + * set so that Envoy will assume that the upstream supports HTTP/2 when + * making new HTTP connection pool connections. Currently, Envoy only + * supports prior knowledge for upstream connections. Even if TLS is used + * with ALPN, `http2_protocol_options` must be specified. As an aside this allows HTTP/2 + * connections to happen over plain text. + */ 'http2_protocol_options'?: (_envoy_api_v2_core_Http2ProtocolOptions); + /** + * If the DNS refresh rate is specified and the cluster type is either + * :ref:`STRICT_DNS`, + * or :ref:`LOGICAL_DNS`, + * this value is used as the cluster’s DNS refresh + * rate. The value configured must be at least 1ms. If this setting is not specified, the + * value defaults to 5000ms. For cluster types other than + * :ref:`STRICT_DNS` + * and :ref:`LOGICAL_DNS` + * this setting is ignored. + */ 'dns_refresh_rate'?: (_google_protobuf_Duration); + /** + * The DNS IP address resolution policy. If this setting is not specified, the + * value defaults to + * :ref:`AUTO`. + */ 'dns_lookup_family'?: (_envoy_api_v2_Cluster_DnsLookupFamily | keyof typeof _envoy_api_v2_Cluster_DnsLookupFamily); + /** + * If DNS resolvers are specified and the cluster type is either + * :ref:`STRICT_DNS`, + * or :ref:`LOGICAL_DNS`, + * this value is used to specify the cluster’s dns resolvers. + * If this setting is not specified, the value defaults to the default + * resolver, which uses /etc/resolv.conf for configuration. For cluster types + * other than + * :ref:`STRICT_DNS` + * and :ref:`LOGICAL_DNS` + * this setting is ignored. + */ 'dns_resolvers'?: (_envoy_api_v2_core_Address)[]; + /** + * If specified, outlier detection will be enabled for this upstream cluster. + * Each of the configuration values can be overridden via + * :ref:`runtime values `. + */ 'outlier_detection'?: (_envoy_api_v2_cluster_OutlierDetection); + /** + * The interval for removing stale hosts from a cluster type + * :ref:`ORIGINAL_DST`. + * Hosts are considered stale if they have not been used + * as upstream destinations during this interval. New hosts are added + * to original destination clusters on demand as new connections are + * redirected to Envoy, causing the number of hosts in the cluster to + * grow over time. Hosts that are not stale (they are actively used as + * destinations) are kept in the cluster, which allows connections to + * them remain open, saving the latency that would otherwise be spent + * on opening new connections. If this setting is not specified, the + * value defaults to 5000ms. For cluster types other than + * :ref:`ORIGINAL_DST` + * this setting is ignored. + */ 'cleanup_interval'?: (_google_protobuf_Duration); + /** + * Optional configuration used to bind newly established upstream connections. + * This overrides any bind_config specified in the bootstrap proto. + * If the address and port are empty, no bind will be performed. + */ 'upstream_bind_config'?: (_envoy_api_v2_core_BindConfig); + /** + * Configuration for load balancing subsetting. + */ 'lb_subset_config'?: (_envoy_api_v2_Cluster_LbSubsetConfig); + /** + * Optional configuration for the Ring Hash load balancing policy. + */ 'ring_hash_lb_config'?: (_envoy_api_v2_Cluster_RingHashLbConfig); + /** + * Optional custom transport socket implementation to use for upstream connections. + * To setup TLS, set a transport socket with name `tls` and + * :ref:`UpstreamTlsContexts ` in the `typed_config`. + * If no transport socket configuration is specified, new connections + * will be set up with plaintext. + */ 'transport_socket'?: (_envoy_api_v2_core_TransportSocket); + /** + * The Metadata field can be used to provide additional information about the + * cluster. It can be used for stats, logging, and varying filter behavior. + * Fields should use reverse DNS notation to denote which entity within Envoy + * will need the information. For instance, if the metadata is intended for + * the Router filter, the filter name should be specified as *envoy.filters.http.router*. + */ 'metadata'?: (_envoy_api_v2_core_Metadata); + /** + * Determines how Envoy selects the protocol used to speak to upstream hosts. + */ 'protocol_selection'?: (_envoy_api_v2_Cluster_ClusterProtocolSelection | keyof typeof _envoy_api_v2_Cluster_ClusterProtocolSelection); + /** + * Common configuration for all load balancer implementations. + */ 'common_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig); + /** + * An optional alternative to the cluster name to be used while emitting stats. + * Any ``:`` in the name will be converted to ``_`` when emitting statistics. This should not be + * confused with :ref:`Router Filter Header + * `. + */ 'alt_stat_name'?: (string); + /** + * Additional options when handling HTTP requests upstream. These options will be applicable to + * both HTTP1 and HTTP2 requests. + */ 'common_http_protocol_options'?: (_envoy_api_v2_core_HttpProtocolOptions); + /** + * Optional options for upstream connections. + */ 'upstream_connection_options'?: (_envoy_api_v2_UpstreamConnectionOptions); + /** + * If an upstream host becomes unhealthy (as determined by the configured health checks + * or outlier detection), immediately close all connections to the failed host. + * + * .. note:: + * + * This is currently only supported for connections created by tcp_proxy. + * + * .. note:: + * + * The current implementation of this feature closes all connections immediately when + * the unhealthy status is detected. If there are a large number of connections open + * to an upstream host that becomes unhealthy, Envoy may spend a substantial amount of + * time exclusively closing these connections, and not processing any other traffic. + */ 'close_connections_on_host_health_failure'?: (boolean); + /** + * If set to true, Envoy will ignore the health value of a host when processing its removal + * from service discovery. This means that if active health checking is used, Envoy will *not* + * wait for the endpoint to go unhealthy before removing it. + */ 'drain_connections_on_host_removal'?: (boolean); + /** + * Setting this is required for specifying members of + * :ref:`STATIC`, + * :ref:`STRICT_DNS` + * or :ref:`LOGICAL_DNS` clusters. + * This field supersedes the *hosts* field in the v2 API. + * + * .. attention:: + * + * Setting this allows non-EDS cluster types to contain embedded EDS equivalent + * :ref:`endpoint assignments`. + */ 'load_assignment'?: (_envoy_api_v2_ClusterLoadAssignment); + /** + * Optional configuration for the Original Destination load balancing policy. + */ 'original_dst_lb_config'?: (_envoy_api_v2_Cluster_OriginalDstLbConfig); + /** + * The extension_protocol_options field is used to provide extension-specific protocol options + * for upstream connections. The key should match the extension filter name, such as + * "envoy.filters.network.thrift_proxy". See the extension's documentation for details on + * specific options. + */ 'extension_protocol_options'?: (_google_protobuf_Struct); + /** + * The extension_protocol_options field is used to provide extension-specific protocol options + * for upstream connections. The key should match the extension filter name, such as + * "envoy.filters.network.thrift_proxy". See the extension's documentation for details on + * specific options. + */ 'typed_extension_protocol_options'?: (_google_protobuf_Any); + /** + * Optional configuration for the LeastRequest load balancing policy. + */ 'least_request_lb_config'?: (_envoy_api_v2_Cluster_LeastRequestLbConfig); + /** + * The custom cluster type. + */ 'cluster_type'?: (_envoy_api_v2_Cluster_CustomClusterType); + /** + * Optional configuration for setting cluster's DNS refresh rate. If the value is set to true, + * cluster's DNS refresh rate will be set to resource record's TTL which comes from DNS + * resolution. + */ 'respect_dns_ttl'?: (boolean); + /** + * An (optional) network filter chain, listed in the order the filters should be applied. + * The chain will be applied to all outgoing connections that Envoy makes to the upstream + * servers of this cluster. + */ 'filters'?: (_envoy_api_v2_cluster_Filter)[]; + /** + * [#not-implemented-hide:] New mechanism for LB policy configuration. Used only if the + * :ref:`lb_policy` field has the value + * :ref:`LOAD_BALANCING_POLICY_CONFIG`. + */ 'load_balancing_policy'?: (_envoy_api_v2_LoadBalancingPolicy); + /** + * [#not-implemented-hide:] + * If present, tells the client where to send load reports via LRS. If not present, the + * client will fall back to a client-side default, which may be either (a) don't send any + * load reports or (b) send load reports for all clusters to a single default server + * (which may be configured in the bootstrap file). + * + * Note that if multiple clusters point to the same LRS server, the client may choose to + * create a separate stream for each cluster or it may choose to coalesce the data for + * multiple clusters onto a single stream. Either way, the client must make sure to send + * the data for any given cluster on no more than one stream. + * + * [#next-major-version: In the v3 API, we should consider restructuring this somehow, + * maybe by allowing LRS to go on the ADS stream, or maybe by moving some of the negotiation + * from the LRS stream here.] + */ 'lrs_server'?: (_envoy_api_v2_core_ConfigSource); + /** + * Configuration to use different transport sockets for different endpoints. + * The entry of *envoy.transport_socket_match* in the + * :ref:`LbEndpoint.Metadata ` + * is used to match against the transport sockets as they appear in the list. The first + * :ref:`match ` is used. + * For example, with the following match + * + * .. code-block:: yaml + * + * transport_socket_matches: + * - name: "enableMTLS" + * match: + * acceptMTLS: true + * transport_socket: + * name: envoy.transport_sockets.tls + * config: { ... } # tls socket configuration + * - name: "defaultToPlaintext" + * match: {} + * transport_socket: + * name: envoy.transport_sockets.raw_buffer + * + * Connections to the endpoints whose metadata value under *envoy.transport_socket_match* + * having "acceptMTLS"/"true" key/value pair use the "enableMTLS" socket configuration. + * + * If a :ref:`socket match ` with empty match + * criteria is provided, that always match any endpoint. For example, the "defaultToPlaintext" + * socket match in case above. + * + * If an endpoint metadata's value under *envoy.transport_socket_match* does not match any + * *TransportSocketMatch*, socket configuration fallbacks to use the *tls_context* or + * *transport_socket* specified in this cluster. + * + * This field allows gradual and flexible transport socket configuration changes. + * + * The metadata of endpoints in EDS can indicate transport socket capabilities. For example, + * an endpoint's metadata can have two key value pairs as "acceptMTLS": "true", + * "acceptPlaintext": "true". While some other endpoints, only accepting plaintext traffic + * has "acceptPlaintext": "true" metadata information. + * + * Then the xDS server can configure the CDS to a client, Envoy A, to send mutual TLS + * traffic for endpoints with "acceptMTLS": "true", by adding a corresponding + * *TransportSocketMatch* in this field. Other client Envoys receive CDS without + * *transport_socket_match* set, and still send plain text traffic to the same cluster. + * + * [#comment:TODO(incfly): add a detailed architecture doc on intended usage.] + */ 'transport_socket_matches'?: (_envoy_api_v2_Cluster_TransportSocketMatch)[]; + /** + * If the DNS failure refresh rate is specified and the cluster type is either + * :ref:`STRICT_DNS`, + * or :ref:`LOGICAL_DNS`, + * this is used as the cluster’s DNS refresh rate when requests are failing. If this setting is + * not specified, the failure refresh rate defaults to the DNS refresh rate. For cluster types + * other than :ref:`STRICT_DNS` and + * :ref:`LOGICAL_DNS` this setting is + * ignored. + */ 'dns_failure_refresh_rate'?: (_envoy_api_v2_Cluster_RefreshRate); + /** + * [#next-major-version: Reconcile DNS options in a single message.] + * Always use TCP queries instead of UDP queries for DNS lookups. + */ 'use_tcp_for_dns_lookups'?: (boolean); + /** + * HTTP protocol options that are applied only to upstream HTTP connections. + * These options apply to all HTTP versions. + */ 'upstream_http_protocol_options'?: (_envoy_api_v2_core_UpstreamHttpProtocolOptions); + /** + * If track_timeout_budgets is true, the :ref:`timeout budget histograms + * ` will be published for each + * request. These show what percentage of a request's per try and global timeout was used. A value + * of 0 would indicate that none of the timeout was used or that the timeout was infinite. A value + * of 100 would indicate that the request took the entirety of the timeout given to it. + */ 'track_timeout_budgets'?: (boolean); 'cluster_discovery_type'?: "type"|"cluster_type"; + /** + * Optional configuration for the load balancing algorithm selected by + * LbPolicy. Currently only + * :ref:`RING_HASH` and + * :ref:`LEAST_REQUEST` + * has additional configuration options. + * Specifying ring_hash_lb_config or least_request_lb_config without setting the corresponding + * LbPolicy will generate an error at runtime. + */ 'lb_config'?: "ring_hash_lb_config"|"original_dst_lb_config"|"least_request_lb_config"; } +/** + * Configuration for a single upstream cluster. + * [#next-free-field: 48] + */ export interface Cluster__Output { + /** + * Supplies the name of the cluster which must be unique across all clusters. + * The cluster name is used when emitting + * :ref:`statistics ` if :ref:`alt_stat_name + * ` is not provided. + * Any ``:`` in the cluster name will be converted to ``_`` when emitting statistics. + */ 'name': (string); + /** + * The :ref:`service discovery type ` + * to use for resolving the cluster. + */ 'type'?: (keyof typeof _envoy_api_v2_Cluster_DiscoveryType); + /** + * Configuration to use for EDS updates for the Cluster. + */ 'eds_cluster_config': (_envoy_api_v2_Cluster_EdsClusterConfig__Output); + /** + * The timeout for new network connections to hosts in the cluster. + */ 'connect_timeout': (_google_protobuf_Duration__Output); + /** + * Soft limit on size of the cluster’s connections read and write buffers. If + * unspecified, an implementation defined default is applied (1MiB). + */ 'per_connection_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); + /** + * The :ref:`load balancer type ` to use + * when picking a host in the cluster. + */ 'lb_policy': (keyof typeof _envoy_api_v2_Cluster_LbPolicy); + /** + * If the service discovery type is + * :ref:`STATIC`, + * :ref:`STRICT_DNS` + * or :ref:`LOGICAL_DNS`, + * then hosts is required. + * + * .. attention:: + * + * **This field is deprecated**. Set the + * :ref:`load_assignment` field instead. + */ 'hosts': (_envoy_api_v2_core_Address__Output)[]; + /** + * Optional :ref:`active health checking ` + * configuration for the cluster. If no + * configuration is specified no health checking will be done and all cluster + * members will be considered healthy at all times. + */ 'health_checks': (_envoy_api_v2_core_HealthCheck__Output)[]; + /** + * Optional maximum requests for a single upstream connection. This parameter + * is respected by both the HTTP/1.1 and HTTP/2 connection pool + * implementations. If not specified, there is no limit. Setting this + * parameter to 1 will effectively disable keep alive. + */ 'max_requests_per_connection': (_google_protobuf_UInt32Value__Output); + /** + * Optional :ref:`circuit breaking ` for the cluster. + */ 'circuit_breakers': (_envoy_api_v2_cluster_CircuitBreakers__Output); + /** + * The TLS configuration for connections to the upstream cluster. + * + * .. attention:: + * + * **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are + * set, `transport_socket` takes priority. + */ 'tls_context': (_envoy_api_v2_auth_UpstreamTlsContext__Output); + /** + * Additional options when handling HTTP1 requests. + */ 'http_protocol_options': (_envoy_api_v2_core_Http1ProtocolOptions__Output); + /** + * Even if default HTTP2 protocol options are desired, this field must be + * set so that Envoy will assume that the upstream supports HTTP/2 when + * making new HTTP connection pool connections. Currently, Envoy only + * supports prior knowledge for upstream connections. Even if TLS is used + * with ALPN, `http2_protocol_options` must be specified. As an aside this allows HTTP/2 + * connections to happen over plain text. + */ 'http2_protocol_options': (_envoy_api_v2_core_Http2ProtocolOptions__Output); + /** + * If the DNS refresh rate is specified and the cluster type is either + * :ref:`STRICT_DNS`, + * or :ref:`LOGICAL_DNS`, + * this value is used as the cluster’s DNS refresh + * rate. The value configured must be at least 1ms. If this setting is not specified, the + * value defaults to 5000ms. For cluster types other than + * :ref:`STRICT_DNS` + * and :ref:`LOGICAL_DNS` + * this setting is ignored. + */ 'dns_refresh_rate': (_google_protobuf_Duration__Output); + /** + * The DNS IP address resolution policy. If this setting is not specified, the + * value defaults to + * :ref:`AUTO`. + */ 'dns_lookup_family': (keyof typeof _envoy_api_v2_Cluster_DnsLookupFamily); + /** + * If DNS resolvers are specified and the cluster type is either + * :ref:`STRICT_DNS`, + * or :ref:`LOGICAL_DNS`, + * this value is used to specify the cluster’s dns resolvers. + * If this setting is not specified, the value defaults to the default + * resolver, which uses /etc/resolv.conf for configuration. For cluster types + * other than + * :ref:`STRICT_DNS` + * and :ref:`LOGICAL_DNS` + * this setting is ignored. + */ 'dns_resolvers': (_envoy_api_v2_core_Address__Output)[]; + /** + * If specified, outlier detection will be enabled for this upstream cluster. + * Each of the configuration values can be overridden via + * :ref:`runtime values `. + */ 'outlier_detection': (_envoy_api_v2_cluster_OutlierDetection__Output); + /** + * The interval for removing stale hosts from a cluster type + * :ref:`ORIGINAL_DST`. + * Hosts are considered stale if they have not been used + * as upstream destinations during this interval. New hosts are added + * to original destination clusters on demand as new connections are + * redirected to Envoy, causing the number of hosts in the cluster to + * grow over time. Hosts that are not stale (they are actively used as + * destinations) are kept in the cluster, which allows connections to + * them remain open, saving the latency that would otherwise be spent + * on opening new connections. If this setting is not specified, the + * value defaults to 5000ms. For cluster types other than + * :ref:`ORIGINAL_DST` + * this setting is ignored. + */ 'cleanup_interval': (_google_protobuf_Duration__Output); + /** + * Optional configuration used to bind newly established upstream connections. + * This overrides any bind_config specified in the bootstrap proto. + * If the address and port are empty, no bind will be performed. + */ 'upstream_bind_config': (_envoy_api_v2_core_BindConfig__Output); + /** + * Configuration for load balancing subsetting. + */ 'lb_subset_config': (_envoy_api_v2_Cluster_LbSubsetConfig__Output); + /** + * Optional configuration for the Ring Hash load balancing policy. + */ 'ring_hash_lb_config'?: (_envoy_api_v2_Cluster_RingHashLbConfig__Output); + /** + * Optional custom transport socket implementation to use for upstream connections. + * To setup TLS, set a transport socket with name `tls` and + * :ref:`UpstreamTlsContexts ` in the `typed_config`. + * If no transport socket configuration is specified, new connections + * will be set up with plaintext. + */ 'transport_socket': (_envoy_api_v2_core_TransportSocket__Output); + /** + * The Metadata field can be used to provide additional information about the + * cluster. It can be used for stats, logging, and varying filter behavior. + * Fields should use reverse DNS notation to denote which entity within Envoy + * will need the information. For instance, if the metadata is intended for + * the Router filter, the filter name should be specified as *envoy.filters.http.router*. + */ 'metadata': (_envoy_api_v2_core_Metadata__Output); + /** + * Determines how Envoy selects the protocol used to speak to upstream hosts. + */ 'protocol_selection': (keyof typeof _envoy_api_v2_Cluster_ClusterProtocolSelection); + /** + * Common configuration for all load balancer implementations. + */ 'common_lb_config': (_envoy_api_v2_Cluster_CommonLbConfig__Output); + /** + * An optional alternative to the cluster name to be used while emitting stats. + * Any ``:`` in the name will be converted to ``_`` when emitting statistics. This should not be + * confused with :ref:`Router Filter Header + * `. + */ 'alt_stat_name': (string); + /** + * Additional options when handling HTTP requests upstream. These options will be applicable to + * both HTTP1 and HTTP2 requests. + */ 'common_http_protocol_options': (_envoy_api_v2_core_HttpProtocolOptions__Output); + /** + * Optional options for upstream connections. + */ 'upstream_connection_options': (_envoy_api_v2_UpstreamConnectionOptions__Output); + /** + * If an upstream host becomes unhealthy (as determined by the configured health checks + * or outlier detection), immediately close all connections to the failed host. + * + * .. note:: + * + * This is currently only supported for connections created by tcp_proxy. + * + * .. note:: + * + * The current implementation of this feature closes all connections immediately when + * the unhealthy status is detected. If there are a large number of connections open + * to an upstream host that becomes unhealthy, Envoy may spend a substantial amount of + * time exclusively closing these connections, and not processing any other traffic. + */ 'close_connections_on_host_health_failure': (boolean); + /** + * If set to true, Envoy will ignore the health value of a host when processing its removal + * from service discovery. This means that if active health checking is used, Envoy will *not* + * wait for the endpoint to go unhealthy before removing it. + */ 'drain_connections_on_host_removal': (boolean); + /** + * Setting this is required for specifying members of + * :ref:`STATIC`, + * :ref:`STRICT_DNS` + * or :ref:`LOGICAL_DNS` clusters. + * This field supersedes the *hosts* field in the v2 API. + * + * .. attention:: + * + * Setting this allows non-EDS cluster types to contain embedded EDS equivalent + * :ref:`endpoint assignments`. + */ 'load_assignment': (_envoy_api_v2_ClusterLoadAssignment__Output); + /** + * Optional configuration for the Original Destination load balancing policy. + */ 'original_dst_lb_config'?: (_envoy_api_v2_Cluster_OriginalDstLbConfig__Output); + /** + * The extension_protocol_options field is used to provide extension-specific protocol options + * for upstream connections. The key should match the extension filter name, such as + * "envoy.filters.network.thrift_proxy". See the extension's documentation for details on + * specific options. + */ 'extension_protocol_options': (_google_protobuf_Struct__Output); + /** + * The extension_protocol_options field is used to provide extension-specific protocol options + * for upstream connections. The key should match the extension filter name, such as + * "envoy.filters.network.thrift_proxy". See the extension's documentation for details on + * specific options. + */ 'typed_extension_protocol_options': (_google_protobuf_Any__Output); + /** + * Optional configuration for the LeastRequest load balancing policy. + */ 'least_request_lb_config'?: (_envoy_api_v2_Cluster_LeastRequestLbConfig__Output); + /** + * The custom cluster type. + */ 'cluster_type'?: (_envoy_api_v2_Cluster_CustomClusterType__Output); + /** + * Optional configuration for setting cluster's DNS refresh rate. If the value is set to true, + * cluster's DNS refresh rate will be set to resource record's TTL which comes from DNS + * resolution. + */ 'respect_dns_ttl': (boolean); + /** + * An (optional) network filter chain, listed in the order the filters should be applied. + * The chain will be applied to all outgoing connections that Envoy makes to the upstream + * servers of this cluster. + */ 'filters': (_envoy_api_v2_cluster_Filter__Output)[]; + /** + * [#not-implemented-hide:] New mechanism for LB policy configuration. Used only if the + * :ref:`lb_policy` field has the value + * :ref:`LOAD_BALANCING_POLICY_CONFIG`. + */ 'load_balancing_policy': (_envoy_api_v2_LoadBalancingPolicy__Output); + /** + * [#not-implemented-hide:] + * If present, tells the client where to send load reports via LRS. If not present, the + * client will fall back to a client-side default, which may be either (a) don't send any + * load reports or (b) send load reports for all clusters to a single default server + * (which may be configured in the bootstrap file). + * + * Note that if multiple clusters point to the same LRS server, the client may choose to + * create a separate stream for each cluster or it may choose to coalesce the data for + * multiple clusters onto a single stream. Either way, the client must make sure to send + * the data for any given cluster on no more than one stream. + * + * [#next-major-version: In the v3 API, we should consider restructuring this somehow, + * maybe by allowing LRS to go on the ADS stream, or maybe by moving some of the negotiation + * from the LRS stream here.] + */ 'lrs_server': (_envoy_api_v2_core_ConfigSource__Output); + /** + * Configuration to use different transport sockets for different endpoints. + * The entry of *envoy.transport_socket_match* in the + * :ref:`LbEndpoint.Metadata ` + * is used to match against the transport sockets as they appear in the list. The first + * :ref:`match ` is used. + * For example, with the following match + * + * .. code-block:: yaml + * + * transport_socket_matches: + * - name: "enableMTLS" + * match: + * acceptMTLS: true + * transport_socket: + * name: envoy.transport_sockets.tls + * config: { ... } # tls socket configuration + * - name: "defaultToPlaintext" + * match: {} + * transport_socket: + * name: envoy.transport_sockets.raw_buffer + * + * Connections to the endpoints whose metadata value under *envoy.transport_socket_match* + * having "acceptMTLS"/"true" key/value pair use the "enableMTLS" socket configuration. + * + * If a :ref:`socket match ` with empty match + * criteria is provided, that always match any endpoint. For example, the "defaultToPlaintext" + * socket match in case above. + * + * If an endpoint metadata's value under *envoy.transport_socket_match* does not match any + * *TransportSocketMatch*, socket configuration fallbacks to use the *tls_context* or + * *transport_socket* specified in this cluster. + * + * This field allows gradual and flexible transport socket configuration changes. + * + * The metadata of endpoints in EDS can indicate transport socket capabilities. For example, + * an endpoint's metadata can have two key value pairs as "acceptMTLS": "true", + * "acceptPlaintext": "true". While some other endpoints, only accepting plaintext traffic + * has "acceptPlaintext": "true" metadata information. + * + * Then the xDS server can configure the CDS to a client, Envoy A, to send mutual TLS + * traffic for endpoints with "acceptMTLS": "true", by adding a corresponding + * *TransportSocketMatch* in this field. Other client Envoys receive CDS without + * *transport_socket_match* set, and still send plain text traffic to the same cluster. + * + * [#comment:TODO(incfly): add a detailed architecture doc on intended usage.] + */ 'transport_socket_matches': (_envoy_api_v2_Cluster_TransportSocketMatch__Output)[]; + /** + * If the DNS failure refresh rate is specified and the cluster type is either + * :ref:`STRICT_DNS`, + * or :ref:`LOGICAL_DNS`, + * this is used as the cluster’s DNS refresh rate when requests are failing. If this setting is + * not specified, the failure refresh rate defaults to the DNS refresh rate. For cluster types + * other than :ref:`STRICT_DNS` and + * :ref:`LOGICAL_DNS` this setting is + * ignored. + */ 'dns_failure_refresh_rate': (_envoy_api_v2_Cluster_RefreshRate__Output); + /** + * [#next-major-version: Reconcile DNS options in a single message.] + * Always use TCP queries instead of UDP queries for DNS lookups. + */ 'use_tcp_for_dns_lookups': (boolean); + /** + * HTTP protocol options that are applied only to upstream HTTP connections. + * These options apply to all HTTP versions. + */ 'upstream_http_protocol_options': (_envoy_api_v2_core_UpstreamHttpProtocolOptions__Output); + /** + * If track_timeout_budgets is true, the :ref:`timeout budget histograms + * ` will be published for each + * request. These show what percentage of a request's per try and global timeout was used. A value + * of 0 would indicate that none of the timeout was used or that the timeout was infinite. A value + * of 100 would indicate that the request took the entirety of the timeout given to it. + */ 'track_timeout_budgets': (boolean); 'cluster_discovery_type': "type"|"cluster_type"; + /** + * Optional configuration for the load balancing algorithm selected by + * LbPolicy. Currently only + * :ref:`RING_HASH` and + * :ref:`LEAST_REQUEST` + * has additional configuration options. + * Specifying ring_hash_lb_config or least_request_lb_config without setting the corresponding + * LbPolicy will generate an error at runtime. + */ 'lb_config': "ring_hash_lb_config"|"original_dst_lb_config"|"least_request_lb_config"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts b/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts index 4f9c08bb3..0f6baa546 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts @@ -6,40 +6,230 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _go import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration'; import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from '../../../envoy/type/FractionalPercent'; +/** + * Load balancing policy settings. + * [#next-free-field: 6] + */ export interface _envoy_api_v2_ClusterLoadAssignment_Policy { + /** + * Action to trim the overall incoming traffic to protect the upstream + * hosts. This action allows protection in case the hosts are unable to + * recover from an outage, or unable to autoscale or unable to handle + * incoming traffic volume for any reason. + * + * At the client each category is applied one after the other to generate + * the 'actual' drop percentage on all outgoing traffic. For example: + * + * .. code-block:: json + * + * { "drop_overloads": [ + * { "category": "throttle", "drop_percentage": 60 } + * { "category": "lb", "drop_percentage": 50 } + * ]} + * + * The actual drop percentages applied to the traffic at the clients will be + * "throttle"_drop = 60% + * "lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%. + * actual_outgoing_load = 20% // remaining after applying all categories. + * [#not-implemented-hide:] + */ 'drop_overloads'?: (_envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload)[]; + /** + * Priority levels and localities are considered overprovisioned with this + * factor (in percentage). This means that we don't consider a priority + * level or locality unhealthy until the percentage of healthy hosts + * multiplied by the overprovisioning factor drops below 100. + * With the default value 140(1.4), Envoy doesn't consider a priority level + * or a locality unhealthy until their percentage of healthy hosts drops + * below 72%. For example: + * + * .. code-block:: json + * + * { "overprovisioning_factor": 100 } + * + * Read more at :ref:`priority levels ` and + * :ref:`localities `. + */ 'overprovisioning_factor'?: (_google_protobuf_UInt32Value); + /** + * The max time until which the endpoints from this assignment can be used. + * If no new assignments are received before this time expires the endpoints + * are considered stale and should be marked unhealthy. + * Defaults to 0 which means endpoints never go stale. + */ 'endpoint_stale_after'?: (_google_protobuf_Duration); + /** + * The flag to disable overprovisioning. If it is set to true, + * :ref:`overprovisioning factor + * ` will be ignored + * and Envoy will not perform graceful failover between priority levels or + * localities as endpoints become unhealthy. Otherwise Envoy will perform + * graceful failover as :ref:`overprovisioning factor + * ` suggests. + * [#not-implemented-hide:] + */ 'disable_overprovisioning'?: (boolean); } +/** + * Load balancing policy settings. + * [#next-free-field: 6] + */ export interface _envoy_api_v2_ClusterLoadAssignment_Policy__Output { + /** + * Action to trim the overall incoming traffic to protect the upstream + * hosts. This action allows protection in case the hosts are unable to + * recover from an outage, or unable to autoscale or unable to handle + * incoming traffic volume for any reason. + * + * At the client each category is applied one after the other to generate + * the 'actual' drop percentage on all outgoing traffic. For example: + * + * .. code-block:: json + * + * { "drop_overloads": [ + * { "category": "throttle", "drop_percentage": 60 } + * { "category": "lb", "drop_percentage": 50 } + * ]} + * + * The actual drop percentages applied to the traffic at the clients will be + * "throttle"_drop = 60% + * "lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%. + * actual_outgoing_load = 20% // remaining after applying all categories. + * [#not-implemented-hide:] + */ 'drop_overloads': (_envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload__Output)[]; + /** + * Priority levels and localities are considered overprovisioned with this + * factor (in percentage). This means that we don't consider a priority + * level or locality unhealthy until the percentage of healthy hosts + * multiplied by the overprovisioning factor drops below 100. + * With the default value 140(1.4), Envoy doesn't consider a priority level + * or a locality unhealthy until their percentage of healthy hosts drops + * below 72%. For example: + * + * .. code-block:: json + * + * { "overprovisioning_factor": 100 } + * + * Read more at :ref:`priority levels ` and + * :ref:`localities `. + */ 'overprovisioning_factor': (_google_protobuf_UInt32Value__Output); + /** + * The max time until which the endpoints from this assignment can be used. + * If no new assignments are received before this time expires the endpoints + * are considered stale and should be marked unhealthy. + * Defaults to 0 which means endpoints never go stale. + */ 'endpoint_stale_after': (_google_protobuf_Duration__Output); + /** + * The flag to disable overprovisioning. If it is set to true, + * :ref:`overprovisioning factor + * ` will be ignored + * and Envoy will not perform graceful failover between priority levels or + * localities as endpoints become unhealthy. Otherwise Envoy will perform + * graceful failover as :ref:`overprovisioning factor + * ` suggests. + * [#not-implemented-hide:] + */ 'disable_overprovisioning': (boolean); } +/** + * [#not-implemented-hide:] + */ export interface _envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload { + /** + * Identifier for the policy specifying the drop. + */ 'category'?: (string); + /** + * Percentage of traffic that should be dropped for the category. + */ 'drop_percentage'?: (_envoy_type_FractionalPercent); } +/** + * [#not-implemented-hide:] + */ export interface _envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload__Output { + /** + * Identifier for the policy specifying the drop. + */ 'category': (string); + /** + * Percentage of traffic that should be dropped for the category. + */ 'drop_percentage': (_envoy_type_FractionalPercent__Output); } +/** + * Each route from RDS will map to a single cluster or traffic split across + * clusters using weights expressed in the RDS WeightedCluster. + * + * With EDS, each cluster is treated independently from a LB perspective, with + * LB taking place between the Localities within a cluster and at a finer + * granularity between the hosts within a locality. The percentage of traffic + * for each endpoint is determined by both its load_balancing_weight, and the + * load_balancing_weight of its locality. First, a locality will be selected, + * then an endpoint within that locality will be chose based on its weight. + * [#next-free-field: 6] + */ export interface ClusterLoadAssignment { + /** + * Name of the cluster. This will be the :ref:`service_name + * ` value if specified + * in the cluster :ref:`EdsClusterConfig + * `. + */ 'cluster_name'?: (string); + /** + * List of endpoints to load balance to. + */ 'endpoints'?: (_envoy_api_v2_endpoint_LocalityLbEndpoints)[]; + /** + * Load balancing policy settings. + */ 'policy'?: (_envoy_api_v2_ClusterLoadAssignment_Policy); + /** + * Map of named endpoints that can be referenced in LocalityLbEndpoints. + * [#not-implemented-hide:] + */ 'named_endpoints'?: (_envoy_api_v2_endpoint_Endpoint); } +/** + * Each route from RDS will map to a single cluster or traffic split across + * clusters using weights expressed in the RDS WeightedCluster. + * + * With EDS, each cluster is treated independently from a LB perspective, with + * LB taking place between the Localities within a cluster and at a finer + * granularity between the hosts within a locality. The percentage of traffic + * for each endpoint is determined by both its load_balancing_weight, and the + * load_balancing_weight of its locality. First, a locality will be selected, + * then an endpoint within that locality will be chose based on its weight. + * [#next-free-field: 6] + */ export interface ClusterLoadAssignment__Output { + /** + * Name of the cluster. This will be the :ref:`service_name + * ` value if specified + * in the cluster :ref:`EdsClusterConfig + * `. + */ 'cluster_name': (string); + /** + * List of endpoints to load balance to. + */ 'endpoints': (_envoy_api_v2_endpoint_LocalityLbEndpoints__Output)[]; + /** + * Load balancing policy settings. + */ 'policy': (_envoy_api_v2_ClusterLoadAssignment_Policy__Output); + /** + * Map of named endpoints that can be referenced in LocalityLbEndpoints. + * [#not-implemented-hide:] + */ 'named_endpoints': (_envoy_api_v2_endpoint_Endpoint__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.ts b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.ts index bd09411a8..341c9b9a4 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.ts @@ -3,22 +3,200 @@ import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from '../../../envoy/api/v2/core/Node'; import { Status as _google_rpc_Status, Status__Output as _google_rpc_Status__Output } from '../../../google/rpc/Status'; +/** + * DeltaDiscoveryRequest and DeltaDiscoveryResponse are used in a new gRPC + * endpoint for Delta xDS. + * + * With Delta xDS, the DeltaDiscoveryResponses do not need to include a full + * snapshot of the tracked resources. Instead, DeltaDiscoveryResponses are a + * diff to the state of a xDS client. + * In Delta XDS there are per-resource versions, which allow tracking state at + * the resource granularity. + * An xDS Delta session is always in the context of a gRPC bidirectional + * stream. This allows the xDS server to keep track of the state of xDS clients + * connected to it. + * + * In Delta xDS the nonce field is required and used to pair + * DeltaDiscoveryResponse to a DeltaDiscoveryRequest ACK or NACK. + * Optionally, a response message level system_version_info is present for + * debugging purposes only. + * + * DeltaDiscoveryRequest plays two independent roles. Any DeltaDiscoveryRequest + * can be either or both of: [1] informing the server of what resources the + * client has gained/lost interest in (using resource_names_subscribe and + * resource_names_unsubscribe), or [2] (N)ACKing an earlier resource update from + * the server (using response_nonce, with presence of error_detail making it a NACK). + * Additionally, the first message (for a given type_url) of a reconnected gRPC stream + * has a third role: informing the server of the resources (and their versions) + * that the client already possesses, using the initial_resource_versions field. + * + * As with state-of-the-world, when multiple resource types are multiplexed (ADS), + * all requests/acknowledgments/updates are logically walled off by type_url: + * a Cluster ACK exists in a completely separate world from a prior Route NACK. + * In particular, initial_resource_versions being sent at the "start" of every + * gRPC stream actually entails a message for each type_url, each with its own + * initial_resource_versions. + * [#next-free-field: 8] + */ export interface DeltaDiscoveryRequest { + /** + * The node making the request. + */ 'node'?: (_envoy_api_v2_core_Node); + /** + * Type of the resource that is being requested, e.g. + * "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". + */ 'type_url'?: (string); + /** + * DeltaDiscoveryRequests allow the client to add or remove individual + * resources to the set of tracked resources in the context of a stream. + * All resource names in the resource_names_subscribe list are added to the + * set of tracked resources and all resource names in the resource_names_unsubscribe + * list are removed from the set of tracked resources. + * + * *Unlike* state-of-the-world xDS, an empty resource_names_subscribe or + * resource_names_unsubscribe list simply means that no resources are to be + * added or removed to the resource list. + * *Like* state-of-the-world xDS, the server must send updates for all tracked + * resources, but can also send updates for resources the client has not subscribed to. + * + * NOTE: the server must respond with all resources listed in resource_names_subscribe, + * even if it believes the client has the most recent version of them. The reason: + * the client may have dropped them, but then regained interest before it had a chance + * to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd. + * + * These two fields can be set in any DeltaDiscoveryRequest, including ACKs + * and initial_resource_versions. + * + * A list of Resource names to add to the list of tracked resources. + */ 'resource_names_subscribe'?: (string)[]; + /** + * A list of Resource names to remove from the list of tracked resources. + */ 'resource_names_unsubscribe'?: (string)[]; + /** + * Informs the server of the versions of the resources the xDS client knows of, to enable the + * client to continue the same logical xDS session even in the face of gRPC stream reconnection. + * It will not be populated: [1] in the very first stream of a session, since the client will + * not yet have any resources, [2] in any message after the first in a stream (for a given + * type_url), since the server will already be correctly tracking the client's state. + * (In ADS, the first message *of each type_url* of a reconnected stream populates this map.) + * The map's keys are names of xDS resources known to the xDS client. + * The map's values are opaque resource versions. + */ 'initial_resource_versions'?: (string); + /** + * When the DeltaDiscoveryRequest is a ACK or NACK message in response + * to a previous DeltaDiscoveryResponse, the response_nonce must be the + * nonce in the DeltaDiscoveryResponse. + * Otherwise (unlike in DiscoveryRequest) response_nonce must be omitted. + */ 'response_nonce'?: (string); + /** + * This is populated when the previous :ref:`DiscoveryResponse ` + * failed to update configuration. The *message* field in *error_details* + * provides the Envoy internal exception related to the failure. + */ 'error_detail'?: (_google_rpc_Status); } +/** + * DeltaDiscoveryRequest and DeltaDiscoveryResponse are used in a new gRPC + * endpoint for Delta xDS. + * + * With Delta xDS, the DeltaDiscoveryResponses do not need to include a full + * snapshot of the tracked resources. Instead, DeltaDiscoveryResponses are a + * diff to the state of a xDS client. + * In Delta XDS there are per-resource versions, which allow tracking state at + * the resource granularity. + * An xDS Delta session is always in the context of a gRPC bidirectional + * stream. This allows the xDS server to keep track of the state of xDS clients + * connected to it. + * + * In Delta xDS the nonce field is required and used to pair + * DeltaDiscoveryResponse to a DeltaDiscoveryRequest ACK or NACK. + * Optionally, a response message level system_version_info is present for + * debugging purposes only. + * + * DeltaDiscoveryRequest plays two independent roles. Any DeltaDiscoveryRequest + * can be either or both of: [1] informing the server of what resources the + * client has gained/lost interest in (using resource_names_subscribe and + * resource_names_unsubscribe), or [2] (N)ACKing an earlier resource update from + * the server (using response_nonce, with presence of error_detail making it a NACK). + * Additionally, the first message (for a given type_url) of a reconnected gRPC stream + * has a third role: informing the server of the resources (and their versions) + * that the client already possesses, using the initial_resource_versions field. + * + * As with state-of-the-world, when multiple resource types are multiplexed (ADS), + * all requests/acknowledgments/updates are logically walled off by type_url: + * a Cluster ACK exists in a completely separate world from a prior Route NACK. + * In particular, initial_resource_versions being sent at the "start" of every + * gRPC stream actually entails a message for each type_url, each with its own + * initial_resource_versions. + * [#next-free-field: 8] + */ export interface DeltaDiscoveryRequest__Output { + /** + * The node making the request. + */ 'node': (_envoy_api_v2_core_Node__Output); + /** + * Type of the resource that is being requested, e.g. + * "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". + */ 'type_url': (string); + /** + * DeltaDiscoveryRequests allow the client to add or remove individual + * resources to the set of tracked resources in the context of a stream. + * All resource names in the resource_names_subscribe list are added to the + * set of tracked resources and all resource names in the resource_names_unsubscribe + * list are removed from the set of tracked resources. + * + * *Unlike* state-of-the-world xDS, an empty resource_names_subscribe or + * resource_names_unsubscribe list simply means that no resources are to be + * added or removed to the resource list. + * *Like* state-of-the-world xDS, the server must send updates for all tracked + * resources, but can also send updates for resources the client has not subscribed to. + * + * NOTE: the server must respond with all resources listed in resource_names_subscribe, + * even if it believes the client has the most recent version of them. The reason: + * the client may have dropped them, but then regained interest before it had a chance + * to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd. + * + * These two fields can be set in any DeltaDiscoveryRequest, including ACKs + * and initial_resource_versions. + * + * A list of Resource names to add to the list of tracked resources. + */ 'resource_names_subscribe': (string)[]; + /** + * A list of Resource names to remove from the list of tracked resources. + */ 'resource_names_unsubscribe': (string)[]; + /** + * Informs the server of the versions of the resources the xDS client knows of, to enable the + * client to continue the same logical xDS session even in the face of gRPC stream reconnection. + * It will not be populated: [1] in the very first stream of a session, since the client will + * not yet have any resources, [2] in any message after the first in a stream (for a given + * type_url), since the server will already be correctly tracking the client's state. + * (In ADS, the first message *of each type_url* of a reconnected stream populates this map.) + * The map's keys are names of xDS resources known to the xDS client. + * The map's values are opaque resource versions. + */ 'initial_resource_versions': (string); + /** + * When the DeltaDiscoveryRequest is a ACK or NACK message in response + * to a previous DeltaDiscoveryResponse, the response_nonce must be the + * nonce in the DeltaDiscoveryResponse. + * Otherwise (unlike in DiscoveryRequest) response_nonce must be omitted. + */ 'response_nonce': (string); + /** + * This is populated when the previous :ref:`DiscoveryResponse ` + * failed to update configuration. The *message* field in *error_details* + * provides the Envoy internal exception related to the failure. + */ 'error_detail': (_google_rpc_Status__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.ts b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.ts index 53be2989e..8af4b4eb5 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryResponse.ts @@ -2,18 +2,62 @@ import { Resource as _envoy_api_v2_Resource, Resource__Output as _envoy_api_v2_Resource__Output } from '../../../envoy/api/v2/Resource'; +/** + * [#next-free-field: 7] + */ export interface DeltaDiscoveryResponse { + /** + * The version of the response data (used for debugging). + */ 'system_version_info'?: (string); + /** + * The response resources. These are typed resources, whose types must match + * the type_url field. + */ 'resources'?: (_envoy_api_v2_Resource)[]; + /** + * Type URL for resources. Identifies the xDS API when muxing over ADS. + * Must be consistent with the type_url in the Any within 'resources' if 'resources' is non-empty. + */ 'type_url'?: (string); + /** + * The nonce provides a way for DeltaDiscoveryRequests to uniquely + * reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required. + */ 'nonce'?: (string); + /** + * Resources names of resources that have be deleted and to be removed from the xDS Client. + * Removed resources for missing resources can be ignored. + */ 'removed_resources'?: (string)[]; } +/** + * [#next-free-field: 7] + */ export interface DeltaDiscoveryResponse__Output { + /** + * The version of the response data (used for debugging). + */ 'system_version_info': (string); + /** + * The response resources. These are typed resources, whose types must match + * the type_url field. + */ 'resources': (_envoy_api_v2_Resource__Output)[]; + /** + * Type URL for resources. Identifies the xDS API when muxing over ADS. + * Must be consistent with the type_url in the Any within 'resources' if 'resources' is non-empty. + */ 'type_url': (string); + /** + * The nonce provides a way for DeltaDiscoveryRequests to uniquely + * reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required. + */ 'nonce': (string); + /** + * Resources names of resources that have be deleted and to be removed from the xDS Client. + * Removed resources for missing resources can be ignored. + */ 'removed_resources': (string)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.ts b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.ts index 33b8fcf26..43c926b74 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.ts @@ -3,20 +3,108 @@ import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from '../../../envoy/api/v2/core/Node'; import { Status as _google_rpc_Status, Status__Output as _google_rpc_Status__Output } from '../../../google/rpc/Status'; +/** + * A DiscoveryRequest requests a set of versioned resources of the same type for + * a given Envoy node on some API. + * [#next-free-field: 7] + */ export interface DiscoveryRequest { + /** + * The version_info provided in the request messages will be the version_info + * received with the most recent successfully processed response or empty on + * the first request. It is expected that no new request is sent after a + * response is received until the Envoy instance is ready to ACK/NACK the new + * configuration. ACK/NACK takes place by returning the new API config version + * as applied or the previous API config version respectively. Each type_url + * (see below) has an independent version associated with it. + */ 'version_info'?: (string); + /** + * The node making the request. + */ 'node'?: (_envoy_api_v2_core_Node); + /** + * List of resources to subscribe to, e.g. list of cluster names or a route + * configuration name. If this is empty, all resources for the API are + * returned. LDS/CDS may have empty resource_names, which will cause all + * resources for the Envoy instance to be returned. The LDS and CDS responses + * will then imply a number of resources that need to be fetched via EDS/RDS, + * which will be explicitly enumerated in resource_names. + */ 'resource_names'?: (string)[]; + /** + * Type of the resource that is being requested, e.g. + * "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". This is implicit + * in requests made via singleton xDS APIs such as CDS, LDS, etc. but is + * required for ADS. + */ 'type_url'?: (string); + /** + * nonce corresponding to DiscoveryResponse being ACK/NACKed. See above + * discussion on version_info and the DiscoveryResponse nonce comment. This + * may be empty only if 1) this is a non-persistent-stream xDS such as HTTP, + * or 2) the client has not yet accepted an update in this xDS stream (unlike + * delta, where it is populated only for new explicit ACKs). + */ 'response_nonce'?: (string); + /** + * This is populated when the previous :ref:`DiscoveryResponse ` + * failed to update configuration. The *message* field in *error_details* provides the Envoy + * internal exception related to the failure. It is only intended for consumption during manual + * debugging, the string provided is not guaranteed to be stable across Envoy versions. + */ 'error_detail'?: (_google_rpc_Status); } +/** + * A DiscoveryRequest requests a set of versioned resources of the same type for + * a given Envoy node on some API. + * [#next-free-field: 7] + */ export interface DiscoveryRequest__Output { + /** + * The version_info provided in the request messages will be the version_info + * received with the most recent successfully processed response or empty on + * the first request. It is expected that no new request is sent after a + * response is received until the Envoy instance is ready to ACK/NACK the new + * configuration. ACK/NACK takes place by returning the new API config version + * as applied or the previous API config version respectively. Each type_url + * (see below) has an independent version associated with it. + */ 'version_info': (string); + /** + * The node making the request. + */ 'node': (_envoy_api_v2_core_Node__Output); + /** + * List of resources to subscribe to, e.g. list of cluster names or a route + * configuration name. If this is empty, all resources for the API are + * returned. LDS/CDS may have empty resource_names, which will cause all + * resources for the Envoy instance to be returned. The LDS and CDS responses + * will then imply a number of resources that need to be fetched via EDS/RDS, + * which will be explicitly enumerated in resource_names. + */ 'resource_names': (string)[]; + /** + * Type of the resource that is being requested, e.g. + * "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". This is implicit + * in requests made via singleton xDS APIs such as CDS, LDS, etc. but is + * required for ADS. + */ 'type_url': (string); + /** + * nonce corresponding to DiscoveryResponse being ACK/NACKed. See above + * discussion on version_info and the DiscoveryResponse nonce comment. This + * may be empty only if 1) this is a non-persistent-stream xDS such as HTTP, + * or 2) the client has not yet accepted an update in this xDS stream (unlike + * delta, where it is populated only for new explicit ACKs). + */ 'response_nonce': (string); + /** + * This is populated when the previous :ref:`DiscoveryResponse ` + * failed to update configuration. The *message* field in *error_details* provides the Envoy + * internal exception related to the failure. It is only intended for consumption during manual + * debugging, the string provided is not guaranteed to be stable across Envoy versions. + */ 'error_detail': (_google_rpc_Status__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.ts b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.ts index 5f209372e..db6033ffa 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.ts @@ -3,20 +3,106 @@ import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any'; import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from '../../../envoy/api/v2/core/ControlPlane'; +/** + * [#next-free-field: 7] + */ export interface DiscoveryResponse { + /** + * The version of the response data. + */ 'version_info'?: (string); + /** + * The response resources. These resources are typed and depend on the API being called. + */ 'resources'?: (_google_protobuf_Any)[]; + /** + * [#not-implemented-hide:] + * Canary is used to support two Envoy command line flags: + * + * * --terminate-on-canary-transition-failure. When set, Envoy is able to + * terminate if it detects that configuration is stuck at canary. Consider + * this example sequence of updates: + * - Management server applies a canary config successfully. + * - Management server rolls back to a production config. + * - Envoy rejects the new production config. + * Since there is no sensible way to continue receiving configuration + * updates, Envoy will then terminate and apply production config from a + * clean slate. + * * --dry-run-canary. When set, a canary response will never be applied, only + * validated via a dry run. + */ 'canary'?: (boolean); + /** + * Type URL for resources. Identifies the xDS API when muxing over ADS. + * Must be consistent with the type_url in the 'resources' repeated Any (if non-empty). + */ 'type_url'?: (string); + /** + * For gRPC based subscriptions, the nonce provides a way to explicitly ack a + * specific DiscoveryResponse in a following DiscoveryRequest. Additional + * messages may have been sent by Envoy to the management server for the + * previous version on the stream prior to this DiscoveryResponse, that were + * unprocessed at response send time. The nonce allows the management server + * to ignore any further DiscoveryRequests for the previous version until a + * DiscoveryRequest bearing the nonce. The nonce is optional and is not + * required for non-stream based xDS implementations. + */ 'nonce'?: (string); + /** + * [#not-implemented-hide:] + * The control plane instance that sent the response. + */ 'control_plane'?: (_envoy_api_v2_core_ControlPlane); } +/** + * [#next-free-field: 7] + */ export interface DiscoveryResponse__Output { + /** + * The version of the response data. + */ 'version_info': (string); + /** + * The response resources. These resources are typed and depend on the API being called. + */ 'resources': (_google_protobuf_Any__Output)[]; + /** + * [#not-implemented-hide:] + * Canary is used to support two Envoy command line flags: + * + * * --terminate-on-canary-transition-failure. When set, Envoy is able to + * terminate if it detects that configuration is stuck at canary. Consider + * this example sequence of updates: + * - Management server applies a canary config successfully. + * - Management server rolls back to a production config. + * - Envoy rejects the new production config. + * Since there is no sensible way to continue receiving configuration + * updates, Envoy will then terminate and apply production config from a + * clean slate. + * * --dry-run-canary. When set, a canary response will never be applied, only + * validated via a dry run. + */ 'canary': (boolean); + /** + * Type URL for resources. Identifies the xDS API when muxing over ADS. + * Must be consistent with the type_url in the 'resources' repeated Any (if non-empty). + */ 'type_url': (string); + /** + * For gRPC based subscriptions, the nonce provides a way to explicitly ack a + * specific DiscoveryResponse in a following DiscoveryRequest. Additional + * messages may have been sent by Envoy to the management server for the + * previous version on the stream prior to this DiscoveryResponse, that were + * unprocessed at response send time. The nonce allows the management server + * to ignore any further DiscoveryRequests for the previous version until a + * DiscoveryRequest bearing the nonce. The nonce is optional and is not + * required for non-stream based xDS implementations. + */ 'nonce': (string); + /** + * [#not-implemented-hide:] + * The control plane instance that sent the response. + */ 'control_plane': (_envoy_api_v2_core_ControlPlane__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts b/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts index d5a152016..befc353b9 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts @@ -13,81 +13,492 @@ import { UdpListenerConfig as _envoy_api_v2_listener_UdpListenerConfig, UdpListe import { ApiListener as _envoy_config_listener_v2_ApiListener, ApiListener__Output as _envoy_config_listener_v2_ApiListener__Output } from '../../../envoy/config/listener/v2/ApiListener'; import { AccessLog as _envoy_config_filter_accesslog_v2_AccessLog, AccessLog__Output as _envoy_config_filter_accesslog_v2_AccessLog__Output } from '../../../envoy/config/filter/accesslog/v2/AccessLog'; +/** + * Configuration for listener connection balancing. + */ export interface _envoy_api_v2_Listener_ConnectionBalanceConfig { + /** + * If specified, the listener will use the exact connection balancer. + */ 'exact_balance'?: (_envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance); 'balance_type'?: "exact_balance"; } +/** + * Configuration for listener connection balancing. + */ export interface _envoy_api_v2_Listener_ConnectionBalanceConfig__Output { + /** + * If specified, the listener will use the exact connection balancer. + */ 'exact_balance'?: (_envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance__Output); 'balance_type': "exact_balance"; } +/** + * A connection balancer implementation that does exact balancing. This means that a lock is + * held during balancing so that connection counts are nearly exactly balanced between worker + * threads. This is "nearly" exact in the sense that a connection might close in parallel thus + * making the counts incorrect, but this should be rectified on the next accept. This balancer + * sacrifices accept throughput for accuracy and should be used when there are a small number of + * connections that rarely cycle (e.g., service mesh gRPC egress). + */ export interface _envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance { } +/** + * A connection balancer implementation that does exact balancing. This means that a lock is + * held during balancing so that connection counts are nearly exactly balanced between worker + * threads. This is "nearly" exact in the sense that a connection might close in parallel thus + * making the counts incorrect, but this should be rectified on the next accept. This balancer + * sacrifices accept throughput for accuracy and should be used when there are a small number of + * connections that rarely cycle (e.g., service mesh gRPC egress). + */ export interface _envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance__Output { } +/** + * [#not-implemented-hide:] + */ export interface _envoy_api_v2_Listener_DeprecatedV1 { + /** + * Whether the listener should bind to the port. A listener that doesn't + * bind can only receive connections redirected from other listeners that + * set use_original_dst parameter to true. Default is true. + * + * This is deprecated in v2, all Listeners will bind to their port. An + * additional filter chain must be created for every original destination + * port this listener may redirect to in v2, with the original port + * specified in the FilterChainMatch destination_port field. + * + * [#comment:TODO(PiotrSikora): Remove this once verified that we no longer need it.] + */ 'bind_to_port'?: (_google_protobuf_BoolValue); } +/** + * [#not-implemented-hide:] + */ export interface _envoy_api_v2_Listener_DeprecatedV1__Output { + /** + * Whether the listener should bind to the port. A listener that doesn't + * bind can only receive connections redirected from other listeners that + * set use_original_dst parameter to true. Default is true. + * + * This is deprecated in v2, all Listeners will bind to their port. An + * additional filter chain must be created for every original destination + * port this listener may redirect to in v2, with the original port + * specified in the FilterChainMatch destination_port field. + * + * [#comment:TODO(PiotrSikora): Remove this once verified that we no longer need it.] + */ 'bind_to_port': (_google_protobuf_BoolValue__Output); } // Original file: deps/envoy-api/envoy/api/v2/listener.proto export enum _envoy_api_v2_Listener_DrainType { + /** + * Drain in response to calling /healthcheck/fail admin endpoint (along with the health check + * filter), listener removal/modification, and hot restart. + */ DEFAULT = 0, + /** + * Drain in response to listener removal/modification and hot restart. This setting does not + * include /healthcheck/fail. This setting may be desirable if Envoy is hosting both ingress + * and egress listeners. + */ MODIFY_ONLY = 1, } +/** + * [#next-free-field: 23] + */ export interface Listener { + /** + * The unique name by which this listener is known. If no name is provided, + * Envoy will allocate an internal UUID for the listener. If the listener is to be dynamically + * updated or removed via :ref:`LDS ` a unique name must be provided. + */ 'name'?: (string); + /** + * The address that the listener should listen on. In general, the address must be unique, though + * that is governed by the bind rules of the OS. E.g., multiple listeners can listen on port 0 on + * Linux as the actual port will be allocated by the OS. + */ 'address'?: (_envoy_api_v2_core_Address); + /** + * A list of filter chains to consider for this listener. The + * :ref:`FilterChain ` with the most specific + * :ref:`FilterChainMatch ` criteria is used on a + * connection. + * + * Example using SNI for filter chain selection can be found in the + * :ref:`FAQ entry `. + */ 'filter_chains'?: (_envoy_api_v2_listener_FilterChain)[]; + /** + * If a connection is redirected using *iptables*, the port on which the proxy + * receives it might be different from the original destination address. When this flag is set to + * true, the listener hands off redirected connections to the listener associated with the + * original destination address. If there is no listener associated with the original destination + * address, the connection is handled by the listener that receives it. Defaults to false. + * + * .. attention:: + * + * This field is deprecated. Use :ref:`an original_dst ` + * :ref:`listener filter ` instead. + * + * Note that hand off to another listener is *NOT* performed without this flag. Once + * :ref:`FilterChainMatch ` is implemented this flag + * will be removed, as filter chain matching can be used to select a filter chain based on the + * restored destination address. + */ 'use_original_dst'?: (_google_protobuf_BoolValue); + /** + * Soft limit on size of the listener’s new connection read and write buffers. + * If unspecified, an implementation defined default is applied (1MiB). + */ 'per_connection_buffer_limit_bytes'?: (_google_protobuf_UInt32Value); + /** + * Listener metadata. + */ 'metadata'?: (_envoy_api_v2_core_Metadata); + /** + * [#not-implemented-hide:] + */ 'deprecated_v1'?: (_envoy_api_v2_Listener_DeprecatedV1); + /** + * The type of draining to perform at a listener-wide level. + */ 'drain_type'?: (_envoy_api_v2_Listener_DrainType | keyof typeof _envoy_api_v2_Listener_DrainType); + /** + * Listener filters have the opportunity to manipulate and augment the connection metadata that + * is used in connection filter chain matching, for example. These filters are run before any in + * :ref:`filter_chains `. Order matters as the + * filters are processed sequentially right after a socket has been accepted by the listener, and + * before a connection is created. + * UDP Listener filters can be specified when the protocol in the listener socket address in + * :ref:`protocol ` is :ref:`UDP + * `. + * UDP listeners currently support a single filter. + */ 'listener_filters'?: (_envoy_api_v2_listener_ListenerFilter)[]; + /** + * Whether the listener should be set as a transparent socket. + * When this flag is set to true, connections can be redirected to the listener using an + * *iptables* *TPROXY* target, in which case the original source and destination addresses and + * ports are preserved on accepted connections. This flag should be used in combination with + * :ref:`an original_dst ` :ref:`listener filter + * ` to mark the connections' local addresses as + * "restored." This can be used to hand off each redirected connection to another listener + * associated with the connection's destination address. Direct connections to the socket without + * using *TPROXY* cannot be distinguished from connections redirected using *TPROXY* and are + * therefore treated as if they were redirected. + * When this flag is set to false, the listener's socket is explicitly reset as non-transparent. + * Setting this flag requires Envoy to run with the *CAP_NET_ADMIN* capability. + * When this flag is not set (default), the socket is not modified, i.e. the transparent option + * is neither set nor reset. + */ 'transparent'?: (_google_protobuf_BoolValue); + /** + * Whether the listener should set the *IP_FREEBIND* socket option. When this + * flag is set to true, listeners can be bound to an IP address that is not + * configured on the system running Envoy. When this flag is set to false, the + * option *IP_FREEBIND* is disabled on the socket. When this flag is not set + * (default), the socket is not modified, i.e. the option is neither enabled + * nor disabled. + */ 'freebind'?: (_google_protobuf_BoolValue); + /** + * Whether the listener should accept TCP Fast Open (TFO) connections. + * When this flag is set to a value greater than 0, the option TCP_FASTOPEN is enabled on + * the socket, with a queue length of the specified size + * (see `details in RFC7413 `_). + * When this flag is set to 0, the option TCP_FASTOPEN is disabled on the socket. + * When this flag is not set (default), the socket is not modified, + * i.e. the option is neither enabled nor disabled. + * + * On Linux, the net.ipv4.tcp_fastopen kernel parameter must include flag 0x2 to enable + * TCP_FASTOPEN. + * See `ip-sysctl.txt `_. + * + * On macOS, only values of 0, 1, and unset are valid; other values may result in an error. + * To set the queue length on macOS, set the net.inet.tcp.fastopen_backlog kernel parameter. + */ 'tcp_fast_open_queue_length'?: (_google_protobuf_UInt32Value); + /** + * Additional socket options that may not be present in Envoy source code or + * precompiled binaries. + */ 'socket_options'?: (_envoy_api_v2_core_SocketOption)[]; + /** + * The timeout to wait for all listener filters to complete operation. If the timeout is reached, + * the accepted socket is closed without a connection being created unless + * `continue_on_listener_filters_timeout` is set to true. Specify 0 to disable the + * timeout. If not specified, a default timeout of 15s is used. + */ 'listener_filters_timeout'?: (_google_protobuf_Duration); + /** + * Specifies the intended direction of the traffic relative to the local Envoy. + */ 'traffic_direction'?: (_envoy_api_v2_core_TrafficDirection | keyof typeof _envoy_api_v2_core_TrafficDirection); + /** + * Whether a connection should be created when listener filters timeout. Default is false. + * + * .. attention:: + * + * Some listener filters, such as :ref:`Proxy Protocol filter + * `, should not be used with this option. It will cause + * unexpected behavior when a connection is created. + */ 'continue_on_listener_filters_timeout'?: (boolean); + /** + * If the protocol in the listener socket address in :ref:`protocol + * ` is :ref:`UDP + * `, this field specifies the actual udp + * listener to create, i.e. :ref:`udp_listener_name + * ` = "raw_udp_listener" for + * creating a packet-oriented UDP listener. If not present, treat it as "raw_udp_listener". + */ 'udp_listener_config'?: (_envoy_api_v2_listener_UdpListenerConfig); + /** + * Used to represent an API listener, which is used in non-proxy clients. The type of API + * exposed to the non-proxy application depends on the type of API listener. + * When this field is set, no other field except for :ref:`name` + * should be set. + * + * .. note:: + * + * Currently only one ApiListener can be installed; and it can only be done via bootstrap config, + * not LDS. + * + * [#next-major-version: In the v3 API, instead of this messy approach where the socket + * listener fields are directly in the top-level Listener message and the API listener types + * are in the ApiListener message, the socket listener messages should be in their own message, + * and the top-level Listener should essentially be a oneof that selects between the + * socket listener and the various types of API listener. That way, a given Listener message + * can structurally only contain the fields of the relevant type.] + */ 'api_listener'?: (_envoy_config_listener_v2_ApiListener); + /** + * The listener's connection balancer configuration, currently only applicable to TCP listeners. + * If no configuration is specified, Envoy will not attempt to balance active connections between + * worker threads. + */ 'connection_balance_config'?: (_envoy_api_v2_Listener_ConnectionBalanceConfig); + /** + * When this flag is set to true, listeners set the *SO_REUSEPORT* socket option and + * create one socket for each worker thread. This makes inbound connections + * distribute among worker threads roughly evenly in cases where there are a high number + * of connections. When this flag is set to false, all worker threads share one socket. + * + * Before Linux v4.19-rc1, new TCP connections may be rejected during hot restart + * (see `3rd paragraph in 'soreuseport' commit message + * `_). + * This issue was fixed by `tcp: Avoid TCP syncookie rejected by SO_REUSEPORT socket + * `_. + */ 'reuse_port'?: (boolean); + /** + * Configuration for :ref:`access logs ` + * emitted by this listener. + */ 'access_log'?: (_envoy_config_filter_accesslog_v2_AccessLog)[]; } +/** + * [#next-free-field: 23] + */ export interface Listener__Output { + /** + * The unique name by which this listener is known. If no name is provided, + * Envoy will allocate an internal UUID for the listener. If the listener is to be dynamically + * updated or removed via :ref:`LDS ` a unique name must be provided. + */ 'name': (string); + /** + * The address that the listener should listen on. In general, the address must be unique, though + * that is governed by the bind rules of the OS. E.g., multiple listeners can listen on port 0 on + * Linux as the actual port will be allocated by the OS. + */ 'address': (_envoy_api_v2_core_Address__Output); + /** + * A list of filter chains to consider for this listener. The + * :ref:`FilterChain ` with the most specific + * :ref:`FilterChainMatch ` criteria is used on a + * connection. + * + * Example using SNI for filter chain selection can be found in the + * :ref:`FAQ entry `. + */ 'filter_chains': (_envoy_api_v2_listener_FilterChain__Output)[]; + /** + * If a connection is redirected using *iptables*, the port on which the proxy + * receives it might be different from the original destination address. When this flag is set to + * true, the listener hands off redirected connections to the listener associated with the + * original destination address. If there is no listener associated with the original destination + * address, the connection is handled by the listener that receives it. Defaults to false. + * + * .. attention:: + * + * This field is deprecated. Use :ref:`an original_dst ` + * :ref:`listener filter ` instead. + * + * Note that hand off to another listener is *NOT* performed without this flag. Once + * :ref:`FilterChainMatch ` is implemented this flag + * will be removed, as filter chain matching can be used to select a filter chain based on the + * restored destination address. + */ 'use_original_dst': (_google_protobuf_BoolValue__Output); + /** + * Soft limit on size of the listener’s new connection read and write buffers. + * If unspecified, an implementation defined default is applied (1MiB). + */ 'per_connection_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); + /** + * Listener metadata. + */ 'metadata': (_envoy_api_v2_core_Metadata__Output); + /** + * [#not-implemented-hide:] + */ 'deprecated_v1': (_envoy_api_v2_Listener_DeprecatedV1__Output); + /** + * The type of draining to perform at a listener-wide level. + */ 'drain_type': (keyof typeof _envoy_api_v2_Listener_DrainType); + /** + * Listener filters have the opportunity to manipulate and augment the connection metadata that + * is used in connection filter chain matching, for example. These filters are run before any in + * :ref:`filter_chains `. Order matters as the + * filters are processed sequentially right after a socket has been accepted by the listener, and + * before a connection is created. + * UDP Listener filters can be specified when the protocol in the listener socket address in + * :ref:`protocol ` is :ref:`UDP + * `. + * UDP listeners currently support a single filter. + */ 'listener_filters': (_envoy_api_v2_listener_ListenerFilter__Output)[]; + /** + * Whether the listener should be set as a transparent socket. + * When this flag is set to true, connections can be redirected to the listener using an + * *iptables* *TPROXY* target, in which case the original source and destination addresses and + * ports are preserved on accepted connections. This flag should be used in combination with + * :ref:`an original_dst ` :ref:`listener filter + * ` to mark the connections' local addresses as + * "restored." This can be used to hand off each redirected connection to another listener + * associated with the connection's destination address. Direct connections to the socket without + * using *TPROXY* cannot be distinguished from connections redirected using *TPROXY* and are + * therefore treated as if they were redirected. + * When this flag is set to false, the listener's socket is explicitly reset as non-transparent. + * Setting this flag requires Envoy to run with the *CAP_NET_ADMIN* capability. + * When this flag is not set (default), the socket is not modified, i.e. the transparent option + * is neither set nor reset. + */ 'transparent': (_google_protobuf_BoolValue__Output); + /** + * Whether the listener should set the *IP_FREEBIND* socket option. When this + * flag is set to true, listeners can be bound to an IP address that is not + * configured on the system running Envoy. When this flag is set to false, the + * option *IP_FREEBIND* is disabled on the socket. When this flag is not set + * (default), the socket is not modified, i.e. the option is neither enabled + * nor disabled. + */ 'freebind': (_google_protobuf_BoolValue__Output); + /** + * Whether the listener should accept TCP Fast Open (TFO) connections. + * When this flag is set to a value greater than 0, the option TCP_FASTOPEN is enabled on + * the socket, with a queue length of the specified size + * (see `details in RFC7413 `_). + * When this flag is set to 0, the option TCP_FASTOPEN is disabled on the socket. + * When this flag is not set (default), the socket is not modified, + * i.e. the option is neither enabled nor disabled. + * + * On Linux, the net.ipv4.tcp_fastopen kernel parameter must include flag 0x2 to enable + * TCP_FASTOPEN. + * See `ip-sysctl.txt `_. + * + * On macOS, only values of 0, 1, and unset are valid; other values may result in an error. + * To set the queue length on macOS, set the net.inet.tcp.fastopen_backlog kernel parameter. + */ 'tcp_fast_open_queue_length': (_google_protobuf_UInt32Value__Output); + /** + * Additional socket options that may not be present in Envoy source code or + * precompiled binaries. + */ 'socket_options': (_envoy_api_v2_core_SocketOption__Output)[]; + /** + * The timeout to wait for all listener filters to complete operation. If the timeout is reached, + * the accepted socket is closed without a connection being created unless + * `continue_on_listener_filters_timeout` is set to true. Specify 0 to disable the + * timeout. If not specified, a default timeout of 15s is used. + */ 'listener_filters_timeout': (_google_protobuf_Duration__Output); + /** + * Specifies the intended direction of the traffic relative to the local Envoy. + */ 'traffic_direction': (keyof typeof _envoy_api_v2_core_TrafficDirection); + /** + * Whether a connection should be created when listener filters timeout. Default is false. + * + * .. attention:: + * + * Some listener filters, such as :ref:`Proxy Protocol filter + * `, should not be used with this option. It will cause + * unexpected behavior when a connection is created. + */ 'continue_on_listener_filters_timeout': (boolean); + /** + * If the protocol in the listener socket address in :ref:`protocol + * ` is :ref:`UDP + * `, this field specifies the actual udp + * listener to create, i.e. :ref:`udp_listener_name + * ` = "raw_udp_listener" for + * creating a packet-oriented UDP listener. If not present, treat it as "raw_udp_listener". + */ 'udp_listener_config': (_envoy_api_v2_listener_UdpListenerConfig__Output); + /** + * Used to represent an API listener, which is used in non-proxy clients. The type of API + * exposed to the non-proxy application depends on the type of API listener. + * When this field is set, no other field except for :ref:`name` + * should be set. + * + * .. note:: + * + * Currently only one ApiListener can be installed; and it can only be done via bootstrap config, + * not LDS. + * + * [#next-major-version: In the v3 API, instead of this messy approach where the socket + * listener fields are directly in the top-level Listener message and the API listener types + * are in the ApiListener message, the socket listener messages should be in their own message, + * and the top-level Listener should essentially be a oneof that selects between the + * socket listener and the various types of API listener. That way, a given Listener message + * can structurally only contain the fields of the relevant type.] + */ 'api_listener': (_envoy_config_listener_v2_ApiListener__Output); + /** + * The listener's connection balancer configuration, currently only applicable to TCP listeners. + * If no configuration is specified, Envoy will not attempt to balance active connections between + * worker threads. + */ 'connection_balance_config': (_envoy_api_v2_Listener_ConnectionBalanceConfig__Output); + /** + * When this flag is set to true, listeners set the *SO_REUSEPORT* socket option and + * create one socket for each worker thread. This makes inbound connections + * distribute among worker threads roughly evenly in cases where there are a high number + * of connections. When this flag is set to false, all worker threads share one socket. + * + * Before Linux v4.19-rc1, new TCP connections may be rejected during hot restart + * (see `3rd paragraph in 'soreuseport' commit message + * `_). + * This issue was fixed by `tcp: Avoid TCP syncookie rejected by SO_REUSEPORT socket + * `_. + */ 'reuse_port': (boolean); + /** + * Configuration for :ref:`access logs ` + * emitted by this listener. + */ 'access_log': (_envoy_config_filter_accesslog_v2_AccessLog__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.ts b/packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.ts index 13af1f021..b2653ca03 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.ts @@ -4,21 +4,87 @@ import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_S import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any'; export interface _envoy_api_v2_LoadBalancingPolicy_Policy { + /** + * Required. The name of the LB policy. + */ 'name'?: (string); + /** + * Optional config for the LB policy. + * No more than one of these two fields may be populated. + */ 'config'?: (_google_protobuf_Struct); 'typed_config'?: (_google_protobuf_Any); } export interface _envoy_api_v2_LoadBalancingPolicy_Policy__Output { + /** + * Required. The name of the LB policy. + */ 'name': (string); + /** + * Optional config for the LB policy. + * No more than one of these two fields may be populated. + */ 'config': (_google_protobuf_Struct__Output); 'typed_config': (_google_protobuf_Any__Output); } +/** + * [#not-implemented-hide:] Extensible load balancing policy configuration. + * + * Every LB policy defined via this mechanism will be identified via a unique name using reverse + * DNS notation. If the policy needs configuration parameters, it must define a message for its + * own configuration, which will be stored in the config field. The name of the policy will tell + * clients which type of message they should expect to see in the config field. + * + * Note that there are cases where it is useful to be able to independently select LB policies + * for choosing a locality and for choosing an endpoint within that locality. For example, a + * given deployment may always use the same policy to choose the locality, but for choosing the + * endpoint within the locality, some clusters may use weighted-round-robin, while others may + * use some sort of session-based balancing. + * + * This can be accomplished via hierarchical LB policies, where the parent LB policy creates a + * child LB policy for each locality. For each request, the parent chooses the locality and then + * delegates to the child policy for that locality to choose the endpoint within the locality. + * + * To facilitate this, the config message for the top-level LB policy may include a field of + * type LoadBalancingPolicy that specifies the child policy. + */ export interface LoadBalancingPolicy { + /** + * Each client will iterate over the list in order and stop at the first policy that it + * supports. This provides a mechanism for starting to use new LB policies that are not yet + * supported by all clients. + */ 'policies'?: (_envoy_api_v2_LoadBalancingPolicy_Policy)[]; } +/** + * [#not-implemented-hide:] Extensible load balancing policy configuration. + * + * Every LB policy defined via this mechanism will be identified via a unique name using reverse + * DNS notation. If the policy needs configuration parameters, it must define a message for its + * own configuration, which will be stored in the config field. The name of the policy will tell + * clients which type of message they should expect to see in the config field. + * + * Note that there are cases where it is useful to be able to independently select LB policies + * for choosing a locality and for choosing an endpoint within that locality. For example, a + * given deployment may always use the same policy to choose the locality, but for choosing the + * endpoint within the locality, some clusters may use weighted-round-robin, while others may + * use some sort of session-based balancing. + * + * This can be accomplished via hierarchical LB policies, where the parent LB policy creates a + * child LB policy for each locality. For each request, the parent chooses the locality and then + * delegates to the child policy for that locality to choose the endpoint within the locality. + * + * To facilitate this, the config message for the top-level LB policy may include a field of + * type LoadBalancingPolicy that specifies the child policy. + */ export interface LoadBalancingPolicy__Output { + /** + * Each client will iterate over the list in order and stop at the first policy that it + * supports. This provides a mechanism for starting to use new LB policies that are not yet + * supported by all clients. + */ 'policies': (_envoy_api_v2_LoadBalancingPolicy_Policy__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Resource.ts b/packages/grpc-js/src/generated/envoy/api/v2/Resource.ts index 965d007d0..11fb70002 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/Resource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/Resource.ts @@ -3,15 +3,41 @@ import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any'; export interface Resource { + /** + * The resource level version. It allows xDS to track the state of individual + * resources. + */ 'version'?: (string); + /** + * The resource being tracked. + */ 'resource'?: (_google_protobuf_Any); + /** + * The resource's name, to distinguish it from others of the same type of resource. + */ 'name'?: (string); + /** + * The aliases are a list of other names that this resource can go by. + */ 'aliases'?: (string)[]; } export interface Resource__Output { + /** + * The resource level version. It allows xDS to track the state of individual + * resources. + */ 'version': (string); + /** + * The resource being tracked. + */ 'resource': (_google_protobuf_Any__Output); + /** + * The resource's name, to distinguish it from others of the same type of resource. + */ 'name': (string); + /** + * The aliases are a list of other names that this resource can go by. + */ 'aliases': (string)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts b/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts index 2c25c8b6f..538c15b35 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts @@ -5,28 +5,182 @@ import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueO import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../google/protobuf/BoolValue'; import { Vhds as _envoy_api_v2_Vhds, Vhds__Output as _envoy_api_v2_Vhds__Output } from '../../../envoy/api/v2/Vhds'; +/** + * [#next-free-field: 11] + */ export interface RouteConfiguration { + /** + * The name of the route configuration. For example, it might match + * :ref:`route_config_name + * ` in + * :ref:`envoy_api_msg_config.filter.network.http_connection_manager.v2.Rds`. + */ 'name'?: (string); + /** + * An array of virtual hosts that make up the route table. + */ 'virtual_hosts'?: (_envoy_api_v2_route_VirtualHost)[]; + /** + * Optionally specifies a list of HTTP headers that the connection manager + * will consider to be internal only. If they are found on external requests they will be cleaned + * prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more + * information. + */ 'internal_only_headers'?: (string)[]; + /** + * Specifies a list of HTTP headers that should be added to each response that + * the connection manager encodes. Headers specified at this level are applied + * after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or + * :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on + * header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'response_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + /** + * Specifies a list of HTTP headers that should be removed from each response + * that the connection manager encodes. + */ 'response_headers_to_remove'?: (string)[]; + /** + * Specifies a list of HTTP headers that should be added to each request + * routed by the HTTP connection manager. Headers specified at this level are + * applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or + * :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on + * header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'request_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + /** + * An optional boolean that specifies whether the clusters that the route + * table refers to will be validated by the cluster manager. If set to true + * and a route refers to a non-existent cluster, the route table will not + * load. If set to false and a route refers to a non-existent cluster, the + * route table will load and the router filter will return a 404 if the route + * is selected at runtime. This setting defaults to true if the route table + * is statically defined via the :ref:`route_config + * ` + * option. This setting default to false if the route table is loaded dynamically via the + * :ref:`rds + * ` + * option. Users may wish to override the default behavior in certain cases (for example when + * using CDS with a static route table). + */ 'validate_clusters'?: (_google_protobuf_BoolValue); + /** + * Specifies a list of HTTP headers that should be removed from each request + * routed by the HTTP connection manager. + */ 'request_headers_to_remove'?: (string)[]; + /** + * An array of virtual hosts will be dynamically loaded via the VHDS API. + * Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used + * for a base routing table or for infrequently changing virtual hosts. *vhds* is used for + * on-demand discovery of virtual hosts. The contents of these two fields will be merged to + * generate a routing table for a given RouteConfiguration, with *vhds* derived configuration + * taking precedence. + */ 'vhds'?: (_envoy_api_v2_Vhds); + /** + * By default, headers that should be added/removed are evaluated from most to least specific: + * + * * route level + * * virtual host level + * * connection manager level + * + * To allow setting overrides at the route or virtual host level, this order can be reversed + * by setting this option to true. Defaults to false. + * + * [#next-major-version: In the v3 API, this will default to true.] + */ 'most_specific_header_mutations_wins'?: (boolean); } +/** + * [#next-free-field: 11] + */ export interface RouteConfiguration__Output { + /** + * The name of the route configuration. For example, it might match + * :ref:`route_config_name + * ` in + * :ref:`envoy_api_msg_config.filter.network.http_connection_manager.v2.Rds`. + */ 'name': (string); + /** + * An array of virtual hosts that make up the route table. + */ 'virtual_hosts': (_envoy_api_v2_route_VirtualHost__Output)[]; + /** + * Optionally specifies a list of HTTP headers that the connection manager + * will consider to be internal only. If they are found on external requests they will be cleaned + * prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more + * information. + */ 'internal_only_headers': (string)[]; + /** + * Specifies a list of HTTP headers that should be added to each response that + * the connection manager encodes. Headers specified at this level are applied + * after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or + * :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on + * header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'response_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + /** + * Specifies a list of HTTP headers that should be removed from each response + * that the connection manager encodes. + */ 'response_headers_to_remove': (string)[]; + /** + * Specifies a list of HTTP headers that should be added to each request + * routed by the HTTP connection manager. Headers specified at this level are + * applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or + * :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on + * header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'request_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + /** + * An optional boolean that specifies whether the clusters that the route + * table refers to will be validated by the cluster manager. If set to true + * and a route refers to a non-existent cluster, the route table will not + * load. If set to false and a route refers to a non-existent cluster, the + * route table will load and the router filter will return a 404 if the route + * is selected at runtime. This setting defaults to true if the route table + * is statically defined via the :ref:`route_config + * ` + * option. This setting default to false if the route table is loaded dynamically via the + * :ref:`rds + * ` + * option. Users may wish to override the default behavior in certain cases (for example when + * using CDS with a static route table). + */ 'validate_clusters': (_google_protobuf_BoolValue__Output); + /** + * Specifies a list of HTTP headers that should be removed from each request + * routed by the HTTP connection manager. + */ 'request_headers_to_remove': (string)[]; + /** + * An array of virtual hosts will be dynamically loaded via the VHDS API. + * Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used + * for a base routing table or for infrequently changing virtual hosts. *vhds* is used for + * on-demand discovery of virtual hosts. The contents of these two fields will be merged to + * generate a routing table for a given RouteConfiguration, with *vhds* derived configuration + * taking precedence. + */ 'vhds': (_envoy_api_v2_Vhds__Output); + /** + * By default, headers that should be added/removed are evaluated from most to least specific: + * + * * route level + * * virtual host level + * * connection manager level + * + * To allow setting overrides at the route or virtual host level, this order can be reversed + * by setting this option to true. Defaults to false. + * + * [#next-major-version: In the v3 API, this will default to true.] + */ 'most_specific_header_mutations_wins': (boolean); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.ts b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.ts index 9c6d979c8..2b26da489 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.ts @@ -2,10 +2,24 @@ import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from '../../../envoy/api/v2/core/Address'; +/** + * An extensible structure containing the address Envoy should bind to when + * establishing upstream connections. + */ export interface UpstreamBindConfig { + /** + * The address Envoy should bind to when establishing upstream connections. + */ 'source_address'?: (_envoy_api_v2_core_Address); } +/** + * An extensible structure containing the address Envoy should bind to when + * establishing upstream connections. + */ export interface UpstreamBindConfig__Output { + /** + * The address Envoy should bind to when establishing upstream connections. + */ 'source_address': (_envoy_api_v2_core_Address__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.ts b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.ts index 3dfda2164..2fc601530 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.ts @@ -3,9 +3,15 @@ import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from '../../../envoy/api/v2/core/TcpKeepalive'; export interface UpstreamConnectionOptions { + /** + * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives. + */ 'tcp_keepalive'?: (_envoy_api_v2_core_TcpKeepalive); } export interface UpstreamConnectionOptions__Output { + /** + * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives. + */ 'tcp_keepalive': (_envoy_api_v2_core_TcpKeepalive__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Vhds.ts b/packages/grpc-js/src/generated/envoy/api/v2/Vhds.ts index 62214f619..f30d4a721 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/Vhds.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/Vhds.ts @@ -3,9 +3,15 @@ import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from '../../../envoy/api/v2/core/ConfigSource'; export interface Vhds { + /** + * Configuration source specifier for VHDS. + */ 'config_source'?: (_envoy_api_v2_core_ConfigSource); } export interface Vhds__Output { + /** + * Configuration source specifier for VHDS. + */ 'config_source': (_envoy_api_v2_core_ConfigSource__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts index 9aaa2a455..e45e0a4a8 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts @@ -6,33 +6,310 @@ import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Outp // Original file: deps/envoy-api/envoy/api/v2/auth/common.proto +/** + * Peer certificate verification mode. + */ export enum _envoy_api_v2_auth_CertificateValidationContext_TrustChainVerification { + /** + * Perform default certificate verification (e.g., against CA / verification lists) + */ VERIFY_TRUST_CHAIN = 0, + /** + * Connections where the certificate fails verification will be permitted. + * For HTTP connections, the result of certificate verification can be used in route matching. ( + * see :ref:`validated ` ). + */ ACCEPT_UNTRUSTED = 1, } +/** + * [#next-free-field: 11] + */ export interface CertificateValidationContext { + /** + * TLS certificate data containing certificate authority certificates to use in verifying + * a presented peer certificate (e.g. server certificate for clusters or client certificate + * for listeners). If not specified and a peer certificate is presented it will not be + * verified. By default, a client certificate is optional, unless one of the additional + * options (:ref:`require_client_certificate + * `, + * :ref:`verify_certificate_spki + * `, + * :ref:`verify_certificate_hash + * `, or + * :ref:`match_subject_alt_names + * `) is also + * specified. + * + * It can optionally contain certificate revocation lists, in which case Envoy will verify + * that the presented peer certificate has not been revoked by one of the included CRLs. + * + * See :ref:`the TLS overview ` for a list of common + * system CA locations. + */ 'trusted_ca'?: (_envoy_api_v2_core_DataSource); + /** + * An optional list of hex-encoded SHA-256 hashes. If specified, Envoy will verify that + * the SHA-256 of the DER-encoded presented certificate matches one of the specified values. + * + * A hex-encoded SHA-256 of the certificate can be generated with the following command: + * + * .. code-block:: bash + * + * $ openssl x509 -in path/to/client.crt -outform DER | openssl dgst -sha256 | cut -d" " -f2 + * df6ff72fe9116521268f6f2dd4966f51df479883fe7037b39f75916ac3049d1a + * + * A long hex-encoded and colon-separated SHA-256 (a.k.a. "fingerprint") of the certificate + * can be generated with the following command: + * + * .. code-block:: bash + * + * $ openssl x509 -in path/to/client.crt -noout -fingerprint -sha256 | cut -d"=" -f2 + * DF:6F:F7:2F:E9:11:65:21:26:8F:6F:2D:D4:96:6F:51:DF:47:98:83:FE:70:37:B3:9F:75:91:6A:C3:04:9D:1A + * + * Both of those formats are acceptable. + * + * When both: + * :ref:`verify_certificate_hash + * ` and + * :ref:`verify_certificate_spki + * ` are specified, + * a hash matching value from either of the lists will result in the certificate being accepted. + */ 'verify_certificate_hash'?: (string)[]; + /** + * An optional list of base64-encoded SHA-256 hashes. If specified, Envoy will verify that the + * SHA-256 of the DER-encoded Subject Public Key Information (SPKI) of the presented certificate + * matches one of the specified values. + * + * A base64-encoded SHA-256 of the Subject Public Key Information (SPKI) of the certificate + * can be generated with the following command: + * + * .. code-block:: bash + * + * $ openssl x509 -in path/to/client.crt -noout -pubkey + * | openssl pkey -pubin -outform DER + * | openssl dgst -sha256 -binary + * | openssl enc -base64 + * NvqYIYSbgK2vCJpQhObf77vv+bQWtc5ek5RIOwPiC9A= + * + * This is the format used in HTTP Public Key Pinning. + * + * When both: + * :ref:`verify_certificate_hash + * ` and + * :ref:`verify_certificate_spki + * ` are specified, + * a hash matching value from either of the lists will result in the certificate being accepted. + * + * .. attention:: + * + * This option is preferred over :ref:`verify_certificate_hash + * `, + * because SPKI is tied to a private key, so it doesn't change when the certificate + * is renewed using the same private key. + */ 'verify_certificate_spki'?: (string)[]; + /** + * An optional list of Subject Alternative Names. If specified, Envoy will verify that the + * Subject Alternative Name of the presented certificate matches one of the specified values. + * + * .. attention:: + * + * Subject Alternative Names are easily spoofable and verifying only them is insecure, + * therefore this option must be used together with :ref:`trusted_ca + * `. + */ 'verify_subject_alt_name'?: (string)[]; + /** + * [#not-implemented-hide:] Must present a signed time-stamped OCSP response. + */ 'require_ocsp_staple'?: (_google_protobuf_BoolValue); + /** + * [#not-implemented-hide:] Must present signed certificate time-stamp. + */ 'require_signed_certificate_timestamp'?: (_google_protobuf_BoolValue); + /** + * An optional `certificate revocation list + * `_ + * (in PEM format). If specified, Envoy will verify that the presented peer + * certificate has not been revoked by this CRL. If this DataSource contains + * multiple CRLs, all of them will be used. + */ 'crl'?: (_envoy_api_v2_core_DataSource); + /** + * If specified, Envoy will not reject expired certificates. + */ 'allow_expired_certificate'?: (boolean); + /** + * An optional list of Subject Alternative name matchers. Envoy will verify that the + * Subject Alternative Name of the presented certificate matches one of the specified matches. + * + * When a certificate has wildcard DNS SAN entries, to match a specific client, it should be + * configured with exact match type in the :ref:`string matcher `. + * For example if the certificate has "\*.example.com" as DNS SAN entry, to allow only "api.example.com", + * it should be configured as shown below. + * + * .. code-block:: yaml + * + * match_subject_alt_names: + * exact: "api.example.com" + * + * .. attention:: + * + * Subject Alternative Names are easily spoofable and verifying only them is insecure, + * therefore this option must be used together with :ref:`trusted_ca + * `. + */ 'match_subject_alt_names'?: (_envoy_type_matcher_StringMatcher)[]; + /** + * Certificate trust chain verification mode. + */ 'trust_chain_verification'?: (_envoy_api_v2_auth_CertificateValidationContext_TrustChainVerification | keyof typeof _envoy_api_v2_auth_CertificateValidationContext_TrustChainVerification); } +/** + * [#next-free-field: 11] + */ export interface CertificateValidationContext__Output { + /** + * TLS certificate data containing certificate authority certificates to use in verifying + * a presented peer certificate (e.g. server certificate for clusters or client certificate + * for listeners). If not specified and a peer certificate is presented it will not be + * verified. By default, a client certificate is optional, unless one of the additional + * options (:ref:`require_client_certificate + * `, + * :ref:`verify_certificate_spki + * `, + * :ref:`verify_certificate_hash + * `, or + * :ref:`match_subject_alt_names + * `) is also + * specified. + * + * It can optionally contain certificate revocation lists, in which case Envoy will verify + * that the presented peer certificate has not been revoked by one of the included CRLs. + * + * See :ref:`the TLS overview ` for a list of common + * system CA locations. + */ 'trusted_ca': (_envoy_api_v2_core_DataSource__Output); + /** + * An optional list of hex-encoded SHA-256 hashes. If specified, Envoy will verify that + * the SHA-256 of the DER-encoded presented certificate matches one of the specified values. + * + * A hex-encoded SHA-256 of the certificate can be generated with the following command: + * + * .. code-block:: bash + * + * $ openssl x509 -in path/to/client.crt -outform DER | openssl dgst -sha256 | cut -d" " -f2 + * df6ff72fe9116521268f6f2dd4966f51df479883fe7037b39f75916ac3049d1a + * + * A long hex-encoded and colon-separated SHA-256 (a.k.a. "fingerprint") of the certificate + * can be generated with the following command: + * + * .. code-block:: bash + * + * $ openssl x509 -in path/to/client.crt -noout -fingerprint -sha256 | cut -d"=" -f2 + * DF:6F:F7:2F:E9:11:65:21:26:8F:6F:2D:D4:96:6F:51:DF:47:98:83:FE:70:37:B3:9F:75:91:6A:C3:04:9D:1A + * + * Both of those formats are acceptable. + * + * When both: + * :ref:`verify_certificate_hash + * ` and + * :ref:`verify_certificate_spki + * ` are specified, + * a hash matching value from either of the lists will result in the certificate being accepted. + */ 'verify_certificate_hash': (string)[]; + /** + * An optional list of base64-encoded SHA-256 hashes. If specified, Envoy will verify that the + * SHA-256 of the DER-encoded Subject Public Key Information (SPKI) of the presented certificate + * matches one of the specified values. + * + * A base64-encoded SHA-256 of the Subject Public Key Information (SPKI) of the certificate + * can be generated with the following command: + * + * .. code-block:: bash + * + * $ openssl x509 -in path/to/client.crt -noout -pubkey + * | openssl pkey -pubin -outform DER + * | openssl dgst -sha256 -binary + * | openssl enc -base64 + * NvqYIYSbgK2vCJpQhObf77vv+bQWtc5ek5RIOwPiC9A= + * + * This is the format used in HTTP Public Key Pinning. + * + * When both: + * :ref:`verify_certificate_hash + * ` and + * :ref:`verify_certificate_spki + * ` are specified, + * a hash matching value from either of the lists will result in the certificate being accepted. + * + * .. attention:: + * + * This option is preferred over :ref:`verify_certificate_hash + * `, + * because SPKI is tied to a private key, so it doesn't change when the certificate + * is renewed using the same private key. + */ 'verify_certificate_spki': (string)[]; + /** + * An optional list of Subject Alternative Names. If specified, Envoy will verify that the + * Subject Alternative Name of the presented certificate matches one of the specified values. + * + * .. attention:: + * + * Subject Alternative Names are easily spoofable and verifying only them is insecure, + * therefore this option must be used together with :ref:`trusted_ca + * `. + */ 'verify_subject_alt_name': (string)[]; + /** + * [#not-implemented-hide:] Must present a signed time-stamped OCSP response. + */ 'require_ocsp_staple': (_google_protobuf_BoolValue__Output); + /** + * [#not-implemented-hide:] Must present signed certificate time-stamp. + */ 'require_signed_certificate_timestamp': (_google_protobuf_BoolValue__Output); + /** + * An optional `certificate revocation list + * `_ + * (in PEM format). If specified, Envoy will verify that the presented peer + * certificate has not been revoked by this CRL. If this DataSource contains + * multiple CRLs, all of them will be used. + */ 'crl': (_envoy_api_v2_core_DataSource__Output); + /** + * If specified, Envoy will not reject expired certificates. + */ 'allow_expired_certificate': (boolean); + /** + * An optional list of Subject Alternative name matchers. Envoy will verify that the + * Subject Alternative Name of the presented certificate matches one of the specified matches. + * + * When a certificate has wildcard DNS SAN entries, to match a specific client, it should be + * configured with exact match type in the :ref:`string matcher `. + * For example if the certificate has "\*.example.com" as DNS SAN entry, to allow only "api.example.com", + * it should be configured as shown below. + * + * .. code-block:: yaml + * + * match_subject_alt_names: + * exact: "api.example.com" + * + * .. attention:: + * + * Subject Alternative Names are easily spoofable and verifying only them is insecure, + * therefore this option must be used together with :ref:`trusted_ca + * `. + */ 'match_subject_alt_names': (_envoy_type_matcher_StringMatcher__Output)[]; + /** + * Certificate trust chain verification mode. + */ 'trust_chain_verification': (keyof typeof _envoy_api_v2_auth_CertificateValidationContext_TrustChainVerification); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts index aa2db06f6..b75f3f533 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts @@ -6,33 +6,135 @@ import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidatio import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from '../../../../envoy/api/v2/auth/SdsSecretConfig'; export interface _envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext { + /** + * How to validate peer certificates. + */ 'default_validation_context'?: (_envoy_api_v2_auth_CertificateValidationContext); + /** + * Config for fetching validation context via SDS API. + */ 'validation_context_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig); } export interface _envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext__Output { + /** + * How to validate peer certificates. + */ 'default_validation_context': (_envoy_api_v2_auth_CertificateValidationContext__Output); + /** + * Config for fetching validation context via SDS API. + */ 'validation_context_sds_secret_config': (_envoy_api_v2_auth_SdsSecretConfig__Output); } +/** + * TLS context shared by both client and server TLS contexts. + * [#next-free-field: 9] + */ export interface CommonTlsContext { + /** + * TLS protocol versions, cipher suites etc. + */ 'tls_params'?: (_envoy_api_v2_auth_TlsParameters); + /** + * :ref:`Multiple TLS certificates ` can be associated with the + * same context to allow both RSA and ECDSA certificates. + * + * Only a single TLS certificate is supported in client contexts. In server contexts, the first + * RSA certificate is used for clients that only support RSA and the first ECDSA certificate is + * used for clients that support ECDSA. + */ 'tls_certificates'?: (_envoy_api_v2_auth_TlsCertificate)[]; + /** + * How to validate peer certificates. + */ 'validation_context'?: (_envoy_api_v2_auth_CertificateValidationContext); + /** + * Supplies the list of ALPN protocols that the listener should expose. In + * practice this is likely to be set to one of two values (see the + * :ref:`codec_type + * ` + * parameter in the HTTP connection manager for more information): + * + * * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. + * * "http/1.1" If the listener is only going to support HTTP/1.1. + * + * There is no default for this parameter. If empty, Envoy will not expose ALPN. + */ 'alpn_protocols'?: (string)[]; + /** + * Configs for fetching TLS certificates via SDS API. + */ 'tls_certificate_sds_secret_configs'?: (_envoy_api_v2_auth_SdsSecretConfig)[]; + /** + * Config for fetching validation context via SDS API. + */ 'validation_context_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig); + /** + * Combined certificate validation context holds a default CertificateValidationContext + * and SDS config. When SDS server returns dynamic CertificateValidationContext, both dynamic + * and default CertificateValidationContext are merged into a new CertificateValidationContext + * for validation. This merge is done by Message::MergeFrom(), so dynamic + * CertificateValidationContext overwrites singular fields in default + * CertificateValidationContext, and concatenates repeated fields to default + * CertificateValidationContext, and logical OR is applied to boolean fields. + */ 'combined_validation_context'?: (_envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext); 'validation_context_type'?: "validation_context"|"validation_context_sds_secret_config"|"combined_validation_context"; } +/** + * TLS context shared by both client and server TLS contexts. + * [#next-free-field: 9] + */ export interface CommonTlsContext__Output { + /** + * TLS protocol versions, cipher suites etc. + */ 'tls_params': (_envoy_api_v2_auth_TlsParameters__Output); + /** + * :ref:`Multiple TLS certificates ` can be associated with the + * same context to allow both RSA and ECDSA certificates. + * + * Only a single TLS certificate is supported in client contexts. In server contexts, the first + * RSA certificate is used for clients that only support RSA and the first ECDSA certificate is + * used for clients that support ECDSA. + */ 'tls_certificates': (_envoy_api_v2_auth_TlsCertificate__Output)[]; + /** + * How to validate peer certificates. + */ 'validation_context'?: (_envoy_api_v2_auth_CertificateValidationContext__Output); + /** + * Supplies the list of ALPN protocols that the listener should expose. In + * practice this is likely to be set to one of two values (see the + * :ref:`codec_type + * ` + * parameter in the HTTP connection manager for more information): + * + * * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. + * * "http/1.1" If the listener is only going to support HTTP/1.1. + * + * There is no default for this parameter. If empty, Envoy will not expose ALPN. + */ 'alpn_protocols': (string)[]; + /** + * Configs for fetching TLS certificates via SDS API. + */ 'tls_certificate_sds_secret_configs': (_envoy_api_v2_auth_SdsSecretConfig__Output)[]; + /** + * Config for fetching validation context via SDS API. + */ 'validation_context_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig__Output); + /** + * Combined certificate validation context holds a default CertificateValidationContext + * and SDS config. When SDS server returns dynamic CertificateValidationContext, both dynamic + * and default CertificateValidationContext are merged into a new CertificateValidationContext + * for validation. This merge is done by Message::MergeFrom(), so dynamic + * CertificateValidationContext overwrites singular fields in default + * CertificateValidationContext, and concatenates repeated fields to default + * CertificateValidationContext, and logical OR is applied to boolean fields. + */ 'combined_validation_context'?: (_envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext__Output); 'validation_context_type': "validation_context"|"validation_context_sds_secret_config"|"combined_validation_context"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts index fa731c9c2..faf26f180 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts @@ -6,24 +6,96 @@ import { TlsSessionTicketKeys as _envoy_api_v2_auth_TlsSessionTicketKeys, TlsSes import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from '../../../../envoy/api/v2/auth/SdsSecretConfig'; import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; +/** + * [#next-free-field: 8] + */ export interface DownstreamTlsContext { + /** + * Common TLS context settings. + */ 'common_tls_context'?: (_envoy_api_v2_auth_CommonTlsContext); + /** + * If specified, Envoy will reject connections without a valid client + * certificate. + */ 'require_client_certificate'?: (_google_protobuf_BoolValue); + /** + * If specified, Envoy will reject connections without a valid and matching SNI. + * [#not-implemented-hide:] + */ 'require_sni'?: (_google_protobuf_BoolValue); + /** + * TLS session ticket key settings. + */ 'session_ticket_keys'?: (_envoy_api_v2_auth_TlsSessionTicketKeys); + /** + * Config for fetching TLS session ticket keys via SDS API. + */ 'session_ticket_keys_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig); + /** + * If specified, session_timeout will change maximum lifetime (in seconds) of TLS session + * Currently this value is used as a hint to `TLS session ticket lifetime (for TLSv1.2) + * ` + * only seconds could be specified (fractional seconds are going to be ignored). + */ 'session_timeout'?: (_google_protobuf_Duration); + /** + * Config for controlling stateless TLS session resumption: setting this to true will cause the TLS + * server to not issue TLS session tickets for the purposes of stateless TLS session resumption. + * If set to false, the TLS server will issue TLS session tickets and encrypt/decrypt them using + * the keys specified through either :ref:`session_ticket_keys ` + * or :ref:`session_ticket_keys_sds_secret_config `. + * If this config is set to false and no keys are explicitly configured, the TLS server will issue + * TLS session tickets and encrypt/decrypt them using an internally-generated and managed key, with the + * implication that sessions cannot be resumed across hot restarts or on different hosts. + */ 'disable_stateless_session_resumption'?: (boolean); 'session_ticket_keys_type'?: "session_ticket_keys"|"session_ticket_keys_sds_secret_config"|"disable_stateless_session_resumption"; } +/** + * [#next-free-field: 8] + */ export interface DownstreamTlsContext__Output { + /** + * Common TLS context settings. + */ 'common_tls_context': (_envoy_api_v2_auth_CommonTlsContext__Output); + /** + * If specified, Envoy will reject connections without a valid client + * certificate. + */ 'require_client_certificate': (_google_protobuf_BoolValue__Output); + /** + * If specified, Envoy will reject connections without a valid and matching SNI. + * [#not-implemented-hide:] + */ 'require_sni': (_google_protobuf_BoolValue__Output); + /** + * TLS session ticket key settings. + */ 'session_ticket_keys'?: (_envoy_api_v2_auth_TlsSessionTicketKeys__Output); + /** + * Config for fetching TLS session ticket keys via SDS API. + */ 'session_ticket_keys_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig__Output); + /** + * If specified, session_timeout will change maximum lifetime (in seconds) of TLS session + * Currently this value is used as a hint to `TLS session ticket lifetime (for TLSv1.2) + * ` + * only seconds could be specified (fractional seconds are going to be ignored). + */ 'session_timeout': (_google_protobuf_Duration__Output); + /** + * Config for controlling stateless TLS session resumption: setting this to true will cause the TLS + * server to not issue TLS session tickets for the purposes of stateless TLS session resumption. + * If set to false, the TLS server will issue TLS session tickets and encrypt/decrypt them using + * the keys specified through either :ref:`session_ticket_keys ` + * or :ref:`session_ticket_keys_sds_secret_config `. + * If this config is set to false and no keys are explicitly configured, the TLS server will issue + * TLS session tickets and encrypt/decrypt them using an internally-generated and managed key, with the + * implication that sessions cannot be resumed across hot restarts or on different hosts. + */ 'disable_stateless_session_resumption'?: (boolean); 'session_ticket_keys_type': "session_ticket_keys"|"session_ticket_keys_sds_secret_config"|"disable_stateless_session_resumption"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.ts index 5eeaffa2c..761009282 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.ts @@ -3,9 +3,15 @@ import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; export interface GenericSecret { + /** + * Secret of generic type and is available to filters. + */ 'secret'?: (_envoy_api_v2_core_DataSource); } export interface GenericSecret__Output { + /** + * Secret of generic type and is available to filters. + */ 'secret': (_envoy_api_v2_core_DataSource__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/PrivateKeyProvider.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/PrivateKeyProvider.ts index fe418a390..3726e5434 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/PrivateKeyProvider.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/PrivateKeyProvider.ts @@ -3,16 +3,40 @@ import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; +/** + * BoringSSL private key method configuration. The private key methods are used for external + * (potentially asynchronous) signing and decryption operations. Some use cases for private key + * methods would be TPM support and TLS acceleration. + */ export interface PrivateKeyProvider { + /** + * Private key method provider name. The name must match a + * supported private key method provider type. + */ 'provider_name'?: (string); 'config'?: (_google_protobuf_Struct); 'typed_config'?: (_google_protobuf_Any); + /** + * Private key method provider specific configuration. + */ 'config_type'?: "config"|"typed_config"; } +/** + * BoringSSL private key method configuration. The private key methods are used for external + * (potentially asynchronous) signing and decryption operations. Some use cases for private key + * methods would be TPM support and TLS acceleration. + */ export interface PrivateKeyProvider__Output { + /** + * Private key method provider name. The name must match a + * supported private key method provider type. + */ 'provider_name': (string); 'config'?: (_google_protobuf_Struct__Output); 'typed_config'?: (_google_protobuf_Any__Output); + /** + * Private key method provider specific configuration. + */ 'config_type': "config"|"typed_config"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.ts index acd9154cc..bcddbaf09 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.ts @@ -3,11 +3,21 @@ import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from '../../../../envoy/api/v2/core/ConfigSource'; export interface SdsSecretConfig { + /** + * Name (FQDN, UUID, SPKI, SHA256, etc.) by which the secret can be uniquely referred to. + * When both name and config are specified, then secret can be fetched and/or reloaded via + * SDS. When only name is specified, then secret will be loaded from static resources. + */ 'name'?: (string); 'sds_config'?: (_envoy_api_v2_core_ConfigSource); } export interface SdsSecretConfig__Output { + /** + * Name (FQDN, UUID, SPKI, SHA256, etc.) by which the secret can be uniquely referred to. + * When both name and config are specified, then secret can be fetched and/or reloaded via + * SDS. When only name is specified, then secret will be loaded from static resources. + */ 'name': (string); 'sds_config': (_envoy_api_v2_core_ConfigSource__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/Secret.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/Secret.ts index a25e6c7c1..086f7648e 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/Secret.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/Secret.ts @@ -5,7 +5,13 @@ import { TlsSessionTicketKeys as _envoy_api_v2_auth_TlsSessionTicketKeys, TlsSes import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from '../../../../envoy/api/v2/auth/CertificateValidationContext'; import { GenericSecret as _envoy_api_v2_auth_GenericSecret, GenericSecret__Output as _envoy_api_v2_auth_GenericSecret__Output } from '../../../../envoy/api/v2/auth/GenericSecret'; +/** + * [#next-free-field: 6] + */ export interface Secret { + /** + * Name (FQDN, UUID, SPKI, SHA256, etc.) by which the secret can be uniquely referred to. + */ 'name'?: (string); 'tls_certificate'?: (_envoy_api_v2_auth_TlsCertificate); 'session_ticket_keys'?: (_envoy_api_v2_auth_TlsSessionTicketKeys); @@ -14,7 +20,13 @@ export interface Secret { 'type'?: "tls_certificate"|"session_ticket_keys"|"validation_context"|"generic_secret"; } +/** + * [#next-free-field: 6] + */ export interface Secret__Output { + /** + * Name (FQDN, UUID, SPKI, SHA256, etc.) by which the secret can be uniquely referred to. + */ 'name': (string); 'tls_certificate'?: (_envoy_api_v2_auth_TlsCertificate__Output); 'session_ticket_keys'?: (_envoy_api_v2_auth_TlsSessionTicketKeys__Output); diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts index 9346e94d6..243789b23 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts @@ -3,20 +3,76 @@ import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; import { PrivateKeyProvider as _envoy_api_v2_auth_PrivateKeyProvider, PrivateKeyProvider__Output as _envoy_api_v2_auth_PrivateKeyProvider__Output } from '../../../../envoy/api/v2/auth/PrivateKeyProvider'; +/** + * [#next-free-field: 7] + */ export interface TlsCertificate { + /** + * The TLS certificate chain. + */ 'certificate_chain'?: (_envoy_api_v2_core_DataSource); + /** + * The TLS private key. + */ 'private_key'?: (_envoy_api_v2_core_DataSource); + /** + * The password to decrypt the TLS private key. If this field is not set, it is assumed that the + * TLS private key is not password encrypted. + */ 'password'?: (_envoy_api_v2_core_DataSource); + /** + * [#not-implemented-hide:] + */ 'ocsp_staple'?: (_envoy_api_v2_core_DataSource); + /** + * [#not-implemented-hide:] + */ 'signed_certificate_timestamp'?: (_envoy_api_v2_core_DataSource)[]; + /** + * BoringSSL private key method provider. This is an alternative to :ref:`private_key + * ` field. This can't be + * marked as ``oneof`` due to API compatibility reasons. Setting both :ref:`private_key + * ` and + * :ref:`private_key_provider + * ` fields will result in an + * error. + */ 'private_key_provider'?: (_envoy_api_v2_auth_PrivateKeyProvider); } +/** + * [#next-free-field: 7] + */ export interface TlsCertificate__Output { + /** + * The TLS certificate chain. + */ 'certificate_chain': (_envoy_api_v2_core_DataSource__Output); + /** + * The TLS private key. + */ 'private_key': (_envoy_api_v2_core_DataSource__Output); + /** + * The password to decrypt the TLS private key. If this field is not set, it is assumed that the + * TLS private key is not password encrypted. + */ 'password': (_envoy_api_v2_core_DataSource__Output); + /** + * [#not-implemented-hide:] + */ 'ocsp_staple': (_envoy_api_v2_core_DataSource__Output); + /** + * [#not-implemented-hide:] + */ 'signed_certificate_timestamp': (_envoy_api_v2_core_DataSource__Output)[]; + /** + * BoringSSL private key method provider. This is an alternative to :ref:`private_key + * ` field. This can't be + * marked as ``oneof`` due to API compatibility reasons. Setting both :ref:`private_key + * ` and + * :ref:`private_key_provider + * ` fields will result in an + * error. + */ 'private_key_provider': (_envoy_api_v2_auth_PrivateKeyProvider__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsParameters.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsParameters.ts index efa26951a..29fe8f4c8 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsParameters.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsParameters.ts @@ -4,23 +4,168 @@ // Original file: deps/envoy-api/envoy/api/v2/auth/common.proto export enum _envoy_api_v2_auth_TlsParameters_TlsProtocol { + /** + * Envoy will choose the optimal TLS version. + */ TLS_AUTO = 0, + /** + * TLS 1.0 + */ TLSv1_0 = 1, + /** + * TLS 1.1 + */ TLSv1_1 = 2, + /** + * TLS 1.2 + */ TLSv1_2 = 3, + /** + * TLS 1.3 + */ TLSv1_3 = 4, } export interface TlsParameters { + /** + * Minimum TLS protocol version. By default, it's ``TLSv1_2`` for clients and ``TLSv1_0`` for + * servers. + */ 'tls_minimum_protocol_version'?: (_envoy_api_v2_auth_TlsParameters_TlsProtocol | keyof typeof _envoy_api_v2_auth_TlsParameters_TlsProtocol); + /** + * Maximum TLS protocol version. By default, it's ``TLSv1_3`` for servers in non-FIPS builds, and + * ``TLSv1_2`` for clients and for servers using :ref:`BoringSSL FIPS `. + */ 'tls_maximum_protocol_version'?: (_envoy_api_v2_auth_TlsParameters_TlsProtocol | keyof typeof _envoy_api_v2_auth_TlsParameters_TlsProtocol); + /** + * If specified, the TLS listener will only support the specified `cipher list + * `_ + * when negotiating TLS 1.0-1.2 (this setting has no effect when negotiating TLS 1.3). If not + * specified, the default list will be used. + * + * In non-FIPS builds, the default cipher list is: + * + * .. code-block:: none + * + * [ECDHE-ECDSA-AES128-GCM-SHA256|ECDHE-ECDSA-CHACHA20-POLY1305] + * [ECDHE-RSA-AES128-GCM-SHA256|ECDHE-RSA-CHACHA20-POLY1305] + * ECDHE-ECDSA-AES128-SHA + * ECDHE-RSA-AES128-SHA + * AES128-GCM-SHA256 + * AES128-SHA + * ECDHE-ECDSA-AES256-GCM-SHA384 + * ECDHE-RSA-AES256-GCM-SHA384 + * ECDHE-ECDSA-AES256-SHA + * ECDHE-RSA-AES256-SHA + * AES256-GCM-SHA384 + * AES256-SHA + * + * In builds using :ref:`BoringSSL FIPS `, the default cipher list is: + * + * .. code-block:: none + * + * ECDHE-ECDSA-AES128-GCM-SHA256 + * ECDHE-RSA-AES128-GCM-SHA256 + * ECDHE-ECDSA-AES128-SHA + * ECDHE-RSA-AES128-SHA + * AES128-GCM-SHA256 + * AES128-SHA + * ECDHE-ECDSA-AES256-GCM-SHA384 + * ECDHE-RSA-AES256-GCM-SHA384 + * ECDHE-ECDSA-AES256-SHA + * ECDHE-RSA-AES256-SHA + * AES256-GCM-SHA384 + * AES256-SHA + */ 'cipher_suites'?: (string)[]; + /** + * If specified, the TLS connection will only support the specified ECDH + * curves. If not specified, the default curves will be used. + * + * In non-FIPS builds, the default curves are: + * + * .. code-block:: none + * + * X25519 + * P-256 + * + * In builds using :ref:`BoringSSL FIPS `, the default curve is: + * + * .. code-block:: none + * + * P-256 + */ 'ecdh_curves'?: (string)[]; } export interface TlsParameters__Output { + /** + * Minimum TLS protocol version. By default, it's ``TLSv1_2`` for clients and ``TLSv1_0`` for + * servers. + */ 'tls_minimum_protocol_version': (keyof typeof _envoy_api_v2_auth_TlsParameters_TlsProtocol); + /** + * Maximum TLS protocol version. By default, it's ``TLSv1_3`` for servers in non-FIPS builds, and + * ``TLSv1_2`` for clients and for servers using :ref:`BoringSSL FIPS `. + */ 'tls_maximum_protocol_version': (keyof typeof _envoy_api_v2_auth_TlsParameters_TlsProtocol); + /** + * If specified, the TLS listener will only support the specified `cipher list + * `_ + * when negotiating TLS 1.0-1.2 (this setting has no effect when negotiating TLS 1.3). If not + * specified, the default list will be used. + * + * In non-FIPS builds, the default cipher list is: + * + * .. code-block:: none + * + * [ECDHE-ECDSA-AES128-GCM-SHA256|ECDHE-ECDSA-CHACHA20-POLY1305] + * [ECDHE-RSA-AES128-GCM-SHA256|ECDHE-RSA-CHACHA20-POLY1305] + * ECDHE-ECDSA-AES128-SHA + * ECDHE-RSA-AES128-SHA + * AES128-GCM-SHA256 + * AES128-SHA + * ECDHE-ECDSA-AES256-GCM-SHA384 + * ECDHE-RSA-AES256-GCM-SHA384 + * ECDHE-ECDSA-AES256-SHA + * ECDHE-RSA-AES256-SHA + * AES256-GCM-SHA384 + * AES256-SHA + * + * In builds using :ref:`BoringSSL FIPS `, the default cipher list is: + * + * .. code-block:: none + * + * ECDHE-ECDSA-AES128-GCM-SHA256 + * ECDHE-RSA-AES128-GCM-SHA256 + * ECDHE-ECDSA-AES128-SHA + * ECDHE-RSA-AES128-SHA + * AES128-GCM-SHA256 + * AES128-SHA + * ECDHE-ECDSA-AES256-GCM-SHA384 + * ECDHE-RSA-AES256-GCM-SHA384 + * ECDHE-ECDSA-AES256-SHA + * ECDHE-RSA-AES256-SHA + * AES256-GCM-SHA384 + * AES256-SHA + */ 'cipher_suites': (string)[]; + /** + * If specified, the TLS connection will only support the specified ECDH + * curves. If not specified, the default curves will be used. + * + * In non-FIPS builds, the default curves are: + * + * .. code-block:: none + * + * X25519 + * P-256 + * + * In builds using :ref:`BoringSSL FIPS `, the default curve is: + * + * .. code-block:: none + * + * P-256 + */ 'ecdh_curves': (string)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsSessionTicketKeys.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsSessionTicketKeys.ts index c9b27d26c..80a79fa08 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsSessionTicketKeys.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsSessionTicketKeys.ts @@ -3,9 +3,59 @@ import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; export interface TlsSessionTicketKeys { + /** + * Keys for encrypting and decrypting TLS session tickets. The + * first key in the array contains the key to encrypt all new sessions created by this context. + * All keys are candidates for decrypting received tickets. This allows for easy rotation of keys + * by, for example, putting the new key first, and the previous key second. + * + * If :ref:`session_ticket_keys ` + * is not specified, the TLS library will still support resuming sessions via tickets, but it will + * use an internally-generated and managed key, so sessions cannot be resumed across hot restarts + * or on different hosts. + * + * Each key must contain exactly 80 bytes of cryptographically-secure random data. For + * example, the output of ``openssl rand 80``. + * + * .. attention:: + * + * Using this feature has serious security considerations and risks. Improper handling of keys + * may result in loss of secrecy in connections, even if ciphers supporting perfect forward + * secrecy are used. See https://www.imperialviolet.org/2013/06/27/botchingpfs.html for some + * discussion. To minimize the risk, you must: + * + * * Keep the session ticket keys at least as secure as your TLS certificate private keys + * * Rotate session ticket keys at least daily, and preferably hourly + * * Always generate keys using a cryptographically-secure random data source + */ 'keys'?: (_envoy_api_v2_core_DataSource)[]; } export interface TlsSessionTicketKeys__Output { + /** + * Keys for encrypting and decrypting TLS session tickets. The + * first key in the array contains the key to encrypt all new sessions created by this context. + * All keys are candidates for decrypting received tickets. This allows for easy rotation of keys + * by, for example, putting the new key first, and the previous key second. + * + * If :ref:`session_ticket_keys ` + * is not specified, the TLS library will still support resuming sessions via tickets, but it will + * use an internally-generated and managed key, so sessions cannot be resumed across hot restarts + * or on different hosts. + * + * Each key must contain exactly 80 bytes of cryptographically-secure random data. For + * example, the output of ``openssl rand 80``. + * + * .. attention:: + * + * Using this feature has serious security considerations and risks. Improper handling of keys + * may result in loss of secrecy in connections, even if ciphers supporting perfect forward + * secrecy are used. See https://www.imperialviolet.org/2013/06/27/botchingpfs.html for some + * discussion. To minimize the risk, you must: + * + * * Keep the session ticket keys at least as secure as your TLS certificate private keys + * * Rotate session ticket keys at least daily, and preferably hourly + * * Always generate keys using a cryptographically-secure random data source + */ 'keys': (_envoy_api_v2_core_DataSource__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.ts index e05f82569..78c7eaaa2 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.ts @@ -4,15 +4,65 @@ import { CommonTlsContext as _envoy_api_v2_auth_CommonTlsContext, CommonTlsConte import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; export interface UpstreamTlsContext { + /** + * Common TLS context settings. + * + * .. attention:: + * + * Server certificate verification is not enabled by default. Configure + * :ref:`trusted_ca` to enable + * verification. + */ 'common_tls_context'?: (_envoy_api_v2_auth_CommonTlsContext); + /** + * SNI string to use when creating TLS backend connections. + */ 'sni'?: (string); + /** + * If true, server-initiated TLS renegotiation will be allowed. + * + * .. attention:: + * + * TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary. + */ 'allow_renegotiation'?: (boolean); + /** + * Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets + * for TLSv1.2 and older) to store for the purpose of session resumption. + * + * Defaults to 1, setting this to 0 disables session resumption. + */ 'max_session_keys'?: (_google_protobuf_UInt32Value); } export interface UpstreamTlsContext__Output { + /** + * Common TLS context settings. + * + * .. attention:: + * + * Server certificate verification is not enabled by default. Configure + * :ref:`trusted_ca` to enable + * verification. + */ 'common_tls_context': (_envoy_api_v2_auth_CommonTlsContext__Output); + /** + * SNI string to use when creating TLS backend connections. + */ 'sni': (string); + /** + * If true, server-initiated TLS renegotiation will be allowed. + * + * .. attention:: + * + * TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary. + */ 'allow_renegotiation': (boolean); + /** + * Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets + * for TLSv1.2 and older) to store for the purpose of session resumption. + * + * Defaults to 1, setting this to 0 disables session resumption. + */ 'max_session_keys': (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts b/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts index d41112c85..f5addf5f2 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts @@ -4,42 +4,192 @@ import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from '../../../ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from '../../../../envoy/type/Percent'; +/** + * A Thresholds defines CircuitBreaker settings for a + * :ref:`RoutingPriority`. + * [#next-free-field: 9] + */ export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds { + /** + * The :ref:`RoutingPriority` + * the specified CircuitBreaker settings apply to. + */ 'priority'?: (_envoy_api_v2_core_RoutingPriority | keyof typeof _envoy_api_v2_core_RoutingPriority); + /** + * The maximum number of connections that Envoy will make to the upstream + * cluster. If not specified, the default is 1024. + */ 'max_connections'?: (_google_protobuf_UInt32Value); + /** + * The maximum number of pending requests that Envoy will allow to the + * upstream cluster. If not specified, the default is 1024. + */ 'max_pending_requests'?: (_google_protobuf_UInt32Value); + /** + * The maximum number of parallel requests that Envoy will make to the + * upstream cluster. If not specified, the default is 1024. + */ 'max_requests'?: (_google_protobuf_UInt32Value); + /** + * The maximum number of parallel retries that Envoy will allow to the + * upstream cluster. If not specified, the default is 3. + */ 'max_retries'?: (_google_protobuf_UInt32Value); + /** + * Specifies a limit on concurrent retries in relation to the number of active requests. This + * parameter is optional. + * + * .. note:: + * + * If this field is set, the retry budget will override any configured retry circuit + * breaker. + */ 'retry_budget'?: (_envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget); + /** + * If track_remaining is true, then stats will be published that expose + * the number of resources remaining until the circuit breakers open. If + * not specified, the default is false. + * + * .. note:: + * + * If a retry budget is used in lieu of the max_retries circuit breaker, + * the remaining retry resources remaining will not be tracked. + */ 'track_remaining'?: (boolean); + /** + * The maximum number of connection pools per cluster that Envoy will concurrently support at + * once. If not specified, the default is unlimited. Set this for clusters which create a + * large number of connection pools. See + * :ref:`Circuit Breaking ` for + * more details. + */ 'max_connection_pools'?: (_google_protobuf_UInt32Value); } +/** + * A Thresholds defines CircuitBreaker settings for a + * :ref:`RoutingPriority`. + * [#next-free-field: 9] + */ export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds__Output { + /** + * The :ref:`RoutingPriority` + * the specified CircuitBreaker settings apply to. + */ 'priority': (keyof typeof _envoy_api_v2_core_RoutingPriority); + /** + * The maximum number of connections that Envoy will make to the upstream + * cluster. If not specified, the default is 1024. + */ 'max_connections': (_google_protobuf_UInt32Value__Output); + /** + * The maximum number of pending requests that Envoy will allow to the + * upstream cluster. If not specified, the default is 1024. + */ 'max_pending_requests': (_google_protobuf_UInt32Value__Output); + /** + * The maximum number of parallel requests that Envoy will make to the + * upstream cluster. If not specified, the default is 1024. + */ 'max_requests': (_google_protobuf_UInt32Value__Output); + /** + * The maximum number of parallel retries that Envoy will allow to the + * upstream cluster. If not specified, the default is 3. + */ 'max_retries': (_google_protobuf_UInt32Value__Output); + /** + * Specifies a limit on concurrent retries in relation to the number of active requests. This + * parameter is optional. + * + * .. note:: + * + * If this field is set, the retry budget will override any configured retry circuit + * breaker. + */ 'retry_budget': (_envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget__Output); + /** + * If track_remaining is true, then stats will be published that expose + * the number of resources remaining until the circuit breakers open. If + * not specified, the default is false. + * + * .. note:: + * + * If a retry budget is used in lieu of the max_retries circuit breaker, + * the remaining retry resources remaining will not be tracked. + */ 'track_remaining': (boolean); + /** + * The maximum number of connection pools per cluster that Envoy will concurrently support at + * once. If not specified, the default is unlimited. Set this for clusters which create a + * large number of connection pools. See + * :ref:`Circuit Breaking ` for + * more details. + */ 'max_connection_pools': (_google_protobuf_UInt32Value__Output); } export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget { + /** + * Specifies the limit on concurrent retries as a percentage of the sum of active requests and + * active pending requests. For example, if there are 100 active requests and the + * budget_percent is set to 25, there may be 25 active retries. + * + * This parameter is optional. Defaults to 20%. + */ 'budget_percent'?: (_envoy_type_Percent); + /** + * Specifies the minimum retry concurrency allowed for the retry budget. The limit on the + * number of active retries may never go below this number. + * + * This parameter is optional. Defaults to 3. + */ 'min_retry_concurrency'?: (_google_protobuf_UInt32Value); } export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget__Output { + /** + * Specifies the limit on concurrent retries as a percentage of the sum of active requests and + * active pending requests. For example, if there are 100 active requests and the + * budget_percent is set to 25, there may be 25 active retries. + * + * This parameter is optional. Defaults to 20%. + */ 'budget_percent': (_envoy_type_Percent__Output); + /** + * Specifies the minimum retry concurrency allowed for the retry budget. The limit on the + * number of active retries may never go below this number. + * + * This parameter is optional. Defaults to 3. + */ 'min_retry_concurrency': (_google_protobuf_UInt32Value__Output); } +/** + * :ref:`Circuit breaking` settings can be + * specified individually for each defined priority. + */ export interface CircuitBreakers { + /** + * If multiple :ref:`Thresholds` + * are defined with the same :ref:`RoutingPriority`, + * the first one in the list is used. If no Thresholds is defined for a given + * :ref:`RoutingPriority`, the default values + * are used. + */ 'thresholds'?: (_envoy_api_v2_cluster_CircuitBreakers_Thresholds)[]; } +/** + * :ref:`Circuit breaking` settings can be + * specified individually for each defined priority. + */ export interface CircuitBreakers__Output { + /** + * If multiple :ref:`Thresholds` + * are defined with the same :ref:`RoutingPriority`, + * the first one in the list is used. If no Thresholds is defined for a given + * :ref:`RoutingPriority`, the default values + * are used. + */ 'thresholds': (_envoy_api_v2_cluster_CircuitBreakers_Thresholds__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.ts b/packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.ts index e483c07d9..9e54a595e 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.ts @@ -3,11 +3,27 @@ import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; export interface Filter { + /** + * The name of the filter to instantiate. The name must match a + * :ref:`supported filter `. + */ 'name'?: (string); + /** + * Filter specific configuration which depends on the filter being + * instantiated. See the supported filters for further documentation. + */ 'typed_config'?: (_google_protobuf_Any); } export interface Filter__Output { + /** + * The name of the filter to instantiate. The name must match a + * :ref:`supported filter `. + */ 'name': (string); + /** + * Filter specific configuration which depends on the filter being + * instantiated. See the supported filters for further documentation. + */ 'typed_config': (_google_protobuf_Any__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.ts b/packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.ts index 278e22aea..6cd429c12 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.ts @@ -3,48 +3,298 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; +/** + * See the :ref:`architecture overview ` for + * more information on outlier detection. + * [#next-free-field: 21] + */ export interface OutlierDetection { + /** + * The number of consecutive 5xx responses or local origin errors that are mapped + * to 5xx error codes before a consecutive 5xx ejection + * occurs. Defaults to 5. + */ 'consecutive_5xx'?: (_google_protobuf_UInt32Value); + /** + * The time interval between ejection analysis sweeps. This can result in + * both new ejections as well as hosts being returned to service. Defaults + * to 10000ms or 10s. + */ 'interval'?: (_google_protobuf_Duration); + /** + * The base time that a host is ejected for. The real time is equal to the + * base time multiplied by the number of times the host has been ejected. + * Defaults to 30000ms or 30s. + */ 'base_ejection_time'?: (_google_protobuf_Duration); + /** + * The maximum % of an upstream cluster that can be ejected due to outlier + * detection. Defaults to 10% but will eject at least one host regardless of the value. + */ 'max_ejection_percent'?: (_google_protobuf_UInt32Value); + /** + * The % chance that a host will be actually ejected when an outlier status + * is detected through consecutive 5xx. This setting can be used to disable + * ejection or to ramp it up slowly. Defaults to 100. + */ 'enforcing_consecutive_5xx'?: (_google_protobuf_UInt32Value); + /** + * The % chance that a host will be actually ejected when an outlier status + * is detected through success rate statistics. This setting can be used to + * disable ejection or to ramp it up slowly. Defaults to 100. + */ 'enforcing_success_rate'?: (_google_protobuf_UInt32Value); + /** + * The number of hosts in a cluster that must have enough request volume to + * detect success rate outliers. If the number of hosts is less than this + * setting, outlier detection via success rate statistics is not performed + * for any host in the cluster. Defaults to 5. + */ 'success_rate_minimum_hosts'?: (_google_protobuf_UInt32Value); + /** + * The minimum number of total requests that must be collected in one + * interval (as defined by the interval duration above) to include this host + * in success rate based outlier detection. If the volume is lower than this + * setting, outlier detection via success rate statistics is not performed + * for that host. Defaults to 100. + */ 'success_rate_request_volume'?: (_google_protobuf_UInt32Value); + /** + * This factor is used to determine the ejection threshold for success rate + * outlier ejection. The ejection threshold is the difference between the + * mean success rate, and the product of this factor and the standard + * deviation of the mean success rate: mean - (stdev * + * success_rate_stdev_factor). This factor is divided by a thousand to get a + * double. That is, if the desired factor is 1.9, the runtime value should + * be 1900. Defaults to 1900. + */ 'success_rate_stdev_factor'?: (_google_protobuf_UInt32Value); + /** + * The number of consecutive gateway failures (502, 503, 504 status codes) + * before a consecutive gateway failure ejection occurs. Defaults to 5. + */ 'consecutive_gateway_failure'?: (_google_protobuf_UInt32Value); + /** + * The % chance that a host will be actually ejected when an outlier status + * is detected through consecutive gateway failures. This setting can be + * used to disable ejection or to ramp it up slowly. Defaults to 0. + */ 'enforcing_consecutive_gateway_failure'?: (_google_protobuf_UInt32Value); + /** + * Determines whether to distinguish local origin failures from external errors. If set to true + * the following configuration parameters are taken into account: + * :ref:`consecutive_local_origin_failure`, + * :ref:`enforcing_consecutive_local_origin_failure` + * and + * :ref:`enforcing_local_origin_success_rate`. + * Defaults to false. + */ 'split_external_local_origin_errors'?: (boolean); + /** + * The number of consecutive locally originated failures before ejection + * occurs. Defaults to 5. Parameter takes effect only when + * :ref:`split_external_local_origin_errors` + * is set to true. + */ 'consecutive_local_origin_failure'?: (_google_protobuf_UInt32Value); + /** + * The % chance that a host will be actually ejected when an outlier status + * is detected through consecutive locally originated failures. This setting can be + * used to disable ejection or to ramp it up slowly. Defaults to 100. + * Parameter takes effect only when + * :ref:`split_external_local_origin_errors` + * is set to true. + */ 'enforcing_consecutive_local_origin_failure'?: (_google_protobuf_UInt32Value); + /** + * The % chance that a host will be actually ejected when an outlier status + * is detected through success rate statistics for locally originated errors. + * This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. + * Parameter takes effect only when + * :ref:`split_external_local_origin_errors` + * is set to true. + */ 'enforcing_local_origin_success_rate'?: (_google_protobuf_UInt32Value); + /** + * The failure percentage to use when determining failure percentage-based outlier detection. If + * the failure percentage of a given host is greater than or equal to this value, it will be + * ejected. Defaults to 85. + */ 'failure_percentage_threshold'?: (_google_protobuf_UInt32Value); + /** + * The % chance that a host will be actually ejected when an outlier status is detected through + * failure percentage statistics. This setting can be used to disable ejection or to ramp it up + * slowly. Defaults to 0. + * + * [#next-major-version: setting this without setting failure_percentage_threshold should be + * invalid in v4.] + */ 'enforcing_failure_percentage'?: (_google_protobuf_UInt32Value); + /** + * The % chance that a host will be actually ejected when an outlier status is detected through + * local-origin failure percentage statistics. This setting can be used to disable ejection or to + * ramp it up slowly. Defaults to 0. + */ 'enforcing_failure_percentage_local_origin'?: (_google_protobuf_UInt32Value); + /** + * The minimum number of hosts in a cluster in order to perform failure percentage-based ejection. + * If the total number of hosts in the cluster is less than this value, failure percentage-based + * ejection will not be performed. Defaults to 5. + */ 'failure_percentage_minimum_hosts'?: (_google_protobuf_UInt32Value); + /** + * The minimum number of total requests that must be collected in one interval (as defined by the + * interval duration above) to perform failure percentage-based ejection for this host. If the + * volume is lower than this setting, failure percentage-based ejection will not be performed for + * this host. Defaults to 50. + */ 'failure_percentage_request_volume'?: (_google_protobuf_UInt32Value); } +/** + * See the :ref:`architecture overview ` for + * more information on outlier detection. + * [#next-free-field: 21] + */ export interface OutlierDetection__Output { + /** + * The number of consecutive 5xx responses or local origin errors that are mapped + * to 5xx error codes before a consecutive 5xx ejection + * occurs. Defaults to 5. + */ 'consecutive_5xx': (_google_protobuf_UInt32Value__Output); + /** + * The time interval between ejection analysis sweeps. This can result in + * both new ejections as well as hosts being returned to service. Defaults + * to 10000ms or 10s. + */ 'interval': (_google_protobuf_Duration__Output); + /** + * The base time that a host is ejected for. The real time is equal to the + * base time multiplied by the number of times the host has been ejected. + * Defaults to 30000ms or 30s. + */ 'base_ejection_time': (_google_protobuf_Duration__Output); + /** + * The maximum % of an upstream cluster that can be ejected due to outlier + * detection. Defaults to 10% but will eject at least one host regardless of the value. + */ 'max_ejection_percent': (_google_protobuf_UInt32Value__Output); + /** + * The % chance that a host will be actually ejected when an outlier status + * is detected through consecutive 5xx. This setting can be used to disable + * ejection or to ramp it up slowly. Defaults to 100. + */ 'enforcing_consecutive_5xx': (_google_protobuf_UInt32Value__Output); + /** + * The % chance that a host will be actually ejected when an outlier status + * is detected through success rate statistics. This setting can be used to + * disable ejection or to ramp it up slowly. Defaults to 100. + */ 'enforcing_success_rate': (_google_protobuf_UInt32Value__Output); + /** + * The number of hosts in a cluster that must have enough request volume to + * detect success rate outliers. If the number of hosts is less than this + * setting, outlier detection via success rate statistics is not performed + * for any host in the cluster. Defaults to 5. + */ 'success_rate_minimum_hosts': (_google_protobuf_UInt32Value__Output); + /** + * The minimum number of total requests that must be collected in one + * interval (as defined by the interval duration above) to include this host + * in success rate based outlier detection. If the volume is lower than this + * setting, outlier detection via success rate statistics is not performed + * for that host. Defaults to 100. + */ 'success_rate_request_volume': (_google_protobuf_UInt32Value__Output); + /** + * This factor is used to determine the ejection threshold for success rate + * outlier ejection. The ejection threshold is the difference between the + * mean success rate, and the product of this factor and the standard + * deviation of the mean success rate: mean - (stdev * + * success_rate_stdev_factor). This factor is divided by a thousand to get a + * double. That is, if the desired factor is 1.9, the runtime value should + * be 1900. Defaults to 1900. + */ 'success_rate_stdev_factor': (_google_protobuf_UInt32Value__Output); + /** + * The number of consecutive gateway failures (502, 503, 504 status codes) + * before a consecutive gateway failure ejection occurs. Defaults to 5. + */ 'consecutive_gateway_failure': (_google_protobuf_UInt32Value__Output); + /** + * The % chance that a host will be actually ejected when an outlier status + * is detected through consecutive gateway failures. This setting can be + * used to disable ejection or to ramp it up slowly. Defaults to 0. + */ 'enforcing_consecutive_gateway_failure': (_google_protobuf_UInt32Value__Output); + /** + * Determines whether to distinguish local origin failures from external errors. If set to true + * the following configuration parameters are taken into account: + * :ref:`consecutive_local_origin_failure`, + * :ref:`enforcing_consecutive_local_origin_failure` + * and + * :ref:`enforcing_local_origin_success_rate`. + * Defaults to false. + */ 'split_external_local_origin_errors': (boolean); + /** + * The number of consecutive locally originated failures before ejection + * occurs. Defaults to 5. Parameter takes effect only when + * :ref:`split_external_local_origin_errors` + * is set to true. + */ 'consecutive_local_origin_failure': (_google_protobuf_UInt32Value__Output); + /** + * The % chance that a host will be actually ejected when an outlier status + * is detected through consecutive locally originated failures. This setting can be + * used to disable ejection or to ramp it up slowly. Defaults to 100. + * Parameter takes effect only when + * :ref:`split_external_local_origin_errors` + * is set to true. + */ 'enforcing_consecutive_local_origin_failure': (_google_protobuf_UInt32Value__Output); + /** + * The % chance that a host will be actually ejected when an outlier status + * is detected through success rate statistics for locally originated errors. + * This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. + * Parameter takes effect only when + * :ref:`split_external_local_origin_errors` + * is set to true. + */ 'enforcing_local_origin_success_rate': (_google_protobuf_UInt32Value__Output); + /** + * The failure percentage to use when determining failure percentage-based outlier detection. If + * the failure percentage of a given host is greater than or equal to this value, it will be + * ejected. Defaults to 85. + */ 'failure_percentage_threshold': (_google_protobuf_UInt32Value__Output); + /** + * The % chance that a host will be actually ejected when an outlier status is detected through + * failure percentage statistics. This setting can be used to disable ejection or to ramp it up + * slowly. Defaults to 0. + * + * [#next-major-version: setting this without setting failure_percentage_threshold should be + * invalid in v4.] + */ 'enforcing_failure_percentage': (_google_protobuf_UInt32Value__Output); + /** + * The % chance that a host will be actually ejected when an outlier status is detected through + * local-origin failure percentage statistics. This setting can be used to disable ejection or to + * ramp it up slowly. Defaults to 0. + */ 'enforcing_failure_percentage_local_origin': (_google_protobuf_UInt32Value__Output); + /** + * The minimum number of hosts in a cluster in order to perform failure percentage-based ejection. + * If the total number of hosts in the cluster is less than this value, failure percentage-based + * ejection will not be performed. Defaults to 5. + */ 'failure_percentage_minimum_hosts': (_google_protobuf_UInt32Value__Output); + /** + * The minimum number of total requests that must be collected in one interval (as defined by the + * interval duration above) to perform failure percentage-based ejection for this host. If the + * volume is lower than this setting, failure percentage-based ejection will not be performed for + * this host. Defaults to 50. + */ 'failure_percentage_request_volume': (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Address.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Address.ts index 79b40931c..4ccd1e892 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/Address.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Address.ts @@ -3,12 +3,22 @@ import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from '../../../../envoy/api/v2/core/SocketAddress'; import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from '../../../../envoy/api/v2/core/Pipe'; +/** + * Addresses specify either a logical or physical address and port, which are + * used to tell Envoy where to bind/listen, connect to upstream and find + * management servers. + */ export interface Address { 'socket_address'?: (_envoy_api_v2_core_SocketAddress); 'pipe'?: (_envoy_api_v2_core_Pipe); 'address'?: "socket_address"|"pipe"; } +/** + * Addresses specify either a logical or physical address and port, which are + * used to tell Envoy where to bind/listen, connect to upstream and find + * management servers. + */ export interface Address__Output { 'socket_address'?: (_envoy_api_v2_core_SocketAddress__Output); 'pipe'?: (_envoy_api_v2_core_Pipe__Output); diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/AggregatedConfigSource.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/AggregatedConfigSource.ts index dd0b6619b..6837dd0db 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/AggregatedConfigSource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/AggregatedConfigSource.ts @@ -1,8 +1,18 @@ // Original file: deps/envoy-api/envoy/api/v2/core/config_source.proto +/** + * Aggregated Discovery Service (ADS) options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that ADS is to be used. + */ export interface AggregatedConfigSource { } +/** + * Aggregated Discovery Service (ADS) options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that ADS is to be used. + */ export interface AggregatedConfigSource__Output { } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts index 0d951870e..ecec8d5a5 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts @@ -7,31 +7,129 @@ import { ApiVersion as _envoy_api_v2_core_ApiVersion } from '../../../../envoy/a // Original file: deps/envoy-api/envoy/api/v2/core/config_source.proto +/** + * APIs may be fetched via either REST or gRPC. + */ export enum _envoy_api_v2_core_ApiConfigSource_ApiType { + /** + * Ideally this would be 'reserved 0' but one can't reserve the default + * value. Instead we throw an exception if this is ever used. + */ UNSUPPORTED_REST_LEGACY = 0, + /** + * REST-JSON v2 API. The `canonical JSON encoding + * `_ for + * the v2 protos is used. + */ REST = 1, + /** + * gRPC v2 API. + */ GRPC = 2, + /** + * Using the delta xDS gRPC service, i.e. DeltaDiscovery{Request,Response} + * rather than Discovery{Request,Response}. Rather than sending Envoy the entire state + * with every update, the xDS server only sends what has changed since the last update. + */ DELTA_GRPC = 3, } +/** + * API configuration source. This identifies the API type and cluster that Envoy + * will use to fetch an xDS API. + * [#next-free-field: 9] + */ export interface ApiConfigSource { + /** + * API type (gRPC, REST, delta gRPC) + */ 'api_type'?: (_envoy_api_v2_core_ApiConfigSource_ApiType | keyof typeof _envoy_api_v2_core_ApiConfigSource_ApiType); + /** + * Cluster names should be used only with REST. If > 1 + * cluster is defined, clusters will be cycled through if any kind of failure + * occurs. + * + * .. note:: + * + * The cluster with name ``cluster_name`` must be statically defined and its + * type must not be ``EDS``. + */ 'cluster_names'?: (string)[]; + /** + * For REST APIs, the delay between successive polls. + */ 'refresh_delay'?: (_google_protobuf_Duration); + /** + * Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, + * services will be cycled through if any kind of failure occurs. + */ 'grpc_services'?: (_envoy_api_v2_core_GrpcService)[]; + /** + * For REST APIs, the request timeout. If not set, a default value of 1s will be used. + */ 'request_timeout'?: (_google_protobuf_Duration); + /** + * For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be + * rate limited. + */ 'rate_limit_settings'?: (_envoy_api_v2_core_RateLimitSettings); + /** + * Skip the node identifier in subsequent discovery requests for streaming gRPC config types. + */ 'set_node_on_first_message_only'?: (boolean); + /** + * API version for xDS transport protocol. This describes the xDS gRPC/REST + * endpoint and version of [Delta]DiscoveryRequest/Response used on the wire. + */ 'transport_api_version'?: (_envoy_api_v2_core_ApiVersion | keyof typeof _envoy_api_v2_core_ApiVersion); } +/** + * API configuration source. This identifies the API type and cluster that Envoy + * will use to fetch an xDS API. + * [#next-free-field: 9] + */ export interface ApiConfigSource__Output { + /** + * API type (gRPC, REST, delta gRPC) + */ 'api_type': (keyof typeof _envoy_api_v2_core_ApiConfigSource_ApiType); + /** + * Cluster names should be used only with REST. If > 1 + * cluster is defined, clusters will be cycled through if any kind of failure + * occurs. + * + * .. note:: + * + * The cluster with name ``cluster_name`` must be statically defined and its + * type must not be ``EDS``. + */ 'cluster_names': (string)[]; + /** + * For REST APIs, the delay between successive polls. + */ 'refresh_delay': (_google_protobuf_Duration__Output); + /** + * Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, + * services will be cycled through if any kind of failure occurs. + */ 'grpc_services': (_envoy_api_v2_core_GrpcService__Output)[]; + /** + * For REST APIs, the request timeout. If not set, a default value of 1s will be used. + */ 'request_timeout': (_google_protobuf_Duration__Output); + /** + * For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be + * rate limited. + */ 'rate_limit_settings': (_envoy_api_v2_core_RateLimitSettings__Output); + /** + * Skip the node identifier in subsequent discovery requests for streaming gRPC config types. + */ 'set_node_on_first_message_only': (boolean); + /** + * API version for xDS transport protocol. This describes the xDS gRPC/REST + * endpoint and version of [Delta]DiscoveryRequest/Response used on the wire. + */ 'transport_api_version': (keyof typeof _envoy_api_v2_core_ApiVersion); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ApiVersion.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiVersion.ts index 0a3952e61..7f03a5995 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/ApiVersion.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiVersion.ts @@ -1,7 +1,22 @@ // Original file: deps/envoy-api/envoy/api/v2/core/config_source.proto +/** + * xDS API version. This is used to describe both resource and transport + * protocol versions (in distinct configuration fields). + */ export enum ApiVersion { + /** + * When not specified, we assume v2, to ease migration to Envoy's stable API + * versioning. If a client does not support v2 (e.g. due to deprecation), this + * is an invalid value. + */ AUTO = 0, + /** + * Use xDS v2 API. + */ V2 = 1, + /** + * Use xDS v3 API. + */ V3 = 2, } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/AsyncDataSource.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/AsyncDataSource.ts index 1f8ea0b5f..c4de49ee0 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/AsyncDataSource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/AsyncDataSource.ts @@ -3,14 +3,32 @@ import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from '../../../../envoy/api/v2/core/RemoteDataSource'; +/** + * Async data source which support async data fetch. + */ export interface AsyncDataSource { + /** + * Local async data source. + */ 'local'?: (_envoy_api_v2_core_DataSource); + /** + * Remote async data source. + */ 'remote'?: (_envoy_api_v2_core_RemoteDataSource); 'specifier'?: "local"|"remote"; } +/** + * Async data source which support async data fetch. + */ export interface AsyncDataSource__Output { + /** + * Local async data source. + */ 'local'?: (_envoy_api_v2_core_DataSource__Output); + /** + * Remote async data source. + */ 'remote'?: (_envoy_api_v2_core_RemoteDataSource__Output); 'specifier': "local"|"remote"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.ts index a95361e5a..636b768fe 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.ts @@ -2,12 +2,42 @@ import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; +/** + * Configuration defining a jittered exponential back off strategy. + */ export interface BackoffStrategy { + /** + * The base interval to be used for the next back off computation. It should + * be greater than zero and less than or equal to :ref:`max_interval + * `. + */ 'base_interval'?: (_google_protobuf_Duration); + /** + * Specifies the maximum interval between retries. This parameter is optional, + * but must be greater than or equal to the :ref:`base_interval + * ` if set. The default + * is 10 times the :ref:`base_interval + * `. + */ 'max_interval'?: (_google_protobuf_Duration); } +/** + * Configuration defining a jittered exponential back off strategy. + */ export interface BackoffStrategy__Output { + /** + * The base interval to be used for the next back off computation. It should + * be greater than zero and less than or equal to :ref:`max_interval + * `. + */ 'base_interval': (_google_protobuf_Duration__Output); + /** + * Specifies the maximum interval between retries. This parameter is optional, + * but must be greater than or equal to the :ref:`base_interval + * ` if set. The default + * is 10 times the :ref:`base_interval + * `. + */ 'max_interval': (_google_protobuf_Duration__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.ts index 05d32a072..af81592bf 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.ts @@ -5,13 +5,45 @@ import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_p import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from '../../../../envoy/api/v2/core/SocketOption'; export interface BindConfig { + /** + * The address to bind to when creating a socket. + */ 'source_address'?: (_envoy_api_v2_core_SocketAddress); + /** + * Whether to set the *IP_FREEBIND* option when creating the socket. When this + * flag is set to true, allows the :ref:`source_address + * ` to be an IP address + * that is not configured on the system running Envoy. When this flag is set + * to false, the option *IP_FREEBIND* is disabled on the socket. When this + * flag is not set (default), the socket is not modified, i.e. the option is + * neither enabled nor disabled. + */ 'freebind'?: (_google_protobuf_BoolValue); + /** + * Additional socket options that may not be present in Envoy source code or + * precompiled binaries. + */ 'socket_options'?: (_envoy_api_v2_core_SocketOption)[]; } export interface BindConfig__Output { + /** + * The address to bind to when creating a socket. + */ 'source_address': (_envoy_api_v2_core_SocketAddress__Output); + /** + * Whether to set the *IP_FREEBIND* option when creating the socket. When this + * flag is set to true, allows the :ref:`source_address + * ` to be an IP address + * that is not configured on the system running Envoy. When this flag is set + * to false, the option *IP_FREEBIND* is disabled on the socket. When this + * flag is not set (default), the socket is not modified, i.e. the option is + * neither enabled nor disabled. + */ 'freebind': (_google_protobuf_BoolValue__Output); + /** + * Additional socket options that may not be present in Envoy source code or + * precompiled binaries. + */ 'socket_options': (_envoy_api_v2_core_SocketOption__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.ts index 1008082a2..305ad3c4d 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.ts @@ -3,12 +3,34 @@ import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from '../../../../envoy/type/SemanticVersion'; import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +/** + * BuildVersion combines SemVer version of extension with free-form build information + * (i.e. 'alpha', 'private-build') as a set of strings. + */ export interface BuildVersion { + /** + * SemVer version of extension. + */ 'version'?: (_envoy_type_SemanticVersion); + /** + * Free-form build information. + * Envoy defines several well known keys in the source/common/common/version.h file + */ 'metadata'?: (_google_protobuf_Struct); } +/** + * BuildVersion combines SemVer version of extension with free-form build information + * (i.e. 'alpha', 'private-build') as a set of strings. + */ export interface BuildVersion__Output { + /** + * SemVer version of extension. + */ 'version': (_envoy_type_SemanticVersion__Output); + /** + * Free-form build information. + * Envoy defines several well known keys in the source/common/common/version.h file + */ 'metadata': (_google_protobuf_Struct__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.ts index 6c84de0c2..e0c19da92 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.ts @@ -2,12 +2,32 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +/** + * CidrRange specifies an IP Address and a prefix length to construct + * the subnet mask for a `CIDR `_ range. + */ export interface CidrRange { + /** + * IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``. + */ 'address_prefix'?: (string); + /** + * Length of prefix, e.g. 0, 32. + */ 'prefix_len'?: (_google_protobuf_UInt32Value); } +/** + * CidrRange specifies an IP Address and a prefix length to construct + * the subnet mask for a `CIDR `_ range. + */ export interface CidrRange__Output { + /** + * IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``. + */ 'address_prefix': (string); + /** + * Length of prefix, e.g. 0, 32. + */ 'prefix_len': (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts index 9f6952a7f..3ce5cc5d8 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts @@ -6,22 +6,138 @@ import { Duration as _google_protobuf_Duration, Duration__Output as _google_prot import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from '../../../../envoy/api/v2/core/SelfConfigSource'; import { ApiVersion as _envoy_api_v2_core_ApiVersion } from '../../../../envoy/api/v2/core/ApiVersion'; +/** + * Configuration for :ref:`listeners `, :ref:`clusters + * `, :ref:`routes + * `, :ref:`endpoints + * ` etc. may either be sourced from the + * filesystem or from an xDS API source. Filesystem configs are watched with + * inotify for updates. + * [#next-free-field: 7] + */ export interface ConfigSource { + /** + * Path on the filesystem to source and watch for configuration updates. + * When sourcing configuration for :ref:`secret `, + * the certificate and key files are also watched for updates. + * + * .. note:: + * + * The path to the source must exist at config load time. + * + * .. note:: + * + * Envoy will only watch the file path for *moves.* This is because in general only moves + * are atomic. The same method of swapping files as is demonstrated in the + * :ref:`runtime documentation ` can be used here also. + */ 'path'?: (string); + /** + * API configuration source. + */ 'api_config_source'?: (_envoy_api_v2_core_ApiConfigSource); + /** + * When set, ADS will be used to fetch resources. The ADS API configuration + * source in the bootstrap configuration is used. + */ 'ads'?: (_envoy_api_v2_core_AggregatedConfigSource); + /** + * When this timeout is specified, Envoy will wait no longer than the specified time for first + * config response on this xDS subscription during the :ref:`initialization process + * `. After reaching the timeout, Envoy will move to the next + * initialization phase, even if the first config is not delivered yet. The timer is activated + * when the xDS API subscription starts, and is disarmed on first config update or on error. 0 + * means no timeout - Envoy will wait indefinitely for the first xDS config (unless another + * timeout applies). The default is 15s. + */ 'initial_fetch_timeout'?: (_google_protobuf_Duration); + /** + * [#not-implemented-hide:] + * When set, the client will access the resources from the same server it got the + * ConfigSource from, although not necessarily from the same stream. This is similar to the + * :ref:`ads` field, except that the client may use a + * different stream to the same server. As a result, this field can be used for things + * like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.) + * LDS to RDS on the same server without requiring the management server to know its name + * or required credentials. + * [#next-major-version: In xDS v3, consider replacing the ads field with this one, since + * this field can implicitly mean to use the same stream in the case where the ConfigSource + * is provided via ADS and the specified data can also be obtained via ADS.] + */ 'self'?: (_envoy_api_v2_core_SelfConfigSource); + /** + * API version for xDS resources. This implies the type URLs that the client + * will request for resources and the resource type that the client will in + * turn expect to be delivered. + */ 'resource_api_version'?: (_envoy_api_v2_core_ApiVersion | keyof typeof _envoy_api_v2_core_ApiVersion); 'config_source_specifier'?: "path"|"api_config_source"|"ads"|"self"; } +/** + * Configuration for :ref:`listeners `, :ref:`clusters + * `, :ref:`routes + * `, :ref:`endpoints + * ` etc. may either be sourced from the + * filesystem or from an xDS API source. Filesystem configs are watched with + * inotify for updates. + * [#next-free-field: 7] + */ export interface ConfigSource__Output { + /** + * Path on the filesystem to source and watch for configuration updates. + * When sourcing configuration for :ref:`secret `, + * the certificate and key files are also watched for updates. + * + * .. note:: + * + * The path to the source must exist at config load time. + * + * .. note:: + * + * Envoy will only watch the file path for *moves.* This is because in general only moves + * are atomic. The same method of swapping files as is demonstrated in the + * :ref:`runtime documentation ` can be used here also. + */ 'path'?: (string); + /** + * API configuration source. + */ 'api_config_source'?: (_envoy_api_v2_core_ApiConfigSource__Output); + /** + * When set, ADS will be used to fetch resources. The ADS API configuration + * source in the bootstrap configuration is used. + */ 'ads'?: (_envoy_api_v2_core_AggregatedConfigSource__Output); + /** + * When this timeout is specified, Envoy will wait no longer than the specified time for first + * config response on this xDS subscription during the :ref:`initialization process + * `. After reaching the timeout, Envoy will move to the next + * initialization phase, even if the first config is not delivered yet. The timer is activated + * when the xDS API subscription starts, and is disarmed on first config update or on error. 0 + * means no timeout - Envoy will wait indefinitely for the first xDS config (unless another + * timeout applies). The default is 15s. + */ 'initial_fetch_timeout': (_google_protobuf_Duration__Output); + /** + * [#not-implemented-hide:] + * When set, the client will access the resources from the same server it got the + * ConfigSource from, although not necessarily from the same stream. This is similar to the + * :ref:`ads` field, except that the client may use a + * different stream to the same server. As a result, this field can be used for things + * like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.) + * LDS to RDS on the same server without requiring the management server to know its name + * or required credentials. + * [#next-major-version: In xDS v3, consider replacing the ads field with this one, since + * this field can implicitly mean to use the same stream in the case where the ConfigSource + * is provided via ADS and the specified data can also be obtained via ADS.] + */ 'self'?: (_envoy_api_v2_core_SelfConfigSource__Output); + /** + * API version for xDS resources. This implies the type URLs that the client + * will request for resources and the resource type that the client will in + * turn expect to be delivered. + */ 'resource_api_version': (keyof typeof _envoy_api_v2_core_ApiVersion); 'config_source_specifier': "path"|"api_config_source"|"ads"|"self"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ControlPlane.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ControlPlane.ts index 0074cf060..551f693a2 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/ControlPlane.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/ControlPlane.ts @@ -1,10 +1,26 @@ // Original file: deps/envoy-api/envoy/api/v2/core/base.proto +/** + * Identifies a specific ControlPlane instance that Envoy is connected to. + */ export interface ControlPlane { + /** + * An opaque control plane identifier that uniquely identifies an instance + * of control plane. This can be used to identify which control plane instance, + * the Envoy is connected to. + */ 'identifier'?: (string); } +/** + * Identifies a specific ControlPlane instance that Envoy is connected to. + */ export interface ControlPlane__Output { + /** + * An opaque control plane identifier that uniquely identifies an instance + * of control plane. This can be used to identify which control plane instance, + * the Envoy is connected to. + */ 'identifier': (string); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/DataSource.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/DataSource.ts index ae5b5a302..a04100054 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/DataSource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/DataSource.ts @@ -1,16 +1,40 @@ // Original file: deps/envoy-api/envoy/api/v2/core/base.proto +/** + * Data source consisting of either a file or an inline value. + */ export interface DataSource { + /** + * Local filesystem data source. + */ 'filename'?: (string); + /** + * Bytes inlined in the configuration. + */ 'inline_bytes'?: (Buffer | Uint8Array | string); + /** + * String inlined in the configuration. + */ 'inline_string'?: (string); 'specifier'?: "filename"|"inline_bytes"|"inline_string"; } +/** + * Data source consisting of either a file or an inline value. + */ export interface DataSource__Output { + /** + * Local filesystem data source. + */ 'filename'?: (string); + /** + * Bytes inlined in the configuration. + */ 'inline_bytes'?: (Buffer); + /** + * String inlined in the configuration. + */ 'inline_string'?: (string); 'specifier': "filename"|"inline_bytes"|"inline_string"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/EventServiceConfig.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/EventServiceConfig.ts index 31601fa74..3cba29184 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/EventServiceConfig.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/EventServiceConfig.ts @@ -2,12 +2,26 @@ import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from '../../../../envoy/api/v2/core/GrpcService'; +/** + * [#not-implemented-hide:] + * Configuration of the event reporting service endpoint. + */ export interface EventServiceConfig { + /** + * Specifies the gRPC service that hosts the event reporting service. + */ 'grpc_service'?: (_envoy_api_v2_core_GrpcService); 'config_source_specifier'?: "grpc_service"; } +/** + * [#not-implemented-hide:] + * Configuration of the event reporting service endpoint. + */ export interface EventServiceConfig__Output { + /** + * Specifies the gRPC service that hosts the event reporting service. + */ 'grpc_service'?: (_envoy_api_v2_core_GrpcService__Output); 'config_source_specifier': "grpc_service"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Extension.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Extension.ts index 285b68bea..3d17d6225 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/Extension.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Extension.ts @@ -2,18 +2,74 @@ import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from '../../../../envoy/api/v2/core/BuildVersion'; +/** + * Version and identification for an Envoy extension. + * [#next-free-field: 6] + */ export interface Extension { + /** + * This is the name of the Envoy filter as specified in the Envoy + * configuration, e.g. envoy.filters.http.router, com.acme.widget. + */ 'name'?: (string); + /** + * Category of the extension. + * Extension category names use reverse DNS notation. For instance "envoy.filters.listener" + * for Envoy's built-in listener filters or "com.acme.filters.http" for HTTP filters from + * acme.com vendor. + * [#comment:TODO(yanavlasov): Link to the doc with existing envoy category names.] + */ 'category'?: (string); + /** + * [#not-implemented-hide:] Type descriptor of extension configuration proto. + * [#comment:TODO(yanavlasov): Link to the doc with existing configuration protos.] + * [#comment:TODO(yanavlasov): Add tests when PR #9391 lands.] + */ 'type_descriptor'?: (string); + /** + * The version is a property of the extension and maintained independently + * of other extensions and the Envoy API. + * This field is not set when extension did not provide version information. + */ 'version'?: (_envoy_api_v2_core_BuildVersion); + /** + * Indicates that the extension is present but was disabled via dynamic configuration. + */ 'disabled'?: (boolean); } +/** + * Version and identification for an Envoy extension. + * [#next-free-field: 6] + */ export interface Extension__Output { + /** + * This is the name of the Envoy filter as specified in the Envoy + * configuration, e.g. envoy.filters.http.router, com.acme.widget. + */ 'name': (string); + /** + * Category of the extension. + * Extension category names use reverse DNS notation. For instance "envoy.filters.listener" + * for Envoy's built-in listener filters or "com.acme.filters.http" for HTTP filters from + * acme.com vendor. + * [#comment:TODO(yanavlasov): Link to the doc with existing envoy category names.] + */ 'category': (string); + /** + * [#not-implemented-hide:] Type descriptor of extension configuration proto. + * [#comment:TODO(yanavlasov): Link to the doc with existing configuration protos.] + * [#comment:TODO(yanavlasov): Add tests when PR #9391 lands.] + */ 'type_descriptor': (string); + /** + * The version is a property of the extension and maintained independently + * of other extensions and the Envoy API. + * This field is not set when extension did not provide version information. + */ 'version': (_envoy_api_v2_core_BuildVersion__Output); + /** + * Indicates that the extension is present but was disabled via dynamic configuration. + */ 'disabled': (boolean); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.ts index fc1c3755f..65148f419 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.ts @@ -2,10 +2,16 @@ import { Http2ProtocolOptions as _envoy_api_v2_core_Http2ProtocolOptions, Http2ProtocolOptions__Output as _envoy_api_v2_core_Http2ProtocolOptions__Output } from '../../../../envoy/api/v2/core/Http2ProtocolOptions'; +/** + * [#not-implemented-hide:] + */ export interface GrpcProtocolOptions { 'http2_protocol_options'?: (_envoy_api_v2_core_Http2ProtocolOptions); } +/** + * [#not-implemented-hide:] + */ export interface GrpcProtocolOptions__Output { 'http2_protocol_options': (_envoy_api_v2_core_Http2ProtocolOptions__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts index 10fabd16c..e536cb317 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts @@ -9,49 +9,189 @@ import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _env import { Long } from '@grpc/proto-loader'; export interface _envoy_api_v2_core_GrpcService_EnvoyGrpc { + /** + * The name of the upstream gRPC cluster. SSL credentials will be supplied + * in the :ref:`Cluster ` :ref:`transport_socket + * `. + */ 'cluster_name'?: (string); } export interface _envoy_api_v2_core_GrpcService_EnvoyGrpc__Output { + /** + * The name of the upstream gRPC cluster. SSL credentials will be supplied + * in the :ref:`Cluster ` :ref:`transport_socket + * `. + */ 'cluster_name': (string); } +/** + * [#next-free-field: 7] + */ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc { + /** + * The target URI when using the `Google C++ gRPC client + * `_. SSL credentials will be supplied in + * :ref:`channel_credentials `. + */ 'target_uri'?: (string); 'channel_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials); + /** + * A set of call credentials that can be composed with `channel credentials + * `_. + */ 'call_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials)[]; + /** + * The human readable prefix to use when emitting statistics for the gRPC + * service. + * + * .. csv-table:: + * :header: Name, Type, Description + * :widths: 1, 1, 2 + * + * streams_total, Counter, Total number of streams opened + * streams_closed_, Counter, Total streams closed with + */ 'stat_prefix'?: (string); + /** + * The name of the Google gRPC credentials factory to use. This must have been registered with + * Envoy. If this is empty, a default credentials factory will be used that sets up channel + * credentials based on other configuration parameters. + */ 'credentials_factory_name'?: (string); + /** + * Additional configuration for site-specific customizations of the Google + * gRPC library. + */ 'config'?: (_google_protobuf_Struct); } +/** + * [#next-free-field: 7] + */ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc__Output { + /** + * The target URI when using the `Google C++ gRPC client + * `_. SSL credentials will be supplied in + * :ref:`channel_credentials `. + */ 'target_uri': (string); 'channel_credentials': (_envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials__Output); + /** + * A set of call credentials that can be composed with `channel credentials + * `_. + */ 'call_credentials': (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials__Output)[]; + /** + * The human readable prefix to use when emitting statistics for the gRPC + * service. + * + * .. csv-table:: + * :header: Name, Type, Description + * :widths: 1, 1, 2 + * + * streams_total, Counter, Total number of streams opened + * streams_closed_, Counter, Total streams closed with + */ 'stat_prefix': (string); + /** + * The name of the Google gRPC credentials factory to use. This must have been registered with + * Envoy. If this is empty, a default credentials factory will be used that sets up channel + * credentials based on other configuration parameters. + */ 'credentials_factory_name': (string); + /** + * Additional configuration for site-specific customizations of the Google + * gRPC library. + */ 'config': (_google_protobuf_Struct__Output); } +/** + * [#next-free-field: 8] + */ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials { + /** + * Access token credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#ad3a80da696ffdaea943f0f858d7a360d. + */ 'access_token'?: (string); + /** + * Google Compute Engine credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61 + */ 'google_compute_engine'?: (_google_protobuf_Empty); + /** + * Google refresh token credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a96901c997b91bc6513b08491e0dca37c. + */ 'google_refresh_token'?: (string); + /** + * Service Account JWT Access credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a92a9f959d6102461f66ee973d8e9d3aa. + */ 'service_account_jwt_access'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials); + /** + * Google IAM credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a9fc1fc101b41e680d47028166e76f9d0. + */ 'google_iam'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials); + /** + * Custom authenticator credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a823c6a4b19ffc71fb33e90154ee2ad07. + * https://grpc.io/docs/guides/auth.html#extending-grpc-to-support-other-authentication-mechanisms. + */ 'from_plugin'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin); + /** + * Custom security token service which implements OAuth 2.0 token exchange. + * https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 + * See https://github.com/grpc/grpc/pull/19587. + */ 'sts_service'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService); 'credential_specifier'?: "access_token"|"google_compute_engine"|"google_refresh_token"|"service_account_jwt_access"|"google_iam"|"from_plugin"|"sts_service"; } +/** + * [#next-free-field: 8] + */ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials__Output { + /** + * Access token credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#ad3a80da696ffdaea943f0f858d7a360d. + */ 'access_token'?: (string); + /** + * Google Compute Engine credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61 + */ 'google_compute_engine'?: (_google_protobuf_Empty__Output); + /** + * Google refresh token credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a96901c997b91bc6513b08491e0dca37c. + */ 'google_refresh_token'?: (string); + /** + * Service Account JWT Access credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a92a9f959d6102461f66ee973d8e9d3aa. + */ 'service_account_jwt_access'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__Output); + /** + * Google IAM credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a9fc1fc101b41e680d47028166e76f9d0. + */ 'google_iam'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials__Output); + /** + * Custom authenticator credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a823c6a4b19ffc71fb33e90154ee2ad07. + * https://grpc.io/docs/guides/auth.html#extending-grpc-to-support-other-authentication-mechanisms. + */ 'from_plugin'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin__Output); + /** + * Custom security token service which implements OAuth 2.0 token exchange. + * https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 + * See https://github.com/grpc/grpc/pull/19587. + */ 'sts_service'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService__Output); 'credential_specifier': "access_token"|"google_compute_engine"|"google_refresh_token"|"service_account_jwt_access"|"google_iam"|"from_plugin"|"sts_service"; } @@ -90,74 +230,252 @@ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_Servi 'token_lifetime_seconds': (string); } +/** + * Security token service configuration that allows Google gRPC to + * fetch security token from an OAuth 2.0 authorization server. + * See https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 and + * https://github.com/grpc/grpc/pull/19587. + * [#next-free-field: 10] + */ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService { + /** + * URI of the token exchange service that handles token exchange requests. + * [#comment:TODO(asraa): Add URI validation when implemented. Tracked by + * https://github.com/envoyproxy/protoc-gen-validate/issues/303] + */ 'token_exchange_service_uri'?: (string); + /** + * Location of the target service or resource where the client + * intends to use the requested security token. + */ 'resource'?: (string); + /** + * Logical name of the target service where the client intends to + * use the requested security token. + */ 'audience'?: (string); + /** + * The desired scope of the requested security token in the + * context of the service or resource where the token will be used. + */ 'scope'?: (string); + /** + * Type of the requested security token. + */ 'requested_token_type'?: (string); + /** + * The path of subject token, a security token that represents the + * identity of the party on behalf of whom the request is being made. + */ 'subject_token_path'?: (string); + /** + * Type of the subject token. + */ 'subject_token_type'?: (string); + /** + * The path of actor token, a security token that represents the identity + * of the acting party. The acting party is authorized to use the + * requested security token and act on behalf of the subject. + */ 'actor_token_path'?: (string); + /** + * Type of the actor token. + */ 'actor_token_type'?: (string); } +/** + * Security token service configuration that allows Google gRPC to + * fetch security token from an OAuth 2.0 authorization server. + * See https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 and + * https://github.com/grpc/grpc/pull/19587. + * [#next-free-field: 10] + */ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService__Output { + /** + * URI of the token exchange service that handles token exchange requests. + * [#comment:TODO(asraa): Add URI validation when implemented. Tracked by + * https://github.com/envoyproxy/protoc-gen-validate/issues/303] + */ 'token_exchange_service_uri': (string); + /** + * Location of the target service or resource where the client + * intends to use the requested security token. + */ 'resource': (string); + /** + * Logical name of the target service where the client intends to + * use the requested security token. + */ 'audience': (string); + /** + * The desired scope of the requested security token in the + * context of the service or resource where the token will be used. + */ 'scope': (string); + /** + * Type of the requested security token. + */ 'requested_token_type': (string); + /** + * The path of subject token, a security token that represents the + * identity of the party on behalf of whom the request is being made. + */ 'subject_token_path': (string); + /** + * Type of the subject token. + */ 'subject_token_type': (string); + /** + * The path of actor token, a security token that represents the identity + * of the acting party. The acting party is authorized to use the + * requested security token and act on behalf of the subject. + */ 'actor_token_path': (string); + /** + * Type of the actor token. + */ 'actor_token_type': (string); } +/** + * See https://grpc.io/docs/guides/auth.html#credential-types to understand Channel and Call + * credential types. + */ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials { 'ssl_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials); + /** + * https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61 + */ 'google_default'?: (_google_protobuf_Empty); 'local_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials); 'credential_specifier'?: "ssl_credentials"|"google_default"|"local_credentials"; } +/** + * See https://grpc.io/docs/guides/auth.html#credential-types to understand Channel and Call + * credential types. + */ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials__Output { 'ssl_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__Output); + /** + * https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61 + */ 'google_default'?: (_google_protobuf_Empty__Output); 'local_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials__Output); 'credential_specifier': "ssl_credentials"|"google_default"|"local_credentials"; } +/** + * Local channel credentials. Only UDS is supported for now. + * See https://github.com/grpc/grpc/pull/15909. + */ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials { } +/** + * Local channel credentials. Only UDS is supported for now. + * See https://github.com/grpc/grpc/pull/15909. + */ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials__Output { } +/** + * See https://grpc.io/grpc/cpp/structgrpc_1_1_ssl_credentials_options.html. + */ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials { + /** + * PEM encoded server root certificates. + */ 'root_certs'?: (_envoy_api_v2_core_DataSource); + /** + * PEM encoded client private key. + */ 'private_key'?: (_envoy_api_v2_core_DataSource); + /** + * PEM encoded client certificate chain. + */ 'cert_chain'?: (_envoy_api_v2_core_DataSource); } +/** + * See https://grpc.io/grpc/cpp/structgrpc_1_1_ssl_credentials_options.html. + */ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__Output { + /** + * PEM encoded server root certificates. + */ 'root_certs': (_envoy_api_v2_core_DataSource__Output); + /** + * PEM encoded client private key. + */ 'private_key': (_envoy_api_v2_core_DataSource__Output); + /** + * PEM encoded client certificate chain. + */ 'cert_chain': (_envoy_api_v2_core_DataSource__Output); } +/** + * gRPC service configuration. This is used by :ref:`ApiConfigSource + * ` and filter configurations. + * [#next-free-field: 6] + */ export interface GrpcService { + /** + * Envoy's in-built gRPC client. + * See the :ref:`gRPC services overview ` + * documentation for discussion on gRPC client selection. + */ 'envoy_grpc'?: (_envoy_api_v2_core_GrpcService_EnvoyGrpc); + /** + * `Google C++ gRPC client `_ + * See the :ref:`gRPC services overview ` + * documentation for discussion on gRPC client selection. + */ 'google_grpc'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc); + /** + * The timeout for the gRPC request. This is the timeout for a specific + * request. + */ 'timeout'?: (_google_protobuf_Duration); + /** + * Additional metadata to include in streams initiated to the GrpcService. + * This can be used for scenarios in which additional ad hoc authorization + * headers (e.g. ``x-foo-bar: baz-key``) are to be injected. + */ 'initial_metadata'?: (_envoy_api_v2_core_HeaderValue)[]; 'target_specifier'?: "envoy_grpc"|"google_grpc"; } +/** + * gRPC service configuration. This is used by :ref:`ApiConfigSource + * ` and filter configurations. + * [#next-free-field: 6] + */ export interface GrpcService__Output { + /** + * Envoy's in-built gRPC client. + * See the :ref:`gRPC services overview ` + * documentation for discussion on gRPC client selection. + */ 'envoy_grpc'?: (_envoy_api_v2_core_GrpcService_EnvoyGrpc__Output); + /** + * `Google C++ gRPC client `_ + * See the :ref:`gRPC services overview ` + * documentation for discussion on gRPC client selection. + */ 'google_grpc'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc__Output); + /** + * The timeout for the gRPC request. This is the timeout for a specific + * request. + */ 'timeout': (_google_protobuf_Duration__Output); + /** + * Additional metadata to include in streams initiated to the GrpcService. + * This can be used for scenarios in which additional ad hoc authorization + * headers (e.g. ``x-foo-bar: baz-key``) are to be injected. + */ 'initial_metadata': (_envoy_api_v2_core_HeaderValue__Output)[]; 'target_specifier': "envoy_grpc"|"google_grpc"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderMap.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderMap.ts index b3fafdc57..3144e668c 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderMap.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderMap.ts @@ -2,10 +2,16 @@ import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from '../../../../envoy/api/v2/core/HeaderValue'; +/** + * Wrapper for a set of headers. + */ export interface HeaderMap { 'headers'?: (_envoy_api_v2_core_HeaderValue)[]; } +/** + * Wrapper for a set of headers. + */ export interface HeaderMap__Output { 'headers': (_envoy_api_v2_core_HeaderValue__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValue.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValue.ts index 4b2e8ac92..b36605324 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValue.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValue.ts @@ -1,12 +1,38 @@ // Original file: deps/envoy-api/envoy/api/v2/core/base.proto +/** + * Header name/value pair. + */ export interface HeaderValue { + /** + * Header name. + */ 'key'?: (string); + /** + * Header value. + * + * The same :ref:`format specifier ` as used for + * :ref:`HTTP access logging ` applies here, however + * unknown header values are replaced with the empty string instead of `-`. + */ 'value'?: (string); } +/** + * Header name/value pair. + */ export interface HeaderValue__Output { + /** + * Header name. + */ 'key': (string); + /** + * Header value. + * + * The same :ref:`format specifier ` as used for + * :ref:`HTTP access logging ` applies here, however + * unknown header values are replaced with the empty string instead of `-`. + */ 'value': (string); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.ts index ac8c4b971..96350736b 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.ts @@ -3,12 +3,32 @@ import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from '../../../../envoy/api/v2/core/HeaderValue'; import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; +/** + * Header name/value pair plus option to control append behavior. + */ export interface HeaderValueOption { + /** + * Header name/value pair that this option applies to. + */ 'header'?: (_envoy_api_v2_core_HeaderValue); + /** + * Should the value be appended? If true (default), the value is appended to + * existing values. + */ 'append'?: (_google_protobuf_BoolValue); } +/** + * Header name/value pair plus option to control append behavior. + */ export interface HeaderValueOption__Output { + /** + * Header name/value pair that this option applies to. + */ 'header': (_envoy_api_v2_core_HeaderValue__Output); + /** + * Should the value be appended? If true (default), the value is appended to + * existing values. + */ 'append': (_google_protobuf_BoolValue__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts index e91ef5dbe..662e73752 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts @@ -12,142 +12,596 @@ import { CodecClientType as _envoy_type_CodecClientType } from '../../../../envo import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../../envoy/type/matcher/StringMatcher'; import { Long } from '@grpc/proto-loader'; +/** + * Custom health check. + */ export interface _envoy_api_v2_core_HealthCheck_CustomHealthCheck { + /** + * The registered name of the custom health checker. + */ 'name'?: (string); 'config'?: (_google_protobuf_Struct); 'typed_config'?: (_google_protobuf_Any); + /** + * A custom health checker specific configuration which depends on the custom health checker + * being instantiated. See :api:`envoy/config/health_checker` for reference. + */ 'config_type'?: "config"|"typed_config"; } +/** + * Custom health check. + */ export interface _envoy_api_v2_core_HealthCheck_CustomHealthCheck__Output { + /** + * The registered name of the custom health checker. + */ 'name': (string); 'config'?: (_google_protobuf_Struct__Output); 'typed_config'?: (_google_protobuf_Any__Output); + /** + * A custom health checker specific configuration which depends on the custom health checker + * being instantiated. See :api:`envoy/config/health_checker` for reference. + */ 'config_type': "config"|"typed_config"; } +/** + * `grpc.health.v1.Health + * `_-based + * healthcheck. See `gRPC doc `_ + * for details. + */ export interface _envoy_api_v2_core_HealthCheck_GrpcHealthCheck { + /** + * An optional service name parameter which will be sent to gRPC service in + * `grpc.health.v1.HealthCheckRequest + * `_. + * message. See `gRPC health-checking overview + * `_ for more information. + */ 'service_name'?: (string); + /** + * The value of the :authority header in the gRPC health check request. If + * left empty (default value), the name of the cluster this health check is associated + * with will be used. The authority header can be customized for a specific endpoint by setting + * the :ref:`hostname ` field. + */ 'authority'?: (string); } +/** + * `grpc.health.v1.Health + * `_-based + * healthcheck. See `gRPC doc `_ + * for details. + */ export interface _envoy_api_v2_core_HealthCheck_GrpcHealthCheck__Output { + /** + * An optional service name parameter which will be sent to gRPC service in + * `grpc.health.v1.HealthCheckRequest + * `_. + * message. See `gRPC health-checking overview + * `_ for more information. + */ 'service_name': (string); + /** + * The value of the :authority header in the gRPC health check request. If + * left empty (default value), the name of the cluster this health check is associated + * with will be used. The authority header can be customized for a specific endpoint by setting + * the :ref:`hostname ` field. + */ 'authority': (string); } +/** + * [#next-free-field: 12] + */ export interface _envoy_api_v2_core_HealthCheck_HttpHealthCheck { + /** + * The value of the host header in the HTTP health check request. If + * left empty (default value), the name of the cluster this health check is associated + * with will be used. The host header can be customized for a specific endpoint by setting the + * :ref:`hostname ` field. + */ 'host'?: (string); + /** + * Specifies the HTTP path that will be requested during health checking. For example + * * /healthcheck*. + */ 'path'?: (string); + /** + * [#not-implemented-hide:] HTTP specific payload. + */ 'send'?: (_envoy_api_v2_core_HealthCheck_Payload); + /** + * [#not-implemented-hide:] HTTP specific response. + */ 'receive'?: (_envoy_api_v2_core_HealthCheck_Payload); + /** + * An optional service name parameter which is used to validate the identity of + * the health checked cluster. See the :ref:`architecture overview + * ` for more information. + * + * .. attention:: + * + * This field has been deprecated in favor of `service_name_matcher` for better flexibility + * over matching with service-cluster name. + */ 'service_name'?: (string); + /** + * Specifies a list of HTTP headers that should be added to each request that is sent to the + * health checked cluster. For more information, including details on header value syntax, see + * the documentation on :ref:`custom request headers + * `. + */ 'request_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + /** + * Specifies a list of HTTP headers that should be removed from each request that is sent to the + * health checked cluster. + */ 'request_headers_to_remove'?: (string)[]; + /** + * If set, health checks will be made using http/2. + * Deprecated, use :ref:`codec_client_type + * ` instead. + */ 'use_http2'?: (boolean); + /** + * Specifies a list of HTTP response statuses considered healthy. If provided, replaces default + * 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open + * semantics of :ref:`Int64Range `. The start and end of each + * range are required. Only statuses in the range [100, 600) are allowed. + */ 'expected_statuses'?: (_envoy_type_Int64Range)[]; + /** + * Use specified application protocol for health checks. + */ 'codec_client_type'?: (_envoy_type_CodecClientType | keyof typeof _envoy_type_CodecClientType); + /** + * An optional service name parameter which is used to validate the identity of + * the health checked cluster using a :ref:`StringMatcher + * `. See the :ref:`architecture overview + * ` for more information. + */ 'service_name_matcher'?: (_envoy_type_matcher_StringMatcher); } +/** + * [#next-free-field: 12] + */ export interface _envoy_api_v2_core_HealthCheck_HttpHealthCheck__Output { + /** + * The value of the host header in the HTTP health check request. If + * left empty (default value), the name of the cluster this health check is associated + * with will be used. The host header can be customized for a specific endpoint by setting the + * :ref:`hostname ` field. + */ 'host': (string); + /** + * Specifies the HTTP path that will be requested during health checking. For example + * * /healthcheck*. + */ 'path': (string); + /** + * [#not-implemented-hide:] HTTP specific payload. + */ 'send': (_envoy_api_v2_core_HealthCheck_Payload__Output); + /** + * [#not-implemented-hide:] HTTP specific response. + */ 'receive': (_envoy_api_v2_core_HealthCheck_Payload__Output); + /** + * An optional service name parameter which is used to validate the identity of + * the health checked cluster. See the :ref:`architecture overview + * ` for more information. + * + * .. attention:: + * + * This field has been deprecated in favor of `service_name_matcher` for better flexibility + * over matching with service-cluster name. + */ 'service_name': (string); + /** + * Specifies a list of HTTP headers that should be added to each request that is sent to the + * health checked cluster. For more information, including details on header value syntax, see + * the documentation on :ref:`custom request headers + * `. + */ 'request_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + /** + * Specifies a list of HTTP headers that should be removed from each request that is sent to the + * health checked cluster. + */ 'request_headers_to_remove': (string)[]; + /** + * If set, health checks will be made using http/2. + * Deprecated, use :ref:`codec_client_type + * ` instead. + */ 'use_http2': (boolean); + /** + * Specifies a list of HTTP response statuses considered healthy. If provided, replaces default + * 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open + * semantics of :ref:`Int64Range `. The start and end of each + * range are required. Only statuses in the range [100, 600) are allowed. + */ 'expected_statuses': (_envoy_type_Int64Range__Output)[]; + /** + * Use specified application protocol for health checks. + */ 'codec_client_type': (keyof typeof _envoy_type_CodecClientType); + /** + * An optional service name parameter which is used to validate the identity of + * the health checked cluster using a :ref:`StringMatcher + * `. See the :ref:`architecture overview + * ` for more information. + */ 'service_name_matcher': (_envoy_type_matcher_StringMatcher__Output); } +/** + * Describes the encoding of the payload bytes in the payload. + */ export interface _envoy_api_v2_core_HealthCheck_Payload { + /** + * Hex encoded payload. E.g., "000000FF". + */ 'text'?: (string); + /** + * [#not-implemented-hide:] Binary payload. + */ 'binary'?: (Buffer | Uint8Array | string); 'payload'?: "text"|"binary"; } +/** + * Describes the encoding of the payload bytes in the payload. + */ export interface _envoy_api_v2_core_HealthCheck_Payload__Output { + /** + * Hex encoded payload. E.g., "000000FF". + */ 'text'?: (string); + /** + * [#not-implemented-hide:] Binary payload. + */ 'binary'?: (Buffer); 'payload': "text"|"binary"; } export interface _envoy_api_v2_core_HealthCheck_RedisHealthCheck { + /** + * If set, optionally perform ``EXISTS `` instead of ``PING``. A return value + * from Redis of 0 (does not exist) is considered a passing healthcheck. A return value other + * than 0 is considered a failure. This allows the user to mark a Redis instance for maintenance + * by setting the specified key to any value and waiting for traffic to drain. + */ 'key'?: (string); } export interface _envoy_api_v2_core_HealthCheck_RedisHealthCheck__Output { + /** + * If set, optionally perform ``EXISTS `` instead of ``PING``. A return value + * from Redis of 0 (does not exist) is considered a passing healthcheck. A return value other + * than 0 is considered a failure. This allows the user to mark a Redis instance for maintenance + * by setting the specified key to any value and waiting for traffic to drain. + */ 'key': (string); } export interface _envoy_api_v2_core_HealthCheck_TcpHealthCheck { + /** + * Empty payloads imply a connect-only health check. + */ 'send'?: (_envoy_api_v2_core_HealthCheck_Payload); + /** + * When checking the response, “fuzzy” matching is performed such that each + * binary block must be found, and in the order specified, but not + * necessarily contiguous. + */ 'receive'?: (_envoy_api_v2_core_HealthCheck_Payload)[]; } export interface _envoy_api_v2_core_HealthCheck_TcpHealthCheck__Output { + /** + * Empty payloads imply a connect-only health check. + */ 'send': (_envoy_api_v2_core_HealthCheck_Payload__Output); + /** + * When checking the response, “fuzzy” matching is performed such that each + * binary block must be found, and in the order specified, but not + * necessarily contiguous. + */ 'receive': (_envoy_api_v2_core_HealthCheck_Payload__Output)[]; } +/** + * Health checks occur over the transport socket specified for the cluster. This implies that if a + * cluster is using a TLS-enabled transport socket, the health check will also occur over TLS. + * + * This allows overriding the cluster TLS settings, just for health check connections. + */ export interface _envoy_api_v2_core_HealthCheck_TlsOptions { + /** + * Specifies the ALPN protocols for health check connections. This is useful if the + * corresponding upstream is using ALPN-based :ref:`FilterChainMatch + * ` along with different protocols for health checks + * versus data connections. If empty, no ALPN protocols will be set on health check connections. + */ 'alpn_protocols'?: (string)[]; } +/** + * Health checks occur over the transport socket specified for the cluster. This implies that if a + * cluster is using a TLS-enabled transport socket, the health check will also occur over TLS. + * + * This allows overriding the cluster TLS settings, just for health check connections. + */ export interface _envoy_api_v2_core_HealthCheck_TlsOptions__Output { + /** + * Specifies the ALPN protocols for health check connections. This is useful if the + * corresponding upstream is using ALPN-based :ref:`FilterChainMatch + * ` along with different protocols for health checks + * versus data connections. If empty, no ALPN protocols will be set on health check connections. + */ 'alpn_protocols': (string)[]; } +/** + * [#next-free-field: 23] + */ export interface HealthCheck { + /** + * The time to wait for a health check response. If the timeout is reached the + * health check attempt will be considered a failure. + */ 'timeout'?: (_google_protobuf_Duration); + /** + * The interval between health checks. + */ 'interval'?: (_google_protobuf_Duration); + /** + * An optional jitter amount in milliseconds. If specified, during every + * interval Envoy will add interval_jitter to the wait time. + */ 'interval_jitter'?: (_google_protobuf_Duration); + /** + * The number of unhealthy health checks required before a host is marked + * unhealthy. Note that for *http* health checking if a host responds with 503 + * this threshold is ignored and the host is considered unhealthy immediately. + */ 'unhealthy_threshold'?: (_google_protobuf_UInt32Value); + /** + * The number of healthy health checks required before a host is marked + * healthy. Note that during startup, only a single successful health check is + * required to mark a host healthy. + */ 'healthy_threshold'?: (_google_protobuf_UInt32Value); + /** + * [#not-implemented-hide:] Non-serving port for health checking. + */ 'alt_port'?: (_google_protobuf_UInt32Value); + /** + * Reuse health check connection between health checks. Default is true. + */ 'reuse_connection'?: (_google_protobuf_BoolValue); + /** + * HTTP health check. + */ 'http_health_check'?: (_envoy_api_v2_core_HealthCheck_HttpHealthCheck); + /** + * TCP health check. + */ 'tcp_health_check'?: (_envoy_api_v2_core_HealthCheck_TcpHealthCheck); + /** + * gRPC health check. + */ 'grpc_health_check'?: (_envoy_api_v2_core_HealthCheck_GrpcHealthCheck); + /** + * The "no traffic interval" is a special health check interval that is used when a cluster has + * never had traffic routed to it. This lower interval allows cluster information to be kept up to + * date, without sending a potentially large amount of active health checking traffic for no + * reason. Once a cluster has been used for traffic routing, Envoy will shift back to using the + * standard health check interval that is defined. Note that this interval takes precedence over + * any other. + * + * The default value for "no traffic interval" is 60 seconds. + */ 'no_traffic_interval'?: (_google_protobuf_Duration); + /** + * Custom health check. + */ 'custom_health_check'?: (_envoy_api_v2_core_HealthCheck_CustomHealthCheck); + /** + * The "unhealthy interval" is a health check interval that is used for hosts that are marked as + * unhealthy. As soon as the host is marked as healthy, Envoy will shift back to using the + * standard health check interval that is defined. + * + * The default value for "unhealthy interval" is the same as "interval". + */ 'unhealthy_interval'?: (_google_protobuf_Duration); + /** + * The "unhealthy edge interval" is a special health check interval that is used for the first + * health check right after a host is marked as unhealthy. For subsequent health checks + * Envoy will shift back to using either "unhealthy interval" if present or the standard health + * check interval that is defined. + * + * The default value for "unhealthy edge interval" is the same as "unhealthy interval". + */ 'unhealthy_edge_interval'?: (_google_protobuf_Duration); + /** + * The "healthy edge interval" is a special health check interval that is used for the first + * health check right after a host is marked as healthy. For subsequent health checks + * Envoy will shift back to using the standard health check interval that is defined. + * + * The default value for "healthy edge interval" is the same as the default interval. + */ 'healthy_edge_interval'?: (_google_protobuf_Duration); + /** + * Specifies the path to the :ref:`health check event log `. + * If empty, no event log will be written. + */ 'event_log_path'?: (string); + /** + * An optional jitter amount as a percentage of interval_ms. If specified, + * during every interval Envoy will add interval_ms * + * interval_jitter_percent / 100 to the wait time. + * + * If interval_jitter_ms and interval_jitter_percent are both set, both of + * them will be used to increase the wait time. + */ 'interval_jitter_percent'?: (number); + /** + * If set to true, health check failure events will always be logged. If set to false, only the + * initial health check failure event will be logged. + * The default value is false. + */ 'always_log_health_check_failures'?: (boolean); + /** + * An optional jitter amount in milliseconds. If specified, Envoy will start health + * checking after for a random time in ms between 0 and initial_jitter. This only + * applies to the first health check. + */ 'initial_jitter'?: (_google_protobuf_Duration); + /** + * This allows overriding the cluster TLS settings, just for health check connections. + */ 'tls_options'?: (_envoy_api_v2_core_HealthCheck_TlsOptions); + /** + * [#not-implemented-hide:] + * The gRPC service for the health check event service. + * If empty, health check events won't be sent to a remote endpoint. + */ 'event_service'?: (_envoy_api_v2_core_EventServiceConfig); 'health_checker'?: "http_health_check"|"tcp_health_check"|"grpc_health_check"|"custom_health_check"; } +/** + * [#next-free-field: 23] + */ export interface HealthCheck__Output { + /** + * The time to wait for a health check response. If the timeout is reached the + * health check attempt will be considered a failure. + */ 'timeout': (_google_protobuf_Duration__Output); + /** + * The interval between health checks. + */ 'interval': (_google_protobuf_Duration__Output); + /** + * An optional jitter amount in milliseconds. If specified, during every + * interval Envoy will add interval_jitter to the wait time. + */ 'interval_jitter': (_google_protobuf_Duration__Output); + /** + * The number of unhealthy health checks required before a host is marked + * unhealthy. Note that for *http* health checking if a host responds with 503 + * this threshold is ignored and the host is considered unhealthy immediately. + */ 'unhealthy_threshold': (_google_protobuf_UInt32Value__Output); + /** + * The number of healthy health checks required before a host is marked + * healthy. Note that during startup, only a single successful health check is + * required to mark a host healthy. + */ 'healthy_threshold': (_google_protobuf_UInt32Value__Output); + /** + * [#not-implemented-hide:] Non-serving port for health checking. + */ 'alt_port': (_google_protobuf_UInt32Value__Output); + /** + * Reuse health check connection between health checks. Default is true. + */ 'reuse_connection': (_google_protobuf_BoolValue__Output); + /** + * HTTP health check. + */ 'http_health_check'?: (_envoy_api_v2_core_HealthCheck_HttpHealthCheck__Output); + /** + * TCP health check. + */ 'tcp_health_check'?: (_envoy_api_v2_core_HealthCheck_TcpHealthCheck__Output); + /** + * gRPC health check. + */ 'grpc_health_check'?: (_envoy_api_v2_core_HealthCheck_GrpcHealthCheck__Output); + /** + * The "no traffic interval" is a special health check interval that is used when a cluster has + * never had traffic routed to it. This lower interval allows cluster information to be kept up to + * date, without sending a potentially large amount of active health checking traffic for no + * reason. Once a cluster has been used for traffic routing, Envoy will shift back to using the + * standard health check interval that is defined. Note that this interval takes precedence over + * any other. + * + * The default value for "no traffic interval" is 60 seconds. + */ 'no_traffic_interval': (_google_protobuf_Duration__Output); + /** + * Custom health check. + */ 'custom_health_check'?: (_envoy_api_v2_core_HealthCheck_CustomHealthCheck__Output); + /** + * The "unhealthy interval" is a health check interval that is used for hosts that are marked as + * unhealthy. As soon as the host is marked as healthy, Envoy will shift back to using the + * standard health check interval that is defined. + * + * The default value for "unhealthy interval" is the same as "interval". + */ 'unhealthy_interval': (_google_protobuf_Duration__Output); + /** + * The "unhealthy edge interval" is a special health check interval that is used for the first + * health check right after a host is marked as unhealthy. For subsequent health checks + * Envoy will shift back to using either "unhealthy interval" if present or the standard health + * check interval that is defined. + * + * The default value for "unhealthy edge interval" is the same as "unhealthy interval". + */ 'unhealthy_edge_interval': (_google_protobuf_Duration__Output); + /** + * The "healthy edge interval" is a special health check interval that is used for the first + * health check right after a host is marked as healthy. For subsequent health checks + * Envoy will shift back to using the standard health check interval that is defined. + * + * The default value for "healthy edge interval" is the same as the default interval. + */ 'healthy_edge_interval': (_google_protobuf_Duration__Output); + /** + * Specifies the path to the :ref:`health check event log `. + * If empty, no event log will be written. + */ 'event_log_path': (string); + /** + * An optional jitter amount as a percentage of interval_ms. If specified, + * during every interval Envoy will add interval_ms * + * interval_jitter_percent / 100 to the wait time. + * + * If interval_jitter_ms and interval_jitter_percent are both set, both of + * them will be used to increase the wait time. + */ 'interval_jitter_percent': (number); + /** + * If set to true, health check failure events will always be logged. If set to false, only the + * initial health check failure event will be logged. + * The default value is false. + */ 'always_log_health_check_failures': (boolean); + /** + * An optional jitter amount in milliseconds. If specified, Envoy will start health + * checking after for a random time in ms between 0 and initial_jitter. This only + * applies to the first health check. + */ 'initial_jitter': (_google_protobuf_Duration__Output); + /** + * This allows overriding the cluster TLS settings, just for health check connections. + */ 'tls_options': (_envoy_api_v2_core_HealthCheck_TlsOptions__Output); + /** + * [#not-implemented-hide:] + * The gRPC service for the health check event service. + * If empty, health check events won't be sent to a remote endpoint. + */ 'event_service': (_envoy_api_v2_core_EventServiceConfig__Output); 'health_checker': "http_health_check"|"tcp_health_check"|"grpc_health_check"|"custom_health_check"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthStatus.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthStatus.ts index a92dde214..e1d572fa4 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthStatus.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthStatus.ts @@ -1,10 +1,36 @@ // Original file: deps/envoy-api/envoy/api/v2/core/health_check.proto +/** + * Endpoint health status. + */ export enum HealthStatus { + /** + * The health status is not known. This is interpreted by Envoy as *HEALTHY*. + */ UNKNOWN = 0, + /** + * Healthy. + */ HEALTHY = 1, + /** + * Unhealthy. + */ UNHEALTHY = 2, + /** + * Connection draining in progress. E.g., + * ``_ + * or + * ``_. + * This is interpreted by Envoy as *UNHEALTHY*. + */ DRAINING = 3, + /** + * Health check timed out. This is part of HDS and is interpreted by Envoy as + * *UNHEALTHY*. + */ TIMEOUT = 4, + /** + * Degraded. + */ DEGRADED = 5, } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.ts index 566497ce3..13abc9ec4 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.ts @@ -3,11 +3,25 @@ import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; export interface _envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat { + /** + * Formats the header by proper casing words: the first character and any character following + * a special character will be capitalized if it's an alpha character. For example, + * "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". + * Note that while this results in most headers following conventional casing, certain headers + * are not covered. For example, the "TE" header will be formatted as "Te". + */ 'proper_case_words'?: (_envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords); 'header_format'?: "proper_case_words"; } export interface _envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat__Output { + /** + * Formats the header by proper casing words: the first character and any character following + * a special character will be capitalized if it's an alpha character. For example, + * "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". + * Note that while this results in most headers following conventional casing, certain headers + * are not covered. For example, the "TE" header will be formatted as "Te". + */ 'proper_case_words'?: (_envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords__Output); 'header_format': "proper_case_words"; } @@ -18,18 +32,88 @@ export interface _envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_ProperC export interface _envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords__Output { } +/** + * [#next-free-field: 6] + */ export interface Http1ProtocolOptions { + /** + * Handle HTTP requests with absolute URLs in the requests. These requests + * are generally sent by clients to forward/explicit proxies. This allows clients to configure + * envoy as their HTTP proxy. In Unix, for example, this is typically done by setting the + * *http_proxy* environment variable. + */ 'allow_absolute_url'?: (_google_protobuf_BoolValue); + /** + * Handle incoming HTTP/1.0 and HTTP 0.9 requests. + * This is off by default, and not fully standards compliant. There is support for pre-HTTP/1.1 + * style connect logic, dechunking, and handling lack of client host iff + * *default_host_for_http_10* is configured. + */ 'accept_http_10'?: (boolean); + /** + * A default host for HTTP/1.0 requests. This is highly suggested if *accept_http_10* is true as + * Envoy does not otherwise support HTTP/1.0 without a Host header. + * This is a no-op if *accept_http_10* is not true. + */ 'default_host_for_http_10'?: (string); + /** + * Describes how the keys for response headers should be formatted. By default, all header keys + * are lower cased. + */ 'header_key_format'?: (_envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat); + /** + * Enables trailers for HTTP/1. By default the HTTP/1 codec drops proxied trailers. + * + * .. attention:: + * + * Note that this only happens when Envoy is chunk encoding which occurs when: + * - The request is HTTP/1.1. + * - Is neither a HEAD only request nor a HTTP Upgrade. + * - Not a response to a HEAD request. + * - The content length header is not present. + */ 'enable_trailers'?: (boolean); } +/** + * [#next-free-field: 6] + */ export interface Http1ProtocolOptions__Output { + /** + * Handle HTTP requests with absolute URLs in the requests. These requests + * are generally sent by clients to forward/explicit proxies. This allows clients to configure + * envoy as their HTTP proxy. In Unix, for example, this is typically done by setting the + * *http_proxy* environment variable. + */ 'allow_absolute_url': (_google_protobuf_BoolValue__Output); + /** + * Handle incoming HTTP/1.0 and HTTP 0.9 requests. + * This is off by default, and not fully standards compliant. There is support for pre-HTTP/1.1 + * style connect logic, dechunking, and handling lack of client host iff + * *default_host_for_http_10* is configured. + */ 'accept_http_10': (boolean); + /** + * A default host for HTTP/1.0 requests. This is highly suggested if *accept_http_10* is true as + * Envoy does not otherwise support HTTP/1.0 without a Host header. + * This is a no-op if *accept_http_10* is not true. + */ 'default_host_for_http_10': (string); + /** + * Describes how the keys for response headers should be formatted. By default, all header keys + * are lower cased. + */ 'header_key_format': (_envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat__Output); + /** + * Enables trailers for HTTP/1. By default the HTTP/1 codec drops proxied trailers. + * + * .. attention:: + * + * Note that this only happens when Envoy is chunk encoding which occurs when: + * - The request is HTTP/1.1. + * - Is neither a HEAD only request nor a HTTP Upgrade. + * - Not a response to a HEAD request. + * - The content length header is not present. + */ 'enable_trailers': (boolean); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.ts index 69d62ff81..97208657d 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.ts @@ -2,44 +2,324 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +/** + * Defines a parameter to be sent in the SETTINGS frame. + * See `RFC7540, sec. 6.5.1 `_ for details. + */ export interface _envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter { + /** + * The 16 bit parameter identifier. + */ 'identifier'?: (_google_protobuf_UInt32Value); + /** + * The 32 bit parameter value. + */ 'value'?: (_google_protobuf_UInt32Value); } +/** + * Defines a parameter to be sent in the SETTINGS frame. + * See `RFC7540, sec. 6.5.1 `_ for details. + */ export interface _envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter__Output { + /** + * The 16 bit parameter identifier. + */ 'identifier': (_google_protobuf_UInt32Value__Output); + /** + * The 32 bit parameter value. + */ 'value': (_google_protobuf_UInt32Value__Output); } +/** + * [#next-free-field: 14] + */ export interface Http2ProtocolOptions { + /** + * `Maximum table size `_ + * (in octets) that the encoder is permitted to use for the dynamic HPACK table. Valid values + * range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header + * compression. + */ 'hpack_table_size'?: (_google_protobuf_UInt32Value); + /** + * `Maximum concurrent streams `_ + * allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1) + * and defaults to 2147483647. + * + * For upstream connections, this also limits how many streams Envoy will initiate concurrently + * on a single connection. If the limit is reached, Envoy may queue requests or establish + * additional connections (as allowed per circuit breaker limits). + */ 'max_concurrent_streams'?: (_google_protobuf_UInt32Value); + /** + * `Initial stream-level flow-control window + * `_ size. Valid values range from 65535 + * (2^16 - 1, HTTP/2 default) to 2147483647 (2^31 - 1, HTTP/2 maximum) and defaults to 268435456 + * (256 * 1024 * 1024). + * + * NOTE: 65535 is the initial window size from HTTP/2 spec. We only support increasing the default + * window size now, so it's also the minimum. + * + * This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the + * HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to + * stop the flow of data to the codec buffers. + */ 'initial_stream_window_size'?: (_google_protobuf_UInt32Value); + /** + * Similar to *initial_stream_window_size*, but for connection-level flow-control + * window. Currently, this has the same minimum/maximum/default as *initial_stream_window_size*. + */ 'initial_connection_window_size'?: (_google_protobuf_UInt32Value); + /** + * Allows proxying Websocket and other upgrades over H2 connect. + */ 'allow_connect'?: (boolean); + /** + * [#not-implemented-hide:] Hiding until envoy has full metadata support. + * Still under implementation. DO NOT USE. + * + * Allows metadata. See [metadata + * docs](https://github.com/envoyproxy/envoy/blob/master/source/docs/h2_metadata.md) for more + * information. + */ 'allow_metadata'?: (boolean); + /** + * Limit the number of pending outbound downstream frames of all types (frames that are waiting to + * be written into the socket). Exceeding this limit triggers flood mitigation and connection is + * terminated. The ``http2.outbound_flood`` stat tracks the number of terminated connections due + * to flood mitigation. The default limit is 10000. + * [#comment:TODO: implement same limits for upstream outbound frames as well.] + */ 'max_outbound_frames'?: (_google_protobuf_UInt32Value); + /** + * Limit the number of pending outbound downstream frames of types PING, SETTINGS and RST_STREAM, + * preventing high memory utilization when receiving continuous stream of these frames. Exceeding + * this limit triggers flood mitigation and connection is terminated. The + * ``http2.outbound_control_flood`` stat tracks the number of terminated connections due to flood + * mitigation. The default limit is 1000. + * [#comment:TODO: implement same limits for upstream outbound frames as well.] + */ 'max_outbound_control_frames'?: (_google_protobuf_UInt32Value); + /** + * Limit the number of consecutive inbound frames of types HEADERS, CONTINUATION and DATA with an + * empty payload and no end stream flag. Those frames have no legitimate use and are abusive, but + * might be a result of a broken HTTP/2 implementation. The `http2.inbound_empty_frames_flood`` + * stat tracks the number of connections terminated due to flood mitigation. + * Setting this to 0 will terminate connection upon receiving first frame with an empty payload + * and no end stream flag. The default limit is 1. + * [#comment:TODO: implement same limits for upstream inbound frames as well.] + */ 'max_consecutive_inbound_frames_with_empty_payload'?: (_google_protobuf_UInt32Value); + /** + * Limit the number of inbound PRIORITY frames allowed per each opened stream. If the number + * of PRIORITY frames received over the lifetime of connection exceeds the value calculated + * using this formula:: + * + * max_inbound_priority_frames_per_stream * (1 + inbound_streams) + * + * the connection is terminated. The ``http2.inbound_priority_frames_flood`` stat tracks + * the number of connections terminated due to flood mitigation. The default limit is 100. + * [#comment:TODO: implement same limits for upstream inbound frames as well.] + */ 'max_inbound_priority_frames_per_stream'?: (_google_protobuf_UInt32Value); + /** + * Limit the number of inbound WINDOW_UPDATE frames allowed per DATA frame sent. If the number + * of WINDOW_UPDATE frames received over the lifetime of connection exceeds the value calculated + * using this formula:: + * + * 1 + 2 * (inbound_streams + + * max_inbound_window_update_frames_per_data_frame_sent * outbound_data_frames) + * + * the connection is terminated. The ``http2.inbound_priority_frames_flood`` stat tracks + * the number of connections terminated due to flood mitigation. The default limit is 10. + * Setting this to 1 should be enough to support HTTP/2 implementations with basic flow control, + * but more complex implementations that try to estimate available bandwidth require at least 2. + * [#comment:TODO: implement same limits for upstream inbound frames as well.] + */ 'max_inbound_window_update_frames_per_data_frame_sent'?: (_google_protobuf_UInt32Value); + /** + * Allows invalid HTTP messaging and headers. When this option is disabled (default), then + * the whole HTTP/2 connection is terminated upon receiving invalid HEADERS frame. However, + * when this option is enabled, only the offending stream is terminated. + * + * See `RFC7540, sec. 8.1 `_ for details. + */ 'stream_error_on_invalid_http_messaging'?: (boolean); + /** + * [#not-implemented-hide:] + * Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions: + * + * 1. SETTINGS_ENABLE_PUSH (0x2) is not configurable as HTTP/2 server push is not supported by + * Envoy. + * + * 2. SETTINGS_ENABLE_CONNECT_PROTOCOL (0x8) is only configurable through the named field + * 'allow_connect'. + * + * Note that custom parameters specified through this field can not also be set in the + * corresponding named parameters: + * + * .. code-block:: text + * + * ID Field Name + * ---------------- + * 0x1 hpack_table_size + * 0x3 max_concurrent_streams + * 0x4 initial_stream_window_size + * + * Collisions will trigger config validation failure on load/update. Likewise, inconsistencies + * between custom parameters with the same identifier will trigger a failure. + * + * See `IANA HTTP/2 Settings + * `_ for + * standardized identifiers. + */ 'custom_settings_parameters'?: (_envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter)[]; } +/** + * [#next-free-field: 14] + */ export interface Http2ProtocolOptions__Output { + /** + * `Maximum table size `_ + * (in octets) that the encoder is permitted to use for the dynamic HPACK table. Valid values + * range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header + * compression. + */ 'hpack_table_size': (_google_protobuf_UInt32Value__Output); + /** + * `Maximum concurrent streams `_ + * allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1) + * and defaults to 2147483647. + * + * For upstream connections, this also limits how many streams Envoy will initiate concurrently + * on a single connection. If the limit is reached, Envoy may queue requests or establish + * additional connections (as allowed per circuit breaker limits). + */ 'max_concurrent_streams': (_google_protobuf_UInt32Value__Output); + /** + * `Initial stream-level flow-control window + * `_ size. Valid values range from 65535 + * (2^16 - 1, HTTP/2 default) to 2147483647 (2^31 - 1, HTTP/2 maximum) and defaults to 268435456 + * (256 * 1024 * 1024). + * + * NOTE: 65535 is the initial window size from HTTP/2 spec. We only support increasing the default + * window size now, so it's also the minimum. + * + * This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the + * HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to + * stop the flow of data to the codec buffers. + */ 'initial_stream_window_size': (_google_protobuf_UInt32Value__Output); + /** + * Similar to *initial_stream_window_size*, but for connection-level flow-control + * window. Currently, this has the same minimum/maximum/default as *initial_stream_window_size*. + */ 'initial_connection_window_size': (_google_protobuf_UInt32Value__Output); + /** + * Allows proxying Websocket and other upgrades over H2 connect. + */ 'allow_connect': (boolean); + /** + * [#not-implemented-hide:] Hiding until envoy has full metadata support. + * Still under implementation. DO NOT USE. + * + * Allows metadata. See [metadata + * docs](https://github.com/envoyproxy/envoy/blob/master/source/docs/h2_metadata.md) for more + * information. + */ 'allow_metadata': (boolean); + /** + * Limit the number of pending outbound downstream frames of all types (frames that are waiting to + * be written into the socket). Exceeding this limit triggers flood mitigation and connection is + * terminated. The ``http2.outbound_flood`` stat tracks the number of terminated connections due + * to flood mitigation. The default limit is 10000. + * [#comment:TODO: implement same limits for upstream outbound frames as well.] + */ 'max_outbound_frames': (_google_protobuf_UInt32Value__Output); + /** + * Limit the number of pending outbound downstream frames of types PING, SETTINGS and RST_STREAM, + * preventing high memory utilization when receiving continuous stream of these frames. Exceeding + * this limit triggers flood mitigation and connection is terminated. The + * ``http2.outbound_control_flood`` stat tracks the number of terminated connections due to flood + * mitigation. The default limit is 1000. + * [#comment:TODO: implement same limits for upstream outbound frames as well.] + */ 'max_outbound_control_frames': (_google_protobuf_UInt32Value__Output); + /** + * Limit the number of consecutive inbound frames of types HEADERS, CONTINUATION and DATA with an + * empty payload and no end stream flag. Those frames have no legitimate use and are abusive, but + * might be a result of a broken HTTP/2 implementation. The `http2.inbound_empty_frames_flood`` + * stat tracks the number of connections terminated due to flood mitigation. + * Setting this to 0 will terminate connection upon receiving first frame with an empty payload + * and no end stream flag. The default limit is 1. + * [#comment:TODO: implement same limits for upstream inbound frames as well.] + */ 'max_consecutive_inbound_frames_with_empty_payload': (_google_protobuf_UInt32Value__Output); + /** + * Limit the number of inbound PRIORITY frames allowed per each opened stream. If the number + * of PRIORITY frames received over the lifetime of connection exceeds the value calculated + * using this formula:: + * + * max_inbound_priority_frames_per_stream * (1 + inbound_streams) + * + * the connection is terminated. The ``http2.inbound_priority_frames_flood`` stat tracks + * the number of connections terminated due to flood mitigation. The default limit is 100. + * [#comment:TODO: implement same limits for upstream inbound frames as well.] + */ 'max_inbound_priority_frames_per_stream': (_google_protobuf_UInt32Value__Output); + /** + * Limit the number of inbound WINDOW_UPDATE frames allowed per DATA frame sent. If the number + * of WINDOW_UPDATE frames received over the lifetime of connection exceeds the value calculated + * using this formula:: + * + * 1 + 2 * (inbound_streams + + * max_inbound_window_update_frames_per_data_frame_sent * outbound_data_frames) + * + * the connection is terminated. The ``http2.inbound_priority_frames_flood`` stat tracks + * the number of connections terminated due to flood mitigation. The default limit is 10. + * Setting this to 1 should be enough to support HTTP/2 implementations with basic flow control, + * but more complex implementations that try to estimate available bandwidth require at least 2. + * [#comment:TODO: implement same limits for upstream inbound frames as well.] + */ 'max_inbound_window_update_frames_per_data_frame_sent': (_google_protobuf_UInt32Value__Output); + /** + * Allows invalid HTTP messaging and headers. When this option is disabled (default), then + * the whole HTTP/2 connection is terminated upon receiving invalid HEADERS frame. However, + * when this option is enabled, only the offending stream is terminated. + * + * See `RFC7540, sec. 8.1 `_ for details. + */ 'stream_error_on_invalid_http_messaging': (boolean); + /** + * [#not-implemented-hide:] + * Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions: + * + * 1. SETTINGS_ENABLE_PUSH (0x2) is not configurable as HTTP/2 server push is not supported by + * Envoy. + * + * 2. SETTINGS_ENABLE_CONNECT_PROTOCOL (0x8) is only configurable through the named field + * 'allow_connect'. + * + * Note that custom parameters specified through this field can not also be set in the + * corresponding named parameters: + * + * .. code-block:: text + * + * ID Field Name + * ---------------- + * 0x1 hpack_table_size + * 0x3 max_concurrent_streams + * 0x4 initial_stream_window_size + * + * Collisions will trigger config validation failure on load/update. Likewise, inconsistencies + * between custom parameters with the same identifier will trigger a failure. + * + * See `IANA HTTP/2 Settings + * `_ for + * standardized identifiers. + */ 'custom_settings_parameters': (_envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts index 559140a1f..026e236e7 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts @@ -5,24 +5,122 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _go // Original file: deps/envoy-api/envoy/api/v2/core/protocol.proto +/** + * Action to take when Envoy receives client request with header names containing underscore + * characters. + * Underscore character is allowed in header names by the RFC-7230 and this behavior is implemented + * as a security measure due to systems that treat '_' and '-' as interchangeable. Envoy by default allows client request headers with underscore + * characters. + */ export enum _envoy_api_v2_core_HttpProtocolOptions_HeadersWithUnderscoresAction { + /** + * Allow headers with underscores. This is the default behavior. + */ ALLOW = 0, + /** + * Reject client request. HTTP/1 requests are rejected with the 400 status. HTTP/2 requests + * end with the stream reset. The "httpN.requests_rejected_with_underscores_in_headers" counter + * is incremented for each rejected request. + */ REJECT_REQUEST = 1, + /** + * Drop the header with name containing underscores. The header is dropped before the filter chain is + * invoked and as such filters will not see dropped headers. The + * "httpN.dropped_headers_with_underscores" is incremented for each dropped header. + */ DROP_HEADER = 2, } +/** + * [#next-free-field: 6] + */ export interface HttpProtocolOptions { + /** + * The idle timeout for connections. The idle timeout is defined as the + * period in which there are no active requests. When the + * idle timeout is reached the connection will be closed. If the connection is an HTTP/2 + * downstream connection a drain sequence will occur prior to closing the connection, see + * :ref:`drain_timeout + * `. + * Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. + * If not specified, this defaults to 1 hour. To disable idle timeouts explicitly set this to 0. + * + * .. warning:: + * Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP + * FIN packets, etc. + */ 'idle_timeout'?: (_google_protobuf_Duration); + /** + * The maximum number of headers. If unconfigured, the default + * maximum number of request headers allowed is 100. Requests that exceed this limit will receive + * a 431 response for HTTP/1.x and cause a stream reset for HTTP/2. + */ 'max_headers_count'?: (_google_protobuf_UInt32Value); + /** + * The maximum duration of a connection. The duration is defined as a period since a connection + * was established. If not set, there is no max duration. When max_connection_duration is reached + * the connection will be closed. Drain sequence will occur prior to closing the connection if + * if's applicable. See :ref:`drain_timeout + * `. + * Note: not implemented for upstream connections. + */ 'max_connection_duration'?: (_google_protobuf_Duration); + /** + * Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be + * reset independent of any other timeouts. If not specified, this value is not set. + */ 'max_stream_duration'?: (_google_protobuf_Duration); + /** + * Action to take when a client request with a header name containing underscore characters is received. + * If this setting is not specified, the value defaults to ALLOW. + * Note: upstream responses are not affected by this setting. + */ 'headers_with_underscores_action'?: (_envoy_api_v2_core_HttpProtocolOptions_HeadersWithUnderscoresAction | keyof typeof _envoy_api_v2_core_HttpProtocolOptions_HeadersWithUnderscoresAction); } +/** + * [#next-free-field: 6] + */ export interface HttpProtocolOptions__Output { + /** + * The idle timeout for connections. The idle timeout is defined as the + * period in which there are no active requests. When the + * idle timeout is reached the connection will be closed. If the connection is an HTTP/2 + * downstream connection a drain sequence will occur prior to closing the connection, see + * :ref:`drain_timeout + * `. + * Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. + * If not specified, this defaults to 1 hour. To disable idle timeouts explicitly set this to 0. + * + * .. warning:: + * Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP + * FIN packets, etc. + */ 'idle_timeout': (_google_protobuf_Duration__Output); + /** + * The maximum number of headers. If unconfigured, the default + * maximum number of request headers allowed is 100. Requests that exceed this limit will receive + * a 431 response for HTTP/1.x and cause a stream reset for HTTP/2. + */ 'max_headers_count': (_google_protobuf_UInt32Value__Output); + /** + * The maximum duration of a connection. The duration is defined as a period since a connection + * was established. If not set, there is no max duration. When max_connection_duration is reached + * the connection will be closed. Drain sequence will occur prior to closing the connection if + * if's applicable. See :ref:`drain_timeout + * `. + * Note: not implemented for upstream connections. + */ 'max_connection_duration': (_google_protobuf_Duration__Output); + /** + * Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be + * reset independent of any other timeouts. If not specified, this value is not set. + */ 'max_stream_duration': (_google_protobuf_Duration__Output); + /** + * Action to take when a client request with a header name containing underscore characters is received. + * If this setting is not specified, the value defaults to ALLOW. + * Note: upstream responses are not affected by this setting. + */ 'headers_with_underscores_action': (keyof typeof _envoy_api_v2_core_HttpProtocolOptions_HeadersWithUnderscoresAction); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.ts index 4e0b1f86f..998f8816c 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.ts @@ -2,16 +2,78 @@ import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; +/** + * Envoy external URI descriptor + */ export interface HttpUri { + /** + * The HTTP server URI. It should be a full FQDN with protocol, host and path. + * + * Example: + * + * .. code-block:: yaml + * + * uri: https://www.googleapis.com/oauth2/v1/certs + */ 'uri'?: (string); + /** + * A cluster is created in the Envoy "cluster_manager" config + * section. This field specifies the cluster name. + * + * Example: + * + * .. code-block:: yaml + * + * cluster: jwks_cluster + */ 'cluster'?: (string); + /** + * Sets the maximum duration in milliseconds that a response can take to arrive upon request. + */ 'timeout'?: (_google_protobuf_Duration); + /** + * Specify how `uri` is to be fetched. Today, this requires an explicit + * cluster, but in the future we may support dynamic cluster creation or + * inline DNS resolution. See `issue + * `_. + */ 'http_upstream_type'?: "cluster"; } +/** + * Envoy external URI descriptor + */ export interface HttpUri__Output { + /** + * The HTTP server URI. It should be a full FQDN with protocol, host and path. + * + * Example: + * + * .. code-block:: yaml + * + * uri: https://www.googleapis.com/oauth2/v1/certs + */ 'uri': (string); + /** + * A cluster is created in the Envoy "cluster_manager" config + * section. This field specifies the cluster name. + * + * Example: + * + * .. code-block:: yaml + * + * cluster: jwks_cluster + */ 'cluster'?: (string); + /** + * Sets the maximum duration in milliseconds that a response can take to arrive upon request. + */ 'timeout': (_google_protobuf_Duration__Output); + /** + * Specify how `uri` is to be fetched. Today, this requires an explicit + * cluster, but in the future we may support dynamic cluster creation or + * inline DNS resolution. See `issue + * `_. + */ 'http_upstream_type': "cluster"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Locality.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Locality.ts index c17f07413..49fb232a4 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/Locality.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Locality.ts @@ -1,14 +1,56 @@ // Original file: deps/envoy-api/envoy/api/v2/core/base.proto +/** + * Identifies location of where either Envoy runs or where upstream hosts run. + */ export interface Locality { + /** + * Region this :ref:`zone ` belongs to. + */ 'region'?: (string); + /** + * Defines the local service zone where Envoy is running. Though optional, it + * should be set if discovery service routing is used and the discovery + * service exposes :ref:`zone data `, + * either in this message or via :option:`--service-zone`. The meaning of zone + * is context dependent, e.g. `Availability Zone (AZ) + * `_ + * on AWS, `Zone `_ on + * GCP, etc. + */ 'zone'?: (string); + /** + * When used for locality of upstream hosts, this field further splits zone + * into smaller chunks of sub-zones so they can be load balanced + * independently. + */ 'sub_zone'?: (string); } +/** + * Identifies location of where either Envoy runs or where upstream hosts run. + */ export interface Locality__Output { + /** + * Region this :ref:`zone ` belongs to. + */ 'region': (string); + /** + * Defines the local service zone where Envoy is running. Though optional, it + * should be set if discovery service routing is used and the discovery + * service exposes :ref:`zone data `, + * either in this message or via :option:`--service-zone`. The meaning of zone + * is context dependent, e.g. `Availability Zone (AZ) + * `_ + * on AWS, `Zone `_ on + * GCP, etc. + */ 'zone': (string); + /** + * When used for locality of upstream hosts, this field further splits zone + * into smaller chunks of sub-zones so they can be load balanced + * independently. + */ 'sub_zone': (string); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.ts index dfc0406d9..1774252e5 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.ts @@ -2,10 +2,66 @@ import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +/** + * Metadata provides additional inputs to filters based on matched listeners, + * filter chains, routes and endpoints. It is structured as a map, usually from + * filter name (in reverse DNS format) to metadata specific to the filter. Metadata + * key-values for a filter are merged as connection and request handling occurs, + * with later values for the same key overriding earlier values. + * + * An example use of metadata is providing additional values to + * http_connection_manager in the envoy.http_connection_manager.access_log + * namespace. + * + * Another example use of metadata is to per service config info in cluster metadata, which may get + * consumed by multiple filters. + * + * For load balancing, Metadata provides a means to subset cluster endpoints. + * Endpoints have a Metadata object associated and routes contain a Metadata + * object to match against. There are some well defined metadata used today for + * this purpose: + * + * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an + * endpoint and is also used during header processing + * (x-envoy-upstream-canary) and for stats purposes. + * [#next-major-version: move to type/metadata/v2] + */ export interface Metadata { + /** + * Key is the reverse DNS filter name, e.g. com.acme.widget. The envoy.* + * namespace is reserved for Envoy's built-in filters. + */ 'filter_metadata'?: (_google_protobuf_Struct); } +/** + * Metadata provides additional inputs to filters based on matched listeners, + * filter chains, routes and endpoints. It is structured as a map, usually from + * filter name (in reverse DNS format) to metadata specific to the filter. Metadata + * key-values for a filter are merged as connection and request handling occurs, + * with later values for the same key overriding earlier values. + * + * An example use of metadata is providing additional values to + * http_connection_manager in the envoy.http_connection_manager.access_log + * namespace. + * + * Another example use of metadata is to per service config info in cluster metadata, which may get + * consumed by multiple filters. + * + * For load balancing, Metadata provides a means to subset cluster endpoints. + * Endpoints have a Metadata object associated and routes contain a Metadata + * object to match against. There are some well defined metadata used today for + * this purpose: + * + * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an + * endpoint and is also used during header processing + * (x-envoy-upstream-canary) and for stats purposes. + * [#next-major-version: move to type/metadata/v2] + */ export interface Metadata__Output { + /** + * Key is the reverse DNS filter name, e.g. com.acme.widget. The envoy.* + * namespace is reserved for Envoy's built-in filters. + */ 'filter_metadata': (_google_protobuf_Struct__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Node.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Node.ts index d20d3ec6f..27a156c66 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/Node.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Node.ts @@ -6,32 +6,168 @@ import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output a import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from '../../../../envoy/api/v2/core/Extension'; import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from '../../../../envoy/api/v2/core/Address'; +/** + * Identifies a specific Envoy instance. The node identifier is presented to the + * management server, which may use this identifier to distinguish per Envoy + * configuration for serving. + * [#next-free-field: 12] + */ export interface Node { + /** + * An opaque node identifier for the Envoy node. This also provides the local + * service node name. It should be set if any of the following features are + * used: :ref:`statsd `, :ref:`CDS + * `, and :ref:`HTTP tracing + * `, either in this message or via + * :option:`--service-node`. + */ 'id'?: (string); + /** + * Defines the local service cluster name where Envoy is running. Though + * optional, it should be set if any of the following features are used: + * :ref:`statsd `, :ref:`health check cluster + * verification + * `, + * :ref:`runtime override directory `, + * :ref:`user agent addition + * `, + * :ref:`HTTP global rate limiting `, + * :ref:`CDS `, and :ref:`HTTP tracing + * `, either in this message or via + * :option:`--service-cluster`. + */ 'cluster'?: (string); + /** + * Opaque metadata extending the node identifier. Envoy will pass this + * directly to the management server. + */ 'metadata'?: (_google_protobuf_Struct); + /** + * Locality specifying where the Envoy instance is running. + */ 'locality'?: (_envoy_api_v2_core_Locality); + /** + * This is motivated by informing a management server during canary which + * version of Envoy is being tested in a heterogeneous fleet. This will be set + * by Envoy in management server RPCs. + * This field is deprecated in favor of the user_agent_name and user_agent_version values. + */ 'build_version'?: (string); + /** + * Free-form string that identifies the entity requesting config. + * E.g. "envoy" or "grpc" + */ 'user_agent_name'?: (string); + /** + * Free-form string that identifies the version of the entity requesting config. + * E.g. "1.12.2" or "abcd1234", or "SpecialEnvoyBuild" + */ 'user_agent_version'?: (string); + /** + * Structured version of the entity requesting config. + */ 'user_agent_build_version'?: (_envoy_api_v2_core_BuildVersion); + /** + * List of extensions and their versions supported by the node. + */ 'extensions'?: (_envoy_api_v2_core_Extension)[]; + /** + * Client feature support list. These are well known features described + * in the Envoy API repository for a given major version of an API. Client features + * use reverse DNS naming scheme, for example `com.acme.feature`. + * See :ref:`the list of features ` that xDS client may + * support. + */ 'client_features'?: (string)[]; + /** + * Known listening ports on the node as a generic hint to the management server + * for filtering :ref:`listeners ` to be returned. For example, + * if there is a listener bound to port 80, the list can optionally contain the + * SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint. + */ 'listening_addresses'?: (_envoy_api_v2_core_Address)[]; 'user_agent_version_type'?: "user_agent_version"|"user_agent_build_version"; } +/** + * Identifies a specific Envoy instance. The node identifier is presented to the + * management server, which may use this identifier to distinguish per Envoy + * configuration for serving. + * [#next-free-field: 12] + */ export interface Node__Output { + /** + * An opaque node identifier for the Envoy node. This also provides the local + * service node name. It should be set if any of the following features are + * used: :ref:`statsd `, :ref:`CDS + * `, and :ref:`HTTP tracing + * `, either in this message or via + * :option:`--service-node`. + */ 'id': (string); + /** + * Defines the local service cluster name where Envoy is running. Though + * optional, it should be set if any of the following features are used: + * :ref:`statsd `, :ref:`health check cluster + * verification + * `, + * :ref:`runtime override directory `, + * :ref:`user agent addition + * `, + * :ref:`HTTP global rate limiting `, + * :ref:`CDS `, and :ref:`HTTP tracing + * `, either in this message or via + * :option:`--service-cluster`. + */ 'cluster': (string); + /** + * Opaque metadata extending the node identifier. Envoy will pass this + * directly to the management server. + */ 'metadata': (_google_protobuf_Struct__Output); + /** + * Locality specifying where the Envoy instance is running. + */ 'locality': (_envoy_api_v2_core_Locality__Output); + /** + * This is motivated by informing a management server during canary which + * version of Envoy is being tested in a heterogeneous fleet. This will be set + * by Envoy in management server RPCs. + * This field is deprecated in favor of the user_agent_name and user_agent_version values. + */ 'build_version': (string); + /** + * Free-form string that identifies the entity requesting config. + * E.g. "envoy" or "grpc" + */ 'user_agent_name': (string); + /** + * Free-form string that identifies the version of the entity requesting config. + * E.g. "1.12.2" or "abcd1234", or "SpecialEnvoyBuild" + */ 'user_agent_version'?: (string); + /** + * Structured version of the entity requesting config. + */ 'user_agent_build_version'?: (_envoy_api_v2_core_BuildVersion__Output); + /** + * List of extensions and their versions supported by the node. + */ 'extensions': (_envoy_api_v2_core_Extension__Output)[]; + /** + * Client feature support list. These are well known features described + * in the Envoy API repository for a given major version of an API. Client features + * use reverse DNS naming scheme, for example `com.acme.feature`. + * See :ref:`the list of features ` that xDS client may + * support. + */ 'client_features': (string)[]; + /** + * Known listening ports on the node as a generic hint to the management server + * for filtering :ref:`listeners ` to be returned. For example, + * if there is a listener bound to port 80, the list can optionally contain the + * SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint. + */ 'listening_addresses': (_envoy_api_v2_core_Address__Output)[]; 'user_agent_version_type': "user_agent_version"|"user_agent_build_version"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Pipe.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Pipe.ts index 42ecc0aec..9e6cbb82d 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/Pipe.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Pipe.ts @@ -2,11 +2,29 @@ export interface Pipe { + /** + * Unix Domain Socket path. On Linux, paths starting with '@' will use the + * abstract namespace. The starting '@' is replaced by a null byte by Envoy. + * Paths starting with '@' will result in an error in environments other than + * Linux. + */ 'path'?: (string); + /** + * The mode for the Pipe. Not applicable for abstract sockets. + */ 'mode'?: (number); } export interface Pipe__Output { + /** + * Unix Domain Socket path. On Linux, paths starting with '@' will use the + * abstract namespace. The starting '@' is replaced by a null byte by Envoy. + * Paths starting with '@' will result in an error in environments other than + * Linux. + */ 'path': (string); + /** + * The mode for the Pipe. Not applicable for abstract sockets. + */ 'mode': (number); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.ts index e6b00f31c..bf52aaaf3 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.ts @@ -3,12 +3,34 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from '../../../../google/protobuf/DoubleValue'; +/** + * Rate Limit settings to be applied for discovery requests made by Envoy. + */ export interface RateLimitSettings { + /** + * Maximum number of tokens to be used for rate limiting discovery request calls. If not set, a + * default value of 100 will be used. + */ 'max_tokens'?: (_google_protobuf_UInt32Value); + /** + * Rate at which tokens will be filled per second. If not set, a default fill rate of 10 tokens + * per second will be used. + */ 'fill_rate'?: (_google_protobuf_DoubleValue); } +/** + * Rate Limit settings to be applied for discovery requests made by Envoy. + */ export interface RateLimitSettings__Output { + /** + * Maximum number of tokens to be used for rate limiting discovery request calls. If not set, a + * default value of 100 will be used. + */ 'max_tokens': (_google_protobuf_UInt32Value__Output); + /** + * Rate at which tokens will be filled per second. If not set, a default fill rate of 10 tokens + * per second will be used. + */ 'fill_rate': (_google_protobuf_DoubleValue__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.ts index c372e2265..c0ec51d75 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.ts @@ -3,14 +3,38 @@ import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from '../../../../envoy/api/v2/core/HttpUri'; import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from '../../../../envoy/api/v2/core/RetryPolicy'; +/** + * The message specifies how to fetch data from remote and how to verify it. + */ export interface RemoteDataSource { + /** + * The HTTP URI to fetch the remote data. + */ 'http_uri'?: (_envoy_api_v2_core_HttpUri); + /** + * SHA256 string for verifying data. + */ 'sha256'?: (string); + /** + * Retry policy for fetching remote data. + */ 'retry_policy'?: (_envoy_api_v2_core_RetryPolicy); } +/** + * The message specifies how to fetch data from remote and how to verify it. + */ export interface RemoteDataSource__Output { + /** + * The HTTP URI to fetch the remote data. + */ 'http_uri': (_envoy_api_v2_core_HttpUri__Output); + /** + * SHA256 string for verifying data. + */ 'sha256': (string); + /** + * Retry policy for fetching remote data. + */ 'retry_policy': (_envoy_api_v2_core_RetryPolicy__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RequestMethod.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RequestMethod.ts index 5532045c1..029e9882d 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RequestMethod.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RequestMethod.ts @@ -1,5 +1,8 @@ // Original file: deps/envoy-api/envoy/api/v2/core/base.proto +/** + * HTTP request method. + */ export enum RequestMethod { METHOD_UNSPECIFIED = 0, GET = 1, diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.ts index a18f83648..f3dc4bac1 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.ts @@ -3,12 +3,36 @@ import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from '../../../../envoy/api/v2/core/BackoffStrategy'; import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +/** + * The message specifies the retry policy of remote data source when fetching fails. + */ export interface RetryPolicy { + /** + * Specifies parameters that control :ref:`retry backoff strategy `. + * This parameter is optional, in which case the default base interval is 1000 milliseconds. The + * default maximum interval is 10 times the base interval. + */ 'retry_back_off'?: (_envoy_api_v2_core_BackoffStrategy); + /** + * Specifies the allowed number of retries. This parameter is optional and + * defaults to 1. + */ 'num_retries'?: (_google_protobuf_UInt32Value); } +/** + * The message specifies the retry policy of remote data source when fetching fails. + */ export interface RetryPolicy__Output { + /** + * Specifies parameters that control :ref:`retry backoff strategy `. + * This parameter is optional, in which case the default base interval is 1000 milliseconds. The + * default maximum interval is 10 times the base interval. + */ 'retry_back_off': (_envoy_api_v2_core_BackoffStrategy__Output); + /** + * Specifies the allowed number of retries. This parameter is optional and + * defaults to 1. + */ 'num_retries': (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RoutingPriority.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RoutingPriority.ts index d386146e5..5937fceb2 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RoutingPriority.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RoutingPriority.ts @@ -1,5 +1,14 @@ // Original file: deps/envoy-api/envoy/api/v2/core/base.proto +/** + * Envoy supports :ref:`upstream priority routing + * ` both at the route and the virtual + * cluster level. The current priority implementation uses different connection + * pool and circuit breaking settings for each priority level. This means that + * even for HTTP/2 requests, two physical connections will be used to an + * upstream host. In the future Envoy will likely support true HTTP/2 priority + * over a single upstream connection. + */ export enum RoutingPriority { DEFAULT = 0, HIGH = 1, diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeDouble.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeDouble.ts index 177749784..8d9aba3e0 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeDouble.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeDouble.ts @@ -1,12 +1,30 @@ // Original file: deps/envoy-api/envoy/api/v2/core/base.proto +/** + * Runtime derived double with a default when not specified. + */ export interface RuntimeDouble { + /** + * Default value if runtime value is not available. + */ 'default_value'?: (number | string); + /** + * Runtime key to get value for comparison. This value is used if defined. + */ 'runtime_key'?: (string); } +/** + * Runtime derived double with a default when not specified. + */ export interface RuntimeDouble__Output { + /** + * Default value if runtime value is not available. + */ 'default_value': (number | string); + /** + * Runtime key to get value for comparison. This value is used if defined. + */ 'runtime_key': (string); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.ts index 897751270..fd88cf9df 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.ts @@ -2,12 +2,34 @@ import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; +/** + * Runtime derived bool with a default when not specified. + */ export interface RuntimeFeatureFlag { + /** + * Default value if runtime value is not available. + */ 'default_value'?: (_google_protobuf_BoolValue); + /** + * Runtime key to get value for comparison. This value is used if defined. The boolean value must + * be represented via its + * `canonical JSON encoding `_. + */ 'runtime_key'?: (string); } +/** + * Runtime derived bool with a default when not specified. + */ export interface RuntimeFeatureFlag__Output { + /** + * Default value if runtime value is not available. + */ 'default_value': (_google_protobuf_BoolValue__Output); + /** + * Runtime key to get value for comparison. This value is used if defined. The boolean value must + * be represented via its + * `canonical JSON encoding `_. + */ 'runtime_key': (string); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.ts index b6bb48d62..222c1b9d7 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.ts @@ -2,12 +2,48 @@ import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from '../../../../envoy/type/FractionalPercent'; +/** + * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not + * specified via a runtime key. + * + * .. note:: + * + * Parsing of the runtime key's data is implemented such that it may be represented as a + * :ref:`FractionalPercent ` proto represented as JSON/YAML + * and may also be represented as an integer with the assumption that the value is an integral + * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse + * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. + */ export interface RuntimeFractionalPercent { + /** + * Default value if the runtime value's for the numerator/denominator keys are not available. + */ 'default_value'?: (_envoy_type_FractionalPercent); + /** + * Runtime key for a YAML representation of a FractionalPercent. + */ 'runtime_key'?: (string); } +/** + * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not + * specified via a runtime key. + * + * .. note:: + * + * Parsing of the runtime key's data is implemented such that it may be represented as a + * :ref:`FractionalPercent ` proto represented as JSON/YAML + * and may also be represented as an integer with the assumption that the value is an integral + * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse + * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. + */ export interface RuntimeFractionalPercent__Output { + /** + * Default value if the runtime value's for the numerator/denominator keys are not available. + */ 'default_value': (_envoy_type_FractionalPercent__Output); + /** + * Runtime key for a YAML representation of a FractionalPercent. + */ 'runtime_key': (string); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeUInt32.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeUInt32.ts index bf6f7b903..72e8972a4 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeUInt32.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeUInt32.ts @@ -1,12 +1,30 @@ // Original file: deps/envoy-api/envoy/api/v2/core/base.proto +/** + * Runtime derived uint32 with a default when not specified. + */ export interface RuntimeUInt32 { + /** + * Default value if runtime value is not available. + */ 'default_value'?: (number); + /** + * Runtime key to get value for comparison. This value is used if defined. + */ 'runtime_key'?: (string); } +/** + * Runtime derived uint32 with a default when not specified. + */ export interface RuntimeUInt32__Output { + /** + * Default value if runtime value is not available. + */ 'default_value': (number); + /** + * Runtime key to get value for comparison. This value is used if defined. + */ 'runtime_key': (string); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/SelfConfigSource.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/SelfConfigSource.ts index 8551f7832..144cfdf5a 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/SelfConfigSource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/SelfConfigSource.ts @@ -1,8 +1,20 @@ // Original file: deps/envoy-api/envoy/api/v2/core/config_source.proto +/** + * [#not-implemented-hide:] + * Self-referencing config source options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that other data can be obtained from the same server. + */ export interface SelfConfigSource { } +/** + * [#not-implemented-hide:] + * Self-referencing config source options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that other data can be obtained from the same server. + */ export interface SelfConfigSource__Output { } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/SocketAddress.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/SocketAddress.ts index 415cf082c..f81c981c1 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/SocketAddress.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/SocketAddress.ts @@ -8,22 +8,90 @@ export enum _envoy_api_v2_core_SocketAddress_Protocol { UDP = 1, } +/** + * [#next-free-field: 7] + */ export interface SocketAddress { 'protocol'?: (_envoy_api_v2_core_SocketAddress_Protocol | keyof typeof _envoy_api_v2_core_SocketAddress_Protocol); + /** + * The address for this socket. :ref:`Listeners ` will bind + * to the address. An empty address is not allowed. Specify ``0.0.0.0`` or ``::`` + * to bind to any address. [#comment:TODO(zuercher) reinstate when implemented: + * It is possible to distinguish a Listener address via the prefix/suffix matching + * in :ref:`FilterChainMatch `.] When used + * within an upstream :ref:`BindConfig `, the address + * controls the source address of outbound connections. For :ref:`clusters + * `, the cluster type determines whether the + * address must be an IP (*STATIC* or *EDS* clusters) or a hostname resolved by DNS + * (*STRICT_DNS* or *LOGICAL_DNS* clusters). Address resolution can be customized + * via :ref:`resolver_name `. + */ 'address'?: (string); 'port_value'?: (number); + /** + * This is only valid if :ref:`resolver_name + * ` is specified below and the + * named resolver is capable of named port resolution. + */ 'named_port'?: (string); + /** + * The name of the custom resolver. This must have been registered with Envoy. If + * this is empty, a context dependent default applies. If the address is a concrete + * IP address, no resolution will occur. If address is a hostname this + * should be set for resolution other than DNS. Specifying a custom resolver with + * *STRICT_DNS* or *LOGICAL_DNS* will generate an error at runtime. + */ 'resolver_name'?: (string); + /** + * When binding to an IPv6 address above, this enables `IPv4 compatibility + * `_. Binding to ``::`` will + * allow both IPv4 and IPv6 connections, with peer IPv4 addresses mapped into + * IPv6 space as ``::FFFF:``. + */ 'ipv4_compat'?: (boolean); 'port_specifier'?: "port_value"|"named_port"; } +/** + * [#next-free-field: 7] + */ export interface SocketAddress__Output { 'protocol': (keyof typeof _envoy_api_v2_core_SocketAddress_Protocol); + /** + * The address for this socket. :ref:`Listeners ` will bind + * to the address. An empty address is not allowed. Specify ``0.0.0.0`` or ``::`` + * to bind to any address. [#comment:TODO(zuercher) reinstate when implemented: + * It is possible to distinguish a Listener address via the prefix/suffix matching + * in :ref:`FilterChainMatch `.] When used + * within an upstream :ref:`BindConfig `, the address + * controls the source address of outbound connections. For :ref:`clusters + * `, the cluster type determines whether the + * address must be an IP (*STATIC* or *EDS* clusters) or a hostname resolved by DNS + * (*STRICT_DNS* or *LOGICAL_DNS* clusters). Address resolution can be customized + * via :ref:`resolver_name `. + */ 'address': (string); 'port_value'?: (number); + /** + * This is only valid if :ref:`resolver_name + * ` is specified below and the + * named resolver is capable of named port resolution. + */ 'named_port'?: (string); + /** + * The name of the custom resolver. This must have been registered with Envoy. If + * this is empty, a context dependent default applies. If the address is a concrete + * IP address, no resolution will occur. If address is a hostname this + * should be set for resolution other than DNS. Specifying a custom resolver with + * *STRICT_DNS* or *LOGICAL_DNS* will generate an error at runtime. + */ 'resolver_name': (string); + /** + * When binding to an IPv6 address above, this enables `IPv4 compatibility + * `_. Binding to ``::`` will + * allow both IPv4 and IPv6 connections, with peer IPv4 addresses mapped into + * IPv6 space as ``::FFFF:``. + */ 'ipv4_compat': (boolean); 'port_specifier': "port_value"|"named_port"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/SocketOption.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/SocketOption.ts index 0319328ff..0c4a4e1ca 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/SocketOption.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/SocketOption.ts @@ -5,27 +5,86 @@ import { Long } from '@grpc/proto-loader'; // Original file: deps/envoy-api/envoy/api/v2/core/socket_option.proto export enum _envoy_api_v2_core_SocketOption_SocketState { + /** + * Socket options are applied after socket creation but before binding the socket to a port + */ STATE_PREBIND = 0, + /** + * Socket options are applied after binding the socket to a port but before calling listen() + */ STATE_BOUND = 1, + /** + * Socket options are applied after calling listen() + */ STATE_LISTENING = 2, } +/** + * Generic socket option message. This would be used to set socket options that + * might not exist in upstream kernels or precompiled Envoy binaries. + * [#next-free-field: 7] + */ export interface SocketOption { + /** + * An optional name to give this socket option for debugging, etc. + * Uniqueness is not required and no special meaning is assumed. + */ 'description'?: (string); + /** + * Corresponding to the level value passed to setsockopt, such as IPPROTO_TCP + */ 'level'?: (number | string | Long); + /** + * The numeric name as passed to setsockopt + */ 'name'?: (number | string | Long); + /** + * Because many sockopts take an int value. + */ 'int_value'?: (number | string | Long); + /** + * Otherwise it's a byte buffer. + */ 'buf_value'?: (Buffer | Uint8Array | string); + /** + * The state in which the option will be applied. When used in BindConfig + * STATE_PREBIND is currently the only valid value. + */ 'state'?: (_envoy_api_v2_core_SocketOption_SocketState | keyof typeof _envoy_api_v2_core_SocketOption_SocketState); 'value'?: "int_value"|"buf_value"; } +/** + * Generic socket option message. This would be used to set socket options that + * might not exist in upstream kernels or precompiled Envoy binaries. + * [#next-free-field: 7] + */ export interface SocketOption__Output { + /** + * An optional name to give this socket option for debugging, etc. + * Uniqueness is not required and no special meaning is assumed. + */ 'description': (string); + /** + * Corresponding to the level value passed to setsockopt, such as IPPROTO_TCP + */ 'level': (string); + /** + * The numeric name as passed to setsockopt + */ 'name': (string); + /** + * Because many sockopts take an int value. + */ 'int_value'?: (string); + /** + * Otherwise it's a byte buffer. + */ 'buf_value'?: (Buffer); + /** + * The state in which the option will be applied. When used in BindConfig + * STATE_PREBIND is currently the only valid value. + */ 'state': (keyof typeof _envoy_api_v2_core_SocketOption_SocketState); 'value': "int_value"|"buf_value"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.ts index dd77d08bd..9318af4e5 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.ts @@ -3,13 +3,41 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; export interface TcpKeepalive { + /** + * Maximum number of keepalive probes to send without response before deciding + * the connection is dead. Default is to use the OS level configuration (unless + * overridden, Linux defaults to 9.) + */ 'keepalive_probes'?: (_google_protobuf_UInt32Value); + /** + * The number of seconds a connection needs to be idle before keep-alive probes + * start being sent. Default is to use the OS level configuration (unless + * overridden, Linux defaults to 7200s (i.e., 2 hours.) + */ 'keepalive_time'?: (_google_protobuf_UInt32Value); + /** + * The number of seconds between keep-alive probes. Default is to use the OS + * level configuration (unless overridden, Linux defaults to 75s.) + */ 'keepalive_interval'?: (_google_protobuf_UInt32Value); } export interface TcpKeepalive__Output { + /** + * Maximum number of keepalive probes to send without response before deciding + * the connection is dead. Default is to use the OS level configuration (unless + * overridden, Linux defaults to 9.) + */ 'keepalive_probes': (_google_protobuf_UInt32Value__Output); + /** + * The number of seconds a connection needs to be idle before keep-alive probes + * start being sent. Default is to use the OS level configuration (unless + * overridden, Linux defaults to 7200s (i.e., 2 hours.) + */ 'keepalive_time': (_google_protobuf_UInt32Value__Output); + /** + * The number of seconds between keep-alive probes. Default is to use the OS + * level configuration (unless overridden, Linux defaults to 75s.) + */ 'keepalive_interval': (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/TcpProtocolOptions.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/TcpProtocolOptions.ts index 602fae7af..bb7afc1d1 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/TcpProtocolOptions.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/TcpProtocolOptions.ts @@ -1,8 +1,14 @@ // Original file: deps/envoy-api/envoy/api/v2/core/protocol.proto +/** + * [#not-implemented-hide:] + */ export interface TcpProtocolOptions { } +/** + * [#not-implemented-hide:] + */ export interface TcpProtocolOptions__Output { } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/TrafficDirection.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/TrafficDirection.ts index 50f4bb28c..41cf36523 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/TrafficDirection.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/TrafficDirection.ts @@ -1,7 +1,19 @@ // Original file: deps/envoy-api/envoy/api/v2/core/base.proto +/** + * Identifies the direction of the traffic relative to the local Envoy. + */ export enum TrafficDirection { + /** + * Default option is unspecified. + */ UNSPECIFIED = 0, + /** + * The transport is used for incoming traffic. + */ INBOUND = 1, + /** + * The transport is used for outgoing traffic. + */ OUTBOUND = 2, } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/TransportSocket.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/TransportSocket.ts index 7062f81e2..3034df987 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/TransportSocket.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/TransportSocket.ts @@ -3,16 +3,44 @@ import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; +/** + * Configuration for transport socket in :ref:`listeners ` and + * :ref:`clusters `. If the configuration is + * empty, a default transport socket implementation and configuration will be + * chosen based on the platform and existence of tls_context. + */ export interface TransportSocket { + /** + * The name of the transport socket to instantiate. The name must match a supported transport + * socket implementation. + */ 'name'?: (string); 'config'?: (_google_protobuf_Struct); 'typed_config'?: (_google_protobuf_Any); + /** + * Implementation specific configuration which depends on the implementation being instantiated. + * See the supported transport socket implementations for further documentation. + */ 'config_type'?: "config"|"typed_config"; } +/** + * Configuration for transport socket in :ref:`listeners ` and + * :ref:`clusters `. If the configuration is + * empty, a default transport socket implementation and configuration will be + * chosen based on the platform and existence of tls_context. + */ export interface TransportSocket__Output { + /** + * The name of the transport socket to instantiate. The name must match a supported transport + * socket implementation. + */ 'name': (string); 'config'?: (_google_protobuf_Struct__Output); 'typed_config'?: (_google_protobuf_Any__Output); + /** + * Implementation specific configuration which depends on the implementation being instantiated. + * See the supported transport socket implementations for further documentation. + */ 'config_type': "config"|"typed_config"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/UpstreamHttpProtocolOptions.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/UpstreamHttpProtocolOptions.ts index d4e492413..9c55560e8 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/UpstreamHttpProtocolOptions.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/UpstreamHttpProtocolOptions.ts @@ -2,11 +2,33 @@ export interface UpstreamHttpProtocolOptions { + /** + * Set transport socket `SNI `_ for new + * upstream connections based on the downstream HTTP host/authority header, as seen by the + * :ref:`router filter `. + */ 'auto_sni'?: (boolean); + /** + * Automatic validate upstream presented certificate for new upstream connections based on the + * downstream HTTP host/authority header, as seen by the + * :ref:`router filter `. + * This field is intended to set with `auto_sni` field. + */ 'auto_san_validation'?: (boolean); } export interface UpstreamHttpProtocolOptions__Output { + /** + * Set transport socket `SNI `_ for new + * upstream connections based on the downstream HTTP host/authority header, as seen by the + * :ref:`router filter `. + */ 'auto_sni': (boolean); + /** + * Automatic validate upstream presented certificate for new upstream connections based on the + * downstream HTTP host/authority header, as seen by the + * :ref:`router filter `. + * This field is intended to set with `auto_sni` field. + */ 'auto_san_validation': (boolean); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.ts b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.ts index bdb23b50c..e66fb182b 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.ts @@ -2,24 +2,118 @@ import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from '../../../../envoy/api/v2/core/Address'; +/** + * The optional health check configuration. + */ export interface _envoy_api_v2_endpoint_Endpoint_HealthCheckConfig { + /** + * Optional alternative health check port value. + * + * By default the health check address port of an upstream host is the same + * as the host's serving address port. This provides an alternative health + * check port. Setting this with a non-zero value allows an upstream host + * to have different health check address port. + */ 'port_value'?: (number); + /** + * By default, the host header for L7 health checks is controlled by cluster level configuration + * (see: :ref:`host ` and + * :ref:`authority `). Setting this + * to a non-empty value allows overriding the cluster level configuration for a specific + * endpoint. + */ 'hostname'?: (string); } +/** + * The optional health check configuration. + */ export interface _envoy_api_v2_endpoint_Endpoint_HealthCheckConfig__Output { + /** + * Optional alternative health check port value. + * + * By default the health check address port of an upstream host is the same + * as the host's serving address port. This provides an alternative health + * check port. Setting this with a non-zero value allows an upstream host + * to have different health check address port. + */ 'port_value': (number); + /** + * By default, the host header for L7 health checks is controlled by cluster level configuration + * (see: :ref:`host ` and + * :ref:`authority `). Setting this + * to a non-empty value allows overriding the cluster level configuration for a specific + * endpoint. + */ 'hostname': (string); } +/** + * Upstream host identifier. + */ export interface Endpoint { + /** + * The upstream host address. + * + * .. attention:: + * + * The form of host address depends on the given cluster type. For STATIC or EDS, + * it is expected to be a direct IP address (or something resolvable by the + * specified :ref:`resolver ` + * in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, + * and will be resolved via DNS. + */ 'address'?: (_envoy_api_v2_core_Address); + /** + * The optional health check configuration is used as configuration for the + * health checker to contact the health checked host. + * + * .. attention:: + * + * This takes into effect only for upstream clusters with + * :ref:`active health checking ` enabled. + */ 'health_check_config'?: (_envoy_api_v2_endpoint_Endpoint_HealthCheckConfig); + /** + * The hostname associated with this endpoint. This hostname is not used for routing or address + * resolution. If provided, it will be associated with the endpoint, and can be used for features + * that require a hostname, like + * :ref:`auto_host_rewrite `. + */ 'hostname'?: (string); } +/** + * Upstream host identifier. + */ export interface Endpoint__Output { + /** + * The upstream host address. + * + * .. attention:: + * + * The form of host address depends on the given cluster type. For STATIC or EDS, + * it is expected to be a direct IP address (or something resolvable by the + * specified :ref:`resolver ` + * in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, + * and will be resolved via DNS. + */ 'address': (_envoy_api_v2_core_Address__Output); + /** + * The optional health check configuration is used as configuration for the + * health checker to contact the health checked host. + * + * .. attention:: + * + * This takes into effect only for upstream clusters with + * :ref:`active health checking ` enabled. + */ 'health_check_config': (_envoy_api_v2_endpoint_Endpoint_HealthCheckConfig__Output); + /** + * The hostname associated with this endpoint. This hostname is not used for routing or address + * resolution. If provided, it will be associated with the endpoint, and can be used for features + * that require a hostname, like + * :ref:`auto_host_rewrite `. + */ 'hostname': (string); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts index 50d5f46b2..84883c8a2 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts @@ -5,20 +5,86 @@ import { HealthStatus as _envoy_api_v2_core_HealthStatus } from '../../../../env import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../../envoy/api/v2/core/Metadata'; import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +/** + * An Endpoint that Envoy can route traffic to. + * [#next-free-field: 6] + */ export interface LbEndpoint { 'endpoint'?: (_envoy_api_v2_endpoint_Endpoint); + /** + * Optional health status when known and supplied by EDS server. + */ 'health_status'?: (_envoy_api_v2_core_HealthStatus | keyof typeof _envoy_api_v2_core_HealthStatus); + /** + * The endpoint metadata specifies values that may be used by the load + * balancer to select endpoints in a cluster for a given request. The filter + * name should be specified as *envoy.lb*. An example boolean key-value pair + * is *canary*, providing the optional canary status of the upstream host. + * This may be matched against in a route's + * :ref:`RouteAction ` metadata_match field + * to subset the endpoints considered in cluster load balancing. + */ 'metadata'?: (_envoy_api_v2_core_Metadata); + /** + * The optional load balancing weight of the upstream host; at least 1. + * Envoy uses the load balancing weight in some of the built in load + * balancers. The load balancing weight for an endpoint is divided by the sum + * of the weights of all endpoints in the endpoint's locality to produce a + * percentage of traffic for the endpoint. This percentage is then further + * weighted by the endpoint's locality's load balancing weight from + * LocalityLbEndpoints. If unspecified, each host is presumed to have equal + * weight in a locality. The sum of the weights of all endpoints in the + * endpoint's locality must not exceed uint32_t maximal value (4294967295). + */ 'load_balancing_weight'?: (_google_protobuf_UInt32Value); + /** + * [#not-implemented-hide:] + */ 'endpoint_name'?: (string); + /** + * Upstream host identifier or a named reference. + */ 'host_identifier'?: "endpoint"|"endpoint_name"; } +/** + * An Endpoint that Envoy can route traffic to. + * [#next-free-field: 6] + */ export interface LbEndpoint__Output { 'endpoint'?: (_envoy_api_v2_endpoint_Endpoint__Output); + /** + * Optional health status when known and supplied by EDS server. + */ 'health_status': (keyof typeof _envoy_api_v2_core_HealthStatus); + /** + * The endpoint metadata specifies values that may be used by the load + * balancer to select endpoints in a cluster for a given request. The filter + * name should be specified as *envoy.lb*. An example boolean key-value pair + * is *canary*, providing the optional canary status of the upstream host. + * This may be matched against in a route's + * :ref:`RouteAction ` metadata_match field + * to subset the endpoints considered in cluster load balancing. + */ 'metadata': (_envoy_api_v2_core_Metadata__Output); + /** + * The optional load balancing weight of the upstream host; at least 1. + * Envoy uses the load balancing weight in some of the built in load + * balancers. The load balancing weight for an endpoint is divided by the sum + * of the weights of all endpoints in the endpoint's locality to produce a + * percentage of traffic for the endpoint. This percentage is then further + * weighted by the endpoint's locality's load balancing weight from + * LocalityLbEndpoints. If unspecified, each host is presumed to have equal + * weight in a locality. The sum of the weights of all endpoints in the + * endpoint's locality must not exceed uint32_t maximal value (4294967295). + */ 'load_balancing_weight': (_google_protobuf_UInt32Value__Output); + /** + * [#not-implemented-hide:] + */ 'endpoint_name'?: (string); + /** + * Upstream host identifier or a named reference. + */ 'host_identifier': "endpoint"|"endpoint_name"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.ts b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.ts index d42663b04..6565a34f1 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.ts @@ -4,18 +4,108 @@ import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api import { LbEndpoint as _envoy_api_v2_endpoint_LbEndpoint, LbEndpoint__Output as _envoy_api_v2_endpoint_LbEndpoint__Output } from '../../../../envoy/api/v2/endpoint/LbEndpoint'; import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; +/** + * A group of endpoints belonging to a Locality. + * One can have multiple LocalityLbEndpoints for a locality, but this is + * generally only done if the different groups need to have different load + * balancing weights or different priorities. + * [#next-free-field: 7] + */ export interface LocalityLbEndpoints { + /** + * Identifies location of where the upstream hosts run. + */ 'locality'?: (_envoy_api_v2_core_Locality); + /** + * The group of endpoints belonging to the locality specified. + */ 'lb_endpoints'?: (_envoy_api_v2_endpoint_LbEndpoint)[]; + /** + * Optional: Per priority/region/zone/sub_zone weight; at least 1. The load + * balancing weight for a locality is divided by the sum of the weights of all + * localities at the same priority level to produce the effective percentage + * of traffic for the locality. The sum of the weights of all localities at + * the same priority level must not exceed uint32_t maximal value (4294967295). + * + * Locality weights are only considered when :ref:`locality weighted load + * balancing ` is + * configured. These weights are ignored otherwise. If no weights are + * specified when locality weighted load balancing is enabled, the locality is + * assigned no load. + */ 'load_balancing_weight'?: (_google_protobuf_UInt32Value); + /** + * Optional: the priority for this LocalityLbEndpoints. If unspecified this will + * default to the highest priority (0). + * + * Under usual circumstances, Envoy will only select endpoints for the highest + * priority (0). In the event all endpoints for a particular priority are + * unavailable/unhealthy, Envoy will fail over to selecting endpoints for the + * next highest priority group. + * + * Priorities should range from 0 (highest) to N (lowest) without skipping. + */ 'priority'?: (number); + /** + * Optional: Per locality proximity value which indicates how close this + * locality is from the source locality. This value only provides ordering + * information (lower the value, closer it is to the source locality). + * This will be consumed by load balancing schemes that need proximity order + * to determine where to route the requests. + * [#not-implemented-hide:] + */ 'proximity'?: (_google_protobuf_UInt32Value); } +/** + * A group of endpoints belonging to a Locality. + * One can have multiple LocalityLbEndpoints for a locality, but this is + * generally only done if the different groups need to have different load + * balancing weights or different priorities. + * [#next-free-field: 7] + */ export interface LocalityLbEndpoints__Output { + /** + * Identifies location of where the upstream hosts run. + */ 'locality': (_envoy_api_v2_core_Locality__Output); + /** + * The group of endpoints belonging to the locality specified. + */ 'lb_endpoints': (_envoy_api_v2_endpoint_LbEndpoint__Output)[]; + /** + * Optional: Per priority/region/zone/sub_zone weight; at least 1. The load + * balancing weight for a locality is divided by the sum of the weights of all + * localities at the same priority level to produce the effective percentage + * of traffic for the locality. The sum of the weights of all localities at + * the same priority level must not exceed uint32_t maximal value (4294967295). + * + * Locality weights are only considered when :ref:`locality weighted load + * balancing ` is + * configured. These weights are ignored otherwise. If no weights are + * specified when locality weighted load balancing is enabled, the locality is + * assigned no load. + */ 'load_balancing_weight': (_google_protobuf_UInt32Value__Output); + /** + * Optional: the priority for this LocalityLbEndpoints. If unspecified this will + * default to the highest priority (0). + * + * Under usual circumstances, Envoy will only select endpoints for the highest + * priority (0). In the event all endpoints for a particular priority are + * unavailable/unhealthy, Envoy will fail over to selecting endpoints for the + * next highest priority group. + * + * Priorities should range from 0 (highest) to N (lowest) without skipping. + */ 'priority': (number); + /** + * Optional: Per locality proximity value which indicates how close this + * locality is from the source locality. This value only provides ordering + * information (lower the value, closer it is to the source locality). + * This will be consumed by load balancing schemes that need proximity order + * to determine where to route the requests. + * [#not-implemented-hide:] + */ 'proximity': (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/Filter.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/Filter.ts index d9c2cc793..017302934 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/listener/Filter.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/Filter.ts @@ -4,15 +4,31 @@ import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_S import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; export interface Filter { + /** + * The name of the filter to instantiate. The name must match a + * :ref:`supported filter `. + */ 'name'?: (string); 'config'?: (_google_protobuf_Struct); 'typed_config'?: (_google_protobuf_Any); + /** + * Filter specific configuration which depends on the filter being + * instantiated. See the supported filters for further documentation. + */ 'config_type'?: "config"|"typed_config"; } export interface Filter__Output { + /** + * The name of the filter to instantiate. The name must match a + * :ref:`supported filter `. + */ 'name': (string); 'config'?: (_google_protobuf_Struct__Output); 'typed_config'?: (_google_protobuf_Any__Output); + /** + * Filter specific configuration which depends on the filter being + * instantiated. See the supported filters for further documentation. + */ 'config_type': "config"|"typed_config"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.ts index ca24c8429..585836f15 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.ts @@ -7,22 +7,112 @@ import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_p import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../../envoy/api/v2/core/Metadata'; import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from '../../../../envoy/api/v2/core/TransportSocket'; +/** + * A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and + * various other parameters. + * [#next-free-field: 8] + */ export interface FilterChain { + /** + * The criteria to use when matching a connection to this filter chain. + */ 'filter_chain_match'?: (_envoy_api_v2_listener_FilterChainMatch); + /** + * The TLS context for this filter chain. + * + * .. attention:: + * + * **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are + * set, `transport_socket` takes priority. + */ 'tls_context'?: (_envoy_api_v2_auth_DownstreamTlsContext); + /** + * A list of individual network filters that make up the filter chain for + * connections established with the listener. Order matters as the filters are + * processed sequentially as connection events happen. Note: If the filter + * list is empty, the connection will close by default. + */ 'filters'?: (_envoy_api_v2_listener_Filter)[]; + /** + * Whether the listener should expect a PROXY protocol V1 header on new + * connections. If this option is enabled, the listener will assume that that + * remote address of the connection is the one specified in the header. Some + * load balancers including the AWS ELB support this option. If the option is + * absent or set to false, Envoy will use the physical peer address of the + * connection as the remote address. + */ 'use_proxy_proto'?: (_google_protobuf_BoolValue); + /** + * [#not-implemented-hide:] filter chain metadata. + */ 'metadata'?: (_envoy_api_v2_core_Metadata); + /** + * Optional custom transport socket implementation to use for downstream connections. + * To setup TLS, set a transport socket with name `tls` and + * :ref:`DownstreamTlsContext ` in the `typed_config`. + * If no transport socket configuration is specified, new connections + * will be set up with plaintext. + */ 'transport_socket'?: (_envoy_api_v2_core_TransportSocket); + /** + * [#not-implemented-hide:] The unique name (or empty) by which this filter chain is known. If no + * name is provided, Envoy will allocate an internal UUID for the filter chain. If the filter + * chain is to be dynamically updated or removed via FCDS a unique name must be provided. + */ 'name'?: (string); } +/** + * A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and + * various other parameters. + * [#next-free-field: 8] + */ export interface FilterChain__Output { + /** + * The criteria to use when matching a connection to this filter chain. + */ 'filter_chain_match': (_envoy_api_v2_listener_FilterChainMatch__Output); + /** + * The TLS context for this filter chain. + * + * .. attention:: + * + * **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are + * set, `transport_socket` takes priority. + */ 'tls_context': (_envoy_api_v2_auth_DownstreamTlsContext__Output); + /** + * A list of individual network filters that make up the filter chain for + * connections established with the listener. Order matters as the filters are + * processed sequentially as connection events happen. Note: If the filter + * list is empty, the connection will close by default. + */ 'filters': (_envoy_api_v2_listener_Filter__Output)[]; + /** + * Whether the listener should expect a PROXY protocol V1 header on new + * connections. If this option is enabled, the listener will assume that that + * remote address of the connection is the one specified in the header. Some + * load balancers including the AWS ELB support this option. If the option is + * absent or set to false, Envoy will use the physical peer address of the + * connection as the remote address. + */ 'use_proxy_proto': (_google_protobuf_BoolValue__Output); + /** + * [#not-implemented-hide:] filter chain metadata. + */ 'metadata': (_envoy_api_v2_core_Metadata__Output); + /** + * Optional custom transport socket implementation to use for downstream connections. + * To setup TLS, set a transport socket with name `tls` and + * :ref:`DownstreamTlsContext ` in the `typed_config`. + * If no transport socket configuration is specified, new connections + * will be set up with plaintext. + */ 'transport_socket': (_envoy_api_v2_core_TransportSocket__Output); + /** + * [#not-implemented-hide:] The unique name (or empty) by which this filter chain is known. If no + * name is provided, Envoy will allocate an internal UUID for the filter chain. If the filter + * chain is to be dynamically updated or removed via FCDS a unique name must be provided. + */ 'name': (string); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts index 374621458..67f03a928 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts @@ -6,33 +6,258 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _go // Original file: deps/envoy-api/envoy/api/v2/listener/listener_components.proto export enum _envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType { + /** + * Any connection source matches. + */ ANY = 0, + /** + * Match a connection originating from the same host. + */ LOCAL = 1, + /** + * Match a connection originating from a different host. + */ EXTERNAL = 2, } +/** + * Specifies the match criteria for selecting a specific filter chain for a + * listener. + * + * In order for a filter chain to be selected, *ALL* of its criteria must be + * fulfilled by the incoming connection, properties of which are set by the + * networking stack and/or listener filters. + * + * The following order applies: + * + * 1. Destination port. + * 2. Destination IP address. + * 3. Server name (e.g. SNI for TLS protocol), + * 4. Transport protocol. + * 5. Application protocols (e.g. ALPN for TLS protocol). + * 6. Source type (e.g. any, local or external network). + * 7. Source IP address. + * 8. Source port. + * + * For criteria that allow ranges or wildcards, the most specific value in any + * of the configured filter chains that matches the incoming connection is going + * to be used (e.g. for SNI ``www.example.com`` the most specific match would be + * ``www.example.com``, then ``*.example.com``, then ``*.com``, then any filter + * chain without ``server_names`` requirements). + * + * [#comment: Implemented rules are kept in the preference order, with deprecated fields + * listed at the end, because that's how we want to list them in the docs. + * + * [#comment:TODO(PiotrSikora): Add support for configurable precedence of the rules] + * [#next-free-field: 13] + */ export interface FilterChainMatch { + /** + * If non-empty, an IP address and prefix length to match addresses when the + * listener is bound to 0.0.0.0/:: or when use_original_dst is specified. + */ 'prefix_ranges'?: (_envoy_api_v2_core_CidrRange)[]; + /** + * If non-empty, an IP address and suffix length to match addresses when the + * listener is bound to 0.0.0.0/:: or when use_original_dst is specified. + * [#not-implemented-hide:] + */ 'address_suffix'?: (string); + /** + * [#not-implemented-hide:] + */ 'suffix_len'?: (_google_protobuf_UInt32Value); + /** + * The criteria is satisfied if the source IP address of the downstream + * connection is contained in at least one of the specified subnets. If the + * parameter is not specified or the list is empty, the source IP address is + * ignored. + */ 'source_prefix_ranges'?: (_envoy_api_v2_core_CidrRange)[]; + /** + * The criteria is satisfied if the source port of the downstream connection + * is contained in at least one of the specified ports. If the parameter is + * not specified, the source port is ignored. + */ 'source_ports'?: (number)[]; + /** + * Optional destination port to consider when use_original_dst is set on the + * listener in determining a filter chain match. + */ 'destination_port'?: (_google_protobuf_UInt32Value); + /** + * If non-empty, a transport protocol to consider when determining a filter chain match. + * This value will be compared against the transport protocol of a new connection, when + * it's detected by one of the listener filters. + * + * Suggested values include: + * + * * ``raw_buffer`` - default, used when no transport protocol is detected, + * * ``tls`` - set by :ref:`envoy.filters.listener.tls_inspector ` + * when TLS protocol is detected. + */ 'transport_protocol'?: (string); + /** + * If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when + * determining a filter chain match. Those values will be compared against the application + * protocols of a new connection, when detected by one of the listener filters. + * + * Suggested values include: + * + * * ``http/1.1`` - set by :ref:`envoy.filters.listener.tls_inspector + * `, + * * ``h2`` - set by :ref:`envoy.filters.listener.tls_inspector ` + * + * .. attention:: + * + * Currently, only :ref:`TLS Inspector ` provides + * application protocol detection based on the requested + * `ALPN `_ values. + * + * However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet, + * and matching on values other than ``h2`` is going to lead to a lot of false negatives, + * unless all connecting clients are known to use ALPN. + */ 'application_protocols'?: (string)[]; + /** + * If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining + * a filter chain match. Those values will be compared against the server names of a new + * connection, when detected by one of the listener filters. + * + * The server name will be matched against all wildcard domains, i.e. ``www.example.com`` + * will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``. + * + * Note that partial wildcards are not supported, and values like ``*w.example.com`` are invalid. + * + * .. attention:: + * + * See the :ref:`FAQ entry ` on how to configure SNI for more + * information. + */ 'server_names'?: (string)[]; + /** + * Specifies the connection source IP match type. Can be any, local or external network. + */ 'source_type'?: (_envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType | keyof typeof _envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType); } +/** + * Specifies the match criteria for selecting a specific filter chain for a + * listener. + * + * In order for a filter chain to be selected, *ALL* of its criteria must be + * fulfilled by the incoming connection, properties of which are set by the + * networking stack and/or listener filters. + * + * The following order applies: + * + * 1. Destination port. + * 2. Destination IP address. + * 3. Server name (e.g. SNI for TLS protocol), + * 4. Transport protocol. + * 5. Application protocols (e.g. ALPN for TLS protocol). + * 6. Source type (e.g. any, local or external network). + * 7. Source IP address. + * 8. Source port. + * + * For criteria that allow ranges or wildcards, the most specific value in any + * of the configured filter chains that matches the incoming connection is going + * to be used (e.g. for SNI ``www.example.com`` the most specific match would be + * ``www.example.com``, then ``*.example.com``, then ``*.com``, then any filter + * chain without ``server_names`` requirements). + * + * [#comment: Implemented rules are kept in the preference order, with deprecated fields + * listed at the end, because that's how we want to list them in the docs. + * + * [#comment:TODO(PiotrSikora): Add support for configurable precedence of the rules] + * [#next-free-field: 13] + */ export interface FilterChainMatch__Output { + /** + * If non-empty, an IP address and prefix length to match addresses when the + * listener is bound to 0.0.0.0/:: or when use_original_dst is specified. + */ 'prefix_ranges': (_envoy_api_v2_core_CidrRange__Output)[]; + /** + * If non-empty, an IP address and suffix length to match addresses when the + * listener is bound to 0.0.0.0/:: or when use_original_dst is specified. + * [#not-implemented-hide:] + */ 'address_suffix': (string); + /** + * [#not-implemented-hide:] + */ 'suffix_len': (_google_protobuf_UInt32Value__Output); + /** + * The criteria is satisfied if the source IP address of the downstream + * connection is contained in at least one of the specified subnets. If the + * parameter is not specified or the list is empty, the source IP address is + * ignored. + */ 'source_prefix_ranges': (_envoy_api_v2_core_CidrRange__Output)[]; + /** + * The criteria is satisfied if the source port of the downstream connection + * is contained in at least one of the specified ports. If the parameter is + * not specified, the source port is ignored. + */ 'source_ports': (number)[]; + /** + * Optional destination port to consider when use_original_dst is set on the + * listener in determining a filter chain match. + */ 'destination_port': (_google_protobuf_UInt32Value__Output); + /** + * If non-empty, a transport protocol to consider when determining a filter chain match. + * This value will be compared against the transport protocol of a new connection, when + * it's detected by one of the listener filters. + * + * Suggested values include: + * + * * ``raw_buffer`` - default, used when no transport protocol is detected, + * * ``tls`` - set by :ref:`envoy.filters.listener.tls_inspector ` + * when TLS protocol is detected. + */ 'transport_protocol': (string); + /** + * If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when + * determining a filter chain match. Those values will be compared against the application + * protocols of a new connection, when detected by one of the listener filters. + * + * Suggested values include: + * + * * ``http/1.1`` - set by :ref:`envoy.filters.listener.tls_inspector + * `, + * * ``h2`` - set by :ref:`envoy.filters.listener.tls_inspector ` + * + * .. attention:: + * + * Currently, only :ref:`TLS Inspector ` provides + * application protocol detection based on the requested + * `ALPN `_ values. + * + * However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet, + * and matching on values other than ``h2`` is going to lead to a lot of false negatives, + * unless all connecting clients are known to use ALPN. + */ 'application_protocols': (string)[]; + /** + * If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining + * a filter chain match. Those values will be compared against the server names of a new + * connection, when detected by one of the listener filters. + * + * The server name will be matched against all wildcard domains, i.e. ``www.example.com`` + * will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``. + * + * Note that partial wildcards are not supported, and values like ``*w.example.com`` are invalid. + * + * .. attention:: + * + * See the :ref:`FAQ entry ` on how to configure SNI for more + * information. + */ 'server_names': (string)[]; + /** + * Specifies the connection source IP match type. Can be any, local or external network. + */ 'source_type': (keyof typeof _envoy_api_v2_listener_FilterChainMatch_ConnectionSourceType); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.ts index bd143d311..5949135da 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.ts @@ -5,17 +5,43 @@ import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Outpu import { ListenerFilterChainMatchPredicate as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate, ListenerFilterChainMatchPredicate__Output as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output } from '../../../../envoy/api/v2/listener/ListenerFilterChainMatchPredicate'; export interface ListenerFilter { + /** + * The name of the filter to instantiate. The name must match a + * :ref:`supported filter `. + */ 'name'?: (string); 'config'?: (_google_protobuf_Struct); 'typed_config'?: (_google_protobuf_Any); + /** + * Optional match predicate used to disable the filter. The filter is enabled when this field is empty. + * See :ref:`ListenerFilterChainMatchPredicate ` + * for further examples. + */ 'filter_disabled'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate); + /** + * Filter specific configuration which depends on the filter being instantiated. + * See the supported filters for further documentation. + */ 'config_type'?: "config"|"typed_config"; } export interface ListenerFilter__Output { + /** + * The name of the filter to instantiate. The name must match a + * :ref:`supported filter `. + */ 'name': (string); 'config'?: (_google_protobuf_Struct__Output); 'typed_config'?: (_google_protobuf_Any__Output); + /** + * Optional match predicate used to disable the filter. The filter is enabled when this field is empty. + * See :ref:`ListenerFilterChainMatchPredicate ` + * for further examples. + */ 'filter_disabled': (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output); + /** + * Filter specific configuration which depends on the filter being instantiated. + * See the supported filters for further documentation. + */ 'config_type': "config"|"typed_config"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilterChainMatchPredicate.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilterChainMatchPredicate.ts index a795f0191..547e74d11 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilterChainMatchPredicate.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilterChainMatchPredicate.ts @@ -3,28 +3,134 @@ import { ListenerFilterChainMatchPredicate as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate, ListenerFilterChainMatchPredicate__Output as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output } from '../../../../envoy/api/v2/listener/ListenerFilterChainMatchPredicate'; import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from '../../../../envoy/type/Int32Range'; +/** + * A set of match configurations used for logical operations. + */ export interface _envoy_api_v2_listener_ListenerFilterChainMatchPredicate_MatchSet { + /** + * The list of rules that make up the set. + */ 'rules'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate)[]; } +/** + * A set of match configurations used for logical operations. + */ export interface _envoy_api_v2_listener_ListenerFilterChainMatchPredicate_MatchSet__Output { + /** + * The list of rules that make up the set. + */ 'rules': (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output)[]; } +/** + * Listener filter chain match configuration. This is a recursive structure which allows complex + * nested match configurations to be built using various logical operators. + * + * Examples: + * + * * Matches if the destination port is 3306. + * + * .. code-block:: yaml + * + * destination_port_range: + * start: 3306 + * end: 3307 + * + * * Matches if the destination port is 3306 or 15000. + * + * .. code-block:: yaml + * + * or_match: + * rules: + * - destination_port_range: + * start: 3306 + * end: 3306 + * - destination_port_range: + * start: 15000 + * end: 15001 + * + * [#next-free-field: 6] + */ export interface ListenerFilterChainMatchPredicate { + /** + * A set that describes a logical OR. If any member of the set matches, the match configuration + * matches. + */ 'or_match'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate_MatchSet); + /** + * A set that describes a logical AND. If all members of the set match, the match configuration + * matches. + */ 'and_match'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate_MatchSet); + /** + * A negation match. The match configuration will match if the negated match condition matches. + */ 'not_match'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate); + /** + * The match configuration will always match. + */ 'any_match'?: (boolean); + /** + * Match destination port. Particularly, the match evaluation must use the recovered local port if + * the owning listener filter is after :ref:`an original_dst listener filter `. + */ 'destination_port_range'?: (_envoy_type_Int32Range); 'rule'?: "or_match"|"and_match"|"not_match"|"any_match"|"destination_port_range"; } +/** + * Listener filter chain match configuration. This is a recursive structure which allows complex + * nested match configurations to be built using various logical operators. + * + * Examples: + * + * * Matches if the destination port is 3306. + * + * .. code-block:: yaml + * + * destination_port_range: + * start: 3306 + * end: 3307 + * + * * Matches if the destination port is 3306 or 15000. + * + * .. code-block:: yaml + * + * or_match: + * rules: + * - destination_port_range: + * start: 3306 + * end: 3306 + * - destination_port_range: + * start: 15000 + * end: 15001 + * + * [#next-free-field: 6] + */ export interface ListenerFilterChainMatchPredicate__Output { + /** + * A set that describes a logical OR. If any member of the set matches, the match configuration + * matches. + */ 'or_match'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate_MatchSet__Output); + /** + * A set that describes a logical AND. If all members of the set match, the match configuration + * matches. + */ 'and_match'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate_MatchSet__Output); + /** + * A negation match. The match configuration will match if the negated match condition matches. + */ 'not_match'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output); + /** + * The match configuration will always match. + */ 'any_match'?: (boolean); + /** + * Match destination port. Particularly, the match evaluation must use the recovered local port if + * the owning listener filter is after :ref:`an original_dst listener filter `. + */ 'destination_port_range'?: (_envoy_type_Int32Range__Output); 'rule': "or_match"|"and_match"|"not_match"|"any_match"|"destination_port_range"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/UdpListenerConfig.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/UdpListenerConfig.ts index 775f4ae9f..34a710b14 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/listener/UdpListenerConfig.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/UdpListenerConfig.ts @@ -4,15 +4,33 @@ import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_S import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; export interface UdpListenerConfig { + /** + * Used to look up UDP listener factory, matches "raw_udp_listener" or + * "quic_listener" to create a specific udp listener. + * If not specified, treat as "raw_udp_listener". + */ 'udp_listener_name'?: (string); 'config'?: (_google_protobuf_Struct); 'typed_config'?: (_google_protobuf_Any); + /** + * Used to create a specific listener factory. To some factory, e.g. + * "raw_udp_listener", config is not needed. + */ 'config_type'?: "config"|"typed_config"; } export interface UdpListenerConfig__Output { + /** + * Used to look up UDP listener factory, matches "raw_udp_listener" or + * "quic_listener" to create a specific udp listener. + * If not specified, treat as "raw_udp_listener". + */ 'udp_listener_name': (string); 'config'?: (_google_protobuf_Struct__Output); 'typed_config'?: (_google_protobuf_Any__Output); + /** + * Used to create a specific listener factory. To some factory, e.g. + * "raw_udp_listener", config is not needed. + */ 'config_type': "config"|"typed_config"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts index fbb1524f4..cb48b5eec 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts @@ -4,32 +4,166 @@ import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_p import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from '../../../../envoy/api/v2/core/RuntimeFractionalPercent'; import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../../envoy/type/matcher/StringMatcher'; +/** + * [#next-free-field: 12] + */ export interface CorsPolicy { + /** + * Specifies the origins that will be allowed to do CORS requests. + * + * An origin is allowed if either allow_origin or allow_origin_regex match. + * + * .. attention:: + * This field has been deprecated in favor of `allow_origin_string_match`. + */ 'allow_origin'?: (string)[]; + /** + * Specifies the content for the *access-control-allow-methods* header. + */ 'allow_methods'?: (string); + /** + * Specifies the content for the *access-control-allow-headers* header. + */ 'allow_headers'?: (string); + /** + * Specifies the content for the *access-control-expose-headers* header. + */ 'expose_headers'?: (string); + /** + * Specifies the content for the *access-control-max-age* header. + */ 'max_age'?: (string); + /** + * Specifies whether the resource allows credentials. + */ 'allow_credentials'?: (_google_protobuf_BoolValue); + /** + * Specifies if the CORS filter is enabled. Defaults to true. Only effective on route. + * + * .. attention:: + * + * **This field is deprecated**. Set the + * :ref:`filter_enabled` field instead. + */ 'enabled'?: (_google_protobuf_BoolValue); + /** + * Specifies regex patterns that match allowed origins. + * + * An origin is allowed if either allow_origin or allow_origin_regex match. + * + * .. attention:: + * This field has been deprecated in favor of `allow_origin_string_match` as it is not safe for + * use with untrusted input in all cases. + */ 'allow_origin_regex'?: (string)[]; + /** + * Specifies the % of requests for which the CORS filter is enabled. + * + * If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS + * filter will be enabled for 100% of the requests. + * + * If :ref:`runtime_key ` is + * specified, Envoy will lookup the runtime key to get the percentage of requests to filter. + */ 'filter_enabled'?: (_envoy_api_v2_core_RuntimeFractionalPercent); + /** + * Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not + * enforced. + * + * This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those + * fields have to explicitly disable the filter in order for this setting to take effect. + * + * If :ref:`runtime_key ` is specified, + * Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate + * and track the request's *Origin* to determine if it's valid but will not enforce any policies. + */ 'shadow_enabled'?: (_envoy_api_v2_core_RuntimeFractionalPercent); + /** + * Specifies string patterns that match allowed origins. An origin is allowed if any of the + * string matchers match. + */ 'allow_origin_string_match'?: (_envoy_type_matcher_StringMatcher)[]; 'enabled_specifier'?: "enabled"|"filter_enabled"; } +/** + * [#next-free-field: 12] + */ export interface CorsPolicy__Output { + /** + * Specifies the origins that will be allowed to do CORS requests. + * + * An origin is allowed if either allow_origin or allow_origin_regex match. + * + * .. attention:: + * This field has been deprecated in favor of `allow_origin_string_match`. + */ 'allow_origin': (string)[]; + /** + * Specifies the content for the *access-control-allow-methods* header. + */ 'allow_methods': (string); + /** + * Specifies the content for the *access-control-allow-headers* header. + */ 'allow_headers': (string); + /** + * Specifies the content for the *access-control-expose-headers* header. + */ 'expose_headers': (string); + /** + * Specifies the content for the *access-control-max-age* header. + */ 'max_age': (string); + /** + * Specifies whether the resource allows credentials. + */ 'allow_credentials': (_google_protobuf_BoolValue__Output); + /** + * Specifies if the CORS filter is enabled. Defaults to true. Only effective on route. + * + * .. attention:: + * + * **This field is deprecated**. Set the + * :ref:`filter_enabled` field instead. + */ 'enabled'?: (_google_protobuf_BoolValue__Output); + /** + * Specifies regex patterns that match allowed origins. + * + * An origin is allowed if either allow_origin or allow_origin_regex match. + * + * .. attention:: + * This field has been deprecated in favor of `allow_origin_string_match` as it is not safe for + * use with untrusted input in all cases. + */ 'allow_origin_regex': (string)[]; + /** + * Specifies the % of requests for which the CORS filter is enabled. + * + * If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS + * filter will be enabled for 100% of the requests. + * + * If :ref:`runtime_key ` is + * specified, Envoy will lookup the runtime key to get the percentage of requests to filter. + */ 'filter_enabled'?: (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + /** + * Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not + * enforced. + * + * This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those + * fields have to explicitly disable the filter in order for this setting to take effect. + * + * If :ref:`runtime_key ` is specified, + * Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate + * and track the request's *Origin* to determine if it's valid but will not enforce any policies. + */ 'shadow_enabled': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + /** + * Specifies string patterns that match allowed origins. An origin is allowed if any of the + * string matchers match. + */ 'allow_origin_string_match': (_envoy_type_matcher_StringMatcher__Output)[]; 'enabled_specifier': "enabled"|"filter_enabled"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.ts index 84deb8b0c..43bc7408c 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.ts @@ -3,11 +3,37 @@ import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; export interface Decorator { + /** + * The operation name associated with the request matched to this route. If tracing is + * enabled, this information will be used as the span name reported for this request. + * + * .. note:: + * + * For ingress (inbound) requests, or egress (outbound) responses, this value may be overridden + * by the :ref:`x-envoy-decorator-operation + * ` header. + */ 'operation'?: (string); + /** + * Whether the decorated details should be propagated to the other party. The default is true. + */ 'propagate'?: (_google_protobuf_BoolValue); } export interface Decorator__Output { + /** + * The operation name associated with the request matched to this route. If tracing is + * enabled, this information will be used as the span name reported for this request. + * + * .. note:: + * + * For ingress (inbound) requests, or egress (outbound) responses, this value may be overridden + * by the :ref:`x-envoy-decorator-operation + * ` header. + */ 'operation': (string); + /** + * Whether the decorated details should be propagated to the other party. The default is true. + */ 'propagate': (_google_protobuf_BoolValue__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.ts index 83440efcf..7585f376c 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.ts @@ -3,11 +3,37 @@ import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; export interface DirectResponseAction { + /** + * Specifies the HTTP response status to be returned. + */ 'status'?: (number); + /** + * Specifies the content of the response body. If this setting is omitted, + * no body is included in the generated response. + * + * .. note:: + * + * Headers can be specified using *response_headers_to_add* in the enclosing + * :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_RouteConfiguration` or + * :ref:`envoy_api_msg_route.VirtualHost`. + */ 'body'?: (_envoy_api_v2_core_DataSource); } export interface DirectResponseAction__Output { + /** + * Specifies the HTTP response status to be returned. + */ 'status': (number); + /** + * Specifies the content of the response body. If this setting is omitted, + * no body is included in the generated response. + * + * .. note:: + * + * Headers can be specified using *response_headers_to_add* in the enclosing + * :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_RouteConfiguration` or + * :ref:`envoy_api_msg_route.VirtualHost`. + */ 'body': (_envoy_api_v2_core_DataSource__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.ts index 14455ae79..8e0985e12 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.ts @@ -2,10 +2,16 @@ import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; +/** + * A filter-defined action type. + */ export interface FilterAction { 'action'?: (_google_protobuf_Any); } +/** + * A filter-defined action type. + */ export interface FilterAction__Output { 'action': (_google_protobuf_Any__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.ts index 6a189d87f..3e9793649 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/HeaderMatcher.ts @@ -4,28 +4,224 @@ import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from '../../../../envoy/type/matcher/RegexMatcher'; import { Long } from '@grpc/proto-loader'; +/** + * .. attention:: + * + * Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* + * header. Thus, if attempting to match on *Host*, match on *:authority* instead. + * + * .. attention:: + * + * To route on HTTP method, use the special HTTP/2 *:method* header. This works for both + * HTTP/1 and HTTP/2 as Envoy normalizes headers. E.g., + * + * .. code-block:: json + * + * { + * "name": ":method", + * "exact_match": "POST" + * } + * + * .. attention:: + * In the absence of any header match specifier, match will default to :ref:`present_match + * `. i.e, a request that has the :ref:`name + * ` header will match, regardless of the header's + * value. + * + * [#next-major-version: HeaderMatcher should be refactored to use StringMatcher.] + * [#next-free-field: 12] + */ export interface HeaderMatcher { + /** + * Specifies the name of the header in the request. + */ 'name'?: (string); + /** + * If specified, header match will be performed based on the value of the header. + */ 'exact_match'?: (string); + /** + * If specified, this regex string is a regular expression rule which implies the entire request + * header value must match the regex. The rule will not match if only a subsequence of the + * request header value matches the regex. The regex grammar used in the value field is defined + * `here `_. + * + * Examples: + * + * * The regex ``\d{3}`` matches the value *123* + * * The regex ``\d{3}`` does not match the value *1234* + * * The regex ``\d{3}`` does not match the value *123.456* + * + * .. attention:: + * This field has been deprecated in favor of `safe_regex_match` as it is not safe for use + * with untrusted input in all cases. + */ 'regex_match'?: (string); + /** + * If specified, header match will be performed based on range. + * The rule will match if the request header value is within this range. + * The entire request header value must represent an integer in base 10 notation: consisting of + * an optional plus or minus sign followed by a sequence of digits. The rule will not match if + * the header value does not represent an integer. Match will fail for empty values, floating + * point numbers or if only a subsequence of the header value is an integer. + * + * Examples: + * + * * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, + * "-1somestring" + */ 'range_match'?: (_envoy_type_Int64Range); + /** + * If specified, header match will be performed based on whether the header is in the + * request. + */ 'present_match'?: (boolean); + /** + * If specified, the match result will be inverted before checking. Defaults to false. + * + * Examples: + * + * * The regex ``\d{3}`` does not match the value *1234*, so it will match when inverted. + * * The range [-10,0) will match the value -1, so it will not match when inverted. + */ 'invert_match'?: (boolean); + /** + * If specified, header match will be performed based on the prefix of the header value. + * Note: empty prefix is not allowed, please use present_match instead. + * + * Examples: + * + * * The prefix *abcd* matches the value *abcdxyz*, but not for *abcxyz*. + */ 'prefix_match'?: (string); + /** + * If specified, header match will be performed based on the suffix of the header value. + * Note: empty suffix is not allowed, please use present_match instead. + * + * Examples: + * + * * The suffix *abcd* matches the value *xyzabcd*, but not for *xyzbcd*. + */ 'suffix_match'?: (string); + /** + * If specified, this regex string is a regular expression rule which implies the entire request + * header value must match the regex. The rule will not match if only a subsequence of the + * request header value matches the regex. + */ 'safe_regex_match'?: (_envoy_type_matcher_RegexMatcher); + /** + * Specifies how the header match will be performed to route the request. + */ 'header_match_specifier'?: "exact_match"|"regex_match"|"safe_regex_match"|"range_match"|"present_match"|"prefix_match"|"suffix_match"; } +/** + * .. attention:: + * + * Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* + * header. Thus, if attempting to match on *Host*, match on *:authority* instead. + * + * .. attention:: + * + * To route on HTTP method, use the special HTTP/2 *:method* header. This works for both + * HTTP/1 and HTTP/2 as Envoy normalizes headers. E.g., + * + * .. code-block:: json + * + * { + * "name": ":method", + * "exact_match": "POST" + * } + * + * .. attention:: + * In the absence of any header match specifier, match will default to :ref:`present_match + * `. i.e, a request that has the :ref:`name + * ` header will match, regardless of the header's + * value. + * + * [#next-major-version: HeaderMatcher should be refactored to use StringMatcher.] + * [#next-free-field: 12] + */ export interface HeaderMatcher__Output { + /** + * Specifies the name of the header in the request. + */ 'name': (string); + /** + * If specified, header match will be performed based on the value of the header. + */ 'exact_match'?: (string); + /** + * If specified, this regex string is a regular expression rule which implies the entire request + * header value must match the regex. The rule will not match if only a subsequence of the + * request header value matches the regex. The regex grammar used in the value field is defined + * `here `_. + * + * Examples: + * + * * The regex ``\d{3}`` matches the value *123* + * * The regex ``\d{3}`` does not match the value *1234* + * * The regex ``\d{3}`` does not match the value *123.456* + * + * .. attention:: + * This field has been deprecated in favor of `safe_regex_match` as it is not safe for use + * with untrusted input in all cases. + */ 'regex_match'?: (string); + /** + * If specified, header match will be performed based on range. + * The rule will match if the request header value is within this range. + * The entire request header value must represent an integer in base 10 notation: consisting of + * an optional plus or minus sign followed by a sequence of digits. The rule will not match if + * the header value does not represent an integer. Match will fail for empty values, floating + * point numbers or if only a subsequence of the header value is an integer. + * + * Examples: + * + * * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, + * "-1somestring" + */ 'range_match'?: (_envoy_type_Int64Range__Output); + /** + * If specified, header match will be performed based on whether the header is in the + * request. + */ 'present_match'?: (boolean); + /** + * If specified, the match result will be inverted before checking. Defaults to false. + * + * Examples: + * + * * The regex ``\d{3}`` does not match the value *1234*, so it will match when inverted. + * * The range [-10,0) will match the value -1, so it will not match when inverted. + */ 'invert_match': (boolean); + /** + * If specified, header match will be performed based on the prefix of the header value. + * Note: empty prefix is not allowed, please use present_match instead. + * + * Examples: + * + * * The prefix *abcd* matches the value *abcdxyz*, but not for *abcxyz*. + */ 'prefix_match'?: (string); + /** + * If specified, header match will be performed based on the suffix of the header value. + * Note: empty suffix is not allowed, please use present_match instead. + * + * Examples: + * + * * The suffix *abcd* matches the value *xyzabcd*, but not for *xyzbcd*. + */ 'suffix_match'?: (string); + /** + * If specified, this regex string is a regular expression rule which implies the entire request + * header value must match the regex. The rule will not match if only a subsequence of the + * request header value matches the regex. + */ 'safe_regex_match'?: (_envoy_type_matcher_RegexMatcher__Output); + /** + * Specifies how the header match will be performed to route the request. + */ 'header_match_specifier': "exact_match"|"regex_match"|"safe_regex_match"|"range_match"|"present_match"|"prefix_match"|"suffix_match"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.ts index 5cab83560..a1c641711 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.ts @@ -3,14 +3,64 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from '../../../../envoy/type/FractionalPercent'; +/** + * HTTP request hedging :ref:`architecture overview `. + */ export interface HedgePolicy { + /** + * Specifies the number of initial requests that should be sent upstream. + * Must be at least 1. + * Defaults to 1. + * [#not-implemented-hide:] + */ 'initial_requests'?: (_google_protobuf_UInt32Value); + /** + * Specifies a probability that an additional upstream request should be sent + * on top of what is specified by initial_requests. + * Defaults to 0. + * [#not-implemented-hide:] + */ 'additional_request_chance'?: (_envoy_type_FractionalPercent); + /** + * Indicates that a hedged request should be sent when the per-try timeout + * is hit. This will only occur if the retry policy also indicates that a + * timed out request should be retried. + * Once a timed out request is retried due to per try timeout, the router + * filter will ensure that it is not retried again even if the returned + * response headers would otherwise be retried according the specified + * :ref:`RetryPolicy `. + * Defaults to false. + */ 'hedge_on_per_try_timeout'?: (boolean); } +/** + * HTTP request hedging :ref:`architecture overview `. + */ export interface HedgePolicy__Output { + /** + * Specifies the number of initial requests that should be sent upstream. + * Must be at least 1. + * Defaults to 1. + * [#not-implemented-hide:] + */ 'initial_requests': (_google_protobuf_UInt32Value__Output); + /** + * Specifies a probability that an additional upstream request should be sent + * on top of what is specified by initial_requests. + * Defaults to 0. + * [#not-implemented-hide:] + */ 'additional_request_chance': (_envoy_type_FractionalPercent__Output); + /** + * Indicates that a hedged request should be sent when the per-try timeout + * is hit. This will only occur if the retry policy also indicates that a + * timed out request should be retried. + * Once a timed out request is retried due to per try timeout, the router + * filter will ensure that it is not retried again even if the returned + * response headers would otherwise be retried according the specified + * :ref:`RetryPolicy `. + * Defaults to false. + */ 'hedge_on_per_try_timeout': (boolean); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.ts index 48c6a51b0..8f0041ce6 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.ts @@ -3,20 +3,84 @@ import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../../envoy/type/matcher/StringMatcher'; +/** + * Query parameter matching treats the query string of a request's :path header + * as an ampersand-separated list of keys and/or key=value elements. + * [#next-free-field: 7] + */ export interface QueryParameterMatcher { + /** + * Specifies the name of a key that must be present in the requested + * *path*'s query string. + */ 'name'?: (string); + /** + * Specifies the value of the key. If the value is absent, a request + * that contains the key in its query string will match, whether the + * key appears with a value (e.g., "?debug=true") or not (e.g., "?debug") + * + * ..attention:: + * This field is deprecated. Use an `exact` match inside the `string_match` field. + */ 'value'?: (string); + /** + * Specifies whether the query parameter value is a regular expression. + * Defaults to false. The entire query parameter value (i.e., the part to + * the right of the equals sign in "key=value") must match the regex. + * E.g., the regex ``\d+$`` will match *123* but not *a123* or *123a*. + * + * ..attention:: + * This field is deprecated. Use a `safe_regex` match inside the `string_match` field. + */ 'regex'?: (_google_protobuf_BoolValue); + /** + * Specifies whether a query parameter value should match against a string. + */ 'string_match'?: (_envoy_type_matcher_StringMatcher); + /** + * Specifies whether a query parameter should be present. + */ 'present_match'?: (boolean); 'query_parameter_match_specifier'?: "string_match"|"present_match"; } +/** + * Query parameter matching treats the query string of a request's :path header + * as an ampersand-separated list of keys and/or key=value elements. + * [#next-free-field: 7] + */ export interface QueryParameterMatcher__Output { + /** + * Specifies the name of a key that must be present in the requested + * *path*'s query string. + */ 'name': (string); + /** + * Specifies the value of the key. If the value is absent, a request + * that contains the key in its query string will match, whether the + * key appears with a value (e.g., "?debug=true") or not (e.g., "?debug") + * + * ..attention:: + * This field is deprecated. Use an `exact` match inside the `string_match` field. + */ 'value': (string); + /** + * Specifies whether the query parameter value is a regular expression. + * Defaults to false. The entire query parameter value (i.e., the part to + * the right of the equals sign in "key=value") must match the regex. + * E.g., the regex ``\d+$`` will match *123* but not *a123* or *123a*. + * + * ..attention:: + * This field is deprecated. Use a `safe_regex` match inside the `string_match` field. + */ 'regex': (_google_protobuf_BoolValue__Output); + /** + * Specifies whether a query parameter value should match against a string. + */ 'string_match'?: (_envoy_type_matcher_StringMatcher__Output); + /** + * Specifies whether a query parameter should be present. + */ 'present_match'?: (boolean); 'query_parameter_match_specifier': "string_match"|"present_match"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts index b75b9b446..6361f5032 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts @@ -4,82 +4,338 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _go import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from '../../../../envoy/api/v2/route/HeaderMatcher'; +/** + * [#next-free-field: 7] + */ export interface _envoy_api_v2_route_RateLimit_Action { + /** + * Rate limit on source cluster. + */ 'source_cluster'?: (_envoy_api_v2_route_RateLimit_Action_SourceCluster); + /** + * Rate limit on destination cluster. + */ 'destination_cluster'?: (_envoy_api_v2_route_RateLimit_Action_DestinationCluster); + /** + * Rate limit on request headers. + */ 'request_headers'?: (_envoy_api_v2_route_RateLimit_Action_RequestHeaders); + /** + * Rate limit on remote address. + */ 'remote_address'?: (_envoy_api_v2_route_RateLimit_Action_RemoteAddress); + /** + * Rate limit on a generic key. + */ 'generic_key'?: (_envoy_api_v2_route_RateLimit_Action_GenericKey); + /** + * Rate limit on the existence of request headers. + */ 'header_value_match'?: (_envoy_api_v2_route_RateLimit_Action_HeaderValueMatch); 'action_specifier'?: "source_cluster"|"destination_cluster"|"request_headers"|"remote_address"|"generic_key"|"header_value_match"; } +/** + * [#next-free-field: 7] + */ export interface _envoy_api_v2_route_RateLimit_Action__Output { + /** + * Rate limit on source cluster. + */ 'source_cluster'?: (_envoy_api_v2_route_RateLimit_Action_SourceCluster__Output); + /** + * Rate limit on destination cluster. + */ 'destination_cluster'?: (_envoy_api_v2_route_RateLimit_Action_DestinationCluster__Output); + /** + * Rate limit on request headers. + */ 'request_headers'?: (_envoy_api_v2_route_RateLimit_Action_RequestHeaders__Output); + /** + * Rate limit on remote address. + */ 'remote_address'?: (_envoy_api_v2_route_RateLimit_Action_RemoteAddress__Output); + /** + * Rate limit on a generic key. + */ 'generic_key'?: (_envoy_api_v2_route_RateLimit_Action_GenericKey__Output); + /** + * Rate limit on the existence of request headers. + */ 'header_value_match'?: (_envoy_api_v2_route_RateLimit_Action_HeaderValueMatch__Output); 'action_specifier': "source_cluster"|"destination_cluster"|"request_headers"|"remote_address"|"generic_key"|"header_value_match"; } +/** + * The following descriptor entry is appended to the descriptor: + * + * .. code-block:: cpp + * + * ("destination_cluster", "") + * + * Once a request matches against a route table rule, a routed cluster is determined by one of + * the following :ref:`route table configuration ` + * settings: + * + * * :ref:`cluster ` indicates the upstream cluster + * to route to. + * * :ref:`weighted_clusters ` + * chooses a cluster randomly from a set of clusters with attributed weight. + * * :ref:`cluster_header ` indicates which + * header in the request contains the target cluster. + */ export interface _envoy_api_v2_route_RateLimit_Action_DestinationCluster { } +/** + * The following descriptor entry is appended to the descriptor: + * + * .. code-block:: cpp + * + * ("destination_cluster", "") + * + * Once a request matches against a route table rule, a routed cluster is determined by one of + * the following :ref:`route table configuration ` + * settings: + * + * * :ref:`cluster ` indicates the upstream cluster + * to route to. + * * :ref:`weighted_clusters ` + * chooses a cluster randomly from a set of clusters with attributed weight. + * * :ref:`cluster_header ` indicates which + * header in the request contains the target cluster. + */ export interface _envoy_api_v2_route_RateLimit_Action_DestinationCluster__Output { } +/** + * The following descriptor entry is appended to the descriptor: + * + * .. code-block:: cpp + * + * ("generic_key", "") + */ export interface _envoy_api_v2_route_RateLimit_Action_GenericKey { + /** + * The value to use in the descriptor entry. + */ 'descriptor_value'?: (string); } +/** + * The following descriptor entry is appended to the descriptor: + * + * .. code-block:: cpp + * + * ("generic_key", "") + */ export interface _envoy_api_v2_route_RateLimit_Action_GenericKey__Output { + /** + * The value to use in the descriptor entry. + */ 'descriptor_value': (string); } +/** + * The following descriptor entry is appended to the descriptor: + * + * .. code-block:: cpp + * + * ("header_match", "") + */ export interface _envoy_api_v2_route_RateLimit_Action_HeaderValueMatch { + /** + * The value to use in the descriptor entry. + */ 'descriptor_value'?: (string); + /** + * If set to true, the action will append a descriptor entry when the + * request matches the headers. If set to false, the action will append a + * descriptor entry when the request does not match the headers. The + * default value is true. + */ 'expect_match'?: (_google_protobuf_BoolValue); + /** + * Specifies a set of headers that the rate limit action should match + * on. The action will check the request’s headers against all the + * specified headers in the config. A match will happen if all the + * headers in the config are present in the request with the same values + * (or based on presence if the value field is not in the config). + */ 'headers'?: (_envoy_api_v2_route_HeaderMatcher)[]; } +/** + * The following descriptor entry is appended to the descriptor: + * + * .. code-block:: cpp + * + * ("header_match", "") + */ export interface _envoy_api_v2_route_RateLimit_Action_HeaderValueMatch__Output { + /** + * The value to use in the descriptor entry. + */ 'descriptor_value': (string); + /** + * If set to true, the action will append a descriptor entry when the + * request matches the headers. If set to false, the action will append a + * descriptor entry when the request does not match the headers. The + * default value is true. + */ 'expect_match': (_google_protobuf_BoolValue__Output); + /** + * Specifies a set of headers that the rate limit action should match + * on. The action will check the request’s headers against all the + * specified headers in the config. A match will happen if all the + * headers in the config are present in the request with the same values + * (or based on presence if the value field is not in the config). + */ 'headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; } +/** + * The following descriptor entry is appended to the descriptor and is populated using the + * trusted address from :ref:`x-forwarded-for `: + * + * .. code-block:: cpp + * + * ("remote_address", "") + */ export interface _envoy_api_v2_route_RateLimit_Action_RemoteAddress { } +/** + * The following descriptor entry is appended to the descriptor and is populated using the + * trusted address from :ref:`x-forwarded-for `: + * + * .. code-block:: cpp + * + * ("remote_address", "") + */ export interface _envoy_api_v2_route_RateLimit_Action_RemoteAddress__Output { } +/** + * The following descriptor entry is appended when a header contains a key that matches the + * *header_name*: + * + * .. code-block:: cpp + * + * ("", "") + */ export interface _envoy_api_v2_route_RateLimit_Action_RequestHeaders { + /** + * The header name to be queried from the request headers. The header’s + * value is used to populate the value of the descriptor entry for the + * descriptor_key. + */ 'header_name'?: (string); + /** + * The key to use in the descriptor entry. + */ 'descriptor_key'?: (string); } +/** + * The following descriptor entry is appended when a header contains a key that matches the + * *header_name*: + * + * .. code-block:: cpp + * + * ("", "") + */ export interface _envoy_api_v2_route_RateLimit_Action_RequestHeaders__Output { + /** + * The header name to be queried from the request headers. The header’s + * value is used to populate the value of the descriptor entry for the + * descriptor_key. + */ 'header_name': (string); + /** + * The key to use in the descriptor entry. + */ 'descriptor_key': (string); } +/** + * The following descriptor entry is appended to the descriptor: + * + * .. code-block:: cpp + * + * ("source_cluster", "") + * + * is derived from the :option:`--service-cluster` option. + */ export interface _envoy_api_v2_route_RateLimit_Action_SourceCluster { } +/** + * The following descriptor entry is appended to the descriptor: + * + * .. code-block:: cpp + * + * ("source_cluster", "") + * + * is derived from the :option:`--service-cluster` option. + */ export interface _envoy_api_v2_route_RateLimit_Action_SourceCluster__Output { } +/** + * Global rate limiting :ref:`architecture overview `. + */ export interface RateLimit { + /** + * Refers to the stage set in the filter. The rate limit configuration only + * applies to filters with the same stage number. The default stage number is + * 0. + * + * .. note:: + * + * The filter supports a range of 0 - 10 inclusively for stage numbers. + */ 'stage'?: (_google_protobuf_UInt32Value); + /** + * The key to be set in runtime to disable this rate limit configuration. + */ 'disable_key'?: (string); + /** + * A list of actions that are to be applied for this rate limit configuration. + * Order matters as the actions are processed sequentially and the descriptor + * is composed by appending descriptor entries in that sequence. If an action + * cannot append a descriptor entry, no descriptor is generated for the + * configuration. See :ref:`composing actions + * ` for additional documentation. + */ 'actions'?: (_envoy_api_v2_route_RateLimit_Action)[]; } +/** + * Global rate limiting :ref:`architecture overview `. + */ export interface RateLimit__Output { + /** + * Refers to the stage set in the filter. The rate limit configuration only + * applies to filters with the same stage number. The default stage number is + * 0. + * + * .. note:: + * + * The filter supports a range of 0 - 10 inclusively for stage numbers. + */ 'stage': (_google_protobuf_UInt32Value__Output); + /** + * The key to be set in runtime to disable this rate limit configuration. + */ 'disable_key': (string); + /** + * A list of actions that are to be applied for this rate limit configuration. + * Order matters as the actions are processed sequentially and the descriptor + * is composed by appending descriptor entries in that sequence. If an action + * cannot append a descriptor entry, no descriptor is generated for the + * configuration. See :ref:`composing actions + * ` for additional documentation. + */ 'actions': (_envoy_api_v2_route_RateLimit_Action__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.ts index 06214c9db..de7105a54 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RedirectAction.ts @@ -4,35 +4,136 @@ // Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto export enum _envoy_api_v2_route_RedirectAction_RedirectResponseCode { + /** + * Moved Permanently HTTP Status Code - 301. + */ MOVED_PERMANENTLY = 0, + /** + * Found HTTP Status Code - 302. + */ FOUND = 1, + /** + * See Other HTTP Status Code - 303. + */ SEE_OTHER = 2, + /** + * Temporary Redirect HTTP Status Code - 307. + */ TEMPORARY_REDIRECT = 3, + /** + * Permanent Redirect HTTP Status Code - 308. + */ PERMANENT_REDIRECT = 4, } +/** + * [#next-free-field: 9] + */ export interface RedirectAction { + /** + * The host portion of the URL will be swapped with this value. + */ 'host_redirect'?: (string); + /** + * The path portion of the URL will be swapped with this value. + */ 'path_redirect'?: (string); + /** + * The HTTP status code to use in the redirect response. The default response + * code is MOVED_PERMANENTLY (301). + */ 'response_code'?: (_envoy_api_v2_route_RedirectAction_RedirectResponseCode | keyof typeof _envoy_api_v2_route_RedirectAction_RedirectResponseCode); + /** + * The scheme portion of the URL will be swapped with "https". + */ 'https_redirect'?: (boolean); + /** + * Indicates that during redirection, the matched prefix (or path) + * should be swapped with this value. This option allows redirect URLs be dynamically created + * based on the request. + * + * .. attention:: + * + * Pay attention to the use of trailing slashes as mentioned in + * :ref:`RouteAction's prefix_rewrite `. + */ 'prefix_rewrite'?: (string); + /** + * Indicates that during redirection, the query portion of the URL will + * be removed. Default value is false. + */ 'strip_query'?: (boolean); + /** + * The scheme portion of the URL will be swapped with this value. + */ 'scheme_redirect'?: (string); + /** + * The port value of the URL will be swapped with this value. + */ 'port_redirect'?: (number); + /** + * When the scheme redirection take place, the following rules apply: + * 1. If the source URI scheme is `http` and the port is explicitly + * set to `:80`, the port will be removed after the redirection + * 2. If the source URI scheme is `https` and the port is explicitly + * set to `:443`, the port will be removed after the redirection + */ 'scheme_rewrite_specifier'?: "https_redirect"|"scheme_redirect"; 'path_rewrite_specifier'?: "path_redirect"|"prefix_rewrite"; } +/** + * [#next-free-field: 9] + */ export interface RedirectAction__Output { + /** + * The host portion of the URL will be swapped with this value. + */ 'host_redirect': (string); + /** + * The path portion of the URL will be swapped with this value. + */ 'path_redirect'?: (string); + /** + * The HTTP status code to use in the redirect response. The default response + * code is MOVED_PERMANENTLY (301). + */ 'response_code': (keyof typeof _envoy_api_v2_route_RedirectAction_RedirectResponseCode); + /** + * The scheme portion of the URL will be swapped with "https". + */ 'https_redirect'?: (boolean); + /** + * Indicates that during redirection, the matched prefix (or path) + * should be swapped with this value. This option allows redirect URLs be dynamically created + * based on the request. + * + * .. attention:: + * + * Pay attention to the use of trailing slashes as mentioned in + * :ref:`RouteAction's prefix_rewrite `. + */ 'prefix_rewrite'?: (string); + /** + * Indicates that during redirection, the query portion of the URL will + * be removed. Default value is false. + */ 'strip_query': (boolean); + /** + * The scheme portion of the URL will be swapped with this value. + */ 'scheme_redirect'?: (string); + /** + * The port value of the URL will be swapped with this value. + */ 'port_redirect': (number); + /** + * When the scheme redirection take place, the following rules apply: + * 1. If the source URI scheme is `http` and the port is explicitly + * set to `:80`, the port will be removed after the redirection + * 2. If the source URI scheme is `https` and the port is explicitly + * set to `:443`, the port will be removed after the redirection + */ 'scheme_rewrite_specifier': "https_redirect"|"scheme_redirect"; 'path_rewrite_specifier': "path_redirect"|"prefix_rewrite"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts index e43648001..48df89fdb 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts @@ -8,12 +8,36 @@ import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Outpu import { Long } from '@grpc/proto-loader'; export interface _envoy_api_v2_route_RetryPolicy_RetryBackOff { + /** + * Specifies the base interval between retries. This parameter is required and must be greater + * than zero. Values less than 1 ms are rounded up to 1 ms. + * See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's + * back-off algorithm. + */ 'base_interval'?: (_google_protobuf_Duration); + /** + * Specifies the maximum interval between retries. This parameter is optional, but must be + * greater than or equal to the `base_interval` if set. The default is 10 times the + * `base_interval`. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion + * of Envoy's back-off algorithm. + */ 'max_interval'?: (_google_protobuf_Duration); } export interface _envoy_api_v2_route_RetryPolicy_RetryBackOff__Output { + /** + * Specifies the base interval between retries. This parameter is required and must be greater + * than zero. Values less than 1 ms are rounded up to 1 ms. + * See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's + * back-off algorithm. + */ 'base_interval': (_google_protobuf_Duration__Output); + /** + * Specifies the maximum interval between retries. This parameter is optional, but must be + * greater than or equal to the `base_interval` if set. The default is 10 times the + * `base_interval`. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion + * of Envoy's back-off algorithm. + */ 'max_interval': (_google_protobuf_Duration__Output); } @@ -45,28 +69,150 @@ export interface _envoy_api_v2_route_RetryPolicy_RetryPriority__Output { 'config_type': "config"|"typed_config"; } +/** + * HTTP retry :ref:`architecture overview `. + * [#next-free-field: 11] + */ export interface RetryPolicy { + /** + * Specifies the conditions under which retry takes place. These are the same + * conditions documented for :ref:`config_http_filters_router_x-envoy-retry-on` and + * :ref:`config_http_filters_router_x-envoy-retry-grpc-on`. + */ 'retry_on'?: (string); + /** + * Specifies the allowed number of retries. This parameter is optional and + * defaults to 1. These are the same conditions documented for + * :ref:`config_http_filters_router_x-envoy-max-retries`. + */ 'num_retries'?: (_google_protobuf_UInt32Value); + /** + * Specifies a non-zero upstream timeout per retry attempt. This parameter is optional. The + * same conditions documented for + * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms` apply. + * + * .. note:: + * + * If left unspecified, Envoy will use the global + * :ref:`route timeout ` for the request. + * Consequently, when using a :ref:`5xx ` based + * retry policy, a request that times out will not be retried as the total timeout budget + * would have been exhausted. + */ 'per_try_timeout'?: (_google_protobuf_Duration); + /** + * Specifies an implementation of a RetryPriority which is used to determine the + * distribution of load across priorities used for retries. Refer to + * :ref:`retry plugin configuration ` for more details. + */ 'retry_priority'?: (_envoy_api_v2_route_RetryPolicy_RetryPriority); + /** + * Specifies a collection of RetryHostPredicates that will be consulted when selecting a host + * for retries. If any of the predicates reject the host, host selection will be reattempted. + * Refer to :ref:`retry plugin configuration ` for more + * details. + */ 'retry_host_predicate'?: (_envoy_api_v2_route_RetryPolicy_RetryHostPredicate)[]; + /** + * The maximum number of times host selection will be reattempted before giving up, at which + * point the host that was last selected will be routed to. If unspecified, this will default to + * retrying once. + */ 'host_selection_retry_max_attempts'?: (number | string | Long); + /** + * HTTP status codes that should trigger a retry in addition to those specified by retry_on. + */ 'retriable_status_codes'?: (number)[]; + /** + * Specifies parameters that control retry back off. This parameter is optional, in which case the + * default base interval is 25 milliseconds or, if set, the current value of the + * `upstream.base_retry_backoff_ms` runtime parameter. The default maximum interval is 10 times + * the base interval. The documentation for :ref:`config_http_filters_router_x-envoy-max-retries` + * describes Envoy's back-off algorithm. + */ 'retry_back_off'?: (_envoy_api_v2_route_RetryPolicy_RetryBackOff); + /** + * HTTP response headers that trigger a retry if present in the response. A retry will be + * triggered if any of the header matches match the upstream response headers. + * The field is only consulted if 'retriable-headers' retry policy is active. + */ 'retriable_headers'?: (_envoy_api_v2_route_HeaderMatcher)[]; + /** + * HTTP headers which must be present in the request for retries to be attempted. + */ 'retriable_request_headers'?: (_envoy_api_v2_route_HeaderMatcher)[]; } +/** + * HTTP retry :ref:`architecture overview `. + * [#next-free-field: 11] + */ export interface RetryPolicy__Output { + /** + * Specifies the conditions under which retry takes place. These are the same + * conditions documented for :ref:`config_http_filters_router_x-envoy-retry-on` and + * :ref:`config_http_filters_router_x-envoy-retry-grpc-on`. + */ 'retry_on': (string); + /** + * Specifies the allowed number of retries. This parameter is optional and + * defaults to 1. These are the same conditions documented for + * :ref:`config_http_filters_router_x-envoy-max-retries`. + */ 'num_retries': (_google_protobuf_UInt32Value__Output); + /** + * Specifies a non-zero upstream timeout per retry attempt. This parameter is optional. The + * same conditions documented for + * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms` apply. + * + * .. note:: + * + * If left unspecified, Envoy will use the global + * :ref:`route timeout ` for the request. + * Consequently, when using a :ref:`5xx ` based + * retry policy, a request that times out will not be retried as the total timeout budget + * would have been exhausted. + */ 'per_try_timeout': (_google_protobuf_Duration__Output); + /** + * Specifies an implementation of a RetryPriority which is used to determine the + * distribution of load across priorities used for retries. Refer to + * :ref:`retry plugin configuration ` for more details. + */ 'retry_priority': (_envoy_api_v2_route_RetryPolicy_RetryPriority__Output); + /** + * Specifies a collection of RetryHostPredicates that will be consulted when selecting a host + * for retries. If any of the predicates reject the host, host selection will be reattempted. + * Refer to :ref:`retry plugin configuration ` for more + * details. + */ 'retry_host_predicate': (_envoy_api_v2_route_RetryPolicy_RetryHostPredicate__Output)[]; + /** + * The maximum number of times host selection will be reattempted before giving up, at which + * point the host that was last selected will be routed to. If unspecified, this will default to + * retrying once. + */ 'host_selection_retry_max_attempts': (string); + /** + * HTTP status codes that should trigger a retry in addition to those specified by retry_on. + */ 'retriable_status_codes': (number)[]; + /** + * Specifies parameters that control retry back off. This parameter is optional, in which case the + * default base interval is 25 milliseconds or, if set, the current value of the + * `upstream.base_retry_backoff_ms` runtime parameter. The default maximum interval is 10 times + * the base interval. The documentation for :ref:`config_http_filters_router_x-envoy-max-retries` + * describes Envoy's back-off algorithm. + */ 'retry_back_off': (_envoy_api_v2_route_RetryPolicy_RetryBackOff__Output); + /** + * HTTP response headers that trigger a retry if present in the response. A retry will be + * triggered if any of the header matches match the upstream response headers. + * The field is only consulted if 'retriable-headers' retry policy is active. + */ 'retriable_headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; + /** + * HTTP headers which must be present in the request for retries to be attempted. + */ 'retriable_request_headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts index 42202684c..32c4786e0 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts @@ -13,42 +13,216 @@ import { Tracing as _envoy_api_v2_route_Tracing, Tracing__Output as _envoy_api_v import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from '../../../../envoy/api/v2/route/FilterAction'; +/** + * A route is both a specification of how to match a request as well as an indication of what to do + * next (e.g., redirect, forward, rewrite, etc.). + * + * .. attention:: + * + * Envoy supports routing on HTTP method via :ref:`header matching + * `. + * [#next-free-field: 18] + */ export interface Route { + /** + * Route matching parameters. + */ 'match'?: (_envoy_api_v2_route_RouteMatch); + /** + * Route request to some upstream cluster. + */ 'route'?: (_envoy_api_v2_route_RouteAction); + /** + * Return a redirect. + */ 'redirect'?: (_envoy_api_v2_route_RedirectAction); + /** + * The Metadata field can be used to provide additional information + * about the route. It can be used for configuration, stats, and logging. + * The metadata should go under the filter namespace that will need it. + * For instance, if the metadata is intended for the Router filter, + * the filter name should be specified as *envoy.filters.http.router*. + */ 'metadata'?: (_envoy_api_v2_core_Metadata); + /** + * Decorator for the matched route. + */ 'decorator'?: (_envoy_api_v2_route_Decorator); + /** + * Return an arbitrary HTTP response directly, without proxying. + */ 'direct_response'?: (_envoy_api_v2_route_DirectResponseAction); + /** + * The per_filter_config field can be used to provide route-specific + * configurations for filters. The key should match the filter name, such as + * *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter + * specific; see the :ref:`HTTP filter documentation ` for + * if and how it is utilized. + */ 'per_filter_config'?: (_google_protobuf_Struct); + /** + * Specifies a set of headers that will be added to requests matching this + * route. Headers specified at this level are applied before headers from the + * enclosing :ref:`envoy_api_msg_route.VirtualHost` and + * :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on + * header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'request_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + /** + * Specifies a set of headers that will be added to responses to requests + * matching this route. Headers specified at this level are applied before + * headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and + * :ref:`envoy_api_msg_RouteConfiguration`. For more information, including + * details on header value syntax, see the documentation on + * :ref:`custom request headers `. + */ 'response_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + /** + * Specifies a list of HTTP headers that should be removed from each response + * to requests matching this route. + */ 'response_headers_to_remove'?: (string)[]; + /** + * Specifies a list of HTTP headers that should be removed from each request + * matching this route. + */ 'request_headers_to_remove'?: (string)[]; + /** + * The typed_per_filter_config field can be used to provide route-specific + * configurations for filters. The key should match the filter name, such as + * *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter + * specific; see the :ref:`HTTP filter documentation ` for + * if and how it is utilized. + */ 'typed_per_filter_config'?: (_google_protobuf_Any); + /** + * Name for the route. + */ 'name'?: (string); + /** + * Presence of the object defines whether the connection manager's tracing configuration + * is overridden by this route specific instance. + */ 'tracing'?: (_envoy_api_v2_route_Tracing); + /** + * The maximum bytes which will be buffered for retries and shadowing. + * If set, the bytes actually buffered will be the minimum value of this and the + * listener per_connection_buffer_limit_bytes. + */ 'per_request_buffer_limit_bytes'?: (_google_protobuf_UInt32Value); + /** + * [#not-implemented-hide:] + * If true, a filter will define the action (e.g., it could dynamically generate the + * RouteAction). + */ 'filter_action'?: (_envoy_api_v2_route_FilterAction); 'action'?: "route"|"redirect"|"direct_response"|"filter_action"; } +/** + * A route is both a specification of how to match a request as well as an indication of what to do + * next (e.g., redirect, forward, rewrite, etc.). + * + * .. attention:: + * + * Envoy supports routing on HTTP method via :ref:`header matching + * `. + * [#next-free-field: 18] + */ export interface Route__Output { + /** + * Route matching parameters. + */ 'match': (_envoy_api_v2_route_RouteMatch__Output); + /** + * Route request to some upstream cluster. + */ 'route'?: (_envoy_api_v2_route_RouteAction__Output); + /** + * Return a redirect. + */ 'redirect'?: (_envoy_api_v2_route_RedirectAction__Output); + /** + * The Metadata field can be used to provide additional information + * about the route. It can be used for configuration, stats, and logging. + * The metadata should go under the filter namespace that will need it. + * For instance, if the metadata is intended for the Router filter, + * the filter name should be specified as *envoy.filters.http.router*. + */ 'metadata': (_envoy_api_v2_core_Metadata__Output); + /** + * Decorator for the matched route. + */ 'decorator': (_envoy_api_v2_route_Decorator__Output); + /** + * Return an arbitrary HTTP response directly, without proxying. + */ 'direct_response'?: (_envoy_api_v2_route_DirectResponseAction__Output); + /** + * The per_filter_config field can be used to provide route-specific + * configurations for filters. The key should match the filter name, such as + * *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter + * specific; see the :ref:`HTTP filter documentation ` for + * if and how it is utilized. + */ 'per_filter_config': (_google_protobuf_Struct__Output); + /** + * Specifies a set of headers that will be added to requests matching this + * route. Headers specified at this level are applied before headers from the + * enclosing :ref:`envoy_api_msg_route.VirtualHost` and + * :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on + * header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'request_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + /** + * Specifies a set of headers that will be added to responses to requests + * matching this route. Headers specified at this level are applied before + * headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and + * :ref:`envoy_api_msg_RouteConfiguration`. For more information, including + * details on header value syntax, see the documentation on + * :ref:`custom request headers `. + */ 'response_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + /** + * Specifies a list of HTTP headers that should be removed from each response + * to requests matching this route. + */ 'response_headers_to_remove': (string)[]; + /** + * Specifies a list of HTTP headers that should be removed from each request + * matching this route. + */ 'request_headers_to_remove': (string)[]; + /** + * The typed_per_filter_config field can be used to provide route-specific + * configurations for filters. The key should match the filter name, such as + * *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter + * specific; see the :ref:`HTTP filter documentation ` for + * if and how it is utilized. + */ 'typed_per_filter_config': (_google_protobuf_Any__Output); + /** + * Name for the route. + */ 'name': (string); + /** + * Presence of the object defines whether the connection manager's tracing configuration + * is overridden by this route specific instance. + */ 'tracing': (_envoy_api_v2_route_Tracing__Output); + /** + * The maximum bytes which will be buffered for retries and shadowing. + * If set, the bytes actually buffered will be the minimum value of this and the + * listener per_connection_buffer_limit_bytes. + */ 'per_request_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); + /** + * [#not-implemented-hide:] + * If true, a filter will define the action (e.g., it could dynamically generate the + * RouteAction). + */ 'filter_action'?: (_envoy_api_v2_route_FilterAction__Output); 'action': "route"|"redirect"|"direct_response"|"filter_action"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts index 7b58e06ee..02a8665a4 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts @@ -17,164 +17,987 @@ import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent // Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto export enum _envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode { + /** + * HTTP status code - 503 Service Unavailable. + */ SERVICE_UNAVAILABLE = 0, + /** + * HTTP status code - 404 Not Found. + */ NOT_FOUND = 1, } +/** + * Specifies the route's hashing policy if the upstream cluster uses a hashing :ref:`load balancer + * `. + * [#next-free-field: 7] + */ export interface _envoy_api_v2_route_RouteAction_HashPolicy { + /** + * Header hash policy. + */ 'header'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Header); + /** + * Cookie hash policy. + */ 'cookie'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Cookie); + /** + * Connection properties hash policy. + */ 'connection_properties'?: (_envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties); + /** + * Query parameter hash policy. + */ 'query_parameter'?: (_envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter); + /** + * Filter state hash policy. + */ 'filter_state'?: (_envoy_api_v2_route_RouteAction_HashPolicy_FilterState); + /** + * The flag that short-circuits the hash computing. This field provides a + * 'fallback' style of configuration: "if a terminal policy doesn't work, + * fallback to rest of the policy list", it saves time when the terminal + * policy works. + * + * If true, and there is already a hash computed, ignore rest of the + * list of hash polices. + * For example, if the following hash methods are configured: + * + * ========= ======== + * specifier terminal + * ========= ======== + * Header A true + * Header B false + * Header C false + * ========= ======== + * + * The generateHash process ends if policy "header A" generates a hash, as + * it's a terminal policy. + */ 'terminal'?: (boolean); 'policy_specifier'?: "header"|"cookie"|"connection_properties"|"query_parameter"|"filter_state"; } +/** + * Specifies the route's hashing policy if the upstream cluster uses a hashing :ref:`load balancer + * `. + * [#next-free-field: 7] + */ export interface _envoy_api_v2_route_RouteAction_HashPolicy__Output { + /** + * Header hash policy. + */ 'header'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Header__Output); + /** + * Cookie hash policy. + */ 'cookie'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Cookie__Output); + /** + * Connection properties hash policy. + */ 'connection_properties'?: (_envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties__Output); + /** + * Query parameter hash policy. + */ 'query_parameter'?: (_envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter__Output); + /** + * Filter state hash policy. + */ 'filter_state'?: (_envoy_api_v2_route_RouteAction_HashPolicy_FilterState__Output); + /** + * The flag that short-circuits the hash computing. This field provides a + * 'fallback' style of configuration: "if a terminal policy doesn't work, + * fallback to rest of the policy list", it saves time when the terminal + * policy works. + * + * If true, and there is already a hash computed, ignore rest of the + * list of hash polices. + * For example, if the following hash methods are configured: + * + * ========= ======== + * specifier terminal + * ========= ======== + * Header A true + * Header B false + * Header C false + * ========= ======== + * + * The generateHash process ends if policy "header A" generates a hash, as + * it's a terminal policy. + */ 'terminal': (boolean); 'policy_specifier': "header"|"cookie"|"connection_properties"|"query_parameter"|"filter_state"; } export interface _envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties { + /** + * Hash on source IP address. + */ 'source_ip'?: (boolean); } export interface _envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties__Output { + /** + * Hash on source IP address. + */ 'source_ip': (boolean); } +/** + * Envoy supports two types of cookie affinity: + * + * 1. Passive. Envoy takes a cookie that's present in the cookies header and + * hashes on its value. + * + * 2. Generated. Envoy generates and sets a cookie with an expiration (TTL) + * on the first request from the client in its response to the client, + * based on the endpoint the request gets sent to. The client then + * presents this on the next and all subsequent requests. The hash of + * this is sufficient to ensure these requests get sent to the same + * endpoint. The cookie is generated by hashing the source and + * destination ports and addresses so that multiple independent HTTP2 + * streams on the same connection will independently receive the same + * cookie, even if they arrive at the Envoy simultaneously. + */ export interface _envoy_api_v2_route_RouteAction_HashPolicy_Cookie { + /** + * The name of the cookie that will be used to obtain the hash key. If the + * cookie is not present and ttl below is not set, no hash will be + * produced. + */ 'name'?: (string); + /** + * If specified, a cookie with the TTL will be generated if the cookie is + * not present. If the TTL is present and zero, the generated cookie will + * be a session cookie. + */ 'ttl'?: (_google_protobuf_Duration); + /** + * The name of the path for the cookie. If no path is specified here, no path + * will be set for the cookie. + */ 'path'?: (string); } +/** + * Envoy supports two types of cookie affinity: + * + * 1. Passive. Envoy takes a cookie that's present in the cookies header and + * hashes on its value. + * + * 2. Generated. Envoy generates and sets a cookie with an expiration (TTL) + * on the first request from the client in its response to the client, + * based on the endpoint the request gets sent to. The client then + * presents this on the next and all subsequent requests. The hash of + * this is sufficient to ensure these requests get sent to the same + * endpoint. The cookie is generated by hashing the source and + * destination ports and addresses so that multiple independent HTTP2 + * streams on the same connection will independently receive the same + * cookie, even if they arrive at the Envoy simultaneously. + */ export interface _envoy_api_v2_route_RouteAction_HashPolicy_Cookie__Output { + /** + * The name of the cookie that will be used to obtain the hash key. If the + * cookie is not present and ttl below is not set, no hash will be + * produced. + */ 'name': (string); + /** + * If specified, a cookie with the TTL will be generated if the cookie is + * not present. If the TTL is present and zero, the generated cookie will + * be a session cookie. + */ 'ttl': (_google_protobuf_Duration__Output); + /** + * The name of the path for the cookie. If no path is specified here, no path + * will be set for the cookie. + */ 'path': (string); } export interface _envoy_api_v2_route_RouteAction_HashPolicy_FilterState { + /** + * The name of the Object in the per-request filterState, which is an + * Envoy::Http::Hashable object. If there is no data associated with the key, + * or the stored object is not Envoy::Http::Hashable, no hash will be produced. + */ 'key'?: (string); } export interface _envoy_api_v2_route_RouteAction_HashPolicy_FilterState__Output { + /** + * The name of the Object in the per-request filterState, which is an + * Envoy::Http::Hashable object. If there is no data associated with the key, + * or the stored object is not Envoy::Http::Hashable, no hash will be produced. + */ 'key': (string); } export interface _envoy_api_v2_route_RouteAction_HashPolicy_Header { + /** + * The name of the request header that will be used to obtain the hash + * key. If the request header is not present, no hash will be produced. + */ 'header_name'?: (string); } export interface _envoy_api_v2_route_RouteAction_HashPolicy_Header__Output { + /** + * The name of the request header that will be used to obtain the hash + * key. If the request header is not present, no hash will be produced. + */ 'header_name': (string); } export interface _envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter { + /** + * The name of the URL query parameter that will be used to obtain the hash + * key. If the parameter is not present, no hash will be produced. Query + * parameter names are case-sensitive. + */ 'name'?: (string); } export interface _envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter__Output { + /** + * The name of the URL query parameter that will be used to obtain the hash + * key. If the parameter is not present, no hash will be produced. Query + * parameter names are case-sensitive. + */ 'name': (string); } // Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto +/** + * Configures :ref:`internal redirect ` behavior. + */ export enum _envoy_api_v2_route_RouteAction_InternalRedirectAction { PASS_THROUGH_INTERNAL_REDIRECT = 0, HANDLE_INTERNAL_REDIRECT = 1, } +/** + * The router is capable of shadowing traffic from one cluster to another. The current + * implementation is "fire and forget," meaning Envoy will not wait for the shadow cluster to + * respond before returning the response from the primary cluster. All normal statistics are + * collected for the shadow cluster making this feature useful for testing. + * + * During shadowing, the host/authority header is altered such that *-shadow* is appended. This is + * useful for logging. For example, *cluster1* becomes *cluster1-shadow*. + * + * .. note:: + * + * Shadowing will not be triggered if the primary cluster does not exist. + */ export interface _envoy_api_v2_route_RouteAction_RequestMirrorPolicy { + /** + * Specifies the cluster that requests will be mirrored to. The cluster must + * exist in the cluster manager configuration. + */ 'cluster'?: (string); + /** + * If not specified, all requests to the target cluster will be mirrored. If + * specified, Envoy will lookup the runtime key to get the % of requests to + * mirror. Valid values are from 0 to 10000, allowing for increments of + * 0.01% of requests to be mirrored. If the runtime key is specified in the + * configuration but not present in runtime, 0 is the default and thus 0% of + * requests will be mirrored. + * + * .. attention:: + * + * **This field is deprecated**. Set the + * :ref:`runtime_fraction + * ` + * field instead. Mirroring occurs if both this and + * ` + * are not set. + */ 'runtime_key'?: (string); + /** + * If not specified, all requests to the target cluster will be mirrored. + * + * If specified, this field takes precedence over the `runtime_key` field and requests must also + * fall under the percentage of matches indicated by this field. + * + * For some fraction N/D, a random number in the range [0,D) is selected. If the + * number is <= the value of the numerator N, or if the key is not present, the default + * value, the request will be mirrored. + */ 'runtime_fraction'?: (_envoy_api_v2_core_RuntimeFractionalPercent); + /** + * Determines if the trace span should be sampled. Defaults to true. + */ 'trace_sampled'?: (_google_protobuf_BoolValue); } +/** + * The router is capable of shadowing traffic from one cluster to another. The current + * implementation is "fire and forget," meaning Envoy will not wait for the shadow cluster to + * respond before returning the response from the primary cluster. All normal statistics are + * collected for the shadow cluster making this feature useful for testing. + * + * During shadowing, the host/authority header is altered such that *-shadow* is appended. This is + * useful for logging. For example, *cluster1* becomes *cluster1-shadow*. + * + * .. note:: + * + * Shadowing will not be triggered if the primary cluster does not exist. + */ export interface _envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output { + /** + * Specifies the cluster that requests will be mirrored to. The cluster must + * exist in the cluster manager configuration. + */ 'cluster': (string); + /** + * If not specified, all requests to the target cluster will be mirrored. If + * specified, Envoy will lookup the runtime key to get the % of requests to + * mirror. Valid values are from 0 to 10000, allowing for increments of + * 0.01% of requests to be mirrored. If the runtime key is specified in the + * configuration but not present in runtime, 0 is the default and thus 0% of + * requests will be mirrored. + * + * .. attention:: + * + * **This field is deprecated**. Set the + * :ref:`runtime_fraction + * ` + * field instead. Mirroring occurs if both this and + * ` + * are not set. + */ 'runtime_key': (string); + /** + * If not specified, all requests to the target cluster will be mirrored. + * + * If specified, this field takes precedence over the `runtime_key` field and requests must also + * fall under the percentage of matches indicated by this field. + * + * For some fraction N/D, a random number in the range [0,D) is selected. If the + * number is <= the value of the numerator N, or if the key is not present, the default + * value, the request will be mirrored. + */ 'runtime_fraction': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + /** + * Determines if the trace span should be sampled. Defaults to true. + */ 'trace_sampled': (_google_protobuf_BoolValue__Output); } +/** + * Allows enabling and disabling upgrades on a per-route basis. + * This overrides any enabled/disabled upgrade filter chain specified in the + * HttpConnectionManager + * :ref:`upgrade_configs + * ` + * but does not affect any custom filter chain specified there. + */ export interface _envoy_api_v2_route_RouteAction_UpgradeConfig { + /** + * The case-insensitive name of this upgrade, e.g. "websocket". + * For each upgrade type present in upgrade_configs, requests with + * Upgrade: [upgrade_type] will be proxied upstream. + */ 'upgrade_type'?: (string); + /** + * Determines if upgrades are available on this route. Defaults to true. + */ 'enabled'?: (_google_protobuf_BoolValue); } +/** + * Allows enabling and disabling upgrades on a per-route basis. + * This overrides any enabled/disabled upgrade filter chain specified in the + * HttpConnectionManager + * :ref:`upgrade_configs + * ` + * but does not affect any custom filter chain specified there. + */ export interface _envoy_api_v2_route_RouteAction_UpgradeConfig__Output { + /** + * The case-insensitive name of this upgrade, e.g. "websocket". + * For each upgrade type present in upgrade_configs, requests with + * Upgrade: [upgrade_type] will be proxied upstream. + */ 'upgrade_type': (string); + /** + * Determines if upgrades are available on this route. Defaults to true. + */ 'enabled': (_google_protobuf_BoolValue__Output); } +/** + * [#next-free-field: 34] + */ export interface RouteAction { + /** + * Indicates the upstream cluster to which the request should be routed + * to. + */ 'cluster'?: (string); + /** + * Envoy will determine the cluster to route to by reading the value of the + * HTTP header named by cluster_header from the request headers. If the + * header is not found or the referenced cluster does not exist, Envoy will + * return a 404 response. + * + * .. attention:: + * + * Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 + * *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead. + */ 'cluster_header'?: (string); + /** + * Multiple upstream clusters can be specified for a given route. The + * request is routed to one of the upstream clusters based on weights + * assigned to each cluster. See + * :ref:`traffic splitting ` + * for additional documentation. + */ 'weighted_clusters'?: (_envoy_api_v2_route_WeightedCluster); + /** + * Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints + * in the upstream cluster with metadata matching what's set in this field will be considered + * for load balancing. If using :ref:`weighted_clusters + * `, metadata will be merged, with values + * provided there taking precedence. The filter name should be specified as *envoy.lb*. + */ 'metadata_match'?: (_envoy_api_v2_core_Metadata); + /** + * Indicates that during forwarding, the matched prefix (or path) should be + * swapped with this value. This option allows application URLs to be rooted + * at a different path from those exposed at the reverse proxy layer. The router filter will + * place the original path before rewrite into the :ref:`x-envoy-original-path + * ` header. + * + * Only one of *prefix_rewrite* or + * :ref:`regex_rewrite ` + * may be specified. + * + * .. attention:: + * + * Pay careful attention to the use of trailing slashes in the + * :ref:`route's match ` prefix value. + * Stripping a prefix from a path requires multiple Routes to handle all cases. For example, + * rewriting * /prefix* to * /* and * /prefix/etc* to * /etc* cannot be done in a single + * :ref:`Route `, as shown by the below config entries: + * + * .. code-block:: yaml + * + * - match: + * prefix: "/prefix/" + * route: + * prefix_rewrite: "/" + * - match: + * prefix: "/prefix" + * route: + * prefix_rewrite: "/" + * + * Having above entries in the config, requests to * /prefix* will be stripped to * /*, while + * requests to * /prefix/etc* will be stripped to * /etc*. + */ 'prefix_rewrite'?: (string); + /** + * Indicates that during forwarding, the host header will be swapped with + * this value. + */ 'host_rewrite'?: (string); + /** + * Indicates that during forwarding, the host header will be swapped with + * the hostname of the upstream host chosen by the cluster manager. This + * option is applicable only when the destination cluster for a route is of + * type *strict_dns* or *logical_dns*. Setting this to true with other cluster + * types has no effect. + */ 'auto_host_rewrite'?: (_google_protobuf_BoolValue); + /** + * Specifies the upstream timeout for the route. If not specified, the default is 15s. This + * spans between the point at which the entire downstream request (i.e. end-of-stream) has been + * processed and when the upstream response has been completely processed. A value of 0 will + * disable the route's timeout. + * + * .. note:: + * + * This timeout includes all retries. See also + * :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, + * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the + * :ref:`retry overview `. + */ 'timeout'?: (_google_protobuf_Duration); + /** + * Indicates that the route has a retry policy. Note that if this is set, + * it'll take precedence over the virtual host level retry policy entirely + * (e.g.: policies are not merged, most internal one becomes the enforced policy). + */ 'retry_policy'?: (_envoy_api_v2_route_RetryPolicy); + /** + * Indicates that the route has a request mirroring policy. + * + * .. attention:: + * This field has been deprecated in favor of `request_mirror_policies` which supports one or + * more mirroring policies. + */ 'request_mirror_policy'?: (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy); + /** + * Optionally specifies the :ref:`routing priority `. + */ 'priority'?: (_envoy_api_v2_core_RoutingPriority | keyof typeof _envoy_api_v2_core_RoutingPriority); + /** + * Specifies a set of rate limit configurations that could be applied to the + * route. + */ 'rate_limits'?: (_envoy_api_v2_route_RateLimit)[]; + /** + * Specifies if the rate limit filter should include the virtual host rate + * limits. By default, if the route configured rate limits, the virtual host + * :ref:`rate_limits ` are not applied to the + * request. + */ 'include_vh_rate_limits'?: (_google_protobuf_BoolValue); + /** + * Specifies a list of hash policies to use for ring hash load balancing. Each + * hash policy is evaluated individually and the combined result is used to + * route the request. The method of combination is deterministic such that + * identical lists of hash policies will produce the same hash. Since a hash + * policy examines specific parts of a request, it can fail to produce a hash + * (i.e. if the hashed header is not present). If (and only if) all configured + * hash policies fail to generate a hash, no hash will be produced for + * the route. In this case, the behavior is the same as if no hash policies + * were specified (i.e. the ring hash load balancer will choose a random + * backend). If a hash policy has the "terminal" attribute set to true, and + * there is already a hash generated, the hash is returned immediately, + * ignoring the rest of the hash policy list. + */ 'hash_policy'?: (_envoy_api_v2_route_RouteAction_HashPolicy)[]; + /** + * Indicates that the route has a CORS policy. + */ 'cors'?: (_envoy_api_v2_route_CorsPolicy); + /** + * The HTTP status code to use when configured cluster is not found. + * The default response code is 503 Service Unavailable. + */ 'cluster_not_found_response_code'?: (_envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode | keyof typeof _envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode); + /** + * If present, and the request is a gRPC request, use the + * `grpc-timeout header `_, + * or its default value (infinity) instead of + * :ref:`timeout `, but limit the applied timeout + * to the maximum value specified here. If configured as 0, the maximum allowed timeout for + * gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used + * and gRPC requests time out like any other requests using + * :ref:`timeout ` or its default. + * This can be used to prevent unexpected upstream request timeouts due to potentially long + * time gaps between gRPC request and response in gRPC streaming mode. + * + * .. note:: + * + * If a timeout is specified using :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, it takes + * precedence over `grpc-timeout header `_, when + * both are present. See also + * :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, + * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the + * :ref:`retry overview `. + */ 'max_grpc_timeout'?: (_google_protobuf_Duration); + /** + * Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout, + * although the connection manager wide :ref:`stream_idle_timeout + * ` + * will still apply. A value of 0 will completely disable the route's idle timeout, even if a + * connection manager stream idle timeout is configured. + * + * The idle timeout is distinct to :ref:`timeout + * `, which provides an upper bound + * on the upstream response time; :ref:`idle_timeout + * ` instead bounds the amount + * of time the request's stream may be idle. + * + * After header decoding, the idle timeout will apply on downstream and + * upstream request events. Each time an encode/decode event for headers or + * data is processed for the stream, the timer will be reset. If the timeout + * fires, the stream is terminated with a 408 Request Timeout error code if no + * upstream response header has been received, otherwise a stream reset + * occurs. + */ 'idle_timeout'?: (_google_protobuf_Duration); 'upgrade_configs'?: (_envoy_api_v2_route_RouteAction_UpgradeConfig)[]; 'internal_redirect_action'?: (_envoy_api_v2_route_RouteAction_InternalRedirectAction | keyof typeof _envoy_api_v2_route_RouteAction_InternalRedirectAction); + /** + * Indicates that the route has a hedge policy. Note that if this is set, + * it'll take precedence over the virtual host level hedge policy entirely + * (e.g.: policies are not merged, most internal one becomes the enforced policy). + */ 'hedge_policy'?: (_envoy_api_v2_route_HedgePolicy); + /** + * If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting + * the provided duration from the header. This is useful in allowing Envoy to set its global + * timeout to be less than that of the deadline imposed by the calling client, which makes it more + * likely that Envoy will handle the timeout instead of having the call canceled by the client. + * The offset will only be applied if the provided grpc_timeout is greater than the offset. This + * ensures that the offset will only ever decrease the timeout and never set it to 0 (meaning + * infinity). + */ 'grpc_timeout_offset'?: (_google_protobuf_Duration); + /** + * Indicates that during forwarding, the host header will be swapped with the content of given + * downstream or :ref:`custom ` header. + * If header value is empty, host header is left intact. + * + * .. attention:: + * + * Pay attention to the potential security implications of using this option. Provided header + * must come from trusted source. + */ 'auto_host_rewrite_header'?: (string); + /** + * Indicates that the route has request mirroring policies. + */ 'request_mirror_policies'?: (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy)[]; + /** + * An internal redirect is handled, iff the number of previous internal redirects that a + * downstream request has encountered is lower than this value, and + * :ref:`internal_redirect_action ` + * is set to :ref:`HANDLE_INTERNAL_REDIRECT + * ` + * In the case where a downstream request is bounced among multiple routes by internal redirect, + * the first route that hits this threshold, or has + * :ref:`internal_redirect_action ` + * set to + * :ref:`PASS_THROUGH_INTERNAL_REDIRECT + * ` + * will pass the redirect back to downstream. + * + * If not specified, at most one redirect will be followed. + */ 'max_internal_redirects'?: (_google_protobuf_UInt32Value); + /** + * Indicates that during forwarding, portions of the path that match the + * pattern should be rewritten, even allowing the substitution of capture + * groups from the pattern into the new path as specified by the rewrite + * substitution string. This is useful to allow application paths to be + * rewritten in a way that is aware of segments with variable content like + * identifiers. The router filter will place the original path as it was + * before the rewrite into the :ref:`x-envoy-original-path + * ` header. + * + * Only one of :ref:`prefix_rewrite ` + * or *regex_rewrite* may be specified. + * + * Examples using Google's `RE2 `_ engine: + * + * * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution + * string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` + * into ``/v1/api/instance/foo``. + * + * * The pattern ``one`` paired with a substitution string of ``two`` would + * transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. + * + * * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of + * ``\1two\2`` would replace only the first occurrence of ``one``, + * transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. + * + * * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` + * would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to + * ``/aaa/yyy/bbb``. + */ 'regex_rewrite'?: (_envoy_type_matcher_RegexMatchAndSubstitute); + /** + * [#not-implemented-hide:] + * Specifies the configuration for retry policy extension. Note that if this is set, it'll take + * precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, + * most internal one becomes the enforced policy). :ref:`Retry policy ` + * should not be set if this field is used. + */ 'retry_policy_typed_config'?: (_google_protobuf_Any); 'cluster_specifier'?: "cluster"|"cluster_header"|"weighted_clusters"; 'host_rewrite_specifier'?: "host_rewrite"|"auto_host_rewrite"|"auto_host_rewrite_header"; } +/** + * [#next-free-field: 34] + */ export interface RouteAction__Output { + /** + * Indicates the upstream cluster to which the request should be routed + * to. + */ 'cluster'?: (string); + /** + * Envoy will determine the cluster to route to by reading the value of the + * HTTP header named by cluster_header from the request headers. If the + * header is not found or the referenced cluster does not exist, Envoy will + * return a 404 response. + * + * .. attention:: + * + * Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 + * *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead. + */ 'cluster_header'?: (string); + /** + * Multiple upstream clusters can be specified for a given route. The + * request is routed to one of the upstream clusters based on weights + * assigned to each cluster. See + * :ref:`traffic splitting ` + * for additional documentation. + */ 'weighted_clusters'?: (_envoy_api_v2_route_WeightedCluster__Output); + /** + * Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints + * in the upstream cluster with metadata matching what's set in this field will be considered + * for load balancing. If using :ref:`weighted_clusters + * `, metadata will be merged, with values + * provided there taking precedence. The filter name should be specified as *envoy.lb*. + */ 'metadata_match': (_envoy_api_v2_core_Metadata__Output); + /** + * Indicates that during forwarding, the matched prefix (or path) should be + * swapped with this value. This option allows application URLs to be rooted + * at a different path from those exposed at the reverse proxy layer. The router filter will + * place the original path before rewrite into the :ref:`x-envoy-original-path + * ` header. + * + * Only one of *prefix_rewrite* or + * :ref:`regex_rewrite ` + * may be specified. + * + * .. attention:: + * + * Pay careful attention to the use of trailing slashes in the + * :ref:`route's match ` prefix value. + * Stripping a prefix from a path requires multiple Routes to handle all cases. For example, + * rewriting * /prefix* to * /* and * /prefix/etc* to * /etc* cannot be done in a single + * :ref:`Route `, as shown by the below config entries: + * + * .. code-block:: yaml + * + * - match: + * prefix: "/prefix/" + * route: + * prefix_rewrite: "/" + * - match: + * prefix: "/prefix" + * route: + * prefix_rewrite: "/" + * + * Having above entries in the config, requests to * /prefix* will be stripped to * /*, while + * requests to * /prefix/etc* will be stripped to * /etc*. + */ 'prefix_rewrite': (string); + /** + * Indicates that during forwarding, the host header will be swapped with + * this value. + */ 'host_rewrite'?: (string); + /** + * Indicates that during forwarding, the host header will be swapped with + * the hostname of the upstream host chosen by the cluster manager. This + * option is applicable only when the destination cluster for a route is of + * type *strict_dns* or *logical_dns*. Setting this to true with other cluster + * types has no effect. + */ 'auto_host_rewrite'?: (_google_protobuf_BoolValue__Output); + /** + * Specifies the upstream timeout for the route. If not specified, the default is 15s. This + * spans between the point at which the entire downstream request (i.e. end-of-stream) has been + * processed and when the upstream response has been completely processed. A value of 0 will + * disable the route's timeout. + * + * .. note:: + * + * This timeout includes all retries. See also + * :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, + * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the + * :ref:`retry overview `. + */ 'timeout': (_google_protobuf_Duration__Output); + /** + * Indicates that the route has a retry policy. Note that if this is set, + * it'll take precedence over the virtual host level retry policy entirely + * (e.g.: policies are not merged, most internal one becomes the enforced policy). + */ 'retry_policy': (_envoy_api_v2_route_RetryPolicy__Output); + /** + * Indicates that the route has a request mirroring policy. + * + * .. attention:: + * This field has been deprecated in favor of `request_mirror_policies` which supports one or + * more mirroring policies. + */ 'request_mirror_policy': (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output); + /** + * Optionally specifies the :ref:`routing priority `. + */ 'priority': (keyof typeof _envoy_api_v2_core_RoutingPriority); + /** + * Specifies a set of rate limit configurations that could be applied to the + * route. + */ 'rate_limits': (_envoy_api_v2_route_RateLimit__Output)[]; + /** + * Specifies if the rate limit filter should include the virtual host rate + * limits. By default, if the route configured rate limits, the virtual host + * :ref:`rate_limits ` are not applied to the + * request. + */ 'include_vh_rate_limits': (_google_protobuf_BoolValue__Output); + /** + * Specifies a list of hash policies to use for ring hash load balancing. Each + * hash policy is evaluated individually and the combined result is used to + * route the request. The method of combination is deterministic such that + * identical lists of hash policies will produce the same hash. Since a hash + * policy examines specific parts of a request, it can fail to produce a hash + * (i.e. if the hashed header is not present). If (and only if) all configured + * hash policies fail to generate a hash, no hash will be produced for + * the route. In this case, the behavior is the same as if no hash policies + * were specified (i.e. the ring hash load balancer will choose a random + * backend). If a hash policy has the "terminal" attribute set to true, and + * there is already a hash generated, the hash is returned immediately, + * ignoring the rest of the hash policy list. + */ 'hash_policy': (_envoy_api_v2_route_RouteAction_HashPolicy__Output)[]; + /** + * Indicates that the route has a CORS policy. + */ 'cors': (_envoy_api_v2_route_CorsPolicy__Output); + /** + * The HTTP status code to use when configured cluster is not found. + * The default response code is 503 Service Unavailable. + */ 'cluster_not_found_response_code': (keyof typeof _envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode); + /** + * If present, and the request is a gRPC request, use the + * `grpc-timeout header `_, + * or its default value (infinity) instead of + * :ref:`timeout `, but limit the applied timeout + * to the maximum value specified here. If configured as 0, the maximum allowed timeout for + * gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used + * and gRPC requests time out like any other requests using + * :ref:`timeout ` or its default. + * This can be used to prevent unexpected upstream request timeouts due to potentially long + * time gaps between gRPC request and response in gRPC streaming mode. + * + * .. note:: + * + * If a timeout is specified using :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, it takes + * precedence over `grpc-timeout header `_, when + * both are present. See also + * :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, + * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the + * :ref:`retry overview `. + */ 'max_grpc_timeout': (_google_protobuf_Duration__Output); + /** + * Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout, + * although the connection manager wide :ref:`stream_idle_timeout + * ` + * will still apply. A value of 0 will completely disable the route's idle timeout, even if a + * connection manager stream idle timeout is configured. + * + * The idle timeout is distinct to :ref:`timeout + * `, which provides an upper bound + * on the upstream response time; :ref:`idle_timeout + * ` instead bounds the amount + * of time the request's stream may be idle. + * + * After header decoding, the idle timeout will apply on downstream and + * upstream request events. Each time an encode/decode event for headers or + * data is processed for the stream, the timer will be reset. If the timeout + * fires, the stream is terminated with a 408 Request Timeout error code if no + * upstream response header has been received, otherwise a stream reset + * occurs. + */ 'idle_timeout': (_google_protobuf_Duration__Output); 'upgrade_configs': (_envoy_api_v2_route_RouteAction_UpgradeConfig__Output)[]; 'internal_redirect_action': (keyof typeof _envoy_api_v2_route_RouteAction_InternalRedirectAction); + /** + * Indicates that the route has a hedge policy. Note that if this is set, + * it'll take precedence over the virtual host level hedge policy entirely + * (e.g.: policies are not merged, most internal one becomes the enforced policy). + */ 'hedge_policy': (_envoy_api_v2_route_HedgePolicy__Output); + /** + * If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting + * the provided duration from the header. This is useful in allowing Envoy to set its global + * timeout to be less than that of the deadline imposed by the calling client, which makes it more + * likely that Envoy will handle the timeout instead of having the call canceled by the client. + * The offset will only be applied if the provided grpc_timeout is greater than the offset. This + * ensures that the offset will only ever decrease the timeout and never set it to 0 (meaning + * infinity). + */ 'grpc_timeout_offset': (_google_protobuf_Duration__Output); + /** + * Indicates that during forwarding, the host header will be swapped with the content of given + * downstream or :ref:`custom ` header. + * If header value is empty, host header is left intact. + * + * .. attention:: + * + * Pay attention to the potential security implications of using this option. Provided header + * must come from trusted source. + */ 'auto_host_rewrite_header'?: (string); + /** + * Indicates that the route has request mirroring policies. + */ 'request_mirror_policies': (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output)[]; + /** + * An internal redirect is handled, iff the number of previous internal redirects that a + * downstream request has encountered is lower than this value, and + * :ref:`internal_redirect_action ` + * is set to :ref:`HANDLE_INTERNAL_REDIRECT + * ` + * In the case where a downstream request is bounced among multiple routes by internal redirect, + * the first route that hits this threshold, or has + * :ref:`internal_redirect_action ` + * set to + * :ref:`PASS_THROUGH_INTERNAL_REDIRECT + * ` + * will pass the redirect back to downstream. + * + * If not specified, at most one redirect will be followed. + */ 'max_internal_redirects': (_google_protobuf_UInt32Value__Output); + /** + * Indicates that during forwarding, portions of the path that match the + * pattern should be rewritten, even allowing the substitution of capture + * groups from the pattern into the new path as specified by the rewrite + * substitution string. This is useful to allow application paths to be + * rewritten in a way that is aware of segments with variable content like + * identifiers. The router filter will place the original path as it was + * before the rewrite into the :ref:`x-envoy-original-path + * ` header. + * + * Only one of :ref:`prefix_rewrite ` + * or *regex_rewrite* may be specified. + * + * Examples using Google's `RE2 `_ engine: + * + * * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution + * string of ``\2/instance/\1`` would transform ``/service/foo/v1/api`` + * into ``/v1/api/instance/foo``. + * + * * The pattern ``one`` paired with a substitution string of ``two`` would + * transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``. + * + * * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of + * ``\1two\2`` would replace only the first occurrence of ``one``, + * transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``. + * + * * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/`` + * would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to + * ``/aaa/yyy/bbb``. + */ 'regex_rewrite': (_envoy_type_matcher_RegexMatchAndSubstitute__Output); + /** + * [#not-implemented-hide:] + * Specifies the configuration for retry policy extension. Note that if this is set, it'll take + * precedence over the virtual host level retry policy entirely (e.g.: policies are not merged, + * most internal one becomes the enforced policy). :ref:`Retry policy ` + * should not be set if this field is used. + */ 'retry_policy_typed_config': (_google_protobuf_Any__Output); 'cluster_specifier': "cluster"|"cluster_header"|"weighted_clusters"; 'host_rewrite_specifier': "host_rewrite"|"auto_host_rewrite"|"auto_host_rewrite_header"; diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts index 188335bbf..c60c956fe 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts @@ -13,39 +13,235 @@ export interface _envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions__Output { } export interface _envoy_api_v2_route_RouteMatch_TlsContextMatchOptions { + /** + * If specified, the route will match against whether or not a certificate is presented. + * If not specified, certificate presentation status (true or false) will not be considered when route matching. + */ 'presented'?: (_google_protobuf_BoolValue); + /** + * If specified, the route will match against whether or not a certificate is validated. + * If not specified, certificate validation status (true or false) will not be considered when route matching. + */ 'validated'?: (_google_protobuf_BoolValue); } export interface _envoy_api_v2_route_RouteMatch_TlsContextMatchOptions__Output { + /** + * If specified, the route will match against whether or not a certificate is presented. + * If not specified, certificate presentation status (true or false) will not be considered when route matching. + */ 'presented': (_google_protobuf_BoolValue__Output); + /** + * If specified, the route will match against whether or not a certificate is validated. + * If not specified, certificate validation status (true or false) will not be considered when route matching. + */ 'validated': (_google_protobuf_BoolValue__Output); } +/** + * [#next-free-field: 12] + */ export interface RouteMatch { + /** + * If specified, the route is a prefix rule meaning that the prefix must + * match the beginning of the *:path* header. + */ 'prefix'?: (string); + /** + * If specified, the route is an exact path rule meaning that the path must + * exactly match the *:path* header once the query string is removed. + */ 'path'?: (string); + /** + * If specified, the route is a regular expression rule meaning that the + * regex must match the *:path* header once the query string is removed. The entire path + * (without the query string) must match the regex. The rule will not match if only a + * subsequence of the *:path* header matches the regex. The regex grammar is defined `here + * `_. + * + * Examples: + * + * * The regex ``/b[io]t`` matches the path * /bit* + * * The regex ``/b[io]t`` matches the path * /bot* + * * The regex ``/b[io]t`` does not match the path * /bite* + * * The regex ``/b[io]t`` does not match the path * /bit/bot* + * + * .. attention:: + * This field has been deprecated in favor of `safe_regex` as it is not safe for use with + * untrusted input in all cases. + */ 'regex'?: (string); + /** + * Indicates that prefix/path matching should be case insensitive. The default + * is true. + */ 'case_sensitive'?: (_google_protobuf_BoolValue); + /** + * Specifies a set of headers that the route should match on. The router will + * check the request’s headers against all the specified headers in the route + * config. A match will happen if all the headers in the route are present in + * the request with the same values (or based on presence if the value field + * is not in the config). + */ 'headers'?: (_envoy_api_v2_route_HeaderMatcher)[]; + /** + * Specifies a set of URL query parameters on which the route should + * match. The router will check the query string from the *path* header + * against all the specified query parameters. If the number of specified + * query parameters is nonzero, they all must match the *path* header's + * query string for a match to occur. + */ 'query_parameters'?: (_envoy_api_v2_route_QueryParameterMatcher)[]; + /** + * If specified, only gRPC requests will be matched. The router will check + * that the content-type header has a application/grpc or one of the various + * application/grpc+ values. + */ 'grpc'?: (_envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions); + /** + * Indicates that the route should additionally match on a runtime key. Every time the route + * is considered for a match, it must also fall under the percentage of matches indicated by + * this field. For some fraction N/D, a random number in the range [0,D) is selected. If the + * number is <= the value of the numerator N, or if the key is not present, the default + * value, the router continues to evaluate the remaining match criteria. A runtime_fraction + * route configuration can be used to roll out route changes in a gradual manner without full + * code/config deploys. Refer to the :ref:`traffic shifting + * ` docs for additional documentation. + * + * .. note:: + * + * Parsing this field is implemented such that the runtime key's data may be represented + * as a FractionalPercent proto represented as JSON/YAML and may also be represented as an + * integer with the assumption that the value is an integral percentage out of 100. For + * instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent + * whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics. + */ 'runtime_fraction'?: (_envoy_api_v2_core_RuntimeFractionalPercent); + /** + * If specified, the route is a regular expression rule meaning that the + * regex must match the *:path* header once the query string is removed. The entire path + * (without the query string) must match the regex. The rule will not match if only a + * subsequence of the *:path* header matches the regex. + * + * [#next-major-version: In the v3 API we should redo how path specification works such + * that we utilize StringMatcher, and additionally have consistent options around whether we + * strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive + * to deprecate the existing options. We should even consider whether we want to do away with + * path_specifier entirely and just rely on a set of header matchers which can already match + * on :path, etc. The issue with that is it is unclear how to generically deal with query string + * stripping. This needs more thought.] + */ 'safe_regex'?: (_envoy_type_matcher_RegexMatcher); + /** + * If specified, the client tls context will be matched against the defined + * match options. + * + * [#next-major-version: unify with RBAC] + */ 'tls_context'?: (_envoy_api_v2_route_RouteMatch_TlsContextMatchOptions); 'path_specifier'?: "prefix"|"path"|"regex"|"safe_regex"; } +/** + * [#next-free-field: 12] + */ export interface RouteMatch__Output { + /** + * If specified, the route is a prefix rule meaning that the prefix must + * match the beginning of the *:path* header. + */ 'prefix'?: (string); + /** + * If specified, the route is an exact path rule meaning that the path must + * exactly match the *:path* header once the query string is removed. + */ 'path'?: (string); + /** + * If specified, the route is a regular expression rule meaning that the + * regex must match the *:path* header once the query string is removed. The entire path + * (without the query string) must match the regex. The rule will not match if only a + * subsequence of the *:path* header matches the regex. The regex grammar is defined `here + * `_. + * + * Examples: + * + * * The regex ``/b[io]t`` matches the path * /bit* + * * The regex ``/b[io]t`` matches the path * /bot* + * * The regex ``/b[io]t`` does not match the path * /bite* + * * The regex ``/b[io]t`` does not match the path * /bit/bot* + * + * .. attention:: + * This field has been deprecated in favor of `safe_regex` as it is not safe for use with + * untrusted input in all cases. + */ 'regex'?: (string); + /** + * Indicates that prefix/path matching should be case insensitive. The default + * is true. + */ 'case_sensitive': (_google_protobuf_BoolValue__Output); + /** + * Specifies a set of headers that the route should match on. The router will + * check the request’s headers against all the specified headers in the route + * config. A match will happen if all the headers in the route are present in + * the request with the same values (or based on presence if the value field + * is not in the config). + */ 'headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; + /** + * Specifies a set of URL query parameters on which the route should + * match. The router will check the query string from the *path* header + * against all the specified query parameters. If the number of specified + * query parameters is nonzero, they all must match the *path* header's + * query string for a match to occur. + */ 'query_parameters': (_envoy_api_v2_route_QueryParameterMatcher__Output)[]; + /** + * If specified, only gRPC requests will be matched. The router will check + * that the content-type header has a application/grpc or one of the various + * application/grpc+ values. + */ 'grpc': (_envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions__Output); + /** + * Indicates that the route should additionally match on a runtime key. Every time the route + * is considered for a match, it must also fall under the percentage of matches indicated by + * this field. For some fraction N/D, a random number in the range [0,D) is selected. If the + * number is <= the value of the numerator N, or if the key is not present, the default + * value, the router continues to evaluate the remaining match criteria. A runtime_fraction + * route configuration can be used to roll out route changes in a gradual manner without full + * code/config deploys. Refer to the :ref:`traffic shifting + * ` docs for additional documentation. + * + * .. note:: + * + * Parsing this field is implemented such that the runtime key's data may be represented + * as a FractionalPercent proto represented as JSON/YAML and may also be represented as an + * integer with the assumption that the value is an integral percentage out of 100. For + * instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent + * whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics. + */ 'runtime_fraction': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + /** + * If specified, the route is a regular expression rule meaning that the + * regex must match the *:path* header once the query string is removed. The entire path + * (without the query string) must match the regex. The rule will not match if only a + * subsequence of the *:path* header matches the regex. + * + * [#next-major-version: In the v3 API we should redo how path specification works such + * that we utilize StringMatcher, and additionally have consistent options around whether we + * strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive + * to deprecate the existing options. We should even consider whether we want to do away with + * path_specifier entirely and just rely on a set of header matchers which can already match + * on :path, etc. The issue with that is it is unclear how to generically deal with query string + * stripping. This needs more thought.] + */ 'safe_regex'?: (_envoy_type_matcher_RegexMatcher__Output); + /** + * If specified, the client tls context will be matched against the defined + * match options. + * + * [#next-major-version: unify with RBAC] + */ 'tls_context': (_envoy_api_v2_route_RouteMatch_TlsContextMatchOptions__Output); 'path_specifier': "prefix"|"path"|"regex"|"safe_regex"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.ts index 6709864e7..f69211c43 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.ts @@ -4,15 +4,81 @@ import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__ import { CustomTag as _envoy_type_tracing_v2_CustomTag, CustomTag__Output as _envoy_type_tracing_v2_CustomTag__Output } from '../../../../envoy/type/tracing/v2/CustomTag'; export interface Tracing { + /** + * Target percentage of requests managed by this HTTP connection manager that will be force + * traced if the :ref:`x-client-trace-id ` + * header is set. This field is a direct analog for the runtime variable + * 'tracing.client_sampling' in the :ref:`HTTP Connection Manager + * `. + * Default: 100% + */ 'client_sampling'?: (_envoy_type_FractionalPercent); + /** + * Target percentage of requests managed by this HTTP connection manager that will be randomly + * selected for trace generation, if not requested by the client or not forced. This field is + * a direct analog for the runtime variable 'tracing.random_sampling' in the + * :ref:`HTTP Connection Manager `. + * Default: 100% + */ 'random_sampling'?: (_envoy_type_FractionalPercent); + /** + * Target percentage of requests managed by this HTTP connection manager that will be traced + * after all other sampling checks have been applied (client-directed, force tracing, random + * sampling). This field functions as an upper limit on the total configured sampling rate. For + * instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1% + * of client requests with the appropriate headers to be force traced. This field is a direct + * analog for the runtime variable 'tracing.global_enabled' in the + * :ref:`HTTP Connection Manager `. + * Default: 100% + */ 'overall_sampling'?: (_envoy_type_FractionalPercent); + /** + * A list of custom tags with unique tag name to create tags for the active span. + * It will take effect after merging with the :ref:`corresponding configuration + * ` + * configured in the HTTP connection manager. If two tags with the same name are configured + * each in the HTTP connection manager and the route level, the one configured here takes + * priority. + */ 'custom_tags'?: (_envoy_type_tracing_v2_CustomTag)[]; } export interface Tracing__Output { + /** + * Target percentage of requests managed by this HTTP connection manager that will be force + * traced if the :ref:`x-client-trace-id ` + * header is set. This field is a direct analog for the runtime variable + * 'tracing.client_sampling' in the :ref:`HTTP Connection Manager + * `. + * Default: 100% + */ 'client_sampling': (_envoy_type_FractionalPercent__Output); + /** + * Target percentage of requests managed by this HTTP connection manager that will be randomly + * selected for trace generation, if not requested by the client or not forced. This field is + * a direct analog for the runtime variable 'tracing.random_sampling' in the + * :ref:`HTTP Connection Manager `. + * Default: 100% + */ 'random_sampling': (_envoy_type_FractionalPercent__Output); + /** + * Target percentage of requests managed by this HTTP connection manager that will be traced + * after all other sampling checks have been applied (client-directed, force tracing, random + * sampling). This field functions as an upper limit on the total configured sampling rate. For + * instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1% + * of client requests with the appropriate headers to be force traced. This field is a direct + * analog for the runtime variable 'tracing.global_enabled' in the + * :ref:`HTTP Connection Manager `. + * Default: 100% + */ 'overall_sampling': (_envoy_type_FractionalPercent__Output); + /** + * A list of custom tags with unique tag name to create tags for the active span. + * It will take effect after merging with the :ref:`corresponding configuration + * ` + * configured in the HTTP connection manager. If two tags with the same name are configured + * each in the HTTP connection manager and the route level, the one configured here takes + * priority. + */ 'custom_tags': (_envoy_type_tracing_v2_CustomTag__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.ts index 5596328e5..fb62d9a51 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualCluster.ts @@ -3,16 +3,118 @@ import { RequestMethod as _envoy_api_v2_core_RequestMethod } from '../../../../envoy/api/v2/core/RequestMethod'; import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from '../../../../envoy/api/v2/route/HeaderMatcher'; +/** + * A virtual cluster is a way of specifying a regex matching rule against + * certain important endpoints such that statistics are generated explicitly for + * the matched requests. The reason this is useful is that when doing + * prefix/path matching Envoy does not always know what the application + * considers to be an endpoint. Thus, it’s impossible for Envoy to generically + * emit per endpoint statistics. However, often systems have highly critical + * endpoints that they wish to get “perfect” statistics on. Virtual cluster + * statistics are perfect in the sense that they are emitted on the downstream + * side such that they include network level failures. + * + * Documentation for :ref:`virtual cluster statistics `. + * + * .. note:: + * + * Virtual clusters are a useful tool, but we do not recommend setting up a virtual cluster for + * every application endpoint. This is both not easily maintainable and as well the matching and + * statistics output are not free. + */ export interface VirtualCluster { + /** + * Specifies a regex pattern to use for matching requests. The entire path of the request + * must match the regex. The regex grammar used is defined `here + * `_. + * + * Examples: + * + * * The regex ``/rides/\d+`` matches the path * /rides/0* + * * The regex ``/rides/\d+`` matches the path * /rides/123* + * * The regex ``/rides/\d+`` does not match the path * /rides/123/456* + * + * .. attention:: + * This field has been deprecated in favor of `headers` as it is not safe for use with + * untrusted input in all cases. + */ 'pattern'?: (string); + /** + * Specifies the name of the virtual cluster. The virtual cluster name as well + * as the virtual host name are used when emitting statistics. The statistics are emitted by the + * router filter and are documented :ref:`here `. + */ 'name'?: (string); + /** + * Optionally specifies the HTTP method to match on. For example GET, PUT, + * etc. + * + * .. attention:: + * This field has been deprecated in favor of `headers`. + */ 'method'?: (_envoy_api_v2_core_RequestMethod | keyof typeof _envoy_api_v2_core_RequestMethod); + /** + * Specifies a list of header matchers to use for matching requests. Each specified header must + * match. The pseudo-headers `:path` and `:method` can be used to match the request path and + * method, respectively. + */ 'headers'?: (_envoy_api_v2_route_HeaderMatcher)[]; } +/** + * A virtual cluster is a way of specifying a regex matching rule against + * certain important endpoints such that statistics are generated explicitly for + * the matched requests. The reason this is useful is that when doing + * prefix/path matching Envoy does not always know what the application + * considers to be an endpoint. Thus, it’s impossible for Envoy to generically + * emit per endpoint statistics. However, often systems have highly critical + * endpoints that they wish to get “perfect” statistics on. Virtual cluster + * statistics are perfect in the sense that they are emitted on the downstream + * side such that they include network level failures. + * + * Documentation for :ref:`virtual cluster statistics `. + * + * .. note:: + * + * Virtual clusters are a useful tool, but we do not recommend setting up a virtual cluster for + * every application endpoint. This is both not easily maintainable and as well the matching and + * statistics output are not free. + */ export interface VirtualCluster__Output { + /** + * Specifies a regex pattern to use for matching requests. The entire path of the request + * must match the regex. The regex grammar used is defined `here + * `_. + * + * Examples: + * + * * The regex ``/rides/\d+`` matches the path * /rides/0* + * * The regex ``/rides/\d+`` matches the path * /rides/123* + * * The regex ``/rides/\d+`` does not match the path * /rides/123/456* + * + * .. attention:: + * This field has been deprecated in favor of `headers` as it is not safe for use with + * untrusted input in all cases. + */ 'pattern': (string); + /** + * Specifies the name of the virtual cluster. The virtual cluster name as well + * as the virtual host name are used when emitting statistics. The statistics are emitted by the + * router filter and are documented :ref:`here `. + */ 'name': (string); + /** + * Optionally specifies the HTTP method to match on. For example GET, PUT, + * etc. + * + * .. attention:: + * This field has been deprecated in favor of `headers`. + */ 'method': (keyof typeof _envoy_api_v2_core_RequestMethod); + /** + * Specifies a list of header matchers to use for matching requests. Each specified header must + * match. The pseudo-headers `:path` and `:method` can be used to match the request path and + * method, respectively. + */ 'headers': (_envoy_api_v2_route_HeaderMatcher__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts index 5126a8e7c..ebb926f16 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts @@ -14,51 +14,328 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _go // Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto export enum _envoy_api_v2_route_VirtualHost_TlsRequirementType { + /** + * No TLS requirement for the virtual host. + */ NONE = 0, + /** + * External requests must use TLS. If a request is external and it is not + * using TLS, a 301 redirect will be sent telling the client to use HTTPS. + */ EXTERNAL_ONLY = 1, + /** + * All requests must use TLS. If a request is not using TLS, a 301 redirect + * will be sent telling the client to use HTTPS. + */ ALL = 2, } +/** + * The top level element in the routing configuration is a virtual host. Each virtual host has + * a logical name as well as a set of domains that get routed to it based on the incoming request's + * host header. This allows a single listener to service multiple top level domain path trees. Once + * a virtual host is selected based on the domain, the routes are processed in order to see which + * upstream cluster to route to or whether to perform a redirect. + * [#next-free-field: 21] + */ export interface VirtualHost { + /** + * The logical name of the virtual host. This is used when emitting certain + * statistics but is not relevant for routing. + */ 'name'?: (string); + /** + * A list of domains (host/authority header) that will be matched to this + * virtual host. Wildcard hosts are supported in the suffix or prefix form. + * + * Domain search order: + * 1. Exact domain names: ``www.foo.com``. + * 2. Suffix domain wildcards: ``*.foo.com`` or ``*-bar.foo.com``. + * 3. Prefix domain wildcards: ``foo.*`` or ``foo-*``. + * 4. Special wildcard ``*`` matching any domain. + * + * .. note:: + * + * The wildcard will not match the empty string. + * e.g. ``*-bar.foo.com`` will match ``baz-bar.foo.com`` but not ``-bar.foo.com``. + * The longest wildcards match first. + * Only a single virtual host in the entire route configuration can match on ``*``. A domain + * must be unique across all virtual hosts or the config will fail to load. + * + * Domains cannot contain control characters. This is validated by the well_known_regex HTTP_HEADER_VALUE. + */ 'domains'?: (string)[]; + /** + * The list of routes that will be matched, in order, for incoming requests. + * The first route that matches will be used. + */ 'routes'?: (_envoy_api_v2_route_Route)[]; + /** + * Specifies the type of TLS enforcement the virtual host expects. If this option is not + * specified, there is no TLS requirement for the virtual host. + */ 'require_tls'?: (_envoy_api_v2_route_VirtualHost_TlsRequirementType | keyof typeof _envoy_api_v2_route_VirtualHost_TlsRequirementType); + /** + * A list of virtual clusters defined for this virtual host. Virtual clusters + * are used for additional statistics gathering. + */ 'virtual_clusters'?: (_envoy_api_v2_route_VirtualCluster)[]; + /** + * Specifies a set of rate limit configurations that will be applied to the + * virtual host. + */ 'rate_limits'?: (_envoy_api_v2_route_RateLimit)[]; + /** + * Specifies a list of HTTP headers that should be added to each request + * handled by this virtual host. Headers specified at this level are applied + * after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the + * enclosing :ref:`envoy_api_msg_RouteConfiguration`. For more information, including + * details on header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'request_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + /** + * Indicates that the virtual host has a CORS policy. + */ 'cors'?: (_envoy_api_v2_route_CorsPolicy); + /** + * Specifies a list of HTTP headers that should be added to each response + * handled by this virtual host. Headers specified at this level are applied + * after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the + * enclosing :ref:`envoy_api_msg_RouteConfiguration`. For more information, including + * details on header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'response_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + /** + * Specifies a list of HTTP headers that should be removed from each response + * handled by this virtual host. + */ 'response_headers_to_remove'?: (string)[]; + /** + * The per_filter_config field can be used to provide virtual host-specific + * configurations for filters. The key should match the filter name, such as + * *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter + * specific; see the :ref:`HTTP filter documentation ` + * for if and how it is utilized. + */ 'per_filter_config'?: (_google_protobuf_Struct); + /** + * Specifies a list of HTTP headers that should be removed from each request + * handled by this virtual host. + */ 'request_headers_to_remove'?: (string)[]; + /** + * Decides whether the :ref:`x-envoy-attempt-count + * ` header should be included + * in the upstream request. Setting this option will cause it to override any existing header + * value, so in the case of two Envoys on the request path with this option enabled, the upstream + * will see the attempt count as perceived by the second Envoy. Defaults to false. + * This header is unaffected by the + * :ref:`suppress_envoy_headers + * ` flag. + * + * [#next-major-version: rename to include_attempt_count_in_request.] + */ 'include_request_attempt_count'?: (boolean); + /** + * The per_filter_config field can be used to provide virtual host-specific + * configurations for filters. The key should match the filter name, such as + * *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter + * specific; see the :ref:`HTTP filter documentation ` + * for if and how it is utilized. + */ 'typed_per_filter_config'?: (_google_protobuf_Any); + /** + * Indicates the retry policy for all routes in this virtual host. Note that setting a + * route level entry will take precedence over this config and it'll be treated + * independently (e.g.: values are not inherited). + */ 'retry_policy'?: (_envoy_api_v2_route_RetryPolicy); + /** + * Indicates the hedge policy for all routes in this virtual host. Note that setting a + * route level entry will take precedence over this config and it'll be treated + * independently (e.g.: values are not inherited). + */ 'hedge_policy'?: (_envoy_api_v2_route_HedgePolicy); + /** + * The maximum bytes which will be buffered for retries and shadowing. + * If set and a route-specific limit is not set, the bytes actually buffered will be the minimum + * value of this and the listener per_connection_buffer_limit_bytes. + */ 'per_request_buffer_limit_bytes'?: (_google_protobuf_UInt32Value); + /** + * Decides whether the :ref:`x-envoy-attempt-count + * ` header should be included + * in the downstream response. Setting this option will cause the router to override any existing header + * value, so in the case of two Envoys on the request path with this option enabled, the downstream + * will see the attempt count as perceived by the Envoy closest upstream from itself. Defaults to false. + * This header is unaffected by the + * :ref:`suppress_envoy_headers + * ` flag. + */ 'include_attempt_count_in_response'?: (boolean); + /** + * [#not-implemented-hide:] + * Specifies the configuration for retry policy extension. Note that setting a route level entry + * will take precedence over this config and it'll be treated independently (e.g.: values are not + * inherited). :ref:`Retry policy ` should not be + * set if this field is used. + */ 'retry_policy_typed_config'?: (_google_protobuf_Any); } +/** + * The top level element in the routing configuration is a virtual host. Each virtual host has + * a logical name as well as a set of domains that get routed to it based on the incoming request's + * host header. This allows a single listener to service multiple top level domain path trees. Once + * a virtual host is selected based on the domain, the routes are processed in order to see which + * upstream cluster to route to or whether to perform a redirect. + * [#next-free-field: 21] + */ export interface VirtualHost__Output { + /** + * The logical name of the virtual host. This is used when emitting certain + * statistics but is not relevant for routing. + */ 'name': (string); + /** + * A list of domains (host/authority header) that will be matched to this + * virtual host. Wildcard hosts are supported in the suffix or prefix form. + * + * Domain search order: + * 1. Exact domain names: ``www.foo.com``. + * 2. Suffix domain wildcards: ``*.foo.com`` or ``*-bar.foo.com``. + * 3. Prefix domain wildcards: ``foo.*`` or ``foo-*``. + * 4. Special wildcard ``*`` matching any domain. + * + * .. note:: + * + * The wildcard will not match the empty string. + * e.g. ``*-bar.foo.com`` will match ``baz-bar.foo.com`` but not ``-bar.foo.com``. + * The longest wildcards match first. + * Only a single virtual host in the entire route configuration can match on ``*``. A domain + * must be unique across all virtual hosts or the config will fail to load. + * + * Domains cannot contain control characters. This is validated by the well_known_regex HTTP_HEADER_VALUE. + */ 'domains': (string)[]; + /** + * The list of routes that will be matched, in order, for incoming requests. + * The first route that matches will be used. + */ 'routes': (_envoy_api_v2_route_Route__Output)[]; + /** + * Specifies the type of TLS enforcement the virtual host expects. If this option is not + * specified, there is no TLS requirement for the virtual host. + */ 'require_tls': (keyof typeof _envoy_api_v2_route_VirtualHost_TlsRequirementType); + /** + * A list of virtual clusters defined for this virtual host. Virtual clusters + * are used for additional statistics gathering. + */ 'virtual_clusters': (_envoy_api_v2_route_VirtualCluster__Output)[]; + /** + * Specifies a set of rate limit configurations that will be applied to the + * virtual host. + */ 'rate_limits': (_envoy_api_v2_route_RateLimit__Output)[]; + /** + * Specifies a list of HTTP headers that should be added to each request + * handled by this virtual host. Headers specified at this level are applied + * after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the + * enclosing :ref:`envoy_api_msg_RouteConfiguration`. For more information, including + * details on header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'request_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + /** + * Indicates that the virtual host has a CORS policy. + */ 'cors': (_envoy_api_v2_route_CorsPolicy__Output); + /** + * Specifies a list of HTTP headers that should be added to each response + * handled by this virtual host. Headers specified at this level are applied + * after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the + * enclosing :ref:`envoy_api_msg_RouteConfiguration`. For more information, including + * details on header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'response_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + /** + * Specifies a list of HTTP headers that should be removed from each response + * handled by this virtual host. + */ 'response_headers_to_remove': (string)[]; + /** + * The per_filter_config field can be used to provide virtual host-specific + * configurations for filters. The key should match the filter name, such as + * *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter + * specific; see the :ref:`HTTP filter documentation ` + * for if and how it is utilized. + */ 'per_filter_config': (_google_protobuf_Struct__Output); + /** + * Specifies a list of HTTP headers that should be removed from each request + * handled by this virtual host. + */ 'request_headers_to_remove': (string)[]; + /** + * Decides whether the :ref:`x-envoy-attempt-count + * ` header should be included + * in the upstream request. Setting this option will cause it to override any existing header + * value, so in the case of two Envoys on the request path with this option enabled, the upstream + * will see the attempt count as perceived by the second Envoy. Defaults to false. + * This header is unaffected by the + * :ref:`suppress_envoy_headers + * ` flag. + * + * [#next-major-version: rename to include_attempt_count_in_request.] + */ 'include_request_attempt_count': (boolean); + /** + * The per_filter_config field can be used to provide virtual host-specific + * configurations for filters. The key should match the filter name, such as + * *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter + * specific; see the :ref:`HTTP filter documentation ` + * for if and how it is utilized. + */ 'typed_per_filter_config': (_google_protobuf_Any__Output); + /** + * Indicates the retry policy for all routes in this virtual host. Note that setting a + * route level entry will take precedence over this config and it'll be treated + * independently (e.g.: values are not inherited). + */ 'retry_policy': (_envoy_api_v2_route_RetryPolicy__Output); + /** + * Indicates the hedge policy for all routes in this virtual host. Note that setting a + * route level entry will take precedence over this config and it'll be treated + * independently (e.g.: values are not inherited). + */ 'hedge_policy': (_envoy_api_v2_route_HedgePolicy__Output); + /** + * The maximum bytes which will be buffered for retries and shadowing. + * If set and a route-specific limit is not set, the bytes actually buffered will be the minimum + * value of this and the listener per_connection_buffer_limit_bytes. + */ 'per_request_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); + /** + * Decides whether the :ref:`x-envoy-attempt-count + * ` header should be included + * in the downstream response. Setting this option will cause the router to override any existing header + * value, so in the case of two Envoys on the request path with this option enabled, the downstream + * will see the attempt count as perceived by the Envoy closest upstream from itself. Defaults to false. + * This header is unaffected by the + * :ref:`suppress_envoy_headers + * ` flag. + */ 'include_attempt_count_in_response': (boolean); + /** + * [#not-implemented-hide:] + * Specifies the configuration for retry policy extension. Note that setting a route level entry + * will take precedence over this config and it'll be treated independently (e.g.: values are not + * inherited). :ref:`Retry policy ` should not be + * set if this field is used. + */ 'retry_policy_typed_config': (_google_protobuf_Any__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts index 234ec5da7..fb0c260b3 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts @@ -6,38 +6,208 @@ import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueO import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; +/** + * [#next-free-field: 11] + */ export interface _envoy_api_v2_route_WeightedCluster_ClusterWeight { + /** + * Name of the upstream cluster. The cluster must exist in the + * :ref:`cluster manager configuration `. + */ 'name'?: (string); + /** + * An integer between 0 and :ref:`total_weight + * `. When a request matches the route, + * the choice of an upstream cluster is determined by its weight. The sum of weights across all + * entries in the clusters array must add up to the total_weight, which defaults to 100. + */ 'weight'?: (_google_protobuf_UInt32Value); + /** + * Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in + * the upstream cluster with metadata matching what is set in this field will be considered for + * load balancing. Note that this will be merged with what's provided in + * :ref:`RouteAction.metadata_match `, with + * values here taking precedence. The filter name should be specified as *envoy.lb*. + */ 'metadata_match'?: (_envoy_api_v2_core_Metadata); + /** + * Specifies a list of headers to be added to requests when this cluster is selected + * through the enclosing :ref:`envoy_api_msg_route.RouteAction`. + * Headers specified at this level are applied before headers from the enclosing + * :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and + * :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on + * header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'request_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + /** + * Specifies a list of HTTP headers that should be removed from each request when + * this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`. + */ 'request_headers_to_remove'?: (string)[]; + /** + * Specifies a list of headers to be added to responses when this cluster is selected + * through the enclosing :ref:`envoy_api_msg_route.RouteAction`. + * Headers specified at this level are applied before headers from the enclosing + * :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and + * :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on + * header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'response_headers_to_add'?: (_envoy_api_v2_core_HeaderValueOption)[]; + /** + * Specifies a list of headers to be removed from responses when this cluster is selected + * through the enclosing :ref:`envoy_api_msg_route.RouteAction`. + */ 'response_headers_to_remove'?: (string)[]; + /** + * The per_filter_config field can be used to provide weighted cluster-specific + * configurations for filters. The key should match the filter name, such as + * *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter + * specific; see the :ref:`HTTP filter documentation ` + * for if and how it is utilized. + */ 'per_filter_config'?: (_google_protobuf_Struct); + /** + * The per_filter_config field can be used to provide weighted cluster-specific + * configurations for filters. The key should match the filter name, such as + * *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter + * specific; see the :ref:`HTTP filter documentation ` + * for if and how it is utilized. + */ 'typed_per_filter_config'?: (_google_protobuf_Any); } +/** + * [#next-free-field: 11] + */ export interface _envoy_api_v2_route_WeightedCluster_ClusterWeight__Output { + /** + * Name of the upstream cluster. The cluster must exist in the + * :ref:`cluster manager configuration `. + */ 'name': (string); + /** + * An integer between 0 and :ref:`total_weight + * `. When a request matches the route, + * the choice of an upstream cluster is determined by its weight. The sum of weights across all + * entries in the clusters array must add up to the total_weight, which defaults to 100. + */ 'weight': (_google_protobuf_UInt32Value__Output); + /** + * Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in + * the upstream cluster with metadata matching what is set in this field will be considered for + * load balancing. Note that this will be merged with what's provided in + * :ref:`RouteAction.metadata_match `, with + * values here taking precedence. The filter name should be specified as *envoy.lb*. + */ 'metadata_match': (_envoy_api_v2_core_Metadata__Output); + /** + * Specifies a list of headers to be added to requests when this cluster is selected + * through the enclosing :ref:`envoy_api_msg_route.RouteAction`. + * Headers specified at this level are applied before headers from the enclosing + * :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and + * :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on + * header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'request_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + /** + * Specifies a list of HTTP headers that should be removed from each request when + * this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`. + */ 'request_headers_to_remove': (string)[]; + /** + * Specifies a list of headers to be added to responses when this cluster is selected + * through the enclosing :ref:`envoy_api_msg_route.RouteAction`. + * Headers specified at this level are applied before headers from the enclosing + * :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and + * :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on + * header value syntax, see the documentation on :ref:`custom request headers + * `. + */ 'response_headers_to_add': (_envoy_api_v2_core_HeaderValueOption__Output)[]; + /** + * Specifies a list of headers to be removed from responses when this cluster is selected + * through the enclosing :ref:`envoy_api_msg_route.RouteAction`. + */ 'response_headers_to_remove': (string)[]; + /** + * The per_filter_config field can be used to provide weighted cluster-specific + * configurations for filters. The key should match the filter name, such as + * *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter + * specific; see the :ref:`HTTP filter documentation ` + * for if and how it is utilized. + */ 'per_filter_config': (_google_protobuf_Struct__Output); + /** + * The per_filter_config field can be used to provide weighted cluster-specific + * configurations for filters. The key should match the filter name, such as + * *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter + * specific; see the :ref:`HTTP filter documentation ` + * for if and how it is utilized. + */ 'typed_per_filter_config': (_google_protobuf_Any__Output); } +/** + * Compared to the :ref:`cluster ` field that specifies a + * single upstream cluster as the target of a request, the :ref:`weighted_clusters + * ` option allows for specification of + * multiple upstream clusters along with weights that indicate the percentage of + * traffic to be forwarded to each cluster. The router selects an upstream cluster based on the + * weights. + */ export interface WeightedCluster { + /** + * Specifies one or more upstream clusters associated with the route. + */ 'clusters'?: (_envoy_api_v2_route_WeightedCluster_ClusterWeight)[]; + /** + * Specifies the runtime key prefix that should be used to construct the + * runtime keys associated with each cluster. When the *runtime_key_prefix* is + * specified, the router will look for weights associated with each upstream + * cluster under the key *runtime_key_prefix* + "." + *cluster[i].name* where + * *cluster[i]* denotes an entry in the clusters array field. If the runtime + * key for the cluster does not exist, the value specified in the + * configuration file will be used as the default weight. See the :ref:`runtime documentation + * ` for how key names map to the underlying implementation. + */ 'runtime_key_prefix'?: (string); + /** + * Specifies the total weight across all clusters. The sum of all cluster weights must equal this + * value, which must be greater than 0. Defaults to 100. + */ 'total_weight'?: (_google_protobuf_UInt32Value); } +/** + * Compared to the :ref:`cluster ` field that specifies a + * single upstream cluster as the target of a request, the :ref:`weighted_clusters + * ` option allows for specification of + * multiple upstream clusters along with weights that indicate the percentage of + * traffic to be forwarded to each cluster. The router selects an upstream cluster based on the + * weights. + */ export interface WeightedCluster__Output { + /** + * Specifies one or more upstream clusters associated with the route. + */ 'clusters': (_envoy_api_v2_route_WeightedCluster_ClusterWeight__Output)[]; + /** + * Specifies the runtime key prefix that should be used to construct the + * runtime keys associated with each cluster. When the *runtime_key_prefix* is + * specified, the router will look for weights associated with each upstream + * cluster under the key *runtime_key_prefix* + "." + *cluster[i].name* where + * *cluster[i]* denotes an entry in the clusters array field. If the runtime + * key for the cluster does not exist, the value specified in the + * configuration file will be used as the default weight. See the :ref:`runtime documentation + * ` for how key names map to the underlying implementation. + */ 'runtime_key_prefix': (string); + /** + * Specifies the total weight across all clusters. The sum of all cluster weights must equal this + * value, which must be greater than 0. Defaults to 100. + */ 'total_weight': (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.ts index d89342b10..7a1b23f0d 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.ts @@ -5,17 +5,61 @@ import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_S import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../../google/protobuf/Any'; export interface AccessLog { + /** + * The name of the access log implementation to instantiate. The name must + * match a statically registered access log. Current built-in loggers include: + * + * #. "envoy.access_loggers.file" + * #. "envoy.access_loggers.http_grpc" + * #. "envoy.access_loggers.tcp_grpc" + */ 'name'?: (string); + /** + * Filter which is used to determine if the access log needs to be written. + */ 'filter'?: (_envoy_config_filter_accesslog_v2_AccessLogFilter); 'config'?: (_google_protobuf_Struct); 'typed_config'?: (_google_protobuf_Any); + /** + * Custom configuration that depends on the access log being instantiated. Built-in + * configurations include: + * + * #. "envoy.access_loggers.file": :ref:`FileAccessLog + * ` + * #. "envoy.access_loggers.http_grpc": :ref:`HttpGrpcAccessLogConfig + * ` + * #. "envoy.access_loggers.tcp_grpc": :ref:`TcpGrpcAccessLogConfig + * ` + */ 'config_type'?: "config"|"typed_config"; } export interface AccessLog__Output { + /** + * The name of the access log implementation to instantiate. The name must + * match a statically registered access log. Current built-in loggers include: + * + * #. "envoy.access_loggers.file" + * #. "envoy.access_loggers.http_grpc" + * #. "envoy.access_loggers.tcp_grpc" + */ 'name': (string); + /** + * Filter which is used to determine if the access log needs to be written. + */ 'filter': (_envoy_config_filter_accesslog_v2_AccessLogFilter__Output); 'config'?: (_google_protobuf_Struct__Output); 'typed_config'?: (_google_protobuf_Any__Output); + /** + * Custom configuration that depends on the access log being instantiated. Built-in + * configurations include: + * + * #. "envoy.access_loggers.file": :ref:`FileAccessLog + * ` + * #. "envoy.access_loggers.http_grpc": :ref:`HttpGrpcAccessLogConfig + * ` + * #. "envoy.access_loggers.tcp_grpc": :ref:`TcpGrpcAccessLogConfig + * ` + */ 'config_type': "config"|"typed_config"; } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLogFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLogFilter.ts index ce399dc52..19eb4ed28 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLogFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLogFilter.ts @@ -12,32 +12,104 @@ import { ResponseFlagFilter as _envoy_config_filter_accesslog_v2_ResponseFlagFil import { GrpcStatusFilter as _envoy_config_filter_accesslog_v2_GrpcStatusFilter, GrpcStatusFilter__Output as _envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/GrpcStatusFilter'; import { ExtensionFilter as _envoy_config_filter_accesslog_v2_ExtensionFilter, ExtensionFilter__Output as _envoy_config_filter_accesslog_v2_ExtensionFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/ExtensionFilter'; +/** + * [#next-free-field: 12] + */ export interface AccessLogFilter { + /** + * Status code filter. + */ 'status_code_filter'?: (_envoy_config_filter_accesslog_v2_StatusCodeFilter); + /** + * Duration filter. + */ 'duration_filter'?: (_envoy_config_filter_accesslog_v2_DurationFilter); + /** + * Not health check filter. + */ 'not_health_check_filter'?: (_envoy_config_filter_accesslog_v2_NotHealthCheckFilter); + /** + * Traceable filter. + */ 'traceable_filter'?: (_envoy_config_filter_accesslog_v2_TraceableFilter); + /** + * Runtime filter. + */ 'runtime_filter'?: (_envoy_config_filter_accesslog_v2_RuntimeFilter); + /** + * And filter. + */ 'and_filter'?: (_envoy_config_filter_accesslog_v2_AndFilter); + /** + * Or filter. + */ 'or_filter'?: (_envoy_config_filter_accesslog_v2_OrFilter); + /** + * Header filter. + */ 'header_filter'?: (_envoy_config_filter_accesslog_v2_HeaderFilter); + /** + * Response flag filter. + */ 'response_flag_filter'?: (_envoy_config_filter_accesslog_v2_ResponseFlagFilter); + /** + * gRPC status filter. + */ 'grpc_status_filter'?: (_envoy_config_filter_accesslog_v2_GrpcStatusFilter); + /** + * Extension filter. + */ 'extension_filter'?: (_envoy_config_filter_accesslog_v2_ExtensionFilter); 'filter_specifier'?: "status_code_filter"|"duration_filter"|"not_health_check_filter"|"traceable_filter"|"runtime_filter"|"and_filter"|"or_filter"|"header_filter"|"response_flag_filter"|"grpc_status_filter"|"extension_filter"; } +/** + * [#next-free-field: 12] + */ export interface AccessLogFilter__Output { + /** + * Status code filter. + */ 'status_code_filter'?: (_envoy_config_filter_accesslog_v2_StatusCodeFilter__Output); + /** + * Duration filter. + */ 'duration_filter'?: (_envoy_config_filter_accesslog_v2_DurationFilter__Output); + /** + * Not health check filter. + */ 'not_health_check_filter'?: (_envoy_config_filter_accesslog_v2_NotHealthCheckFilter__Output); + /** + * Traceable filter. + */ 'traceable_filter'?: (_envoy_config_filter_accesslog_v2_TraceableFilter__Output); + /** + * Runtime filter. + */ 'runtime_filter'?: (_envoy_config_filter_accesslog_v2_RuntimeFilter__Output); + /** + * And filter. + */ 'and_filter'?: (_envoy_config_filter_accesslog_v2_AndFilter__Output); + /** + * Or filter. + */ 'or_filter'?: (_envoy_config_filter_accesslog_v2_OrFilter__Output); + /** + * Header filter. + */ 'header_filter'?: (_envoy_config_filter_accesslog_v2_HeaderFilter__Output); + /** + * Response flag filter. + */ 'response_flag_filter'?: (_envoy_config_filter_accesslog_v2_ResponseFlagFilter__Output); + /** + * gRPC status filter. + */ 'grpc_status_filter'?: (_envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output); + /** + * Extension filter. + */ 'extension_filter'?: (_envoy_config_filter_accesslog_v2_ExtensionFilter__Output); 'filter_specifier': "status_code_filter"|"duration_filter"|"not_health_check_filter"|"traceable_filter"|"runtime_filter"|"and_filter"|"or_filter"|"header_filter"|"response_flag_filter"|"grpc_status_filter"|"extension_filter"; } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AndFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AndFilter.ts index 490962c54..a39ba8f21 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AndFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AndFilter.ts @@ -2,10 +2,20 @@ import { AccessLogFilter as _envoy_config_filter_accesslog_v2_AccessLogFilter, AccessLogFilter__Output as _envoy_config_filter_accesslog_v2_AccessLogFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/AccessLogFilter'; +/** + * Performs a logical “and” operation on the result of each filter in filters. + * Filters are evaluated sequentially and if one of them returns false, the + * filter returns false immediately. + */ export interface AndFilter { 'filters'?: (_envoy_config_filter_accesslog_v2_AccessLogFilter)[]; } +/** + * Performs a logical “and” operation on the result of each filter in filters. + * Filters are evaluated sequentially and if one of them returns false, the + * filter returns false immediately. + */ export interface AndFilter__Output { 'filters': (_envoy_config_filter_accesslog_v2_AccessLogFilter__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.ts index 518e5399c..dc4e88872 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.ts @@ -5,17 +5,44 @@ import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Outpu // Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto export enum _envoy_config_filter_accesslog_v2_ComparisonFilter_Op { + /** + * = + */ EQ = 0, + /** + * >= + */ GE = 1, + /** + * <= + */ LE = 2, } +/** + * Filter on an integer comparison. + */ export interface ComparisonFilter { + /** + * Comparison operator. + */ 'op'?: (_envoy_config_filter_accesslog_v2_ComparisonFilter_Op | keyof typeof _envoy_config_filter_accesslog_v2_ComparisonFilter_Op); + /** + * Value to compare against. + */ 'value'?: (_envoy_api_v2_core_RuntimeUInt32); } +/** + * Filter on an integer comparison. + */ export interface ComparisonFilter__Output { + /** + * Comparison operator. + */ 'op': (keyof typeof _envoy_config_filter_accesslog_v2_ComparisonFilter_Op); + /** + * Value to compare against. + */ 'value': (_envoy_api_v2_core_RuntimeUInt32__Output); } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.ts index 495154e27..9a2162efb 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.ts @@ -2,10 +2,22 @@ import { ComparisonFilter as _envoy_config_filter_accesslog_v2_ComparisonFilter, ComparisonFilter__Output as _envoy_config_filter_accesslog_v2_ComparisonFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/ComparisonFilter'; +/** + * Filters on total request duration in milliseconds. + */ export interface DurationFilter { + /** + * Comparison. + */ 'comparison'?: (_envoy_config_filter_accesslog_v2_ComparisonFilter); } +/** + * Filters on total request duration in milliseconds. + */ export interface DurationFilter__Output { + /** + * Comparison. + */ 'comparison': (_envoy_config_filter_accesslog_v2_ComparisonFilter__Output); } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ExtensionFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ExtensionFilter.ts index 047086c8b..b0a061b82 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ExtensionFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ExtensionFilter.ts @@ -3,16 +3,36 @@ import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../../google/protobuf/Struct'; import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../../google/protobuf/Any'; +/** + * Extension filter is statically registered at runtime. + */ export interface ExtensionFilter { + /** + * The name of the filter implementation to instantiate. The name must + * match a statically registered filter. + */ 'name'?: (string); 'config'?: (_google_protobuf_Struct); 'typed_config'?: (_google_protobuf_Any); + /** + * Custom configuration that depends on the filter being instantiated. + */ 'config_type'?: "config"|"typed_config"; } +/** + * Extension filter is statically registered at runtime. + */ export interface ExtensionFilter__Output { + /** + * The name of the filter implementation to instantiate. The name must + * match a statically registered filter. + */ 'name': (string); 'config'?: (_google_protobuf_Struct__Output); 'typed_config'?: (_google_protobuf_Any__Output); + /** + * Custom configuration that depends on the filter being instantiated. + */ 'config_type': "config"|"typed_config"; } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/GrpcStatusFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/GrpcStatusFilter.ts index 086c08e3a..8e8b0981e 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/GrpcStatusFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/GrpcStatusFilter.ts @@ -23,12 +23,34 @@ export enum _envoy_config_filter_accesslog_v2_GrpcStatusFilter_Status { UNAUTHENTICATED = 16, } +/** + * Filters gRPC requests based on their response status. If a gRPC status is not provided, the + * filter will infer the status from the HTTP status code. + */ export interface GrpcStatusFilter { + /** + * Logs only responses that have any one of the gRPC statuses in this field. + */ 'statuses'?: (_envoy_config_filter_accesslog_v2_GrpcStatusFilter_Status | keyof typeof _envoy_config_filter_accesslog_v2_GrpcStatusFilter_Status)[]; + /** + * If included and set to true, the filter will instead block all responses with a gRPC status or + * inferred gRPC status enumerated in statuses, and allow all other responses. + */ 'exclude'?: (boolean); } +/** + * Filters gRPC requests based on their response status. If a gRPC status is not provided, the + * filter will infer the status from the HTTP status code. + */ export interface GrpcStatusFilter__Output { + /** + * Logs only responses that have any one of the gRPC statuses in this field. + */ 'statuses': (keyof typeof _envoy_config_filter_accesslog_v2_GrpcStatusFilter_Status)[]; + /** + * If included and set to true, the filter will instead block all responses with a gRPC status or + * inferred gRPC status enumerated in statuses, and allow all other responses. + */ 'exclude': (boolean); } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.ts index 7fe39f9ee..56c4df1ea 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.ts @@ -2,10 +2,24 @@ import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from '../../../../../envoy/api/v2/route/HeaderMatcher'; +/** + * Filters requests based on the presence or value of a request header. + */ export interface HeaderFilter { + /** + * Only requests with a header which matches the specified HeaderMatcher will pass the filter + * check. + */ 'header'?: (_envoy_api_v2_route_HeaderMatcher); } +/** + * Filters requests based on the presence or value of a request header. + */ export interface HeaderFilter__Output { + /** + * Only requests with a header which matches the specified HeaderMatcher will pass the filter + * check. + */ 'header': (_envoy_api_v2_route_HeaderMatcher__Output); } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/NotHealthCheckFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/NotHealthCheckFilter.ts index 0895567da..3de68f081 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/NotHealthCheckFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/NotHealthCheckFilter.ts @@ -1,8 +1,16 @@ // Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto +/** + * Filters for requests that are not health check requests. A health check + * request is marked by the health check filter. + */ export interface NotHealthCheckFilter { } +/** + * Filters for requests that are not health check requests. A health check + * request is marked by the health check filter. + */ export interface NotHealthCheckFilter__Output { } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/OrFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/OrFilter.ts index f4b2a19d2..def55d54a 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/OrFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/OrFilter.ts @@ -2,10 +2,20 @@ import { AccessLogFilter as _envoy_config_filter_accesslog_v2_AccessLogFilter, AccessLogFilter__Output as _envoy_config_filter_accesslog_v2_AccessLogFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/AccessLogFilter'; +/** + * Performs a logical “or” operation on the result of each individual filter. + * Filters are evaluated sequentially and if one of them returns true, the + * filter returns true immediately. + */ export interface OrFilter { 'filters'?: (_envoy_config_filter_accesslog_v2_AccessLogFilter)[]; } +/** + * Performs a logical “or” operation on the result of each individual filter. + * Filters are evaluated sequentially and if one of them returns true, the + * filter returns true immediately. + */ export interface OrFilter__Output { 'filters': (_envoy_config_filter_accesslog_v2_AccessLogFilter__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ResponseFlagFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ResponseFlagFilter.ts index bb744a0c6..280fbb26a 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ResponseFlagFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ResponseFlagFilter.ts @@ -1,10 +1,30 @@ // Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto +/** + * Filters requests that received responses with an Envoy response flag set. + * A list of the response flags can be found + * in the access log formatter :ref:`documentation`. + */ export interface ResponseFlagFilter { + /** + * Only responses with the any of the flags listed in this field will be logged. + * This field is optional. If it is not specified, then any response flag will pass + * the filter check. + */ 'flags'?: (string)[]; } +/** + * Filters requests that received responses with an Envoy response flag set. + * A list of the response flags can be found + * in the access log formatter :ref:`documentation`. + */ export interface ResponseFlagFilter__Output { + /** + * Only responses with the any of the flags listed in this field will be logged. + * This field is optional. If it is not specified, then any response flag will pass + * the filter check. + */ 'flags': (string)[]; } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.ts index 83e98db33..f11e4bc2b 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.ts @@ -2,14 +2,62 @@ import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from '../../../../../envoy/type/FractionalPercent'; +/** + * Filters for random sampling of requests. + */ export interface RuntimeFilter { + /** + * Runtime key to get an optional overridden numerator for use in the *percent_sampled* field. + * If found in runtime, this value will replace the default numerator. + */ 'runtime_key'?: (string); + /** + * The default sampling percentage. If not specified, defaults to 0% with denominator of 100. + */ 'percent_sampled'?: (_envoy_type_FractionalPercent); + /** + * By default, sampling pivots on the header + * :ref:`x-request-id` being present. If + * :ref:`x-request-id` is present, the filter will + * consistently sample across multiple hosts based on the runtime key value and the value + * extracted from :ref:`x-request-id`. If it is + * missing, or *use_independent_randomness* is set to true, the filter will randomly sample based + * on the runtime key value alone. *use_independent_randomness* can be used for logging kill + * switches within complex nested :ref:`AndFilter + * ` and :ref:`OrFilter + * ` blocks that are easier to reason about + * from a probability perspective (i.e., setting to true will cause the filter to behave like + * an independent random variable when composed within logical operator filters). + */ 'use_independent_randomness'?: (boolean); } +/** + * Filters for random sampling of requests. + */ export interface RuntimeFilter__Output { + /** + * Runtime key to get an optional overridden numerator for use in the *percent_sampled* field. + * If found in runtime, this value will replace the default numerator. + */ 'runtime_key': (string); + /** + * The default sampling percentage. If not specified, defaults to 0% with denominator of 100. + */ 'percent_sampled': (_envoy_type_FractionalPercent__Output); + /** + * By default, sampling pivots on the header + * :ref:`x-request-id` being present. If + * :ref:`x-request-id` is present, the filter will + * consistently sample across multiple hosts based on the runtime key value and the value + * extracted from :ref:`x-request-id`. If it is + * missing, or *use_independent_randomness* is set to true, the filter will randomly sample based + * on the runtime key value alone. *use_independent_randomness* can be used for logging kill + * switches within complex nested :ref:`AndFilter + * ` and :ref:`OrFilter + * ` blocks that are easier to reason about + * from a probability perspective (i.e., setting to true will cause the filter to behave like + * an independent random variable when composed within logical operator filters). + */ 'use_independent_randomness': (boolean); } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.ts index 6f8c46d22..950bd696a 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.ts @@ -2,10 +2,22 @@ import { ComparisonFilter as _envoy_config_filter_accesslog_v2_ComparisonFilter, ComparisonFilter__Output as _envoy_config_filter_accesslog_v2_ComparisonFilter__Output } from '../../../../../envoy/config/filter/accesslog/v2/ComparisonFilter'; +/** + * Filters on HTTP response/status code. + */ export interface StatusCodeFilter { + /** + * Comparison. + */ 'comparison'?: (_envoy_config_filter_accesslog_v2_ComparisonFilter); } +/** + * Filters on HTTP response/status code. + */ export interface StatusCodeFilter__Output { + /** + * Comparison. + */ 'comparison': (_envoy_config_filter_accesslog_v2_ComparisonFilter__Output); } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/TraceableFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/TraceableFilter.ts index a428d1a8a..8de24656a 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/TraceableFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/TraceableFilter.ts @@ -1,8 +1,16 @@ // Original file: deps/envoy-api/envoy/config/filter/accesslog/v2/accesslog.proto +/** + * Filters for requests that are traceable. See the tracing overview for more + * information on how a request becomes traceable. + */ export interface TraceableFilter { } +/** + * Filters for requests that are traceable. See the tracing overview for more + * information on how a request becomes traceable. + */ export interface TraceableFilter__Output { } diff --git a/packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.ts b/packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.ts index 8d3b82f04..095bc2c53 100644 --- a/packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.ts +++ b/packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.ts @@ -2,10 +2,38 @@ import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; +/** + * Describes a type of API listener, which is used in non-proxy clients. The type of API + * exposed to the non-proxy application depends on the type of API listener. + */ export interface ApiListener { + /** + * The type in this field determines the type of API listener. At present, the following + * types are supported: + * envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager (HTTP) + * [#next-major-version: In the v3 API, replace this Any field with a oneof containing the + * specific config message for each type of API listener. We could not do this in v2 because + * it would have caused circular dependencies for go protos: lds.proto depends on this file, + * and http_connection_manager.proto depends on rds.proto, which is in the same directory as + * lds.proto, so lds.proto cannot depend on this file.] + */ 'api_listener'?: (_google_protobuf_Any); } +/** + * Describes a type of API listener, which is used in non-proxy clients. The type of API + * exposed to the non-proxy application depends on the type of API listener. + */ export interface ApiListener__Output { + /** + * The type in this field determines the type of API listener. At present, the following + * types are supported: + * envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager (HTTP) + * [#next-major-version: In the v3 API, replace this Any field with a oneof containing the + * specific config message for each type of API listener. We could not do this in v2 because + * it would have caused circular dependencies for go protos: lds.proto depends on this file, + * and http_connection_manager.proto depends on rds.proto, which is in the same directory as + * lds.proto, so lds.proto cannot depend on this file.] + */ 'api_listener': (_google_protobuf_Any__Output); } diff --git a/packages/grpc-js/src/generated/envoy/service/discovery/v2/AdsDummy.ts b/packages/grpc-js/src/generated/envoy/service/discovery/v2/AdsDummy.ts index 985cd2200..eeb6aa6af 100644 --- a/packages/grpc-js/src/generated/envoy/service/discovery/v2/AdsDummy.ts +++ b/packages/grpc-js/src/generated/envoy/service/discovery/v2/AdsDummy.ts @@ -1,8 +1,16 @@ // Original file: deps/envoy-api/envoy/service/discovery/v2/ads.proto +/** + * [#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing + * services: https://github.com/google/protobuf/issues/4221 + */ export interface AdsDummy { } +/** + * [#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing + * services: https://github.com/google/protobuf/issues/4221 + */ export interface AdsDummy__Output { } diff --git a/packages/grpc-js/src/generated/envoy/type/CodecClientType.ts b/packages/grpc-js/src/generated/envoy/type/CodecClientType.ts index b32b1b1a9..a0bf07351 100644 --- a/packages/grpc-js/src/generated/envoy/type/CodecClientType.ts +++ b/packages/grpc-js/src/generated/envoy/type/CodecClientType.ts @@ -3,5 +3,10 @@ export enum CodecClientType { HTTP1 = 0, HTTP2 = 1, + /** + * [#not-implemented-hide:] QUIC implementation is not production ready yet. Use this enum with + * caution to prevent accidental execution of QUIC code. I.e. `!= HTTP2` is no longer sufficient + * to distinguish HTTP1 and HTTP2 traffic. + */ HTTP3 = 2, } diff --git a/packages/grpc-js/src/generated/envoy/type/DoubleRange.ts b/packages/grpc-js/src/generated/envoy/type/DoubleRange.ts index 9d9bb8958..5ebc3a579 100644 --- a/packages/grpc-js/src/generated/envoy/type/DoubleRange.ts +++ b/packages/grpc-js/src/generated/envoy/type/DoubleRange.ts @@ -1,12 +1,32 @@ // Original file: deps/envoy-api/envoy/type/range.proto +/** + * Specifies the double start and end of the range using half-open interval semantics [start, + * end). + */ export interface DoubleRange { + /** + * start of the range (inclusive) + */ 'start'?: (number | string); + /** + * end of the range (exclusive) + */ 'end'?: (number | string); } +/** + * Specifies the double start and end of the range using half-open interval semantics [start, + * end). + */ export interface DoubleRange__Output { + /** + * start of the range (inclusive) + */ 'start': (number | string); + /** + * end of the range (exclusive) + */ 'end': (number | string); } diff --git a/packages/grpc-js/src/generated/envoy/type/FractionalPercent.ts b/packages/grpc-js/src/generated/envoy/type/FractionalPercent.ts index bc7d3d52c..e450f0bfa 100644 --- a/packages/grpc-js/src/generated/envoy/type/FractionalPercent.ts +++ b/packages/grpc-js/src/generated/envoy/type/FractionalPercent.ts @@ -3,18 +3,66 @@ // Original file: deps/envoy-api/envoy/type/percent.proto +/** + * Fraction percentages support several fixed denominator values. + */ export enum _envoy_type_FractionalPercent_DenominatorType { + /** + * 100. + * + * **Example**: 1/100 = 1%. + */ HUNDRED = 0, + /** + * 10,000. + * + * **Example**: 1/10000 = 0.01%. + */ TEN_THOUSAND = 1, + /** + * 1,000,000. + * + * **Example**: 1/1000000 = 0.0001%. + */ MILLION = 2, } +/** + * A fractional percentage is used in cases in which for performance reasons performing floating + * point to integer conversions during randomness calculations is undesirable. The message includes + * both a numerator and denominator that together determine the final fractional value. + * + * * **Example**: 1/100 = 1%. + * * **Example**: 3/10000 = 0.03%. + */ export interface FractionalPercent { + /** + * Specifies the numerator. Defaults to 0. + */ 'numerator'?: (number); + /** + * Specifies the denominator. If the denominator specified is less than the numerator, the final + * fractional percentage is capped at 1 (100%). + */ 'denominator'?: (_envoy_type_FractionalPercent_DenominatorType | keyof typeof _envoy_type_FractionalPercent_DenominatorType); } +/** + * A fractional percentage is used in cases in which for performance reasons performing floating + * point to integer conversions during randomness calculations is undesirable. The message includes + * both a numerator and denominator that together determine the final fractional value. + * + * * **Example**: 1/100 = 1%. + * * **Example**: 3/10000 = 0.03%. + */ export interface FractionalPercent__Output { + /** + * Specifies the numerator. Defaults to 0. + */ 'numerator': (number); + /** + * Specifies the denominator. If the denominator specified is less than the numerator, the final + * fractional percentage is capped at 1 (100%). + */ 'denominator': (keyof typeof _envoy_type_FractionalPercent_DenominatorType); } diff --git a/packages/grpc-js/src/generated/envoy/type/Int32Range.ts b/packages/grpc-js/src/generated/envoy/type/Int32Range.ts index 3adec7571..f5475c2db 100644 --- a/packages/grpc-js/src/generated/envoy/type/Int32Range.ts +++ b/packages/grpc-js/src/generated/envoy/type/Int32Range.ts @@ -1,12 +1,32 @@ // Original file: deps/envoy-api/envoy/type/range.proto +/** + * Specifies the int32 start and end of the range using half-open interval semantics [start, + * end). + */ export interface Int32Range { + /** + * start of the range (inclusive) + */ 'start'?: (number); + /** + * end of the range (exclusive) + */ 'end'?: (number); } +/** + * Specifies the int32 start and end of the range using half-open interval semantics [start, + * end). + */ export interface Int32Range__Output { + /** + * start of the range (inclusive) + */ 'start': (number); + /** + * end of the range (exclusive) + */ 'end': (number); } diff --git a/packages/grpc-js/src/generated/envoy/type/Int64Range.ts b/packages/grpc-js/src/generated/envoy/type/Int64Range.ts index adc30bbd1..16c8235ca 100644 --- a/packages/grpc-js/src/generated/envoy/type/Int64Range.ts +++ b/packages/grpc-js/src/generated/envoy/type/Int64Range.ts @@ -2,12 +2,32 @@ import { Long } from '@grpc/proto-loader'; +/** + * Specifies the int64 start and end of the range using half-open interval semantics [start, + * end). + */ export interface Int64Range { + /** + * start of the range (inclusive) + */ 'start'?: (number | string | Long); + /** + * end of the range (exclusive) + */ 'end'?: (number | string | Long); } +/** + * Specifies the int64 start and end of the range using half-open interval semantics [start, + * end). + */ export interface Int64Range__Output { + /** + * start of the range (inclusive) + */ 'start': (string); + /** + * end of the range (exclusive) + */ 'end': (string); } diff --git a/packages/grpc-js/src/generated/envoy/type/Percent.ts b/packages/grpc-js/src/generated/envoy/type/Percent.ts index 656408905..f63553acd 100644 --- a/packages/grpc-js/src/generated/envoy/type/Percent.ts +++ b/packages/grpc-js/src/generated/envoy/type/Percent.ts @@ -1,10 +1,16 @@ // Original file: deps/envoy-api/envoy/type/percent.proto +/** + * Identifies a percentage, in the range [0.0, 100.0]. + */ export interface Percent { 'value'?: (number | string); } +/** + * Identifies a percentage, in the range [0.0, 100.0]. + */ export interface Percent__Output { 'value': (number | string); } diff --git a/packages/grpc-js/src/generated/envoy/type/SemanticVersion.ts b/packages/grpc-js/src/generated/envoy/type/SemanticVersion.ts index aa1f7bc43..f99431703 100644 --- a/packages/grpc-js/src/generated/envoy/type/SemanticVersion.ts +++ b/packages/grpc-js/src/generated/envoy/type/SemanticVersion.ts @@ -1,12 +1,22 @@ // Original file: deps/envoy-api/envoy/type/semantic_version.proto +/** + * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate + * expected behaviors and APIs, the patch version field is used only + * for security fixes and can be generally ignored. + */ export interface SemanticVersion { 'major_number'?: (number); 'minor_number'?: (number); 'patch'?: (number); } +/** + * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate + * expected behaviors and APIs, the patch version field is used only + * for security fixes and can be generally ignored. + */ export interface SemanticVersion__Output { 'major_number': (number); 'minor_number': (number); diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/ListStringMatcher.ts b/packages/grpc-js/src/generated/envoy/type/matcher/ListStringMatcher.ts index aab545afe..e4ac83f0d 100644 --- a/packages/grpc-js/src/generated/envoy/type/matcher/ListStringMatcher.ts +++ b/packages/grpc-js/src/generated/envoy/type/matcher/ListStringMatcher.ts @@ -2,10 +2,16 @@ import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../envoy/type/matcher/StringMatcher'; +/** + * Specifies a list of ways to match a string. + */ export interface ListStringMatcher { 'patterns'?: (_envoy_type_matcher_StringMatcher)[]; } +/** + * Specifies a list of ways to match a string. + */ export interface ListStringMatcher__Output { 'patterns': (_envoy_type_matcher_StringMatcher__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.ts b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.ts index 6b4fa903c..55c8c8644 100644 --- a/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.ts +++ b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.ts @@ -2,12 +2,64 @@ import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from '../../../envoy/type/matcher/RegexMatcher'; +/** + * Describes how to match a string and then produce a new string using a regular + * expression and a substitution string. + */ export interface RegexMatchAndSubstitute { + /** + * The regular expression used to find portions of a string (hereafter called + * the "subject string") that should be replaced. When a new string is + * produced during the substitution operation, the new string is initially + * the same as the subject string, but then all matches in the subject string + * are replaced by the substitution string. If replacing all matches isn't + * desired, regular expression anchors can be used to ensure a single match, + * so as to replace just one occurrence of a pattern. Capture groups can be + * used in the pattern to extract portions of the subject string, and then + * referenced in the substitution string. + */ 'pattern'?: (_envoy_type_matcher_RegexMatcher); + /** + * The string that should be substituted into matching portions of the + * subject string during a substitution operation to produce a new string. + * Capture groups in the pattern can be referenced in the substitution + * string. Note, however, that the syntax for referring to capture groups is + * defined by the chosen regular expression engine. Google's `RE2 + * `_ regular expression engine uses a + * backslash followed by the capture group number to denote a numbered + * capture group. E.g., ``\1`` refers to capture group 1, and ``\2`` refers + * to capture group 2. + */ 'substitution'?: (string); } +/** + * Describes how to match a string and then produce a new string using a regular + * expression and a substitution string. + */ export interface RegexMatchAndSubstitute__Output { + /** + * The regular expression used to find portions of a string (hereafter called + * the "subject string") that should be replaced. When a new string is + * produced during the substitution operation, the new string is initially + * the same as the subject string, but then all matches in the subject string + * are replaced by the substitution string. If replacing all matches isn't + * desired, regular expression anchors can be used to ensure a single match, + * so as to replace just one occurrence of a pattern. Capture groups can be + * used in the pattern to extract portions of the subject string, and then + * referenced in the substitution string. + */ 'pattern': (_envoy_type_matcher_RegexMatcher__Output); + /** + * The string that should be substituted into matching portions of the + * subject string during a substitution operation to produce a new string. + * Capture groups in the pattern can be referenced in the substitution + * string. Note, however, that the syntax for referring to capture groups is + * defined by the chosen regular expression engine. Google's `RE2 + * `_ regular expression engine uses a + * backslash followed by the capture group number to denote a numbered + * capture group. E.g., ``\1`` refers to capture group 1, and ``\2`` refers + * to capture group 2. + */ 'substitution': (string); } diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.ts b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.ts index d4904964f..674fef3f5 100644 --- a/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.ts +++ b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.ts @@ -2,22 +2,68 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../google/protobuf/UInt32Value'; +/** + * Google's `RE2 `_ regex engine. The regex string must adhere to + * the documented `syntax `_. The engine is designed + * to complete execution in linear time as well as limit the amount of memory used. + */ export interface _envoy_type_matcher_RegexMatcher_GoogleRE2 { + /** + * This field controls the RE2 "program size" which is a rough estimate of how complex a + * compiled regex is to evaluate. A regex that has a program size greater than the configured + * value will fail to compile. In this case, the configured max program size can be increased + * or the regex can be simplified. If not specified, the default is 100. + * + * This field is deprecated; regexp validation should be performed on the management server + * instead of being done by each individual client. + */ 'max_program_size'?: (_google_protobuf_UInt32Value); } +/** + * Google's `RE2 `_ regex engine. The regex string must adhere to + * the documented `syntax `_. The engine is designed + * to complete execution in linear time as well as limit the amount of memory used. + */ export interface _envoy_type_matcher_RegexMatcher_GoogleRE2__Output { + /** + * This field controls the RE2 "program size" which is a rough estimate of how complex a + * compiled regex is to evaluate. A regex that has a program size greater than the configured + * value will fail to compile. In this case, the configured max program size can be increased + * or the regex can be simplified. If not specified, the default is 100. + * + * This field is deprecated; regexp validation should be performed on the management server + * instead of being done by each individual client. + */ 'max_program_size': (_google_protobuf_UInt32Value__Output); } +/** + * A regex matcher designed for safety when used with untrusted input. + */ export interface RegexMatcher { + /** + * Google's RE2 regex engine. + */ 'google_re2'?: (_envoy_type_matcher_RegexMatcher_GoogleRE2); + /** + * The regex match string. The string must be supported by the configured engine. + */ 'regex'?: (string); 'engine_type'?: "google_re2"; } +/** + * A regex matcher designed for safety when used with untrusted input. + */ export interface RegexMatcher__Output { + /** + * Google's RE2 regex engine. + */ 'google_re2'?: (_envoy_type_matcher_RegexMatcher_GoogleRE2__Output); + /** + * The regex match string. The string must be supported by the configured engine. + */ 'regex': (string); 'engine_type': "google_re2"; } diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/StringMatcher.ts b/packages/grpc-js/src/generated/envoy/type/matcher/StringMatcher.ts index 6a63a54dc..de8ce5dc2 100644 --- a/packages/grpc-js/src/generated/envoy/type/matcher/StringMatcher.ts +++ b/packages/grpc-js/src/generated/envoy/type/matcher/StringMatcher.ts @@ -2,22 +2,122 @@ import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from '../../../envoy/type/matcher/RegexMatcher'; +/** + * Specifies the way to match a string. + * [#next-free-field: 7] + */ export interface StringMatcher { + /** + * The input string must match exactly the string specified here. + * + * Examples: + * + * * *abc* only matches the value *abc*. + */ 'exact'?: (string); + /** + * The input string must have the prefix specified here. + * Note: empty prefix is not allowed, please use regex instead. + * + * Examples: + * + * * *abc* matches the value *abc.xyz* + */ 'prefix'?: (string); + /** + * The input string must have the suffix specified here. + * Note: empty prefix is not allowed, please use regex instead. + * + * Examples: + * + * * *abc* matches the value *xyz.abc* + */ 'suffix'?: (string); + /** + * The input string must match the regular expression specified here. + * The regex grammar is defined `here + * `_. + * + * Examples: + * + * * The regex ``\d{3}`` matches the value *123* + * * The regex ``\d{3}`` does not match the value *1234* + * * The regex ``\d{3}`` does not match the value *123.456* + * + * .. attention:: + * This field has been deprecated in favor of `safe_regex` as it is not safe for use with + * untrusted input in all cases. + */ 'regex'?: (string); + /** + * The input string must match the regular expression specified here. + */ 'safe_regex'?: (_envoy_type_matcher_RegexMatcher); + /** + * If true, indicates the exact/prefix/suffix matching should be case insensitive. This has no + * effect for the safe_regex match. + * For example, the matcher *data* will match both input string *Data* and *data* if set to true. + */ 'ignore_case'?: (boolean); 'match_pattern'?: "exact"|"prefix"|"suffix"|"regex"|"safe_regex"; } +/** + * Specifies the way to match a string. + * [#next-free-field: 7] + */ export interface StringMatcher__Output { + /** + * The input string must match exactly the string specified here. + * + * Examples: + * + * * *abc* only matches the value *abc*. + */ 'exact'?: (string); + /** + * The input string must have the prefix specified here. + * Note: empty prefix is not allowed, please use regex instead. + * + * Examples: + * + * * *abc* matches the value *abc.xyz* + */ 'prefix'?: (string); + /** + * The input string must have the suffix specified here. + * Note: empty prefix is not allowed, please use regex instead. + * + * Examples: + * + * * *abc* matches the value *xyz.abc* + */ 'suffix'?: (string); + /** + * The input string must match the regular expression specified here. + * The regex grammar is defined `here + * `_. + * + * Examples: + * + * * The regex ``\d{3}`` matches the value *123* + * * The regex ``\d{3}`` does not match the value *1234* + * * The regex ``\d{3}`` does not match the value *123.456* + * + * .. attention:: + * This field has been deprecated in favor of `safe_regex` as it is not safe for use with + * untrusted input in all cases. + */ 'regex'?: (string); + /** + * The input string must match the regular expression specified here. + */ 'safe_regex'?: (_envoy_type_matcher_RegexMatcher__Output); + /** + * If true, indicates the exact/prefix/suffix matching should be case insensitive. This has no + * effect for the safe_regex match. + * For example, the matcher *data* will match both input string *Data* and *data* if set to true. + */ 'ignore_case': (boolean); 'match_pattern': "exact"|"prefix"|"suffix"|"regex"|"safe_regex"; } diff --git a/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKey.ts b/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKey.ts index cb35fcef9..94d661879 100644 --- a/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKey.ts +++ b/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKey.ts @@ -1,22 +1,108 @@ // Original file: deps/envoy-api/envoy/type/metadata/v2/metadata.proto +/** + * Specifies the segment in a path to retrieve value from Metadata. + * Currently it is only supported to specify the key, i.e. field name, as one segment of a path. + */ export interface _envoy_type_metadata_v2_MetadataKey_PathSegment { + /** + * If specified, use the key to retrieve the value in a Struct. + */ 'key'?: (string); 'segment'?: "key"; } +/** + * Specifies the segment in a path to retrieve value from Metadata. + * Currently it is only supported to specify the key, i.e. field name, as one segment of a path. + */ export interface _envoy_type_metadata_v2_MetadataKey_PathSegment__Output { + /** + * If specified, use the key to retrieve the value in a Struct. + */ 'key'?: (string); 'segment': "key"; } +/** + * MetadataKey provides a general interface using `key` and `path` to retrieve value from + * :ref:`Metadata `. + * + * For example, for the following Metadata: + * + * .. code-block:: yaml + * + * filter_metadata: + * envoy.xxx: + * prop: + * foo: bar + * xyz: + * hello: envoy + * + * The following MetadataKey will retrieve a string value "bar" from the Metadata. + * + * .. code-block:: yaml + * + * key: envoy.xxx + * path: + * - key: prop + * - key: foo + */ export interface MetadataKey { + /** + * The key name of Metadata to retrieve the Struct from the metadata. + * Typically, it represents a builtin subsystem or custom extension. + */ 'key'?: (string); + /** + * The path to retrieve the Value from the Struct. It can be a prefix or a full path, + * e.g. ``[prop, xyz]`` for a struct or ``[prop, foo]`` for a string in the example, + * which depends on the particular scenario. + * + * Note: Due to that only the key type segment is supported, the path can not specify a list + * unless the list is the last segment. + */ 'path'?: (_envoy_type_metadata_v2_MetadataKey_PathSegment)[]; } +/** + * MetadataKey provides a general interface using `key` and `path` to retrieve value from + * :ref:`Metadata `. + * + * For example, for the following Metadata: + * + * .. code-block:: yaml + * + * filter_metadata: + * envoy.xxx: + * prop: + * foo: bar + * xyz: + * hello: envoy + * + * The following MetadataKey will retrieve a string value "bar" from the Metadata. + * + * .. code-block:: yaml + * + * key: envoy.xxx + * path: + * - key: prop + * - key: foo + */ export interface MetadataKey__Output { + /** + * The key name of Metadata to retrieve the Struct from the metadata. + * Typically, it represents a builtin subsystem or custom extension. + */ 'key': (string); + /** + * The path to retrieve the Value from the Struct. It can be a prefix or a full path, + * e.g. ``[prop, xyz]`` for a struct or ``[prop, foo]`` for a string in the example, + * which depends on the particular scenario. + * + * Note: Due to that only the key type segment is supported, the path can not specify a list + * unless the list is the last segment. + */ 'path': (_envoy_type_metadata_v2_MetadataKey_PathSegment__Output)[]; } diff --git a/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.ts b/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.ts index 0cf870bec..665b95f0d 100644 --- a/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.ts +++ b/packages/grpc-js/src/generated/envoy/type/metadata/v2/MetadataKind.ts @@ -1,42 +1,98 @@ // Original file: deps/envoy-api/envoy/type/metadata/v2/metadata.proto +/** + * Represents metadata from :ref:`the upstream cluster`. + */ export interface _envoy_type_metadata_v2_MetadataKind_Cluster { } +/** + * Represents metadata from :ref:`the upstream cluster`. + */ export interface _envoy_type_metadata_v2_MetadataKind_Cluster__Output { } +/** + * Represents metadata from :ref:`the upstream + * host`. + */ export interface _envoy_type_metadata_v2_MetadataKind_Host { } +/** + * Represents metadata from :ref:`the upstream + * host`. + */ export interface _envoy_type_metadata_v2_MetadataKind_Host__Output { } +/** + * Represents dynamic metadata associated with the request. + */ export interface _envoy_type_metadata_v2_MetadataKind_Request { } +/** + * Represents dynamic metadata associated with the request. + */ export interface _envoy_type_metadata_v2_MetadataKind_Request__Output { } +/** + * Represents metadata from :ref:`the route`. + */ export interface _envoy_type_metadata_v2_MetadataKind_Route { } +/** + * Represents metadata from :ref:`the route`. + */ export interface _envoy_type_metadata_v2_MetadataKind_Route__Output { } +/** + * Describes what kind of metadata. + */ export interface MetadataKind { + /** + * Request kind of metadata. + */ 'request'?: (_envoy_type_metadata_v2_MetadataKind_Request); + /** + * Route kind of metadata. + */ 'route'?: (_envoy_type_metadata_v2_MetadataKind_Route); + /** + * Cluster kind of metadata. + */ 'cluster'?: (_envoy_type_metadata_v2_MetadataKind_Cluster); + /** + * Host kind of metadata. + */ 'host'?: (_envoy_type_metadata_v2_MetadataKind_Host); 'kind'?: "request"|"route"|"cluster"|"host"; } +/** + * Describes what kind of metadata. + */ export interface MetadataKind__Output { + /** + * Request kind of metadata. + */ 'request'?: (_envoy_type_metadata_v2_MetadataKind_Request__Output); + /** + * Route kind of metadata. + */ 'route'?: (_envoy_type_metadata_v2_MetadataKind_Route__Output); + /** + * Cluster kind of metadata. + */ 'cluster'?: (_envoy_type_metadata_v2_MetadataKind_Cluster__Output); + /** + * Host kind of metadata. + */ 'host'?: (_envoy_type_metadata_v2_MetadataKind_Host__Output); 'kind': "request"|"route"|"cluster"|"host"; } diff --git a/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts b/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts index fef01ffa0..0b5874d97 100644 --- a/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts +++ b/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts @@ -3,60 +3,196 @@ import { MetadataKind as _envoy_type_metadata_v2_MetadataKind, MetadataKind__Output as _envoy_type_metadata_v2_MetadataKind__Output } from '../../../../envoy/type/metadata/v2/MetadataKind'; import { MetadataKey as _envoy_type_metadata_v2_MetadataKey, MetadataKey__Output as _envoy_type_metadata_v2_MetadataKey__Output } from '../../../../envoy/type/metadata/v2/MetadataKey'; +/** + * Environment type custom tag with environment name and default value. + */ export interface _envoy_type_tracing_v2_CustomTag_Environment { + /** + * Environment variable name to obtain the value to populate the tag value. + */ 'name'?: (string); + /** + * When the environment variable is not found, + * the tag value will be populated with this default value if specified, + * otherwise no tag will be populated. + */ 'default_value'?: (string); } +/** + * Environment type custom tag with environment name and default value. + */ export interface _envoy_type_tracing_v2_CustomTag_Environment__Output { + /** + * Environment variable name to obtain the value to populate the tag value. + */ 'name': (string); + /** + * When the environment variable is not found, + * the tag value will be populated with this default value if specified, + * otherwise no tag will be populated. + */ 'default_value': (string); } +/** + * Header type custom tag with header name and default value. + */ export interface _envoy_type_tracing_v2_CustomTag_Header { + /** + * Header name to obtain the value to populate the tag value. + */ 'name'?: (string); + /** + * When the header does not exist, + * the tag value will be populated with this default value if specified, + * otherwise no tag will be populated. + */ 'default_value'?: (string); } +/** + * Header type custom tag with header name and default value. + */ export interface _envoy_type_tracing_v2_CustomTag_Header__Output { + /** + * Header name to obtain the value to populate the tag value. + */ 'name': (string); + /** + * When the header does not exist, + * the tag value will be populated with this default value if specified, + * otherwise no tag will be populated. + */ 'default_value': (string); } +/** + * Literal type custom tag with static value for the tag value. + */ export interface _envoy_type_tracing_v2_CustomTag_Literal { + /** + * Static literal value to populate the tag value. + */ 'value'?: (string); } +/** + * Literal type custom tag with static value for the tag value. + */ export interface _envoy_type_tracing_v2_CustomTag_Literal__Output { + /** + * Static literal value to populate the tag value. + */ 'value': (string); } +/** + * Metadata type custom tag using + * :ref:`MetadataKey ` to retrieve the protobuf value + * from :ref:`Metadata `, and populate the tag value with + * `the canonical JSON `_ + * representation of it. + */ export interface _envoy_type_tracing_v2_CustomTag_Metadata { + /** + * Specify what kind of metadata to obtain tag value from. + */ 'kind'?: (_envoy_type_metadata_v2_MetadataKind); + /** + * Metadata key to define the path to retrieve the tag value. + */ 'metadata_key'?: (_envoy_type_metadata_v2_MetadataKey); + /** + * When no valid metadata is found, + * the tag value would be populated with this default value if specified, + * otherwise no tag would be populated. + */ 'default_value'?: (string); } +/** + * Metadata type custom tag using + * :ref:`MetadataKey ` to retrieve the protobuf value + * from :ref:`Metadata `, and populate the tag value with + * `the canonical JSON `_ + * representation of it. + */ export interface _envoy_type_tracing_v2_CustomTag_Metadata__Output { + /** + * Specify what kind of metadata to obtain tag value from. + */ 'kind': (_envoy_type_metadata_v2_MetadataKind__Output); + /** + * Metadata key to define the path to retrieve the tag value. + */ 'metadata_key': (_envoy_type_metadata_v2_MetadataKey__Output); + /** + * When no valid metadata is found, + * the tag value would be populated with this default value if specified, + * otherwise no tag would be populated. + */ 'default_value': (string); } +/** + * Describes custom tags for the active span. + * [#next-free-field: 6] + */ export interface CustomTag { + /** + * Used to populate the tag name. + */ 'tag'?: (string); + /** + * A literal custom tag. + */ 'literal'?: (_envoy_type_tracing_v2_CustomTag_Literal); + /** + * An environment custom tag. + */ 'environment'?: (_envoy_type_tracing_v2_CustomTag_Environment); + /** + * A request header custom tag. + */ 'request_header'?: (_envoy_type_tracing_v2_CustomTag_Header); + /** + * A custom tag to obtain tag value from the metadata. + */ 'metadata'?: (_envoy_type_tracing_v2_CustomTag_Metadata); + /** + * Used to specify what kind of custom tag. + */ 'type'?: "literal"|"environment"|"request_header"|"metadata"; } +/** + * Describes custom tags for the active span. + * [#next-free-field: 6] + */ export interface CustomTag__Output { + /** + * Used to populate the tag name. + */ 'tag': (string); + /** + * A literal custom tag. + */ 'literal'?: (_envoy_type_tracing_v2_CustomTag_Literal__Output); + /** + * An environment custom tag. + */ 'environment'?: (_envoy_type_tracing_v2_CustomTag_Environment__Output); + /** + * A request header custom tag. + */ 'request_header'?: (_envoy_type_tracing_v2_CustomTag_Header__Output); + /** + * A custom tag to obtain tag value from the metadata. + */ 'metadata'?: (_envoy_type_tracing_v2_CustomTag_Metadata__Output); + /** + * Used to specify what kind of custom tag. + */ 'type': "literal"|"environment"|"request_header"|"metadata"; } diff --git a/packages/grpc-js/src/generated/google/api/CustomHttpPattern.ts b/packages/grpc-js/src/generated/google/api/CustomHttpPattern.ts index ebdc3e39a..2b6490be6 100644 --- a/packages/grpc-js/src/generated/google/api/CustomHttpPattern.ts +++ b/packages/grpc-js/src/generated/google/api/CustomHttpPattern.ts @@ -1,12 +1,30 @@ // Original file: deps/googleapis/google/api/http.proto +/** + * A custom pattern is used for defining custom HTTP verb. + */ export interface CustomHttpPattern { + /** + * The name of this custom HTTP verb. + */ 'kind'?: (string); + /** + * The path matched by this custom verb. + */ 'path'?: (string); } +/** + * A custom pattern is used for defining custom HTTP verb. + */ export interface CustomHttpPattern__Output { + /** + * The name of this custom HTTP verb. + */ 'kind': (string); + /** + * The path matched by this custom verb. + */ 'path': (string); } diff --git a/packages/grpc-js/src/generated/google/api/Http.ts b/packages/grpc-js/src/generated/google/api/Http.ts index fc3839eb1..038c57e5e 100644 --- a/packages/grpc-js/src/generated/google/api/Http.ts +++ b/packages/grpc-js/src/generated/google/api/Http.ts @@ -2,12 +2,48 @@ import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from '../../google/api/HttpRule'; +/** + * Defines the HTTP configuration for an API service. It contains a list of + * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method + * to one or more HTTP REST API methods. + */ export interface Http { + /** + * A list of HTTP configuration rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ 'rules'?: (_google_api_HttpRule)[]; + /** + * When set to true, URL path parameters will be fully URI-decoded except in + * cases of single segment matches in reserved expansion, where "%2F" will be + * left encoded. + * + * The default behavior is to not decode RFC 6570 reserved characters in multi + * segment matches. + */ 'fully_decode_reserved_expansion'?: (boolean); } +/** + * Defines the HTTP configuration for an API service. It contains a list of + * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method + * to one or more HTTP REST API methods. + */ export interface Http__Output { + /** + * A list of HTTP configuration rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ 'rules': (_google_api_HttpRule__Output)[]; + /** + * When set to true, URL path parameters will be fully URI-decoded except in + * cases of single segment matches in reserved expansion, where "%2F" will be + * left encoded. + * + * The default behavior is to not decode RFC 6570 reserved characters in multi + * segment matches. + */ 'fully_decode_reserved_expansion': (boolean); } diff --git a/packages/grpc-js/src/generated/google/api/HttpRule.ts b/packages/grpc-js/src/generated/google/api/HttpRule.ts index 3b268a026..ed9921e5e 100644 --- a/packages/grpc-js/src/generated/google/api/HttpRule.ts +++ b/packages/grpc-js/src/generated/google/api/HttpRule.ts @@ -3,30 +3,678 @@ import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from '../../google/api/CustomHttpPattern'; import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from '../../google/api/HttpRule'; +/** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ export interface HttpRule { + /** + * Selects a method to which this rule applies. + * + * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + */ 'selector'?: (string); + /** + * Maps to HTTP GET. Used for listing and getting information about + * resources. + */ 'get'?: (string); + /** + * Maps to HTTP PUT. Used for replacing a resource. + */ 'put'?: (string); + /** + * Maps to HTTP POST. Used for creating a resource or performing an action. + */ 'post'?: (string); + /** + * Maps to HTTP DELETE. Used for deleting a resource. + */ 'delete'?: (string); + /** + * Maps to HTTP PATCH. Used for updating a resource. + */ 'patch'?: (string); + /** + * The name of the request field whose value is mapped to the HTTP request + * body, or `*` for mapping all request fields not captured by the path + * pattern to the HTTP body, or omitted for not having any HTTP request body. + * + * NOTE: the referred field must be present at the top-level of the request + * message type. + */ 'body'?: (string); + /** + * The custom pattern is used for specifying an HTTP method that is not + * included in the `pattern` field, such as HEAD, or "*" to leave the + * HTTP method unspecified for this rule. The wild-card rule is useful + * for services that provide content to Web (HTML) clients. + */ 'custom'?: (_google_api_CustomHttpPattern); + /** + * Additional HTTP bindings for the selector. Nested bindings must + * not contain an `additional_bindings` field themselves (that is, + * the nesting may only be one level deep). + */ 'additional_bindings'?: (_google_api_HttpRule)[]; + /** + * Optional. The name of the response field whose value is mapped to the HTTP + * response body. When omitted, the entire response message will be used + * as the HTTP response body. + * + * NOTE: The referred field must be present at the top-level of the response + * message type. + */ 'response_body'?: (string); + /** + * Determines the URL pattern is matched by this rules. This pattern can be + * used with any of the {get|put|post|delete|patch} methods. A custom method + * can be defined using the 'custom' field. + */ 'pattern'?: "get"|"put"|"post"|"delete"|"patch"|"custom"; } +/** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ export interface HttpRule__Output { + /** + * Selects a method to which this rule applies. + * + * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + */ 'selector': (string); + /** + * Maps to HTTP GET. Used for listing and getting information about + * resources. + */ 'get'?: (string); + /** + * Maps to HTTP PUT. Used for replacing a resource. + */ 'put'?: (string); + /** + * Maps to HTTP POST. Used for creating a resource or performing an action. + */ 'post'?: (string); + /** + * Maps to HTTP DELETE. Used for deleting a resource. + */ 'delete'?: (string); + /** + * Maps to HTTP PATCH. Used for updating a resource. + */ 'patch'?: (string); + /** + * The name of the request field whose value is mapped to the HTTP request + * body, or `*` for mapping all request fields not captured by the path + * pattern to the HTTP body, or omitted for not having any HTTP request body. + * + * NOTE: the referred field must be present at the top-level of the request + * message type. + */ 'body': (string); + /** + * The custom pattern is used for specifying an HTTP method that is not + * included in the `pattern` field, such as HEAD, or "*" to leave the + * HTTP method unspecified for this rule. The wild-card rule is useful + * for services that provide content to Web (HTML) clients. + */ 'custom'?: (_google_api_CustomHttpPattern__Output); + /** + * Additional HTTP bindings for the selector. Nested bindings must + * not contain an `additional_bindings` field themselves (that is, + * the nesting may only be one level deep). + */ 'additional_bindings': (_google_api_HttpRule__Output)[]; + /** + * Optional. The name of the response field whose value is mapped to the HTTP + * response body. When omitted, the entire response message will be used + * as the HTTP response body. + * + * NOTE: The referred field must be present at the top-level of the response + * message type. + */ 'response_body': (string); + /** + * Determines the URL pattern is matched by this rules. This pattern can be + * used with any of the {get|put|post|delete|patch} methods. A custom method + * can be defined using the 'custom' field. + */ 'pattern': "get"|"put"|"post"|"delete"|"patch"|"custom"; } diff --git a/packages/grpc-js/src/generated/google/rpc/Status.ts b/packages/grpc-js/src/generated/google/rpc/Status.ts index f1d6ecbcf..7da370379 100644 --- a/packages/grpc-js/src/generated/google/rpc/Status.ts +++ b/packages/grpc-js/src/generated/google/rpc/Status.ts @@ -2,14 +2,56 @@ import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../google/protobuf/Any'; +/** + * The `Status` type defines a logical error model that is suitable for + * different programming environments, including REST APIs and RPC APIs. It is + * used by [gRPC](https://github.com/grpc). Each `Status` message contains + * three pieces of data: error code, error message, and error details. + * + * You can find out more about this error model and how to work with it in the + * [API Design Guide](https://cloud.google.com/apis/design/errors). + */ export interface Status { + /** + * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. + */ 'code'?: (number); + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. + */ 'message'?: (string); + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ 'details'?: (_google_protobuf_Any)[]; } +/** + * The `Status` type defines a logical error model that is suitable for + * different programming environments, including REST APIs and RPC APIs. It is + * used by [gRPC](https://github.com/grpc). Each `Status` message contains + * three pieces of data: error code, error message, and error details. + * + * You can find out more about this error model and how to work with it in the + * [API Design Guide](https://cloud.google.com/apis/design/errors). + */ export interface Status__Output { + /** + * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. + */ 'code': (number); + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. + */ 'message': (string); + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ 'details': (_google_protobuf_Any__Output)[]; } diff --git a/packages/grpc-js/src/generated/listener.ts b/packages/grpc-js/src/generated/listener.ts index 65a514ab7..4bc0d85cf 100644 --- a/packages/grpc-js/src/generated/listener.ts +++ b/packages/grpc-js/src/generated/listener.ts @@ -178,24 +178,72 @@ export namespace messages { } export namespace api { export namespace v2 { + /** + * [#next-free-field: 23] + */ export type Listener = _envoy_api_v2_Listener; + /** + * [#next-free-field: 23] + */ export type Listener__Output = _envoy_api_v2_Listener__Output; export namespace auth { + /** + * [#next-free-field: 11] + */ export type CertificateValidationContext = _envoy_api_v2_auth_CertificateValidationContext; + /** + * [#next-free-field: 11] + */ export type CertificateValidationContext__Output = _envoy_api_v2_auth_CertificateValidationContext__Output; + /** + * TLS context shared by both client and server TLS contexts. + * [#next-free-field: 9] + */ export type CommonTlsContext = _envoy_api_v2_auth_CommonTlsContext; + /** + * TLS context shared by both client and server TLS contexts. + * [#next-free-field: 9] + */ export type CommonTlsContext__Output = _envoy_api_v2_auth_CommonTlsContext__Output; + /** + * [#next-free-field: 8] + */ export type DownstreamTlsContext = _envoy_api_v2_auth_DownstreamTlsContext; + /** + * [#next-free-field: 8] + */ export type DownstreamTlsContext__Output = _envoy_api_v2_auth_DownstreamTlsContext__Output; export type GenericSecret = _envoy_api_v2_auth_GenericSecret; export type GenericSecret__Output = _envoy_api_v2_auth_GenericSecret__Output; + /** + * BoringSSL private key method configuration. The private key methods are used for external + * (potentially asynchronous) signing and decryption operations. Some use cases for private key + * methods would be TPM support and TLS acceleration. + */ export type PrivateKeyProvider = _envoy_api_v2_auth_PrivateKeyProvider; + /** + * BoringSSL private key method configuration. The private key methods are used for external + * (potentially asynchronous) signing and decryption operations. Some use cases for private key + * methods would be TPM support and TLS acceleration. + */ export type PrivateKeyProvider__Output = _envoy_api_v2_auth_PrivateKeyProvider__Output; export type SdsSecretConfig = _envoy_api_v2_auth_SdsSecretConfig; export type SdsSecretConfig__Output = _envoy_api_v2_auth_SdsSecretConfig__Output; + /** + * [#next-free-field: 6] + */ export type Secret = _envoy_api_v2_auth_Secret; + /** + * [#next-free-field: 6] + */ export type Secret__Output = _envoy_api_v2_auth_Secret__Output; + /** + * [#next-free-field: 7] + */ export type TlsCertificate = _envoy_api_v2_auth_TlsCertificate; + /** + * [#next-free-field: 7] + */ export type TlsCertificate__Output = _envoy_api_v2_auth_TlsCertificate__Output; export type TlsParameters = _envoy_api_v2_auth_TlsParameters; export type TlsParameters__Output = _envoy_api_v2_auth_TlsParameters__Output; @@ -205,75 +253,390 @@ export namespace messages { export type UpstreamTlsContext__Output = _envoy_api_v2_auth_UpstreamTlsContext__Output; } export namespace core { + /** + * Addresses specify either a logical or physical address and port, which are + * used to tell Envoy where to bind/listen, connect to upstream and find + * management servers. + */ export type Address = _envoy_api_v2_core_Address; + /** + * Addresses specify either a logical or physical address and port, which are + * used to tell Envoy where to bind/listen, connect to upstream and find + * management servers. + */ export type Address__Output = _envoy_api_v2_core_Address__Output; + /** + * Aggregated Discovery Service (ADS) options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that ADS is to be used. + */ export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; + /** + * Aggregated Discovery Service (ADS) options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that ADS is to be used. + */ export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; + /** + * API configuration source. This identifies the API type and cluster that Envoy + * will use to fetch an xDS API. + * [#next-free-field: 9] + */ export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; + /** + * API configuration source. This identifies the API type and cluster that Envoy + * will use to fetch an xDS API. + * [#next-free-field: 9] + */ export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; + /** + * xDS API version. This is used to describe both resource and transport + * protocol versions (in distinct configuration fields). + */ export type ApiVersion = _envoy_api_v2_core_ApiVersion; + /** + * Async data source which support async data fetch. + */ export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + /** + * Async data source which support async data fetch. + */ export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + /** + * Configuration defining a jittered exponential back off strategy. + */ export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + /** + * Configuration defining a jittered exponential back off strategy. + */ export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; export type BindConfig = _envoy_api_v2_core_BindConfig; export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; + /** + * BuildVersion combines SemVer version of extension with free-form build information + * (i.e. 'alpha', 'private-build') as a set of strings. + */ export type BuildVersion = _envoy_api_v2_core_BuildVersion; + /** + * BuildVersion combines SemVer version of extension with free-form build information + * (i.e. 'alpha', 'private-build') as a set of strings. + */ export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + /** + * CidrRange specifies an IP Address and a prefix length to construct + * the subnet mask for a `CIDR `_ range. + */ export type CidrRange = _envoy_api_v2_core_CidrRange; + /** + * CidrRange specifies an IP Address and a prefix length to construct + * the subnet mask for a `CIDR `_ range. + */ export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + /** + * Configuration for :ref:`listeners `, :ref:`clusters + * `, :ref:`routes + * `, :ref:`endpoints + * ` etc. may either be sourced from the + * filesystem or from an xDS API source. Filesystem configs are watched with + * inotify for updates. + * [#next-free-field: 7] + */ export type ConfigSource = _envoy_api_v2_core_ConfigSource; + /** + * Configuration for :ref:`listeners `, :ref:`clusters + * `, :ref:`routes + * `, :ref:`endpoints + * ` etc. may either be sourced from the + * filesystem or from an xDS API source. Filesystem configs are watched with + * inotify for updates. + * [#next-free-field: 7] + */ export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; + /** + * Identifies a specific ControlPlane instance that Envoy is connected to. + */ export type ControlPlane = _envoy_api_v2_core_ControlPlane; + /** + * Identifies a specific ControlPlane instance that Envoy is connected to. + */ export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + /** + * Data source consisting of either a file or an inline value. + */ export type DataSource = _envoy_api_v2_core_DataSource; + /** + * Data source consisting of either a file or an inline value. + */ export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; + /** + * Version and identification for an Envoy extension. + * [#next-free-field: 6] + */ export type Extension = _envoy_api_v2_core_Extension; + /** + * Version and identification for an Envoy extension. + * [#next-free-field: 6] + */ export type Extension__Output = _envoy_api_v2_core_Extension__Output; + /** + * gRPC service configuration. This is used by :ref:`ApiConfigSource + * ` and filter configurations. + * [#next-free-field: 6] + */ export type GrpcService = _envoy_api_v2_core_GrpcService; + /** + * gRPC service configuration. This is used by :ref:`ApiConfigSource + * ` and filter configurations. + * [#next-free-field: 6] + */ export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + /** + * Wrapper for a set of headers. + */ export type HeaderMap = _envoy_api_v2_core_HeaderMap; + /** + * Wrapper for a set of headers. + */ export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; + /** + * Header name/value pair. + */ export type HeaderValue = _envoy_api_v2_core_HeaderValue; + /** + * Header name/value pair. + */ export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; + /** + * Header name/value pair plus option to control append behavior. + */ export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; + /** + * Header name/value pair plus option to control append behavior. + */ export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; + /** + * Envoy external URI descriptor + */ export type HttpUri = _envoy_api_v2_core_HttpUri; + /** + * Envoy external URI descriptor + */ export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + /** + * Identifies location of where either Envoy runs or where upstream hosts run. + */ export type Locality = _envoy_api_v2_core_Locality; + /** + * Identifies location of where either Envoy runs or where upstream hosts run. + */ export type Locality__Output = _envoy_api_v2_core_Locality__Output; + /** + * Metadata provides additional inputs to filters based on matched listeners, + * filter chains, routes and endpoints. It is structured as a map, usually from + * filter name (in reverse DNS format) to metadata specific to the filter. Metadata + * key-values for a filter are merged as connection and request handling occurs, + * with later values for the same key overriding earlier values. + * + * An example use of metadata is providing additional values to + * http_connection_manager in the envoy.http_connection_manager.access_log + * namespace. + * + * Another example use of metadata is to per service config info in cluster metadata, which may get + * consumed by multiple filters. + * + * For load balancing, Metadata provides a means to subset cluster endpoints. + * Endpoints have a Metadata object associated and routes contain a Metadata + * object to match against. There are some well defined metadata used today for + * this purpose: + * + * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an + * endpoint and is also used during header processing + * (x-envoy-upstream-canary) and for stats purposes. + * [#next-major-version: move to type/metadata/v2] + */ export type Metadata = _envoy_api_v2_core_Metadata; + /** + * Metadata provides additional inputs to filters based on matched listeners, + * filter chains, routes and endpoints. It is structured as a map, usually from + * filter name (in reverse DNS format) to metadata specific to the filter. Metadata + * key-values for a filter are merged as connection and request handling occurs, + * with later values for the same key overriding earlier values. + * + * An example use of metadata is providing additional values to + * http_connection_manager in the envoy.http_connection_manager.access_log + * namespace. + * + * Another example use of metadata is to per service config info in cluster metadata, which may get + * consumed by multiple filters. + * + * For load balancing, Metadata provides a means to subset cluster endpoints. + * Endpoints have a Metadata object associated and routes contain a Metadata + * object to match against. There are some well defined metadata used today for + * this purpose: + * + * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an + * endpoint and is also used during header processing + * (x-envoy-upstream-canary) and for stats purposes. + * [#next-major-version: move to type/metadata/v2] + */ export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + /** + * Identifies a specific Envoy instance. The node identifier is presented to the + * management server, which may use this identifier to distinguish per Envoy + * configuration for serving. + * [#next-free-field: 12] + */ export type Node = _envoy_api_v2_core_Node; + /** + * Identifies a specific Envoy instance. The node identifier is presented to the + * management server, which may use this identifier to distinguish per Envoy + * configuration for serving. + * [#next-free-field: 12] + */ export type Node__Output = _envoy_api_v2_core_Node__Output; export type Pipe = _envoy_api_v2_core_Pipe; export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + /** + * Rate Limit settings to be applied for discovery requests made by Envoy. + */ export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; + /** + * Rate Limit settings to be applied for discovery requests made by Envoy. + */ export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; + /** + * The message specifies how to fetch data from remote and how to verify it. + */ export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; + /** + * The message specifies how to fetch data from remote and how to verify it. + */ export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; + /** + * HTTP request method. + */ export type RequestMethod = _envoy_api_v2_core_RequestMethod; + /** + * The message specifies the retry policy of remote data source when fetching fails. + */ export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + /** + * The message specifies the retry policy of remote data source when fetching fails. + */ export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + /** + * Envoy supports :ref:`upstream priority routing + * ` both at the route and the virtual + * cluster level. The current priority implementation uses different connection + * pool and circuit breaking settings for each priority level. This means that + * even for HTTP/2 requests, two physical connections will be used to an + * upstream host. In the future Envoy will likely support true HTTP/2 priority + * over a single upstream connection. + */ export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + /** + * Runtime derived double with a default when not specified. + */ export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + /** + * Runtime derived double with a default when not specified. + */ export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + /** + * Runtime derived bool with a default when not specified. + */ export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + /** + * Runtime derived bool with a default when not specified. + */ export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + /** + * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not + * specified via a runtime key. + * + * .. note:: + * + * Parsing of the runtime key's data is implemented such that it may be represented as a + * :ref:`FractionalPercent ` proto represented as JSON/YAML + * and may also be represented as an integer with the assumption that the value is an integral + * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse + * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. + */ export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; + /** + * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not + * specified via a runtime key. + * + * .. note:: + * + * Parsing of the runtime key's data is implemented such that it may be represented as a + * :ref:`FractionalPercent ` proto represented as JSON/YAML + * and may also be represented as an integer with the assumption that the value is an integral + * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse + * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. + */ export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; + /** + * Runtime derived uint32 with a default when not specified. + */ export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + /** + * Runtime derived uint32 with a default when not specified. + */ export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; + /** + * [#not-implemented-hide:] + * Self-referencing config source options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that other data can be obtained from the same server. + */ export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; + /** + * [#not-implemented-hide:] + * Self-referencing config source options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that other data can be obtained from the same server. + */ export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; + /** + * [#next-free-field: 7] + */ export type SocketAddress = _envoy_api_v2_core_SocketAddress; + /** + * [#next-free-field: 7] + */ export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; + /** + * Generic socket option message. This would be used to set socket options that + * might not exist in upstream kernels or precompiled Envoy binaries. + * [#next-free-field: 7] + */ export type SocketOption = _envoy_api_v2_core_SocketOption; + /** + * Generic socket option message. This would be used to set socket options that + * might not exist in upstream kernels or precompiled Envoy binaries. + * [#next-free-field: 7] + */ export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + /** + * Identifies the direction of the traffic relative to the local Envoy. + */ export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + /** + * Configuration for transport socket in :ref:`listeners ` and + * :ref:`clusters `. If the configuration is + * empty, a default transport socket implementation and configuration will be + * chosen based on the platform and existence of tls_context. + */ export type TransportSocket = _envoy_api_v2_core_TransportSocket; + /** + * Configuration for transport socket in :ref:`listeners ` and + * :ref:`clusters `. If the configuration is + * empty, a default transport socket implementation and configuration will be + * chosen based on the platform and existence of tls_context. + */ export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; } export namespace listener { @@ -281,51 +644,385 @@ export namespace messages { export type ActiveRawUdpListenerConfig__Output = _envoy_api_v2_listener_ActiveRawUdpListenerConfig__Output; export type Filter = _envoy_api_v2_listener_Filter; export type Filter__Output = _envoy_api_v2_listener_Filter__Output; + /** + * A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and + * various other parameters. + * [#next-free-field: 8] + */ export type FilterChain = _envoy_api_v2_listener_FilterChain; + /** + * A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and + * various other parameters. + * [#next-free-field: 8] + */ export type FilterChain__Output = _envoy_api_v2_listener_FilterChain__Output; + /** + * Specifies the match criteria for selecting a specific filter chain for a + * listener. + * + * In order for a filter chain to be selected, *ALL* of its criteria must be + * fulfilled by the incoming connection, properties of which are set by the + * networking stack and/or listener filters. + * + * The following order applies: + * + * 1. Destination port. + * 2. Destination IP address. + * 3. Server name (e.g. SNI for TLS protocol), + * 4. Transport protocol. + * 5. Application protocols (e.g. ALPN for TLS protocol). + * 6. Source type (e.g. any, local or external network). + * 7. Source IP address. + * 8. Source port. + * + * For criteria that allow ranges or wildcards, the most specific value in any + * of the configured filter chains that matches the incoming connection is going + * to be used (e.g. for SNI ``www.example.com`` the most specific match would be + * ``www.example.com``, then ``*.example.com``, then ``*.com``, then any filter + * chain without ``server_names`` requirements). + * + * [#comment: Implemented rules are kept in the preference order, with deprecated fields + * listed at the end, because that's how we want to list them in the docs. + * + * [#comment:TODO(PiotrSikora): Add support for configurable precedence of the rules] + * [#next-free-field: 13] + */ export type FilterChainMatch = _envoy_api_v2_listener_FilterChainMatch; + /** + * Specifies the match criteria for selecting a specific filter chain for a + * listener. + * + * In order for a filter chain to be selected, *ALL* of its criteria must be + * fulfilled by the incoming connection, properties of which are set by the + * networking stack and/or listener filters. + * + * The following order applies: + * + * 1. Destination port. + * 2. Destination IP address. + * 3. Server name (e.g. SNI for TLS protocol), + * 4. Transport protocol. + * 5. Application protocols (e.g. ALPN for TLS protocol). + * 6. Source type (e.g. any, local or external network). + * 7. Source IP address. + * 8. Source port. + * + * For criteria that allow ranges or wildcards, the most specific value in any + * of the configured filter chains that matches the incoming connection is going + * to be used (e.g. for SNI ``www.example.com`` the most specific match would be + * ``www.example.com``, then ``*.example.com``, then ``*.com``, then any filter + * chain without ``server_names`` requirements). + * + * [#comment: Implemented rules are kept in the preference order, with deprecated fields + * listed at the end, because that's how we want to list them in the docs. + * + * [#comment:TODO(PiotrSikora): Add support for configurable precedence of the rules] + * [#next-free-field: 13] + */ export type FilterChainMatch__Output = _envoy_api_v2_listener_FilterChainMatch__Output; export type ListenerFilter = _envoy_api_v2_listener_ListenerFilter; export type ListenerFilter__Output = _envoy_api_v2_listener_ListenerFilter__Output; + /** + * Listener filter chain match configuration. This is a recursive structure which allows complex + * nested match configurations to be built using various logical operators. + * + * Examples: + * + * * Matches if the destination port is 3306. + * + * .. code-block:: yaml + * + * destination_port_range: + * start: 3306 + * end: 3307 + * + * * Matches if the destination port is 3306 or 15000. + * + * .. code-block:: yaml + * + * or_match: + * rules: + * - destination_port_range: + * start: 3306 + * end: 3306 + * - destination_port_range: + * start: 15000 + * end: 15001 + * + * [#next-free-field: 6] + */ export type ListenerFilterChainMatchPredicate = _envoy_api_v2_listener_ListenerFilterChainMatchPredicate; + /** + * Listener filter chain match configuration. This is a recursive structure which allows complex + * nested match configurations to be built using various logical operators. + * + * Examples: + * + * * Matches if the destination port is 3306. + * + * .. code-block:: yaml + * + * destination_port_range: + * start: 3306 + * end: 3307 + * + * * Matches if the destination port is 3306 or 15000. + * + * .. code-block:: yaml + * + * or_match: + * rules: + * - destination_port_range: + * start: 3306 + * end: 3306 + * - destination_port_range: + * start: 15000 + * end: 15001 + * + * [#next-free-field: 6] + */ export type ListenerFilterChainMatchPredicate__Output = _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output; export type UdpListenerConfig = _envoy_api_v2_listener_UdpListenerConfig; export type UdpListenerConfig__Output = _envoy_api_v2_listener_UdpListenerConfig__Output; } export namespace route { + /** + * [#next-free-field: 12] + */ export type CorsPolicy = _envoy_api_v2_route_CorsPolicy; + /** + * [#next-free-field: 12] + */ export type CorsPolicy__Output = _envoy_api_v2_route_CorsPolicy__Output; export type Decorator = _envoy_api_v2_route_Decorator; export type Decorator__Output = _envoy_api_v2_route_Decorator__Output; export type DirectResponseAction = _envoy_api_v2_route_DirectResponseAction; export type DirectResponseAction__Output = _envoy_api_v2_route_DirectResponseAction__Output; + /** + * A filter-defined action type. + */ export type FilterAction = _envoy_api_v2_route_FilterAction; + /** + * A filter-defined action type. + */ export type FilterAction__Output = _envoy_api_v2_route_FilterAction__Output; + /** + * .. attention:: + * + * Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* + * header. Thus, if attempting to match on *Host*, match on *:authority* instead. + * + * .. attention:: + * + * To route on HTTP method, use the special HTTP/2 *:method* header. This works for both + * HTTP/1 and HTTP/2 as Envoy normalizes headers. E.g., + * + * .. code-block:: json + * + * { + * "name": ":method", + * "exact_match": "POST" + * } + * + * .. attention:: + * In the absence of any header match specifier, match will default to :ref:`present_match + * `. i.e, a request that has the :ref:`name + * ` header will match, regardless of the header's + * value. + * + * [#next-major-version: HeaderMatcher should be refactored to use StringMatcher.] + * [#next-free-field: 12] + */ export type HeaderMatcher = _envoy_api_v2_route_HeaderMatcher; + /** + * .. attention:: + * + * Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* + * header. Thus, if attempting to match on *Host*, match on *:authority* instead. + * + * .. attention:: + * + * To route on HTTP method, use the special HTTP/2 *:method* header. This works for both + * HTTP/1 and HTTP/2 as Envoy normalizes headers. E.g., + * + * .. code-block:: json + * + * { + * "name": ":method", + * "exact_match": "POST" + * } + * + * .. attention:: + * In the absence of any header match specifier, match will default to :ref:`present_match + * `. i.e, a request that has the :ref:`name + * ` header will match, regardless of the header's + * value. + * + * [#next-major-version: HeaderMatcher should be refactored to use StringMatcher.] + * [#next-free-field: 12] + */ export type HeaderMatcher__Output = _envoy_api_v2_route_HeaderMatcher__Output; + /** + * HTTP request hedging :ref:`architecture overview `. + */ export type HedgePolicy = _envoy_api_v2_route_HedgePolicy; + /** + * HTTP request hedging :ref:`architecture overview `. + */ export type HedgePolicy__Output = _envoy_api_v2_route_HedgePolicy__Output; + /** + * Query parameter matching treats the query string of a request's :path header + * as an ampersand-separated list of keys and/or key=value elements. + * [#next-free-field: 7] + */ export type QueryParameterMatcher = _envoy_api_v2_route_QueryParameterMatcher; + /** + * Query parameter matching treats the query string of a request's :path header + * as an ampersand-separated list of keys and/or key=value elements. + * [#next-free-field: 7] + */ export type QueryParameterMatcher__Output = _envoy_api_v2_route_QueryParameterMatcher__Output; + /** + * Global rate limiting :ref:`architecture overview `. + */ export type RateLimit = _envoy_api_v2_route_RateLimit; + /** + * Global rate limiting :ref:`architecture overview `. + */ export type RateLimit__Output = _envoy_api_v2_route_RateLimit__Output; + /** + * [#next-free-field: 9] + */ export type RedirectAction = _envoy_api_v2_route_RedirectAction; + /** + * [#next-free-field: 9] + */ export type RedirectAction__Output = _envoy_api_v2_route_RedirectAction__Output; + /** + * HTTP retry :ref:`architecture overview `. + * [#next-free-field: 11] + */ export type RetryPolicy = _envoy_api_v2_route_RetryPolicy; + /** + * HTTP retry :ref:`architecture overview `. + * [#next-free-field: 11] + */ export type RetryPolicy__Output = _envoy_api_v2_route_RetryPolicy__Output; + /** + * A route is both a specification of how to match a request as well as an indication of what to do + * next (e.g., redirect, forward, rewrite, etc.). + * + * .. attention:: + * + * Envoy supports routing on HTTP method via :ref:`header matching + * `. + * [#next-free-field: 18] + */ export type Route = _envoy_api_v2_route_Route; + /** + * A route is both a specification of how to match a request as well as an indication of what to do + * next (e.g., redirect, forward, rewrite, etc.). + * + * .. attention:: + * + * Envoy supports routing on HTTP method via :ref:`header matching + * `. + * [#next-free-field: 18] + */ export type Route__Output = _envoy_api_v2_route_Route__Output; + /** + * [#next-free-field: 34] + */ export type RouteAction = _envoy_api_v2_route_RouteAction; + /** + * [#next-free-field: 34] + */ export type RouteAction__Output = _envoy_api_v2_route_RouteAction__Output; + /** + * [#next-free-field: 12] + */ export type RouteMatch = _envoy_api_v2_route_RouteMatch; + /** + * [#next-free-field: 12] + */ export type RouteMatch__Output = _envoy_api_v2_route_RouteMatch__Output; export type Tracing = _envoy_api_v2_route_Tracing; export type Tracing__Output = _envoy_api_v2_route_Tracing__Output; + /** + * A virtual cluster is a way of specifying a regex matching rule against + * certain important endpoints such that statistics are generated explicitly for + * the matched requests. The reason this is useful is that when doing + * prefix/path matching Envoy does not always know what the application + * considers to be an endpoint. Thus, it’s impossible for Envoy to generically + * emit per endpoint statistics. However, often systems have highly critical + * endpoints that they wish to get “perfect” statistics on. Virtual cluster + * statistics are perfect in the sense that they are emitted on the downstream + * side such that they include network level failures. + * + * Documentation for :ref:`virtual cluster statistics `. + * + * .. note:: + * + * Virtual clusters are a useful tool, but we do not recommend setting up a virtual cluster for + * every application endpoint. This is both not easily maintainable and as well the matching and + * statistics output are not free. + */ export type VirtualCluster = _envoy_api_v2_route_VirtualCluster; + /** + * A virtual cluster is a way of specifying a regex matching rule against + * certain important endpoints such that statistics are generated explicitly for + * the matched requests. The reason this is useful is that when doing + * prefix/path matching Envoy does not always know what the application + * considers to be an endpoint. Thus, it’s impossible for Envoy to generically + * emit per endpoint statistics. However, often systems have highly critical + * endpoints that they wish to get “perfect” statistics on. Virtual cluster + * statistics are perfect in the sense that they are emitted on the downstream + * side such that they include network level failures. + * + * Documentation for :ref:`virtual cluster statistics `. + * + * .. note:: + * + * Virtual clusters are a useful tool, but we do not recommend setting up a virtual cluster for + * every application endpoint. This is both not easily maintainable and as well the matching and + * statistics output are not free. + */ export type VirtualCluster__Output = _envoy_api_v2_route_VirtualCluster__Output; + /** + * The top level element in the routing configuration is a virtual host. Each virtual host has + * a logical name as well as a set of domains that get routed to it based on the incoming request's + * host header. This allows a single listener to service multiple top level domain path trees. Once + * a virtual host is selected based on the domain, the routes are processed in order to see which + * upstream cluster to route to or whether to perform a redirect. + * [#next-free-field: 21] + */ export type VirtualHost = _envoy_api_v2_route_VirtualHost; + /** + * The top level element in the routing configuration is a virtual host. Each virtual host has + * a logical name as well as a set of domains that get routed to it based on the incoming request's + * host header. This allows a single listener to service multiple top level domain path trees. Once + * a virtual host is selected based on the domain, the routes are processed in order to see which + * upstream cluster to route to or whether to perform a redirect. + * [#next-free-field: 21] + */ export type VirtualHost__Output = _envoy_api_v2_route_VirtualHost__Output; + /** + * Compared to the :ref:`cluster ` field that specifies a + * single upstream cluster as the target of a request, the :ref:`weighted_clusters + * ` option allows for specification of + * multiple upstream clusters along with weights that indicate the percentage of + * traffic to be forwarded to each cluster. The router selects an upstream cluster based on the + * weights. + */ export type WeightedCluster = _envoy_api_v2_route_WeightedCluster; + /** + * Compared to the :ref:`cluster ` field that specifies a + * single upstream cluster as the target of a request, the :ref:`weighted_clusters + * ` option allows for specification of + * multiple upstream clusters along with weights that indicate the percentage of + * traffic to be forwarded to each cluster. The router selects an upstream cluster based on the + * weights. + */ export type WeightedCluster__Output = _envoy_api_v2_route_WeightedCluster__Output; } } @@ -336,76 +1033,326 @@ export namespace messages { export namespace v2 { export type AccessLog = _envoy_config_filter_accesslog_v2_AccessLog; export type AccessLog__Output = _envoy_config_filter_accesslog_v2_AccessLog__Output; + /** + * [#next-free-field: 12] + */ export type AccessLogFilter = _envoy_config_filter_accesslog_v2_AccessLogFilter; + /** + * [#next-free-field: 12] + */ export type AccessLogFilter__Output = _envoy_config_filter_accesslog_v2_AccessLogFilter__Output; + /** + * Performs a logical “and” operation on the result of each filter in filters. + * Filters are evaluated sequentially and if one of them returns false, the + * filter returns false immediately. + */ export type AndFilter = _envoy_config_filter_accesslog_v2_AndFilter; + /** + * Performs a logical “and” operation on the result of each filter in filters. + * Filters are evaluated sequentially and if one of them returns false, the + * filter returns false immediately. + */ export type AndFilter__Output = _envoy_config_filter_accesslog_v2_AndFilter__Output; + /** + * Filter on an integer comparison. + */ export type ComparisonFilter = _envoy_config_filter_accesslog_v2_ComparisonFilter; + /** + * Filter on an integer comparison. + */ export type ComparisonFilter__Output = _envoy_config_filter_accesslog_v2_ComparisonFilter__Output; + /** + * Filters on total request duration in milliseconds. + */ export type DurationFilter = _envoy_config_filter_accesslog_v2_DurationFilter; + /** + * Filters on total request duration in milliseconds. + */ export type DurationFilter__Output = _envoy_config_filter_accesslog_v2_DurationFilter__Output; + /** + * Extension filter is statically registered at runtime. + */ export type ExtensionFilter = _envoy_config_filter_accesslog_v2_ExtensionFilter; + /** + * Extension filter is statically registered at runtime. + */ export type ExtensionFilter__Output = _envoy_config_filter_accesslog_v2_ExtensionFilter__Output; + /** + * Filters gRPC requests based on their response status. If a gRPC status is not provided, the + * filter will infer the status from the HTTP status code. + */ export type GrpcStatusFilter = _envoy_config_filter_accesslog_v2_GrpcStatusFilter; + /** + * Filters gRPC requests based on their response status. If a gRPC status is not provided, the + * filter will infer the status from the HTTP status code. + */ export type GrpcStatusFilter__Output = _envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output; + /** + * Filters requests based on the presence or value of a request header. + */ export type HeaderFilter = _envoy_config_filter_accesslog_v2_HeaderFilter; + /** + * Filters requests based on the presence or value of a request header. + */ export type HeaderFilter__Output = _envoy_config_filter_accesslog_v2_HeaderFilter__Output; + /** + * Filters for requests that are not health check requests. A health check + * request is marked by the health check filter. + */ export type NotHealthCheckFilter = _envoy_config_filter_accesslog_v2_NotHealthCheckFilter; + /** + * Filters for requests that are not health check requests. A health check + * request is marked by the health check filter. + */ export type NotHealthCheckFilter__Output = _envoy_config_filter_accesslog_v2_NotHealthCheckFilter__Output; + /** + * Performs a logical “or” operation on the result of each individual filter. + * Filters are evaluated sequentially and if one of them returns true, the + * filter returns true immediately. + */ export type OrFilter = _envoy_config_filter_accesslog_v2_OrFilter; + /** + * Performs a logical “or” operation on the result of each individual filter. + * Filters are evaluated sequentially and if one of them returns true, the + * filter returns true immediately. + */ export type OrFilter__Output = _envoy_config_filter_accesslog_v2_OrFilter__Output; + /** + * Filters requests that received responses with an Envoy response flag set. + * A list of the response flags can be found + * in the access log formatter :ref:`documentation`. + */ export type ResponseFlagFilter = _envoy_config_filter_accesslog_v2_ResponseFlagFilter; + /** + * Filters requests that received responses with an Envoy response flag set. + * A list of the response flags can be found + * in the access log formatter :ref:`documentation`. + */ export type ResponseFlagFilter__Output = _envoy_config_filter_accesslog_v2_ResponseFlagFilter__Output; + /** + * Filters for random sampling of requests. + */ export type RuntimeFilter = _envoy_config_filter_accesslog_v2_RuntimeFilter; + /** + * Filters for random sampling of requests. + */ export type RuntimeFilter__Output = _envoy_config_filter_accesslog_v2_RuntimeFilter__Output; + /** + * Filters on HTTP response/status code. + */ export type StatusCodeFilter = _envoy_config_filter_accesslog_v2_StatusCodeFilter; + /** + * Filters on HTTP response/status code. + */ export type StatusCodeFilter__Output = _envoy_config_filter_accesslog_v2_StatusCodeFilter__Output; + /** + * Filters for requests that are traceable. See the tracing overview for more + * information on how a request becomes traceable. + */ export type TraceableFilter = _envoy_config_filter_accesslog_v2_TraceableFilter; + /** + * Filters for requests that are traceable. See the tracing overview for more + * information on how a request becomes traceable. + */ export type TraceableFilter__Output = _envoy_config_filter_accesslog_v2_TraceableFilter__Output; } } } export namespace listener { export namespace v2 { + /** + * Describes a type of API listener, which is used in non-proxy clients. The type of API + * exposed to the non-proxy application depends on the type of API listener. + */ export type ApiListener = _envoy_config_listener_v2_ApiListener; + /** + * Describes a type of API listener, which is used in non-proxy clients. The type of API + * exposed to the non-proxy application depends on the type of API listener. + */ export type ApiListener__Output = _envoy_config_listener_v2_ApiListener__Output; } } } export namespace type { + /** + * Specifies the double start and end of the range using half-open interval semantics [start, + * end). + */ export type DoubleRange = _envoy_type_DoubleRange; + /** + * Specifies the double start and end of the range using half-open interval semantics [start, + * end). + */ export type DoubleRange__Output = _envoy_type_DoubleRange__Output; + /** + * A fractional percentage is used in cases in which for performance reasons performing floating + * point to integer conversions during randomness calculations is undesirable. The message includes + * both a numerator and denominator that together determine the final fractional value. + * + * * **Example**: 1/100 = 1%. + * * **Example**: 3/10000 = 0.03%. + */ export type FractionalPercent = _envoy_type_FractionalPercent; + /** + * A fractional percentage is used in cases in which for performance reasons performing floating + * point to integer conversions during randomness calculations is undesirable. The message includes + * both a numerator and denominator that together determine the final fractional value. + * + * * **Example**: 1/100 = 1%. + * * **Example**: 3/10000 = 0.03%. + */ export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + /** + * Specifies the int32 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int32Range = _envoy_type_Int32Range; + /** + * Specifies the int32 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int32Range__Output = _envoy_type_Int32Range__Output; + /** + * Specifies the int64 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int64Range = _envoy_type_Int64Range; + /** + * Specifies the int64 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int64Range__Output = _envoy_type_Int64Range__Output; + /** + * Identifies a percentage, in the range [0.0, 100.0]. + */ export type Percent = _envoy_type_Percent; + /** + * Identifies a percentage, in the range [0.0, 100.0]. + */ export type Percent__Output = _envoy_type_Percent__Output; + /** + * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate + * expected behaviors and APIs, the patch version field is used only + * for security fixes and can be generally ignored. + */ export type SemanticVersion = _envoy_type_SemanticVersion; + /** + * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate + * expected behaviors and APIs, the patch version field is used only + * for security fixes and can be generally ignored. + */ export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; export namespace matcher { + /** + * Specifies a list of ways to match a string. + */ export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; + /** + * Specifies a list of ways to match a string. + */ export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; + /** + * Describes how to match a string and then produce a new string using a regular + * expression and a substitution string. + */ export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; + /** + * Describes how to match a string and then produce a new string using a regular + * expression and a substitution string. + */ export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; + /** + * A regex matcher designed for safety when used with untrusted input. + */ export type RegexMatcher = _envoy_type_matcher_RegexMatcher; + /** + * A regex matcher designed for safety when used with untrusted input. + */ export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; + /** + * Specifies the way to match a string. + * [#next-free-field: 7] + */ export type StringMatcher = _envoy_type_matcher_StringMatcher; + /** + * Specifies the way to match a string. + * [#next-free-field: 7] + */ export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; } export namespace metadata { export namespace v2 { + /** + * MetadataKey provides a general interface using `key` and `path` to retrieve value from + * :ref:`Metadata `. + * + * For example, for the following Metadata: + * + * .. code-block:: yaml + * + * filter_metadata: + * envoy.xxx: + * prop: + * foo: bar + * xyz: + * hello: envoy + * + * The following MetadataKey will retrieve a string value "bar" from the Metadata. + * + * .. code-block:: yaml + * + * key: envoy.xxx + * path: + * - key: prop + * - key: foo + */ export type MetadataKey = _envoy_type_metadata_v2_MetadataKey; + /** + * MetadataKey provides a general interface using `key` and `path` to retrieve value from + * :ref:`Metadata `. + * + * For example, for the following Metadata: + * + * .. code-block:: yaml + * + * filter_metadata: + * envoy.xxx: + * prop: + * foo: bar + * xyz: + * hello: envoy + * + * The following MetadataKey will retrieve a string value "bar" from the Metadata. + * + * .. code-block:: yaml + * + * key: envoy.xxx + * path: + * - key: prop + * - key: foo + */ export type MetadataKey__Output = _envoy_type_metadata_v2_MetadataKey__Output; + /** + * Describes what kind of metadata. + */ export type MetadataKind = _envoy_type_metadata_v2_MetadataKind; + /** + * Describes what kind of metadata. + */ export type MetadataKind__Output = _envoy_type_metadata_v2_MetadataKind__Output; } } export namespace tracing { export namespace v2 { + /** + * Describes custom tags for the active span. + * [#next-free-field: 6] + */ export type CustomTag = _envoy_type_tracing_v2_CustomTag; + /** + * Describes custom tags for the active span. + * [#next-free-field: 6] + */ export type CustomTag__Output = _envoy_type_tracing_v2_CustomTag__Output; } } @@ -413,11 +1360,569 @@ export namespace messages { } export namespace google { export namespace api { + /** + * A custom pattern is used for defining custom HTTP verb. + */ export type CustomHttpPattern = _google_api_CustomHttpPattern; + /** + * A custom pattern is used for defining custom HTTP verb. + */ export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; + /** + * Defines the HTTP configuration for an API service. It contains a list of + * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method + * to one or more HTTP REST API methods. + */ export type Http = _google_api_Http; + /** + * Defines the HTTP configuration for an API service. It contains a list of + * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method + * to one or more HTTP REST API methods. + */ export type Http__Output = _google_api_Http__Output; + /** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ export type HttpRule = _google_api_HttpRule; + /** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ export type HttpRule__Output = _google_api_HttpRule__Output; } export namespace protobuf { @@ -510,52 +2015,203 @@ export namespace messages { } } export namespace validate { + /** + * AnyRules describe constraints applied exclusively to the + * `google.protobuf.Any` well-known type + */ export type AnyRules = _validate_AnyRules; + /** + * AnyRules describe constraints applied exclusively to the + * `google.protobuf.Any` well-known type + */ export type AnyRules__Output = _validate_AnyRules__Output; + /** + * BoolRules describes the constraints applied to `bool` values + */ export type BoolRules = _validate_BoolRules; + /** + * BoolRules describes the constraints applied to `bool` values + */ export type BoolRules__Output = _validate_BoolRules__Output; + /** + * BytesRules describe the constraints applied to `bytes` values + */ export type BytesRules = _validate_BytesRules; + /** + * BytesRules describe the constraints applied to `bytes` values + */ export type BytesRules__Output = _validate_BytesRules__Output; + /** + * DoubleRules describes the constraints applied to `double` values + */ export type DoubleRules = _validate_DoubleRules; + /** + * DoubleRules describes the constraints applied to `double` values + */ export type DoubleRules__Output = _validate_DoubleRules__Output; + /** + * DurationRules describe the constraints applied exclusively to the + * `google.protobuf.Duration` well-known type + */ export type DurationRules = _validate_DurationRules; + /** + * DurationRules describe the constraints applied exclusively to the + * `google.protobuf.Duration` well-known type + */ export type DurationRules__Output = _validate_DurationRules__Output; + /** + * EnumRules describe the constraints applied to enum values + */ export type EnumRules = _validate_EnumRules; + /** + * EnumRules describe the constraints applied to enum values + */ export type EnumRules__Output = _validate_EnumRules__Output; + /** + * FieldRules encapsulates the rules for each type of field. Depending on the + * field, the correct set should be used to ensure proper validations. + */ export type FieldRules = _validate_FieldRules; + /** + * FieldRules encapsulates the rules for each type of field. Depending on the + * field, the correct set should be used to ensure proper validations. + */ export type FieldRules__Output = _validate_FieldRules__Output; + /** + * Fixed32Rules describes the constraints applied to `fixed32` values + */ export type Fixed32Rules = _validate_Fixed32Rules; + /** + * Fixed32Rules describes the constraints applied to `fixed32` values + */ export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + /** + * Fixed64Rules describes the constraints applied to `fixed64` values + */ export type Fixed64Rules = _validate_Fixed64Rules; + /** + * Fixed64Rules describes the constraints applied to `fixed64` values + */ export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + /** + * FloatRules describes the constraints applied to `float` values + */ export type FloatRules = _validate_FloatRules; + /** + * FloatRules describes the constraints applied to `float` values + */ export type FloatRules__Output = _validate_FloatRules__Output; + /** + * Int32Rules describes the constraints applied to `int32` values + */ export type Int32Rules = _validate_Int32Rules; + /** + * Int32Rules describes the constraints applied to `int32` values + */ export type Int32Rules__Output = _validate_Int32Rules__Output; + /** + * Int64Rules describes the constraints applied to `int64` values + */ export type Int64Rules = _validate_Int64Rules; + /** + * Int64Rules describes the constraints applied to `int64` values + */ export type Int64Rules__Output = _validate_Int64Rules__Output; + /** + * WellKnownRegex contain some well-known patterns. + */ export type KnownRegex = _validate_KnownRegex; + /** + * MapRules describe the constraints applied to `map` values + */ export type MapRules = _validate_MapRules; + /** + * MapRules describe the constraints applied to `map` values + */ export type MapRules__Output = _validate_MapRules__Output; + /** + * MessageRules describe the constraints applied to embedded message values. + * For message-type fields, validation is performed recursively. + */ export type MessageRules = _validate_MessageRules; + /** + * MessageRules describe the constraints applied to embedded message values. + * For message-type fields, validation is performed recursively. + */ export type MessageRules__Output = _validate_MessageRules__Output; + /** + * RepeatedRules describe the constraints applied to `repeated` values + */ export type RepeatedRules = _validate_RepeatedRules; + /** + * RepeatedRules describe the constraints applied to `repeated` values + */ export type RepeatedRules__Output = _validate_RepeatedRules__Output; + /** + * SFixed32Rules describes the constraints applied to `sfixed32` values + */ export type SFixed32Rules = _validate_SFixed32Rules; + /** + * SFixed32Rules describes the constraints applied to `sfixed32` values + */ export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + /** + * SFixed64Rules describes the constraints applied to `sfixed64` values + */ export type SFixed64Rules = _validate_SFixed64Rules; + /** + * SFixed64Rules describes the constraints applied to `sfixed64` values + */ export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + /** + * SInt32Rules describes the constraints applied to `sint32` values + */ export type SInt32Rules = _validate_SInt32Rules; + /** + * SInt32Rules describes the constraints applied to `sint32` values + */ export type SInt32Rules__Output = _validate_SInt32Rules__Output; + /** + * SInt64Rules describes the constraints applied to `sint64` values + */ export type SInt64Rules = _validate_SInt64Rules; + /** + * SInt64Rules describes the constraints applied to `sint64` values + */ export type SInt64Rules__Output = _validate_SInt64Rules__Output; + /** + * StringRules describe the constraints applied to `string` values + */ export type StringRules = _validate_StringRules; + /** + * StringRules describe the constraints applied to `string` values + */ export type StringRules__Output = _validate_StringRules__Output; + /** + * TimestampRules describe the constraints applied exclusively to the + * `google.protobuf.Timestamp` well-known type + */ export type TimestampRules = _validate_TimestampRules; + /** + * TimestampRules describe the constraints applied exclusively to the + * `google.protobuf.Timestamp` well-known type + */ export type TimestampRules__Output = _validate_TimestampRules__Output; + /** + * UInt32Rules describes the constraints applied to `uint32` values + */ export type UInt32Rules = _validate_UInt32Rules; + /** + * UInt32Rules describes the constraints applied to `uint32` values + */ export type UInt32Rules__Output = _validate_UInt32Rules__Output; + /** + * UInt64Rules describes the constraints applied to `uint64` values + */ export type UInt64Rules = _validate_UInt64Rules; + /** + * UInt64Rules describes the constraints applied to `uint64` values + */ export type UInt64Rules__Output = _validate_UInt64Rules__Output; } } diff --git a/packages/grpc-js/src/generated/route.ts b/packages/grpc-js/src/generated/route.ts index b3de909f2..2a676be88 100644 --- a/packages/grpc-js/src/generated/route.ts +++ b/packages/grpc-js/src/generated/route.ts @@ -143,154 +143,825 @@ export namespace messages { } export namespace api { export namespace v2 { + /** + * [#next-free-field: 11] + */ export type RouteConfiguration = _envoy_api_v2_RouteConfiguration; + /** + * [#next-free-field: 11] + */ export type RouteConfiguration__Output = _envoy_api_v2_RouteConfiguration__Output; export type Vhds = _envoy_api_v2_Vhds; export type Vhds__Output = _envoy_api_v2_Vhds__Output; export namespace core { + /** + * Addresses specify either a logical or physical address and port, which are + * used to tell Envoy where to bind/listen, connect to upstream and find + * management servers. + */ export type Address = _envoy_api_v2_core_Address; + /** + * Addresses specify either a logical or physical address and port, which are + * used to tell Envoy where to bind/listen, connect to upstream and find + * management servers. + */ export type Address__Output = _envoy_api_v2_core_Address__Output; + /** + * Aggregated Discovery Service (ADS) options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that ADS is to be used. + */ export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; + /** + * Aggregated Discovery Service (ADS) options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that ADS is to be used. + */ export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; + /** + * API configuration source. This identifies the API type and cluster that Envoy + * will use to fetch an xDS API. + * [#next-free-field: 9] + */ export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; + /** + * API configuration source. This identifies the API type and cluster that Envoy + * will use to fetch an xDS API. + * [#next-free-field: 9] + */ export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; + /** + * xDS API version. This is used to describe both resource and transport + * protocol versions (in distinct configuration fields). + */ export type ApiVersion = _envoy_api_v2_core_ApiVersion; + /** + * Async data source which support async data fetch. + */ export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; + /** + * Async data source which support async data fetch. + */ export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; + /** + * Configuration defining a jittered exponential back off strategy. + */ export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; + /** + * Configuration defining a jittered exponential back off strategy. + */ export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; export type BindConfig = _envoy_api_v2_core_BindConfig; export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; + /** + * BuildVersion combines SemVer version of extension with free-form build information + * (i.e. 'alpha', 'private-build') as a set of strings. + */ export type BuildVersion = _envoy_api_v2_core_BuildVersion; + /** + * BuildVersion combines SemVer version of extension with free-form build information + * (i.e. 'alpha', 'private-build') as a set of strings. + */ export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; + /** + * CidrRange specifies an IP Address and a prefix length to construct + * the subnet mask for a `CIDR `_ range. + */ export type CidrRange = _envoy_api_v2_core_CidrRange; + /** + * CidrRange specifies an IP Address and a prefix length to construct + * the subnet mask for a `CIDR `_ range. + */ export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; + /** + * Configuration for :ref:`listeners `, :ref:`clusters + * `, :ref:`routes + * `, :ref:`endpoints + * ` etc. may either be sourced from the + * filesystem or from an xDS API source. Filesystem configs are watched with + * inotify for updates. + * [#next-free-field: 7] + */ export type ConfigSource = _envoy_api_v2_core_ConfigSource; + /** + * Configuration for :ref:`listeners `, :ref:`clusters + * `, :ref:`routes + * `, :ref:`endpoints + * ` etc. may either be sourced from the + * filesystem or from an xDS API source. Filesystem configs are watched with + * inotify for updates. + * [#next-free-field: 7] + */ export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; + /** + * Identifies a specific ControlPlane instance that Envoy is connected to. + */ export type ControlPlane = _envoy_api_v2_core_ControlPlane; + /** + * Identifies a specific ControlPlane instance that Envoy is connected to. + */ export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; + /** + * Data source consisting of either a file or an inline value. + */ export type DataSource = _envoy_api_v2_core_DataSource; + /** + * Data source consisting of either a file or an inline value. + */ export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; + /** + * Version and identification for an Envoy extension. + * [#next-free-field: 6] + */ export type Extension = _envoy_api_v2_core_Extension; + /** + * Version and identification for an Envoy extension. + * [#next-free-field: 6] + */ export type Extension__Output = _envoy_api_v2_core_Extension__Output; + /** + * gRPC service configuration. This is used by :ref:`ApiConfigSource + * ` and filter configurations. + * [#next-free-field: 6] + */ export type GrpcService = _envoy_api_v2_core_GrpcService; + /** + * gRPC service configuration. This is used by :ref:`ApiConfigSource + * ` and filter configurations. + * [#next-free-field: 6] + */ export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; + /** + * Wrapper for a set of headers. + */ export type HeaderMap = _envoy_api_v2_core_HeaderMap; + /** + * Wrapper for a set of headers. + */ export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; + /** + * Header name/value pair. + */ export type HeaderValue = _envoy_api_v2_core_HeaderValue; + /** + * Header name/value pair. + */ export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; + /** + * Header name/value pair plus option to control append behavior. + */ export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; + /** + * Header name/value pair plus option to control append behavior. + */ export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; + /** + * Envoy external URI descriptor + */ export type HttpUri = _envoy_api_v2_core_HttpUri; + /** + * Envoy external URI descriptor + */ export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; + /** + * Identifies location of where either Envoy runs or where upstream hosts run. + */ export type Locality = _envoy_api_v2_core_Locality; + /** + * Identifies location of where either Envoy runs or where upstream hosts run. + */ export type Locality__Output = _envoy_api_v2_core_Locality__Output; + /** + * Metadata provides additional inputs to filters based on matched listeners, + * filter chains, routes and endpoints. It is structured as a map, usually from + * filter name (in reverse DNS format) to metadata specific to the filter. Metadata + * key-values for a filter are merged as connection and request handling occurs, + * with later values for the same key overriding earlier values. + * + * An example use of metadata is providing additional values to + * http_connection_manager in the envoy.http_connection_manager.access_log + * namespace. + * + * Another example use of metadata is to per service config info in cluster metadata, which may get + * consumed by multiple filters. + * + * For load balancing, Metadata provides a means to subset cluster endpoints. + * Endpoints have a Metadata object associated and routes contain a Metadata + * object to match against. There are some well defined metadata used today for + * this purpose: + * + * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an + * endpoint and is also used during header processing + * (x-envoy-upstream-canary) and for stats purposes. + * [#next-major-version: move to type/metadata/v2] + */ export type Metadata = _envoy_api_v2_core_Metadata; + /** + * Metadata provides additional inputs to filters based on matched listeners, + * filter chains, routes and endpoints. It is structured as a map, usually from + * filter name (in reverse DNS format) to metadata specific to the filter. Metadata + * key-values for a filter are merged as connection and request handling occurs, + * with later values for the same key overriding earlier values. + * + * An example use of metadata is providing additional values to + * http_connection_manager in the envoy.http_connection_manager.access_log + * namespace. + * + * Another example use of metadata is to per service config info in cluster metadata, which may get + * consumed by multiple filters. + * + * For load balancing, Metadata provides a means to subset cluster endpoints. + * Endpoints have a Metadata object associated and routes contain a Metadata + * object to match against. There are some well defined metadata used today for + * this purpose: + * + * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an + * endpoint and is also used during header processing + * (x-envoy-upstream-canary) and for stats purposes. + * [#next-major-version: move to type/metadata/v2] + */ export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; + /** + * Identifies a specific Envoy instance. The node identifier is presented to the + * management server, which may use this identifier to distinguish per Envoy + * configuration for serving. + * [#next-free-field: 12] + */ export type Node = _envoy_api_v2_core_Node; + /** + * Identifies a specific Envoy instance. The node identifier is presented to the + * management server, which may use this identifier to distinguish per Envoy + * configuration for serving. + * [#next-free-field: 12] + */ export type Node__Output = _envoy_api_v2_core_Node__Output; export type Pipe = _envoy_api_v2_core_Pipe; export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; + /** + * Rate Limit settings to be applied for discovery requests made by Envoy. + */ export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; + /** + * Rate Limit settings to be applied for discovery requests made by Envoy. + */ export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; + /** + * The message specifies how to fetch data from remote and how to verify it. + */ export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; + /** + * The message specifies how to fetch data from remote and how to verify it. + */ export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; + /** + * HTTP request method. + */ export type RequestMethod = _envoy_api_v2_core_RequestMethod; + /** + * The message specifies the retry policy of remote data source when fetching fails. + */ export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; + /** + * The message specifies the retry policy of remote data source when fetching fails. + */ export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; + /** + * Envoy supports :ref:`upstream priority routing + * ` both at the route and the virtual + * cluster level. The current priority implementation uses different connection + * pool and circuit breaking settings for each priority level. This means that + * even for HTTP/2 requests, two physical connections will be used to an + * upstream host. In the future Envoy will likely support true HTTP/2 priority + * over a single upstream connection. + */ export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; + /** + * Runtime derived double with a default when not specified. + */ export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; + /** + * Runtime derived double with a default when not specified. + */ export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; + /** + * Runtime derived bool with a default when not specified. + */ export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; + /** + * Runtime derived bool with a default when not specified. + */ export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; + /** + * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not + * specified via a runtime key. + * + * .. note:: + * + * Parsing of the runtime key's data is implemented such that it may be represented as a + * :ref:`FractionalPercent ` proto represented as JSON/YAML + * and may also be represented as an integer with the assumption that the value is an integral + * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse + * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. + */ export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; + /** + * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not + * specified via a runtime key. + * + * .. note:: + * + * Parsing of the runtime key's data is implemented such that it may be represented as a + * :ref:`FractionalPercent ` proto represented as JSON/YAML + * and may also be represented as an integer with the assumption that the value is an integral + * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse + * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. + */ export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; + /** + * Runtime derived uint32 with a default when not specified. + */ export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; + /** + * Runtime derived uint32 with a default when not specified. + */ export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; + /** + * [#not-implemented-hide:] + * Self-referencing config source options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that other data can be obtained from the same server. + */ export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; + /** + * [#not-implemented-hide:] + * Self-referencing config source options. This is currently empty, but when + * set in :ref:`ConfigSource ` can be used to + * specify that other data can be obtained from the same server. + */ export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; + /** + * [#next-free-field: 7] + */ export type SocketAddress = _envoy_api_v2_core_SocketAddress; + /** + * [#next-free-field: 7] + */ export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; + /** + * Generic socket option message. This would be used to set socket options that + * might not exist in upstream kernels or precompiled Envoy binaries. + * [#next-free-field: 7] + */ export type SocketOption = _envoy_api_v2_core_SocketOption; + /** + * Generic socket option message. This would be used to set socket options that + * might not exist in upstream kernels or precompiled Envoy binaries. + * [#next-free-field: 7] + */ export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; + /** + * Identifies the direction of the traffic relative to the local Envoy. + */ export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; + /** + * Configuration for transport socket in :ref:`listeners ` and + * :ref:`clusters `. If the configuration is + * empty, a default transport socket implementation and configuration will be + * chosen based on the platform and existence of tls_context. + */ export type TransportSocket = _envoy_api_v2_core_TransportSocket; + /** + * Configuration for transport socket in :ref:`listeners ` and + * :ref:`clusters `. If the configuration is + * empty, a default transport socket implementation and configuration will be + * chosen based on the platform and existence of tls_context. + */ export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; } export namespace route { + /** + * [#next-free-field: 12] + */ export type CorsPolicy = _envoy_api_v2_route_CorsPolicy; + /** + * [#next-free-field: 12] + */ export type CorsPolicy__Output = _envoy_api_v2_route_CorsPolicy__Output; export type Decorator = _envoy_api_v2_route_Decorator; export type Decorator__Output = _envoy_api_v2_route_Decorator__Output; export type DirectResponseAction = _envoy_api_v2_route_DirectResponseAction; export type DirectResponseAction__Output = _envoy_api_v2_route_DirectResponseAction__Output; + /** + * A filter-defined action type. + */ export type FilterAction = _envoy_api_v2_route_FilterAction; + /** + * A filter-defined action type. + */ export type FilterAction__Output = _envoy_api_v2_route_FilterAction__Output; + /** + * .. attention:: + * + * Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* + * header. Thus, if attempting to match on *Host*, match on *:authority* instead. + * + * .. attention:: + * + * To route on HTTP method, use the special HTTP/2 *:method* header. This works for both + * HTTP/1 and HTTP/2 as Envoy normalizes headers. E.g., + * + * .. code-block:: json + * + * { + * "name": ":method", + * "exact_match": "POST" + * } + * + * .. attention:: + * In the absence of any header match specifier, match will default to :ref:`present_match + * `. i.e, a request that has the :ref:`name + * ` header will match, regardless of the header's + * value. + * + * [#next-major-version: HeaderMatcher should be refactored to use StringMatcher.] + * [#next-free-field: 12] + */ export type HeaderMatcher = _envoy_api_v2_route_HeaderMatcher; + /** + * .. attention:: + * + * Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* + * header. Thus, if attempting to match on *Host*, match on *:authority* instead. + * + * .. attention:: + * + * To route on HTTP method, use the special HTTP/2 *:method* header. This works for both + * HTTP/1 and HTTP/2 as Envoy normalizes headers. E.g., + * + * .. code-block:: json + * + * { + * "name": ":method", + * "exact_match": "POST" + * } + * + * .. attention:: + * In the absence of any header match specifier, match will default to :ref:`present_match + * `. i.e, a request that has the :ref:`name + * ` header will match, regardless of the header's + * value. + * + * [#next-major-version: HeaderMatcher should be refactored to use StringMatcher.] + * [#next-free-field: 12] + */ export type HeaderMatcher__Output = _envoy_api_v2_route_HeaderMatcher__Output; + /** + * HTTP request hedging :ref:`architecture overview `. + */ export type HedgePolicy = _envoy_api_v2_route_HedgePolicy; + /** + * HTTP request hedging :ref:`architecture overview `. + */ export type HedgePolicy__Output = _envoy_api_v2_route_HedgePolicy__Output; + /** + * Query parameter matching treats the query string of a request's :path header + * as an ampersand-separated list of keys and/or key=value elements. + * [#next-free-field: 7] + */ export type QueryParameterMatcher = _envoy_api_v2_route_QueryParameterMatcher; + /** + * Query parameter matching treats the query string of a request's :path header + * as an ampersand-separated list of keys and/or key=value elements. + * [#next-free-field: 7] + */ export type QueryParameterMatcher__Output = _envoy_api_v2_route_QueryParameterMatcher__Output; + /** + * Global rate limiting :ref:`architecture overview `. + */ export type RateLimit = _envoy_api_v2_route_RateLimit; + /** + * Global rate limiting :ref:`architecture overview `. + */ export type RateLimit__Output = _envoy_api_v2_route_RateLimit__Output; + /** + * [#next-free-field: 9] + */ export type RedirectAction = _envoy_api_v2_route_RedirectAction; + /** + * [#next-free-field: 9] + */ export type RedirectAction__Output = _envoy_api_v2_route_RedirectAction__Output; + /** + * HTTP retry :ref:`architecture overview `. + * [#next-free-field: 11] + */ export type RetryPolicy = _envoy_api_v2_route_RetryPolicy; + /** + * HTTP retry :ref:`architecture overview `. + * [#next-free-field: 11] + */ export type RetryPolicy__Output = _envoy_api_v2_route_RetryPolicy__Output; + /** + * A route is both a specification of how to match a request as well as an indication of what to do + * next (e.g., redirect, forward, rewrite, etc.). + * + * .. attention:: + * + * Envoy supports routing on HTTP method via :ref:`header matching + * `. + * [#next-free-field: 18] + */ export type Route = _envoy_api_v2_route_Route; + /** + * A route is both a specification of how to match a request as well as an indication of what to do + * next (e.g., redirect, forward, rewrite, etc.). + * + * .. attention:: + * + * Envoy supports routing on HTTP method via :ref:`header matching + * `. + * [#next-free-field: 18] + */ export type Route__Output = _envoy_api_v2_route_Route__Output; + /** + * [#next-free-field: 34] + */ export type RouteAction = _envoy_api_v2_route_RouteAction; + /** + * [#next-free-field: 34] + */ export type RouteAction__Output = _envoy_api_v2_route_RouteAction__Output; + /** + * [#next-free-field: 12] + */ export type RouteMatch = _envoy_api_v2_route_RouteMatch; + /** + * [#next-free-field: 12] + */ export type RouteMatch__Output = _envoy_api_v2_route_RouteMatch__Output; export type Tracing = _envoy_api_v2_route_Tracing; export type Tracing__Output = _envoy_api_v2_route_Tracing__Output; + /** + * A virtual cluster is a way of specifying a regex matching rule against + * certain important endpoints such that statistics are generated explicitly for + * the matched requests. The reason this is useful is that when doing + * prefix/path matching Envoy does not always know what the application + * considers to be an endpoint. Thus, it’s impossible for Envoy to generically + * emit per endpoint statistics. However, often systems have highly critical + * endpoints that they wish to get “perfect” statistics on. Virtual cluster + * statistics are perfect in the sense that they are emitted on the downstream + * side such that they include network level failures. + * + * Documentation for :ref:`virtual cluster statistics `. + * + * .. note:: + * + * Virtual clusters are a useful tool, but we do not recommend setting up a virtual cluster for + * every application endpoint. This is both not easily maintainable and as well the matching and + * statistics output are not free. + */ export type VirtualCluster = _envoy_api_v2_route_VirtualCluster; + /** + * A virtual cluster is a way of specifying a regex matching rule against + * certain important endpoints such that statistics are generated explicitly for + * the matched requests. The reason this is useful is that when doing + * prefix/path matching Envoy does not always know what the application + * considers to be an endpoint. Thus, it’s impossible for Envoy to generically + * emit per endpoint statistics. However, often systems have highly critical + * endpoints that they wish to get “perfect” statistics on. Virtual cluster + * statistics are perfect in the sense that they are emitted on the downstream + * side such that they include network level failures. + * + * Documentation for :ref:`virtual cluster statistics `. + * + * .. note:: + * + * Virtual clusters are a useful tool, but we do not recommend setting up a virtual cluster for + * every application endpoint. This is both not easily maintainable and as well the matching and + * statistics output are not free. + */ export type VirtualCluster__Output = _envoy_api_v2_route_VirtualCluster__Output; + /** + * The top level element in the routing configuration is a virtual host. Each virtual host has + * a logical name as well as a set of domains that get routed to it based on the incoming request's + * host header. This allows a single listener to service multiple top level domain path trees. Once + * a virtual host is selected based on the domain, the routes are processed in order to see which + * upstream cluster to route to or whether to perform a redirect. + * [#next-free-field: 21] + */ export type VirtualHost = _envoy_api_v2_route_VirtualHost; + /** + * The top level element in the routing configuration is a virtual host. Each virtual host has + * a logical name as well as a set of domains that get routed to it based on the incoming request's + * host header. This allows a single listener to service multiple top level domain path trees. Once + * a virtual host is selected based on the domain, the routes are processed in order to see which + * upstream cluster to route to or whether to perform a redirect. + * [#next-free-field: 21] + */ export type VirtualHost__Output = _envoy_api_v2_route_VirtualHost__Output; + /** + * Compared to the :ref:`cluster ` field that specifies a + * single upstream cluster as the target of a request, the :ref:`weighted_clusters + * ` option allows for specification of + * multiple upstream clusters along with weights that indicate the percentage of + * traffic to be forwarded to each cluster. The router selects an upstream cluster based on the + * weights. + */ export type WeightedCluster = _envoy_api_v2_route_WeightedCluster; + /** + * Compared to the :ref:`cluster ` field that specifies a + * single upstream cluster as the target of a request, the :ref:`weighted_clusters + * ` option allows for specification of + * multiple upstream clusters along with weights that indicate the percentage of + * traffic to be forwarded to each cluster. The router selects an upstream cluster based on the + * weights. + */ export type WeightedCluster__Output = _envoy_api_v2_route_WeightedCluster__Output; } } } export namespace type { + /** + * Specifies the double start and end of the range using half-open interval semantics [start, + * end). + */ export type DoubleRange = _envoy_type_DoubleRange; + /** + * Specifies the double start and end of the range using half-open interval semantics [start, + * end). + */ export type DoubleRange__Output = _envoy_type_DoubleRange__Output; + /** + * A fractional percentage is used in cases in which for performance reasons performing floating + * point to integer conversions during randomness calculations is undesirable. The message includes + * both a numerator and denominator that together determine the final fractional value. + * + * * **Example**: 1/100 = 1%. + * * **Example**: 3/10000 = 0.03%. + */ export type FractionalPercent = _envoy_type_FractionalPercent; + /** + * A fractional percentage is used in cases in which for performance reasons performing floating + * point to integer conversions during randomness calculations is undesirable. The message includes + * both a numerator and denominator that together determine the final fractional value. + * + * * **Example**: 1/100 = 1%. + * * **Example**: 3/10000 = 0.03%. + */ export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; + /** + * Specifies the int32 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int32Range = _envoy_type_Int32Range; + /** + * Specifies the int32 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int32Range__Output = _envoy_type_Int32Range__Output; + /** + * Specifies the int64 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int64Range = _envoy_type_Int64Range; + /** + * Specifies the int64 start and end of the range using half-open interval semantics [start, + * end). + */ export type Int64Range__Output = _envoy_type_Int64Range__Output; + /** + * Identifies a percentage, in the range [0.0, 100.0]. + */ export type Percent = _envoy_type_Percent; + /** + * Identifies a percentage, in the range [0.0, 100.0]. + */ export type Percent__Output = _envoy_type_Percent__Output; + /** + * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate + * expected behaviors and APIs, the patch version field is used only + * for security fixes and can be generally ignored. + */ export type SemanticVersion = _envoy_type_SemanticVersion; + /** + * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate + * expected behaviors and APIs, the patch version field is used only + * for security fixes and can be generally ignored. + */ export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; export namespace matcher { + /** + * Specifies a list of ways to match a string. + */ export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; + /** + * Specifies a list of ways to match a string. + */ export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; + /** + * Describes how to match a string and then produce a new string using a regular + * expression and a substitution string. + */ export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; + /** + * Describes how to match a string and then produce a new string using a regular + * expression and a substitution string. + */ export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; + /** + * A regex matcher designed for safety when used with untrusted input. + */ export type RegexMatcher = _envoy_type_matcher_RegexMatcher; + /** + * A regex matcher designed for safety when used with untrusted input. + */ export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; + /** + * Specifies the way to match a string. + * [#next-free-field: 7] + */ export type StringMatcher = _envoy_type_matcher_StringMatcher; + /** + * Specifies the way to match a string. + * [#next-free-field: 7] + */ export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; } export namespace metadata { export namespace v2 { + /** + * MetadataKey provides a general interface using `key` and `path` to retrieve value from + * :ref:`Metadata `. + * + * For example, for the following Metadata: + * + * .. code-block:: yaml + * + * filter_metadata: + * envoy.xxx: + * prop: + * foo: bar + * xyz: + * hello: envoy + * + * The following MetadataKey will retrieve a string value "bar" from the Metadata. + * + * .. code-block:: yaml + * + * key: envoy.xxx + * path: + * - key: prop + * - key: foo + */ export type MetadataKey = _envoy_type_metadata_v2_MetadataKey; + /** + * MetadataKey provides a general interface using `key` and `path` to retrieve value from + * :ref:`Metadata `. + * + * For example, for the following Metadata: + * + * .. code-block:: yaml + * + * filter_metadata: + * envoy.xxx: + * prop: + * foo: bar + * xyz: + * hello: envoy + * + * The following MetadataKey will retrieve a string value "bar" from the Metadata. + * + * .. code-block:: yaml + * + * key: envoy.xxx + * path: + * - key: prop + * - key: foo + */ export type MetadataKey__Output = _envoy_type_metadata_v2_MetadataKey__Output; + /** + * Describes what kind of metadata. + */ export type MetadataKind = _envoy_type_metadata_v2_MetadataKind; + /** + * Describes what kind of metadata. + */ export type MetadataKind__Output = _envoy_type_metadata_v2_MetadataKind__Output; } } export namespace tracing { export namespace v2 { + /** + * Describes custom tags for the active span. + * [#next-free-field: 6] + */ export type CustomTag = _envoy_type_tracing_v2_CustomTag; + /** + * Describes custom tags for the active span. + * [#next-free-field: 6] + */ export type CustomTag__Output = _envoy_type_tracing_v2_CustomTag__Output; } } @@ -387,52 +1058,203 @@ export namespace messages { } } export namespace validate { + /** + * AnyRules describe constraints applied exclusively to the + * `google.protobuf.Any` well-known type + */ export type AnyRules = _validate_AnyRules; + /** + * AnyRules describe constraints applied exclusively to the + * `google.protobuf.Any` well-known type + */ export type AnyRules__Output = _validate_AnyRules__Output; + /** + * BoolRules describes the constraints applied to `bool` values + */ export type BoolRules = _validate_BoolRules; + /** + * BoolRules describes the constraints applied to `bool` values + */ export type BoolRules__Output = _validate_BoolRules__Output; + /** + * BytesRules describe the constraints applied to `bytes` values + */ export type BytesRules = _validate_BytesRules; + /** + * BytesRules describe the constraints applied to `bytes` values + */ export type BytesRules__Output = _validate_BytesRules__Output; + /** + * DoubleRules describes the constraints applied to `double` values + */ export type DoubleRules = _validate_DoubleRules; + /** + * DoubleRules describes the constraints applied to `double` values + */ export type DoubleRules__Output = _validate_DoubleRules__Output; + /** + * DurationRules describe the constraints applied exclusively to the + * `google.protobuf.Duration` well-known type + */ export type DurationRules = _validate_DurationRules; + /** + * DurationRules describe the constraints applied exclusively to the + * `google.protobuf.Duration` well-known type + */ export type DurationRules__Output = _validate_DurationRules__Output; + /** + * EnumRules describe the constraints applied to enum values + */ export type EnumRules = _validate_EnumRules; + /** + * EnumRules describe the constraints applied to enum values + */ export type EnumRules__Output = _validate_EnumRules__Output; + /** + * FieldRules encapsulates the rules for each type of field. Depending on the + * field, the correct set should be used to ensure proper validations. + */ export type FieldRules = _validate_FieldRules; + /** + * FieldRules encapsulates the rules for each type of field. Depending on the + * field, the correct set should be used to ensure proper validations. + */ export type FieldRules__Output = _validate_FieldRules__Output; + /** + * Fixed32Rules describes the constraints applied to `fixed32` values + */ export type Fixed32Rules = _validate_Fixed32Rules; + /** + * Fixed32Rules describes the constraints applied to `fixed32` values + */ export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; + /** + * Fixed64Rules describes the constraints applied to `fixed64` values + */ export type Fixed64Rules = _validate_Fixed64Rules; + /** + * Fixed64Rules describes the constraints applied to `fixed64` values + */ export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; + /** + * FloatRules describes the constraints applied to `float` values + */ export type FloatRules = _validate_FloatRules; + /** + * FloatRules describes the constraints applied to `float` values + */ export type FloatRules__Output = _validate_FloatRules__Output; + /** + * Int32Rules describes the constraints applied to `int32` values + */ export type Int32Rules = _validate_Int32Rules; + /** + * Int32Rules describes the constraints applied to `int32` values + */ export type Int32Rules__Output = _validate_Int32Rules__Output; + /** + * Int64Rules describes the constraints applied to `int64` values + */ export type Int64Rules = _validate_Int64Rules; + /** + * Int64Rules describes the constraints applied to `int64` values + */ export type Int64Rules__Output = _validate_Int64Rules__Output; + /** + * WellKnownRegex contain some well-known patterns. + */ export type KnownRegex = _validate_KnownRegex; + /** + * MapRules describe the constraints applied to `map` values + */ export type MapRules = _validate_MapRules; + /** + * MapRules describe the constraints applied to `map` values + */ export type MapRules__Output = _validate_MapRules__Output; + /** + * MessageRules describe the constraints applied to embedded message values. + * For message-type fields, validation is performed recursively. + */ export type MessageRules = _validate_MessageRules; + /** + * MessageRules describe the constraints applied to embedded message values. + * For message-type fields, validation is performed recursively. + */ export type MessageRules__Output = _validate_MessageRules__Output; + /** + * RepeatedRules describe the constraints applied to `repeated` values + */ export type RepeatedRules = _validate_RepeatedRules; + /** + * RepeatedRules describe the constraints applied to `repeated` values + */ export type RepeatedRules__Output = _validate_RepeatedRules__Output; + /** + * SFixed32Rules describes the constraints applied to `sfixed32` values + */ export type SFixed32Rules = _validate_SFixed32Rules; + /** + * SFixed32Rules describes the constraints applied to `sfixed32` values + */ export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; + /** + * SFixed64Rules describes the constraints applied to `sfixed64` values + */ export type SFixed64Rules = _validate_SFixed64Rules; + /** + * SFixed64Rules describes the constraints applied to `sfixed64` values + */ export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; + /** + * SInt32Rules describes the constraints applied to `sint32` values + */ export type SInt32Rules = _validate_SInt32Rules; + /** + * SInt32Rules describes the constraints applied to `sint32` values + */ export type SInt32Rules__Output = _validate_SInt32Rules__Output; + /** + * SInt64Rules describes the constraints applied to `sint64` values + */ export type SInt64Rules = _validate_SInt64Rules; + /** + * SInt64Rules describes the constraints applied to `sint64` values + */ export type SInt64Rules__Output = _validate_SInt64Rules__Output; + /** + * StringRules describe the constraints applied to `string` values + */ export type StringRules = _validate_StringRules; + /** + * StringRules describe the constraints applied to `string` values + */ export type StringRules__Output = _validate_StringRules__Output; + /** + * TimestampRules describe the constraints applied exclusively to the + * `google.protobuf.Timestamp` well-known type + */ export type TimestampRules = _validate_TimestampRules; + /** + * TimestampRules describe the constraints applied exclusively to the + * `google.protobuf.Timestamp` well-known type + */ export type TimestampRules__Output = _validate_TimestampRules__Output; + /** + * UInt32Rules describes the constraints applied to `uint32` values + */ export type UInt32Rules = _validate_UInt32Rules; + /** + * UInt32Rules describes the constraints applied to `uint32` values + */ export type UInt32Rules__Output = _validate_UInt32Rules__Output; + /** + * UInt64Rules describes the constraints applied to `uint64` values + */ export type UInt64Rules = _validate_UInt64Rules; + /** + * UInt64Rules describes the constraints applied to `uint64` values + */ export type UInt64Rules__Output = _validate_UInt64Rules__Output; } } diff --git a/packages/grpc-js/src/generated/udpa/annotations/FieldMigrateAnnotation.ts b/packages/grpc-js/src/generated/udpa/annotations/FieldMigrateAnnotation.ts index 375c1f5be..1ad015b25 100644 --- a/packages/grpc-js/src/generated/udpa/annotations/FieldMigrateAnnotation.ts +++ b/packages/grpc-js/src/generated/udpa/annotations/FieldMigrateAnnotation.ts @@ -2,11 +2,27 @@ export interface FieldMigrateAnnotation { + /** + * Rename the field in next version. + */ 'rename'?: (string); + /** + * Add the field to a named oneof in next version. If this already exists, the + * field will join its siblings under the oneof, otherwise a new oneof will be + * created with the given name. + */ 'oneof_promotion'?: (string); } export interface FieldMigrateAnnotation__Output { + /** + * Rename the field in next version. + */ 'rename': (string); + /** + * Add the field to a named oneof in next version. If this already exists, the + * field will join its siblings under the oneof, otherwise a new oneof will be + * created with the given name. + */ 'oneof_promotion': (string); } diff --git a/packages/grpc-js/src/generated/udpa/annotations/FileMigrateAnnotation.ts b/packages/grpc-js/src/generated/udpa/annotations/FileMigrateAnnotation.ts index a6f113694..b7ef7c21d 100644 --- a/packages/grpc-js/src/generated/udpa/annotations/FileMigrateAnnotation.ts +++ b/packages/grpc-js/src/generated/udpa/annotations/FileMigrateAnnotation.ts @@ -2,9 +2,17 @@ export interface FileMigrateAnnotation { + /** + * Move all types in the file to another package, this implies changing proto + * file path. + */ 'move_to_package'?: (string); } export interface FileMigrateAnnotation__Output { + /** + * Move all types in the file to another package, this implies changing proto + * file path. + */ 'move_to_package': (string); } diff --git a/packages/grpc-js/src/generated/udpa/annotations/MigrateAnnotation.ts b/packages/grpc-js/src/generated/udpa/annotations/MigrateAnnotation.ts index 57402231f..e3fdcaa99 100644 --- a/packages/grpc-js/src/generated/udpa/annotations/MigrateAnnotation.ts +++ b/packages/grpc-js/src/generated/udpa/annotations/MigrateAnnotation.ts @@ -2,9 +2,15 @@ export interface MigrateAnnotation { + /** + * Rename the message/enum/enum value in next version. + */ 'rename'?: (string); } export interface MigrateAnnotation__Output { + /** + * Rename the message/enum/enum value in next version. + */ 'rename': (string); } diff --git a/packages/grpc-js/src/generated/udpa/annotations/PackageVersionStatus.ts b/packages/grpc-js/src/generated/udpa/annotations/PackageVersionStatus.ts index 9888e1d14..c60c3f984 100644 --- a/packages/grpc-js/src/generated/udpa/annotations/PackageVersionStatus.ts +++ b/packages/grpc-js/src/generated/udpa/annotations/PackageVersionStatus.ts @@ -1,8 +1,21 @@ // Original file: deps/udpa/udpa/annotations/status.proto export enum PackageVersionStatus { + /** + * Unknown package version status. + */ UNKNOWN = 0, + /** + * This version of the package is frozen. + */ FROZEN = 1, + /** + * This version of the package is the active development version. + */ ACTIVE = 2, + /** + * This version of the package is the candidate for the next major version. It + * is typically machine generated from the active development version. + */ NEXT_MAJOR_VERSION_CANDIDATE = 3, } diff --git a/packages/grpc-js/src/generated/udpa/annotations/StatusAnnotation.ts b/packages/grpc-js/src/generated/udpa/annotations/StatusAnnotation.ts index 3b4748c00..1b00aa9fc 100644 --- a/packages/grpc-js/src/generated/udpa/annotations/StatusAnnotation.ts +++ b/packages/grpc-js/src/generated/udpa/annotations/StatusAnnotation.ts @@ -3,11 +3,23 @@ import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from '../../udpa/annotations/PackageVersionStatus'; export interface StatusAnnotation { + /** + * The entity is work-in-progress and subject to breaking changes. + */ 'work_in_progress'?: (boolean); + /** + * The entity belongs to a package with the given version status. + */ 'package_version_status'?: (_udpa_annotations_PackageVersionStatus | keyof typeof _udpa_annotations_PackageVersionStatus); } export interface StatusAnnotation__Output { + /** + * The entity is work-in-progress and subject to breaking changes. + */ 'work_in_progress': (boolean); + /** + * The entity belongs to a package with the given version status. + */ 'package_version_status': (keyof typeof _udpa_annotations_PackageVersionStatus); } diff --git a/packages/grpc-js/src/generated/validate/AnyRules.ts b/packages/grpc-js/src/generated/validate/AnyRules.ts index c55a03f58..6b16d986c 100644 --- a/packages/grpc-js/src/generated/validate/AnyRules.ts +++ b/packages/grpc-js/src/generated/validate/AnyRules.ts @@ -1,14 +1,44 @@ // Original file: deps/protoc-gen-validate/validate/validate.proto +/** + * AnyRules describe constraints applied exclusively to the + * `google.protobuf.Any` well-known type + */ export interface AnyRules { + /** + * Required specifies that this field must be set + */ 'required'?: (boolean); + /** + * In specifies that this field's `type_url` must be equal to one of the + * specified values. + */ 'in'?: (string)[]; + /** + * NotIn specifies that this field's `type_url` must not be equal to any of + * the specified values. + */ 'not_in'?: (string)[]; } +/** + * AnyRules describe constraints applied exclusively to the + * `google.protobuf.Any` well-known type + */ export interface AnyRules__Output { + /** + * Required specifies that this field must be set + */ 'required': (boolean); + /** + * In specifies that this field's `type_url` must be equal to one of the + * specified values. + */ 'in': (string)[]; + /** + * NotIn specifies that this field's `type_url` must not be equal to any of + * the specified values. + */ 'not_in': (string)[]; } diff --git a/packages/grpc-js/src/generated/validate/BoolRules.ts b/packages/grpc-js/src/generated/validate/BoolRules.ts index 85db6c621..3fd2a7a64 100644 --- a/packages/grpc-js/src/generated/validate/BoolRules.ts +++ b/packages/grpc-js/src/generated/validate/BoolRules.ts @@ -1,10 +1,22 @@ // Original file: deps/protoc-gen-validate/validate/validate.proto +/** + * BoolRules describes the constraints applied to `bool` values + */ export interface BoolRules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (boolean); } +/** + * BoolRules describes the constraints applied to `bool` values + */ export interface BoolRules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (boolean); } diff --git a/packages/grpc-js/src/generated/validate/BytesRules.ts b/packages/grpc-js/src/generated/validate/BytesRules.ts index a18bf6906..656d70194 100644 --- a/packages/grpc-js/src/generated/validate/BytesRules.ts +++ b/packages/grpc-js/src/generated/validate/BytesRules.ts @@ -2,36 +2,152 @@ import { Long } from '@grpc/proto-loader'; +/** + * BytesRules describe the constraints applied to `bytes` values + */ export interface BytesRules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (Buffer | Uint8Array | string); + /** + * MinLen specifies that this field must be the specified number of bytes + * at a minimum + */ 'min_len'?: (number | string | Long); + /** + * MaxLen specifies that this field must be the specified number of bytes + * at a maximum + */ 'max_len'?: (number | string | Long); + /** + * Pattern specifes that this field must match against the specified + * regular expression (RE2 syntax). The included expression should elide + * any delimiters. + */ 'pattern'?: (string); + /** + * Prefix specifies that this field must have the specified bytes at the + * beginning of the string. + */ 'prefix'?: (Buffer | Uint8Array | string); + /** + * Suffix specifies that this field must have the specified bytes at the + * end of the string. + */ 'suffix'?: (Buffer | Uint8Array | string); + /** + * Contains specifies that this field must have the specified bytes + * anywhere in the string. + */ 'contains'?: (Buffer | Uint8Array | string); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (Buffer | Uint8Array | string)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (Buffer | Uint8Array | string)[]; + /** + * Ip specifies that the field must be a valid IP (v4 or v6) address in + * byte format + */ 'ip'?: (boolean); + /** + * Ipv4 specifies that the field must be a valid IPv4 address in byte + * format + */ 'ipv4'?: (boolean); + /** + * Ipv6 specifies that the field must be a valid IPv6 address in byte + * format + */ 'ipv6'?: (boolean); + /** + * Len specifies that this field must be the specified number of bytes + */ 'len'?: (number | string | Long); + /** + * WellKnown rules provide advanced constraints against common byte + * patterns + */ 'well_known'?: "ip"|"ipv4"|"ipv6"; } +/** + * BytesRules describe the constraints applied to `bytes` values + */ export interface BytesRules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (Buffer); + /** + * MinLen specifies that this field must be the specified number of bytes + * at a minimum + */ 'min_len': (string); + /** + * MaxLen specifies that this field must be the specified number of bytes + * at a maximum + */ 'max_len': (string); + /** + * Pattern specifes that this field must match against the specified + * regular expression (RE2 syntax). The included expression should elide + * any delimiters. + */ 'pattern': (string); + /** + * Prefix specifies that this field must have the specified bytes at the + * beginning of the string. + */ 'prefix': (Buffer); + /** + * Suffix specifies that this field must have the specified bytes at the + * end of the string. + */ 'suffix': (Buffer); + /** + * Contains specifies that this field must have the specified bytes + * anywhere in the string. + */ 'contains': (Buffer); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (Buffer)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (Buffer)[]; + /** + * Ip specifies that the field must be a valid IP (v4 or v6) address in + * byte format + */ 'ip'?: (boolean); + /** + * Ipv4 specifies that the field must be a valid IPv4 address in byte + * format + */ 'ipv4'?: (boolean); + /** + * Ipv6 specifies that the field must be a valid IPv6 address in byte + * format + */ 'ipv6'?: (boolean); + /** + * Len specifies that this field must be the specified number of bytes + */ 'len': (string); + /** + * WellKnown rules provide advanced constraints against common byte + * patterns + */ 'well_known': "ip"|"ipv4"|"ipv6"; } diff --git a/packages/grpc-js/src/generated/validate/DoubleRules.ts b/packages/grpc-js/src/generated/validate/DoubleRules.ts index 476d0b9bc..fead5072a 100644 --- a/packages/grpc-js/src/generated/validate/DoubleRules.ts +++ b/packages/grpc-js/src/generated/validate/DoubleRules.ts @@ -1,22 +1,86 @@ // Original file: deps/protoc-gen-validate/validate/validate.proto +/** + * DoubleRules describes the constraints applied to `double` values + */ export interface DoubleRules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (number | string); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (number | string); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte'?: (number | string); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt'?: (number | string); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte'?: (number | string); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (number | string)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (number | string)[]; } +/** + * DoubleRules describes the constraints applied to `double` values + */ export interface DoubleRules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (number | string); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (number | string); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte': (number | string); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt': (number | string); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte': (number | string); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (number | string)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (number | string)[]; } diff --git a/packages/grpc-js/src/generated/validate/DurationRules.ts b/packages/grpc-js/src/generated/validate/DurationRules.ts index 6bd07149d..ed249bc8d 100644 --- a/packages/grpc-js/src/generated/validate/DurationRules.ts +++ b/packages/grpc-js/src/generated/validate/DurationRules.ts @@ -2,24 +2,92 @@ import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../google/protobuf/Duration'; +/** + * DurationRules describe the constraints applied exclusively to the + * `google.protobuf.Duration` well-known type + */ export interface DurationRules { + /** + * Required specifies that this field must be set + */ 'required'?: (boolean); + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (_google_protobuf_Duration); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (_google_protobuf_Duration); + /** + * Lt specifies that this field must be less than the specified value, + * inclusive + */ 'lte'?: (_google_protobuf_Duration); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive + */ 'gt'?: (_google_protobuf_Duration); + /** + * Gte specifies that this field must be greater than the specified value, + * inclusive + */ 'gte'?: (_google_protobuf_Duration); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (_google_protobuf_Duration)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (_google_protobuf_Duration)[]; } +/** + * DurationRules describe the constraints applied exclusively to the + * `google.protobuf.Duration` well-known type + */ export interface DurationRules__Output { + /** + * Required specifies that this field must be set + */ 'required': (boolean); + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (_google_protobuf_Duration__Output); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (_google_protobuf_Duration__Output); + /** + * Lt specifies that this field must be less than the specified value, + * inclusive + */ 'lte': (_google_protobuf_Duration__Output); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive + */ 'gt': (_google_protobuf_Duration__Output); + /** + * Gte specifies that this field must be greater than the specified value, + * inclusive + */ 'gte': (_google_protobuf_Duration__Output); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (_google_protobuf_Duration__Output)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (_google_protobuf_Duration__Output)[]; } diff --git a/packages/grpc-js/src/generated/validate/EnumRules.ts b/packages/grpc-js/src/generated/validate/EnumRules.ts index 02ae6330e..c70eb0b19 100644 --- a/packages/grpc-js/src/generated/validate/EnumRules.ts +++ b/packages/grpc-js/src/generated/validate/EnumRules.ts @@ -1,16 +1,52 @@ // Original file: deps/protoc-gen-validate/validate/validate.proto +/** + * EnumRules describe the constraints applied to enum values + */ export interface EnumRules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (number); + /** + * DefinedOnly specifies that this field must be only one of the defined + * values for this enum, failing on any undefined value. + */ 'defined_only'?: (boolean); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (number)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (number)[]; } +/** + * EnumRules describe the constraints applied to enum values + */ export interface EnumRules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (number); + /** + * DefinedOnly specifies that this field must be only one of the defined + * values for this enum, failing on any undefined value. + */ 'defined_only': (boolean); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (number)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (number)[]; } diff --git a/packages/grpc-js/src/generated/validate/FieldRules.ts b/packages/grpc-js/src/generated/validate/FieldRules.ts index 5451902d7..3601f0dad 100644 --- a/packages/grpc-js/src/generated/validate/FieldRules.ts +++ b/packages/grpc-js/src/generated/validate/FieldRules.ts @@ -24,7 +24,14 @@ import { DurationRules as _validate_DurationRules, DurationRules__Output as _val import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from '../validate/TimestampRules'; import { Long } from '@grpc/proto-loader'; +/** + * FieldRules encapsulates the rules for each type of field. Depending on the + * field, the correct set should be used to ensure proper validations. + */ export interface FieldRules { + /** + * Scalar Field Types + */ 'float'?: (_validate_FloatRules); 'double'?: (_validate_DoubleRules); 'int32'?: (_validate_Int32Rules); @@ -40,17 +47,30 @@ export interface FieldRules { 'bool'?: (_validate_BoolRules); 'string'?: (_validate_StringRules); 'bytes'?: (_validate_BytesRules); + /** + * Complex Field Types + */ 'enum'?: (_validate_EnumRules); 'message'?: (_validate_MessageRules); 'repeated'?: (_validate_RepeatedRules); 'map'?: (_validate_MapRules); + /** + * Well-Known Field Types + */ 'any'?: (_validate_AnyRules); 'duration'?: (_validate_DurationRules); 'timestamp'?: (_validate_TimestampRules); 'type'?: "float"|"double"|"int32"|"int64"|"uint32"|"uint64"|"sint32"|"sint64"|"fixed32"|"fixed64"|"sfixed32"|"sfixed64"|"bool"|"string"|"bytes"|"enum"|"repeated"|"map"|"any"|"duration"|"timestamp"; } +/** + * FieldRules encapsulates the rules for each type of field. Depending on the + * field, the correct set should be used to ensure proper validations. + */ export interface FieldRules__Output { + /** + * Scalar Field Types + */ 'float'?: (_validate_FloatRules__Output); 'double'?: (_validate_DoubleRules__Output); 'int32'?: (_validate_Int32Rules__Output); @@ -66,10 +86,16 @@ export interface FieldRules__Output { 'bool'?: (_validate_BoolRules__Output); 'string'?: (_validate_StringRules__Output); 'bytes'?: (_validate_BytesRules__Output); + /** + * Complex Field Types + */ 'enum'?: (_validate_EnumRules__Output); 'message': (_validate_MessageRules__Output); 'repeated'?: (_validate_RepeatedRules__Output); 'map'?: (_validate_MapRules__Output); + /** + * Well-Known Field Types + */ 'any'?: (_validate_AnyRules__Output); 'duration'?: (_validate_DurationRules__Output); 'timestamp'?: (_validate_TimestampRules__Output); diff --git a/packages/grpc-js/src/generated/validate/Fixed32Rules.ts b/packages/grpc-js/src/generated/validate/Fixed32Rules.ts index 27bbdad93..e88953875 100644 --- a/packages/grpc-js/src/generated/validate/Fixed32Rules.ts +++ b/packages/grpc-js/src/generated/validate/Fixed32Rules.ts @@ -1,22 +1,86 @@ // Original file: deps/protoc-gen-validate/validate/validate.proto +/** + * Fixed32Rules describes the constraints applied to `fixed32` values + */ export interface Fixed32Rules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (number); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (number); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte'?: (number); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt'?: (number); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte'?: (number); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (number)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (number)[]; } +/** + * Fixed32Rules describes the constraints applied to `fixed32` values + */ export interface Fixed32Rules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (number); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (number); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte': (number); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt': (number); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte': (number); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (number)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (number)[]; } diff --git a/packages/grpc-js/src/generated/validate/Fixed64Rules.ts b/packages/grpc-js/src/generated/validate/Fixed64Rules.ts index 8a211bac0..0b750efc8 100644 --- a/packages/grpc-js/src/generated/validate/Fixed64Rules.ts +++ b/packages/grpc-js/src/generated/validate/Fixed64Rules.ts @@ -2,22 +2,86 @@ import { Long } from '@grpc/proto-loader'; +/** + * Fixed64Rules describes the constraints applied to `fixed64` values + */ export interface Fixed64Rules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (number | string | Long); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (number | string | Long); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte'?: (number | string | Long); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt'?: (number | string | Long); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte'?: (number | string | Long); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (number | string | Long)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (number | string | Long)[]; } +/** + * Fixed64Rules describes the constraints applied to `fixed64` values + */ export interface Fixed64Rules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (string); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (string); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte': (string); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt': (string); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte': (string); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (string)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (string)[]; } diff --git a/packages/grpc-js/src/generated/validate/FloatRules.ts b/packages/grpc-js/src/generated/validate/FloatRules.ts index 6d29f67d8..35aafa809 100644 --- a/packages/grpc-js/src/generated/validate/FloatRules.ts +++ b/packages/grpc-js/src/generated/validate/FloatRules.ts @@ -1,22 +1,86 @@ // Original file: deps/protoc-gen-validate/validate/validate.proto +/** + * FloatRules describes the constraints applied to `float` values + */ export interface FloatRules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (number | string); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (number | string); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte'?: (number | string); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt'?: (number | string); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte'?: (number | string); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (number | string)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (number | string)[]; } +/** + * FloatRules describes the constraints applied to `float` values + */ export interface FloatRules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (number | string); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (number | string); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte': (number | string); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt': (number | string); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte': (number | string); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (number | string)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (number | string)[]; } diff --git a/packages/grpc-js/src/generated/validate/Int32Rules.ts b/packages/grpc-js/src/generated/validate/Int32Rules.ts index 03fb112c7..ea7ed42f3 100644 --- a/packages/grpc-js/src/generated/validate/Int32Rules.ts +++ b/packages/grpc-js/src/generated/validate/Int32Rules.ts @@ -1,22 +1,86 @@ // Original file: deps/protoc-gen-validate/validate/validate.proto +/** + * Int32Rules describes the constraints applied to `int32` values + */ export interface Int32Rules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (number); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (number); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte'?: (number); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt'?: (number); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte'?: (number); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (number)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (number)[]; } +/** + * Int32Rules describes the constraints applied to `int32` values + */ export interface Int32Rules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (number); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (number); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte': (number); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt': (number); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte': (number); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (number)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (number)[]; } diff --git a/packages/grpc-js/src/generated/validate/Int64Rules.ts b/packages/grpc-js/src/generated/validate/Int64Rules.ts index 91551365a..cb167c960 100644 --- a/packages/grpc-js/src/generated/validate/Int64Rules.ts +++ b/packages/grpc-js/src/generated/validate/Int64Rules.ts @@ -2,22 +2,86 @@ import { Long } from '@grpc/proto-loader'; +/** + * Int64Rules describes the constraints applied to `int64` values + */ export interface Int64Rules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (number | string | Long); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (number | string | Long); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte'?: (number | string | Long); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt'?: (number | string | Long); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte'?: (number | string | Long); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (number | string | Long)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (number | string | Long)[]; } +/** + * Int64Rules describes the constraints applied to `int64` values + */ export interface Int64Rules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (string); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (string); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte': (string); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt': (string); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte': (string); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (string)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (string)[]; } diff --git a/packages/grpc-js/src/generated/validate/KnownRegex.ts b/packages/grpc-js/src/generated/validate/KnownRegex.ts index 68938449e..5880b5baf 100644 --- a/packages/grpc-js/src/generated/validate/KnownRegex.ts +++ b/packages/grpc-js/src/generated/validate/KnownRegex.ts @@ -1,7 +1,16 @@ // Original file: deps/protoc-gen-validate/validate/validate.proto +/** + * WellKnownRegex contain some well-known patterns. + */ export enum KnownRegex { UNKNOWN = 0, + /** + * HTTP header name as defined by RFC 7230. + */ HTTP_HEADER_NAME = 1, + /** + * HTTP header value as defined by RFC 7230. + */ HTTP_HEADER_VALUE = 2, } diff --git a/packages/grpc-js/src/generated/validate/MapRules.ts b/packages/grpc-js/src/generated/validate/MapRules.ts index 159c9bc07..5ebe1836d 100644 --- a/packages/grpc-js/src/generated/validate/MapRules.ts +++ b/packages/grpc-js/src/generated/validate/MapRules.ts @@ -3,18 +3,64 @@ import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from '../validate/FieldRules'; import { Long } from '@grpc/proto-loader'; +/** + * MapRules describe the constraints applied to `map` values + */ export interface MapRules { + /** + * MinPairs specifies that this field must have the specified number of + * KVs at a minimum + */ 'min_pairs'?: (number | string | Long); + /** + * MaxPairs specifies that this field must have the specified number of + * KVs at a maximum + */ 'max_pairs'?: (number | string | Long); + /** + * NoSparse specifies values in this field cannot be unset. This only + * applies to map's with message value types. + */ 'no_sparse'?: (boolean); + /** + * Keys specifies the constraints to be applied to each key in the field. + */ 'keys'?: (_validate_FieldRules); + /** + * Values specifies the constraints to be applied to the value of each key + * in the field. Message values will still have their validations evaluated + * unless skip is specified here. + */ 'values'?: (_validate_FieldRules); } +/** + * MapRules describe the constraints applied to `map` values + */ export interface MapRules__Output { + /** + * MinPairs specifies that this field must have the specified number of + * KVs at a minimum + */ 'min_pairs': (string); + /** + * MaxPairs specifies that this field must have the specified number of + * KVs at a maximum + */ 'max_pairs': (string); + /** + * NoSparse specifies values in this field cannot be unset. This only + * applies to map's with message value types. + */ 'no_sparse': (boolean); + /** + * Keys specifies the constraints to be applied to each key in the field. + */ 'keys': (_validate_FieldRules__Output); + /** + * Values specifies the constraints to be applied to the value of each key + * in the field. Message values will still have their validations evaluated + * unless skip is specified here. + */ 'values': (_validate_FieldRules__Output); } diff --git a/packages/grpc-js/src/generated/validate/MessageRules.ts b/packages/grpc-js/src/generated/validate/MessageRules.ts index 9229b1940..d22a85c63 100644 --- a/packages/grpc-js/src/generated/validate/MessageRules.ts +++ b/packages/grpc-js/src/generated/validate/MessageRules.ts @@ -1,12 +1,34 @@ // Original file: deps/protoc-gen-validate/validate/validate.proto +/** + * MessageRules describe the constraints applied to embedded message values. + * For message-type fields, validation is performed recursively. + */ export interface MessageRules { + /** + * Skip specifies that the validation rules of this field should not be + * evaluated + */ 'skip'?: (boolean); + /** + * Required specifies that this field must be set + */ 'required'?: (boolean); } +/** + * MessageRules describe the constraints applied to embedded message values. + * For message-type fields, validation is performed recursively. + */ export interface MessageRules__Output { + /** + * Skip specifies that the validation rules of this field should not be + * evaluated + */ 'skip': (boolean); + /** + * Required specifies that this field must be set + */ 'required': (boolean); } diff --git a/packages/grpc-js/src/generated/validate/RepeatedRules.ts b/packages/grpc-js/src/generated/validate/RepeatedRules.ts index 3b41cd1ee..921c80dba 100644 --- a/packages/grpc-js/src/generated/validate/RepeatedRules.ts +++ b/packages/grpc-js/src/generated/validate/RepeatedRules.ts @@ -3,16 +3,58 @@ import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from '../validate/FieldRules'; import { Long } from '@grpc/proto-loader'; +/** + * RepeatedRules describe the constraints applied to `repeated` values + */ export interface RepeatedRules { + /** + * MinItems specifies that this field must have the specified number of + * items at a minimum + */ 'min_items'?: (number | string | Long); + /** + * MaxItems specifies that this field must have the specified number of + * items at a maximum + */ 'max_items'?: (number | string | Long); + /** + * Unique specifies that all elements in this field must be unique. This + * contraint is only applicable to scalar and enum types (messages are not + * supported). + */ 'unique'?: (boolean); + /** + * Items specifies the contraints to be applied to each item in the field. + * Repeated message fields will still execute validation against each item + * unless skip is specified here. + */ 'items'?: (_validate_FieldRules); } +/** + * RepeatedRules describe the constraints applied to `repeated` values + */ export interface RepeatedRules__Output { + /** + * MinItems specifies that this field must have the specified number of + * items at a minimum + */ 'min_items': (string); + /** + * MaxItems specifies that this field must have the specified number of + * items at a maximum + */ 'max_items': (string); + /** + * Unique specifies that all elements in this field must be unique. This + * contraint is only applicable to scalar and enum types (messages are not + * supported). + */ 'unique': (boolean); + /** + * Items specifies the contraints to be applied to each item in the field. + * Repeated message fields will still execute validation against each item + * unless skip is specified here. + */ 'items': (_validate_FieldRules__Output); } diff --git a/packages/grpc-js/src/generated/validate/SFixed32Rules.ts b/packages/grpc-js/src/generated/validate/SFixed32Rules.ts index 55f2e695a..892e8f018 100644 --- a/packages/grpc-js/src/generated/validate/SFixed32Rules.ts +++ b/packages/grpc-js/src/generated/validate/SFixed32Rules.ts @@ -1,22 +1,86 @@ // Original file: deps/protoc-gen-validate/validate/validate.proto +/** + * SFixed32Rules describes the constraints applied to `sfixed32` values + */ export interface SFixed32Rules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (number); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (number); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte'?: (number); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt'?: (number); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte'?: (number); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (number)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (number)[]; } +/** + * SFixed32Rules describes the constraints applied to `sfixed32` values + */ export interface SFixed32Rules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (number); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (number); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte': (number); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt': (number); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte': (number); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (number)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (number)[]; } diff --git a/packages/grpc-js/src/generated/validate/SFixed64Rules.ts b/packages/grpc-js/src/generated/validate/SFixed64Rules.ts index 262d98418..ccd5be954 100644 --- a/packages/grpc-js/src/generated/validate/SFixed64Rules.ts +++ b/packages/grpc-js/src/generated/validate/SFixed64Rules.ts @@ -2,22 +2,86 @@ import { Long } from '@grpc/proto-loader'; +/** + * SFixed64Rules describes the constraints applied to `sfixed64` values + */ export interface SFixed64Rules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (number | string | Long); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (number | string | Long); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte'?: (number | string | Long); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt'?: (number | string | Long); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte'?: (number | string | Long); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (number | string | Long)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (number | string | Long)[]; } +/** + * SFixed64Rules describes the constraints applied to `sfixed64` values + */ export interface SFixed64Rules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (string); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (string); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte': (string); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt': (string); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte': (string); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (string)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (string)[]; } diff --git a/packages/grpc-js/src/generated/validate/SInt32Rules.ts b/packages/grpc-js/src/generated/validate/SInt32Rules.ts index 9acd90794..744d067fc 100644 --- a/packages/grpc-js/src/generated/validate/SInt32Rules.ts +++ b/packages/grpc-js/src/generated/validate/SInt32Rules.ts @@ -1,22 +1,86 @@ // Original file: deps/protoc-gen-validate/validate/validate.proto +/** + * SInt32Rules describes the constraints applied to `sint32` values + */ export interface SInt32Rules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (number); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (number); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte'?: (number); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt'?: (number); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte'?: (number); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (number)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (number)[]; } +/** + * SInt32Rules describes the constraints applied to `sint32` values + */ export interface SInt32Rules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (number); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (number); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte': (number); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt': (number); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte': (number); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (number)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (number)[]; } diff --git a/packages/grpc-js/src/generated/validate/SInt64Rules.ts b/packages/grpc-js/src/generated/validate/SInt64Rules.ts index c85200031..61b3dd35f 100644 --- a/packages/grpc-js/src/generated/validate/SInt64Rules.ts +++ b/packages/grpc-js/src/generated/validate/SInt64Rules.ts @@ -2,22 +2,86 @@ import { Long } from '@grpc/proto-loader'; +/** + * SInt64Rules describes the constraints applied to `sint64` values + */ export interface SInt64Rules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (number | string | Long); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (number | string | Long); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte'?: (number | string | Long); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt'?: (number | string | Long); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte'?: (number | string | Long); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (number | string | Long)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (number | string | Long)[]; } +/** + * SInt64Rules describes the constraints applied to `sint64` values + */ export interface SInt64Rules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (string); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (string); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte': (string); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt': (string); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte': (string); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (string)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (string)[]; } diff --git a/packages/grpc-js/src/generated/validate/StringRules.ts b/packages/grpc-js/src/generated/validate/StringRules.ts index 810697f57..83d0b8e48 100644 --- a/packages/grpc-js/src/generated/validate/StringRules.ts +++ b/packages/grpc-js/src/generated/validate/StringRules.ts @@ -3,60 +3,286 @@ import { KnownRegex as _validate_KnownRegex } from '../validate/KnownRegex'; import { Long } from '@grpc/proto-loader'; +/** + * StringRules describe the constraints applied to `string` values + */ export interface StringRules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (string); + /** + * MinLen specifies that this field must be the specified number of + * characters (Unicode code points) at a minimum. Note that the number of + * characters may differ from the number of bytes in the string. + */ 'min_len'?: (number | string | Long); + /** + * MaxLen specifies that this field must be the specified number of + * characters (Unicode code points) at a maximum. Note that the number of + * characters may differ from the number of bytes in the string. + */ 'max_len'?: (number | string | Long); + /** + * MinBytes specifies that this field must be the specified number of bytes + * at a minimum + */ 'min_bytes'?: (number | string | Long); + /** + * MaxBytes specifies that this field must be the specified number of bytes + * at a maximum + */ 'max_bytes'?: (number | string | Long); + /** + * Pattern specifes that this field must match against the specified + * regular expression (RE2 syntax). The included expression should elide + * any delimiters. + */ 'pattern'?: (string); + /** + * Prefix specifies that this field must have the specified substring at + * the beginning of the string. + */ 'prefix'?: (string); + /** + * Suffix specifies that this field must have the specified substring at + * the end of the string. + */ 'suffix'?: (string); + /** + * Contains specifies that this field must have the specified substring + * anywhere in the string. + */ 'contains'?: (string); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (string)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (string)[]; + /** + * Email specifies that the field must be a valid email address as + * defined by RFC 5322 + */ 'email'?: (boolean); + /** + * Hostname specifies that the field must be a valid hostname as + * defined by RFC 1034. This constraint does not support + * internationalized domain names (IDNs). + */ 'hostname'?: (boolean); + /** + * Ip specifies that the field must be a valid IP (v4 or v6) address. + * Valid IPv6 addresses should not include surrounding square brackets. + */ 'ip'?: (boolean); + /** + * Ipv4 specifies that the field must be a valid IPv4 address. + */ 'ipv4'?: (boolean); + /** + * Ipv6 specifies that the field must be a valid IPv6 address. Valid + * IPv6 addresses should not include surrounding square brackets. + */ 'ipv6'?: (boolean); + /** + * Uri specifies that the field must be a valid, absolute URI as defined + * by RFC 3986 + */ 'uri'?: (boolean); + /** + * UriRef specifies that the field must be a valid URI as defined by RFC + * 3986 and may be relative or absolute. + */ 'uri_ref'?: (boolean); + /** + * Len specifies that this field must be the specified number of + * characters (Unicode code points). Note that the number of + * characters may differ from the number of bytes in the string. + */ 'len'?: (number | string | Long); + /** + * LenBytes specifies that this field must be the specified number of bytes + * at a minimum + */ 'len_bytes'?: (number | string | Long); + /** + * Address specifies that the field must be either a valid hostname as + * defined by RFC 1034 (which does not support internationalized domain + * names or IDNs), or it can be a valid IP (v4 or v6). + */ 'address'?: (boolean); + /** + * Uuid specifies that the field must be a valid UUID as defined by + * RFC 4122 + */ 'uuid'?: (boolean); + /** + * NotContains specifies that this field cannot have the specified substring + * anywhere in the string. + */ 'not_contains'?: (string); + /** + * WellKnownRegex specifies a common well known pattern defined as a regex. + */ 'well_known_regex'?: (_validate_KnownRegex | keyof typeof _validate_KnownRegex); + /** + * This applies to regexes HTTP_HEADER_NAME and HTTP_HEADER_VALUE to enable + * strict header validation. + * By default, this is true, and HTTP header validations are RFC-compliant. + * Setting to false will enable a looser validations that only disallows + * \r\n\0 characters, which can be used to bypass header matching rules. + */ 'strict'?: (boolean); + /** + * WellKnown rules provide advanced constraints against common string + * patterns + */ 'well_known'?: "email"|"hostname"|"ip"|"ipv4"|"ipv6"|"uri"|"uri_ref"|"address"|"uuid"|"well_known_regex"; } +/** + * StringRules describe the constraints applied to `string` values + */ export interface StringRules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (string); + /** + * MinLen specifies that this field must be the specified number of + * characters (Unicode code points) at a minimum. Note that the number of + * characters may differ from the number of bytes in the string. + */ 'min_len': (string); + /** + * MaxLen specifies that this field must be the specified number of + * characters (Unicode code points) at a maximum. Note that the number of + * characters may differ from the number of bytes in the string. + */ 'max_len': (string); + /** + * MinBytes specifies that this field must be the specified number of bytes + * at a minimum + */ 'min_bytes': (string); + /** + * MaxBytes specifies that this field must be the specified number of bytes + * at a maximum + */ 'max_bytes': (string); + /** + * Pattern specifes that this field must match against the specified + * regular expression (RE2 syntax). The included expression should elide + * any delimiters. + */ 'pattern': (string); + /** + * Prefix specifies that this field must have the specified substring at + * the beginning of the string. + */ 'prefix': (string); + /** + * Suffix specifies that this field must have the specified substring at + * the end of the string. + */ 'suffix': (string); + /** + * Contains specifies that this field must have the specified substring + * anywhere in the string. + */ 'contains': (string); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (string)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (string)[]; + /** + * Email specifies that the field must be a valid email address as + * defined by RFC 5322 + */ 'email'?: (boolean); + /** + * Hostname specifies that the field must be a valid hostname as + * defined by RFC 1034. This constraint does not support + * internationalized domain names (IDNs). + */ 'hostname'?: (boolean); + /** + * Ip specifies that the field must be a valid IP (v4 or v6) address. + * Valid IPv6 addresses should not include surrounding square brackets. + */ 'ip'?: (boolean); + /** + * Ipv4 specifies that the field must be a valid IPv4 address. + */ 'ipv4'?: (boolean); + /** + * Ipv6 specifies that the field must be a valid IPv6 address. Valid + * IPv6 addresses should not include surrounding square brackets. + */ 'ipv6'?: (boolean); + /** + * Uri specifies that the field must be a valid, absolute URI as defined + * by RFC 3986 + */ 'uri'?: (boolean); + /** + * UriRef specifies that the field must be a valid URI as defined by RFC + * 3986 and may be relative or absolute. + */ 'uri_ref'?: (boolean); + /** + * Len specifies that this field must be the specified number of + * characters (Unicode code points). Note that the number of + * characters may differ from the number of bytes in the string. + */ 'len': (string); + /** + * LenBytes specifies that this field must be the specified number of bytes + * at a minimum + */ 'len_bytes': (string); + /** + * Address specifies that the field must be either a valid hostname as + * defined by RFC 1034 (which does not support internationalized domain + * names or IDNs), or it can be a valid IP (v4 or v6). + */ 'address'?: (boolean); + /** + * Uuid specifies that the field must be a valid UUID as defined by + * RFC 4122 + */ 'uuid'?: (boolean); + /** + * NotContains specifies that this field cannot have the specified substring + * anywhere in the string. + */ 'not_contains': (string); + /** + * WellKnownRegex specifies a common well known pattern defined as a regex. + */ 'well_known_regex'?: (keyof typeof _validate_KnownRegex); + /** + * This applies to regexes HTTP_HEADER_NAME and HTTP_HEADER_VALUE to enable + * strict header validation. + * By default, this is true, and HTTP header validations are RFC-compliant. + * Setting to false will enable a looser validations that only disallows + * \r\n\0 characters, which can be used to bypass header matching rules. + */ 'strict': (boolean); + /** + * WellKnown rules provide advanced constraints against common string + * patterns + */ 'well_known': "email"|"hostname"|"ip"|"ipv4"|"ipv6"|"uri"|"uri_ref"|"address"|"uuid"|"well_known_regex"; } diff --git a/packages/grpc-js/src/generated/validate/TimestampRules.ts b/packages/grpc-js/src/generated/validate/TimestampRules.ts index 63a6ba4f2..598e05770 100644 --- a/packages/grpc-js/src/generated/validate/TimestampRules.ts +++ b/packages/grpc-js/src/generated/validate/TimestampRules.ts @@ -3,26 +3,104 @@ import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../google/protobuf/Timestamp'; import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../google/protobuf/Duration'; +/** + * TimestampRules describe the constraints applied exclusively to the + * `google.protobuf.Timestamp` well-known type + */ export interface TimestampRules { + /** + * Required specifies that this field must be set + */ 'required'?: (boolean); + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (_google_protobuf_Timestamp); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (_google_protobuf_Timestamp); + /** + * Lte specifies that this field must be less than the specified value, + * inclusive + */ 'lte'?: (_google_protobuf_Timestamp); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive + */ 'gt'?: (_google_protobuf_Timestamp); + /** + * Gte specifies that this field must be greater than the specified value, + * inclusive + */ 'gte'?: (_google_protobuf_Timestamp); + /** + * LtNow specifies that this must be less than the current time. LtNow + * can only be used with the Within rule. + */ 'lt_now'?: (boolean); + /** + * GtNow specifies that this must be greater than the current time. GtNow + * can only be used with the Within rule. + */ 'gt_now'?: (boolean); + /** + * Within specifies that this field must be within this duration of the + * current time. This constraint can be used alone or with the LtNow and + * GtNow rules. + */ 'within'?: (_google_protobuf_Duration); } +/** + * TimestampRules describe the constraints applied exclusively to the + * `google.protobuf.Timestamp` well-known type + */ export interface TimestampRules__Output { + /** + * Required specifies that this field must be set + */ 'required': (boolean); + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (_google_protobuf_Timestamp__Output); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (_google_protobuf_Timestamp__Output); + /** + * Lte specifies that this field must be less than the specified value, + * inclusive + */ 'lte': (_google_protobuf_Timestamp__Output); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive + */ 'gt': (_google_protobuf_Timestamp__Output); + /** + * Gte specifies that this field must be greater than the specified value, + * inclusive + */ 'gte': (_google_protobuf_Timestamp__Output); + /** + * LtNow specifies that this must be less than the current time. LtNow + * can only be used with the Within rule. + */ 'lt_now': (boolean); + /** + * GtNow specifies that this must be greater than the current time. GtNow + * can only be used with the Within rule. + */ 'gt_now': (boolean); + /** + * Within specifies that this field must be within this duration of the + * current time. This constraint can be used alone or with the LtNow and + * GtNow rules. + */ 'within': (_google_protobuf_Duration__Output); } diff --git a/packages/grpc-js/src/generated/validate/UInt32Rules.ts b/packages/grpc-js/src/generated/validate/UInt32Rules.ts index bc12fe5ce..61873da2f 100644 --- a/packages/grpc-js/src/generated/validate/UInt32Rules.ts +++ b/packages/grpc-js/src/generated/validate/UInt32Rules.ts @@ -1,22 +1,86 @@ // Original file: deps/protoc-gen-validate/validate/validate.proto +/** + * UInt32Rules describes the constraints applied to `uint32` values + */ export interface UInt32Rules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (number); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (number); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte'?: (number); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt'?: (number); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte'?: (number); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (number)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (number)[]; } +/** + * UInt32Rules describes the constraints applied to `uint32` values + */ export interface UInt32Rules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (number); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (number); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte': (number); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt': (number); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte': (number); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (number)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (number)[]; } diff --git a/packages/grpc-js/src/generated/validate/UInt64Rules.ts b/packages/grpc-js/src/generated/validate/UInt64Rules.ts index 3c8a81ce9..263431ad7 100644 --- a/packages/grpc-js/src/generated/validate/UInt64Rules.ts +++ b/packages/grpc-js/src/generated/validate/UInt64Rules.ts @@ -2,22 +2,86 @@ import { Long } from '@grpc/proto-loader'; +/** + * UInt64Rules describes the constraints applied to `uint64` values + */ export interface UInt64Rules { + /** + * Const specifies that this field must be exactly the specified value + */ 'const'?: (number | string | Long); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt'?: (number | string | Long); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte'?: (number | string | Long); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt'?: (number | string | Long); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte'?: (number | string | Long); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in'?: (number | string | Long)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in'?: (number | string | Long)[]; } +/** + * UInt64Rules describes the constraints applied to `uint64` values + */ export interface UInt64Rules__Output { + /** + * Const specifies that this field must be exactly the specified value + */ 'const': (string); + /** + * Lt specifies that this field must be less than the specified value, + * exclusive + */ 'lt': (string); + /** + * Lte specifies that this field must be less than or equal to the + * specified value, inclusive + */ 'lte': (string); + /** + * Gt specifies that this field must be greater than the specified value, + * exclusive. If the value of Gt is larger than a specified Lt or Lte, the + * range is reversed. + */ 'gt': (string); + /** + * Gte specifies that this field must be greater than or equal to the + * specified value, inclusive. If the value of Gte is larger than a + * specified Lt or Lte, the range is reversed. + */ 'gte': (string); + /** + * In specifies that this field must be equal to one of the specified + * values + */ 'in': (string)[]; + /** + * NotIn specifies that this field cannot be equal to one of the specified + * values + */ 'not_in': (string)[]; } From f91c837058af8cabba396cfd589ab53ded7743ce Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Mon, 13 Jul 2020 13:02:47 -0700 Subject: [PATCH 13/19] Update generated code with separate service files --- packages/grpc-js/package.json | 2 +- packages/grpc-js/src/generated/ads.ts | 1411 +------- packages/grpc-js/src/generated/cluster.ts | 2604 -------------- packages/grpc-js/src/generated/endpoint.ts | 2099 ----------- .../src/generated/envoy/api/v2/Cluster.ts | 182 +- .../envoy/api/v2/ClusterLoadAssignment.ts | 56 +- .../src/generated/envoy/api/v2/Listener.ts | 44 +- .../envoy/api/v2/cluster/CircuitBreakers.ts | 72 +- .../envoy/api/v2/core/GrpcService.ts | 334 +- .../envoy/api/v2/core/HealthCheck.ts | 4 +- .../envoy/api/v2/route/RouteAction.ts | 224 +- .../v2/AggregatedDiscoveryService.ts | 52 + packages/grpc-js/src/generated/listener.ts | 3179 ----------------- packages/grpc-js/src/generated/route.ts | 2026 ----------- packages/grpc-js/src/xds-bootstrap.ts | 14 +- packages/grpc-js/src/xds-client.ts | 32 +- 16 files changed, 539 insertions(+), 11796 deletions(-) create mode 100644 packages/grpc-js/src/generated/envoy/service/discovery/v2/AggregatedDiscoveryService.ts diff --git a/packages/grpc-js/package.json b/packages/grpc-js/package.json index e1b380ba1..7080270e2 100644 --- a/packages/grpc-js/package.json +++ b/packages/grpc-js/package.json @@ -47,7 +47,7 @@ "clean": "node -e 'require(\"rimraf\")(\"./build\", () => {})'", "compile": "tsc -p .", "format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts", - "generate-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --json --generateComments --includeDirs deps/envoy-api/ deps/udpa/ deps/googleapis/ deps/protoc-gen-validate/ -O src/generated/ --grpcLib ../index envoy/service/discovery/v2/ads.proto envoy/api/v2/listener.proto envoy/api/v2/route.proto envoy/api/v2/cluster.proto envoy/api/v2/endpoint.proto", + "generate-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --json --includeComments --includeDirs deps/envoy-api/ deps/udpa/ deps/googleapis/ deps/protoc-gen-validate/ -O src/generated/ --grpcLib ../index envoy/service/discovery/v2/ads.proto envoy/api/v2/listener.proto envoy/api/v2/route.proto envoy/api/v2/cluster.proto envoy/api/v2/endpoint.proto", "lint": "npm run check", "prepare": "npm run compile", "test": "gulp test", diff --git a/packages/grpc-js/src/generated/ads.ts b/packages/grpc-js/src/generated/ads.ts index 369b6b8c1..a33270cc6 100644 --- a/packages/grpc-js/src/generated/ads.ts +++ b/packages/grpc-js/src/generated/ads.ts @@ -1,1159 +1,7 @@ import * as grpc from '../index'; import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; -import { DeltaDiscoveryRequest as _envoy_api_v2_DeltaDiscoveryRequest, DeltaDiscoveryRequest__Output as _envoy_api_v2_DeltaDiscoveryRequest__Output } from './envoy/api/v2/DeltaDiscoveryRequest'; -import { DeltaDiscoveryResponse as _envoy_api_v2_DeltaDiscoveryResponse, DeltaDiscoveryResponse__Output as _envoy_api_v2_DeltaDiscoveryResponse__Output } from './envoy/api/v2/DeltaDiscoveryResponse'; -import { DiscoveryRequest as _envoy_api_v2_DiscoveryRequest, DiscoveryRequest__Output as _envoy_api_v2_DiscoveryRequest__Output } from './envoy/api/v2/DiscoveryRequest'; -import { DiscoveryResponse as _envoy_api_v2_DiscoveryResponse, DiscoveryResponse__Output as _envoy_api_v2_DiscoveryResponse__Output } from './envoy/api/v2/DiscoveryResponse'; -import { Resource as _envoy_api_v2_Resource, Resource__Output as _envoy_api_v2_Resource__Output } from './envoy/api/v2/Resource'; -import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; -import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; -import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; -import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; -import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; -import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; -import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; -import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; -import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; -import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; -import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; -import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; -import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; -import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; -import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; -import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; -import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; -import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; -import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; -import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; -import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; -import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; -import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; -import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; -import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; -import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; -import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; -import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; -import { AdsDummy as _envoy_service_discovery_v2_AdsDummy, AdsDummy__Output as _envoy_service_discovery_v2_AdsDummy__Output } from './envoy/service/discovery/v2/AdsDummy'; -import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; -import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; -import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; -import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; -import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; -import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; -import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; -import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; -import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; -import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; -import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; -import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; -import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; -import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; -import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; -import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; -import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; -import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; -import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; -import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; -import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; -import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; -import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; -import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; -import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; -import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; -import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; -import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; -import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; -import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; -import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; -import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; -import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; -import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; -import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; -import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; -import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; -import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; -import { Status as _google_rpc_Status, Status__Output as _google_rpc_Status__Output } from './google/rpc/Status'; -import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; -import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; -import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; -import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; -import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; -import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; -import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; -import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; -import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; -import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; -import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; -import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; -import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; -import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; -import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; -import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; -import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; -import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; -import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; -import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; -import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; -import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; -import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; -import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; -import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; -import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; -import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; -import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; -import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; - -export namespace messages { - export namespace envoy { - export namespace api { - export namespace v2 { - /** - * DeltaDiscoveryRequest and DeltaDiscoveryResponse are used in a new gRPC - * endpoint for Delta xDS. - * - * With Delta xDS, the DeltaDiscoveryResponses do not need to include a full - * snapshot of the tracked resources. Instead, DeltaDiscoveryResponses are a - * diff to the state of a xDS client. - * In Delta XDS there are per-resource versions, which allow tracking state at - * the resource granularity. - * An xDS Delta session is always in the context of a gRPC bidirectional - * stream. This allows the xDS server to keep track of the state of xDS clients - * connected to it. - * - * In Delta xDS the nonce field is required and used to pair - * DeltaDiscoveryResponse to a DeltaDiscoveryRequest ACK or NACK. - * Optionally, a response message level system_version_info is present for - * debugging purposes only. - * - * DeltaDiscoveryRequest plays two independent roles. Any DeltaDiscoveryRequest - * can be either or both of: [1] informing the server of what resources the - * client has gained/lost interest in (using resource_names_subscribe and - * resource_names_unsubscribe), or [2] (N)ACKing an earlier resource update from - * the server (using response_nonce, with presence of error_detail making it a NACK). - * Additionally, the first message (for a given type_url) of a reconnected gRPC stream - * has a third role: informing the server of the resources (and their versions) - * that the client already possesses, using the initial_resource_versions field. - * - * As with state-of-the-world, when multiple resource types are multiplexed (ADS), - * all requests/acknowledgments/updates are logically walled off by type_url: - * a Cluster ACK exists in a completely separate world from a prior Route NACK. - * In particular, initial_resource_versions being sent at the "start" of every - * gRPC stream actually entails a message for each type_url, each with its own - * initial_resource_versions. - * [#next-free-field: 8] - */ - export type DeltaDiscoveryRequest = _envoy_api_v2_DeltaDiscoveryRequest; - /** - * DeltaDiscoveryRequest and DeltaDiscoveryResponse are used in a new gRPC - * endpoint for Delta xDS. - * - * With Delta xDS, the DeltaDiscoveryResponses do not need to include a full - * snapshot of the tracked resources. Instead, DeltaDiscoveryResponses are a - * diff to the state of a xDS client. - * In Delta XDS there are per-resource versions, which allow tracking state at - * the resource granularity. - * An xDS Delta session is always in the context of a gRPC bidirectional - * stream. This allows the xDS server to keep track of the state of xDS clients - * connected to it. - * - * In Delta xDS the nonce field is required and used to pair - * DeltaDiscoveryResponse to a DeltaDiscoveryRequest ACK or NACK. - * Optionally, a response message level system_version_info is present for - * debugging purposes only. - * - * DeltaDiscoveryRequest plays two independent roles. Any DeltaDiscoveryRequest - * can be either or both of: [1] informing the server of what resources the - * client has gained/lost interest in (using resource_names_subscribe and - * resource_names_unsubscribe), or [2] (N)ACKing an earlier resource update from - * the server (using response_nonce, with presence of error_detail making it a NACK). - * Additionally, the first message (for a given type_url) of a reconnected gRPC stream - * has a third role: informing the server of the resources (and their versions) - * that the client already possesses, using the initial_resource_versions field. - * - * As with state-of-the-world, when multiple resource types are multiplexed (ADS), - * all requests/acknowledgments/updates are logically walled off by type_url: - * a Cluster ACK exists in a completely separate world from a prior Route NACK. - * In particular, initial_resource_versions being sent at the "start" of every - * gRPC stream actually entails a message for each type_url, each with its own - * initial_resource_versions. - * [#next-free-field: 8] - */ - export type DeltaDiscoveryRequest__Output = _envoy_api_v2_DeltaDiscoveryRequest__Output; - /** - * [#next-free-field: 7] - */ - export type DeltaDiscoveryResponse = _envoy_api_v2_DeltaDiscoveryResponse; - /** - * [#next-free-field: 7] - */ - export type DeltaDiscoveryResponse__Output = _envoy_api_v2_DeltaDiscoveryResponse__Output; - /** - * A DiscoveryRequest requests a set of versioned resources of the same type for - * a given Envoy node on some API. - * [#next-free-field: 7] - */ - export type DiscoveryRequest = _envoy_api_v2_DiscoveryRequest; - /** - * A DiscoveryRequest requests a set of versioned resources of the same type for - * a given Envoy node on some API. - * [#next-free-field: 7] - */ - export type DiscoveryRequest__Output = _envoy_api_v2_DiscoveryRequest__Output; - /** - * [#next-free-field: 7] - */ - export type DiscoveryResponse = _envoy_api_v2_DiscoveryResponse; - /** - * [#next-free-field: 7] - */ - export type DiscoveryResponse__Output = _envoy_api_v2_DiscoveryResponse__Output; - export type Resource = _envoy_api_v2_Resource; - export type Resource__Output = _envoy_api_v2_Resource__Output; - export namespace core { - /** - * Addresses specify either a logical or physical address and port, which are - * used to tell Envoy where to bind/listen, connect to upstream and find - * management servers. - */ - export type Address = _envoy_api_v2_core_Address; - /** - * Addresses specify either a logical or physical address and port, which are - * used to tell Envoy where to bind/listen, connect to upstream and find - * management servers. - */ - export type Address__Output = _envoy_api_v2_core_Address__Output; - /** - * Async data source which support async data fetch. - */ - export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; - /** - * Async data source which support async data fetch. - */ - export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; - /** - * Configuration defining a jittered exponential back off strategy. - */ - export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; - /** - * Configuration defining a jittered exponential back off strategy. - */ - export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; - export type BindConfig = _envoy_api_v2_core_BindConfig; - export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; - /** - * BuildVersion combines SemVer version of extension with free-form build information - * (i.e. 'alpha', 'private-build') as a set of strings. - */ - export type BuildVersion = _envoy_api_v2_core_BuildVersion; - /** - * BuildVersion combines SemVer version of extension with free-form build information - * (i.e. 'alpha', 'private-build') as a set of strings. - */ - export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; - /** - * CidrRange specifies an IP Address and a prefix length to construct - * the subnet mask for a `CIDR `_ range. - */ - export type CidrRange = _envoy_api_v2_core_CidrRange; - /** - * CidrRange specifies an IP Address and a prefix length to construct - * the subnet mask for a `CIDR `_ range. - */ - export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; - /** - * Identifies a specific ControlPlane instance that Envoy is connected to. - */ - export type ControlPlane = _envoy_api_v2_core_ControlPlane; - /** - * Identifies a specific ControlPlane instance that Envoy is connected to. - */ - export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - /** - * Data source consisting of either a file or an inline value. - */ - export type DataSource = _envoy_api_v2_core_DataSource; - /** - * Data source consisting of either a file or an inline value. - */ - export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; - /** - * Version and identification for an Envoy extension. - * [#next-free-field: 6] - */ - export type Extension = _envoy_api_v2_core_Extension; - /** - * Version and identification for an Envoy extension. - * [#next-free-field: 6] - */ - export type Extension__Output = _envoy_api_v2_core_Extension__Output; - /** - * Wrapper for a set of headers. - */ - export type HeaderMap = _envoy_api_v2_core_HeaderMap; - /** - * Wrapper for a set of headers. - */ - export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; - /** - * Header name/value pair. - */ - export type HeaderValue = _envoy_api_v2_core_HeaderValue; - /** - * Header name/value pair. - */ - export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; - /** - * Header name/value pair plus option to control append behavior. - */ - export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; - /** - * Header name/value pair plus option to control append behavior. - */ - export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; - /** - * Envoy external URI descriptor - */ - export type HttpUri = _envoy_api_v2_core_HttpUri; - /** - * Envoy external URI descriptor - */ - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; - /** - * Identifies location of where either Envoy runs or where upstream hosts run. - */ - export type Locality = _envoy_api_v2_core_Locality; - /** - * Identifies location of where either Envoy runs or where upstream hosts run. - */ - export type Locality__Output = _envoy_api_v2_core_Locality__Output; - /** - * Metadata provides additional inputs to filters based on matched listeners, - * filter chains, routes and endpoints. It is structured as a map, usually from - * filter name (in reverse DNS format) to metadata specific to the filter. Metadata - * key-values for a filter are merged as connection and request handling occurs, - * with later values for the same key overriding earlier values. - * - * An example use of metadata is providing additional values to - * http_connection_manager in the envoy.http_connection_manager.access_log - * namespace. - * - * Another example use of metadata is to per service config info in cluster metadata, which may get - * consumed by multiple filters. - * - * For load balancing, Metadata provides a means to subset cluster endpoints. - * Endpoints have a Metadata object associated and routes contain a Metadata - * object to match against. There are some well defined metadata used today for - * this purpose: - * - * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an - * endpoint and is also used during header processing - * (x-envoy-upstream-canary) and for stats purposes. - * [#next-major-version: move to type/metadata/v2] - */ - export type Metadata = _envoy_api_v2_core_Metadata; - /** - * Metadata provides additional inputs to filters based on matched listeners, - * filter chains, routes and endpoints. It is structured as a map, usually from - * filter name (in reverse DNS format) to metadata specific to the filter. Metadata - * key-values for a filter are merged as connection and request handling occurs, - * with later values for the same key overriding earlier values. - * - * An example use of metadata is providing additional values to - * http_connection_manager in the envoy.http_connection_manager.access_log - * namespace. - * - * Another example use of metadata is to per service config info in cluster metadata, which may get - * consumed by multiple filters. - * - * For load balancing, Metadata provides a means to subset cluster endpoints. - * Endpoints have a Metadata object associated and routes contain a Metadata - * object to match against. There are some well defined metadata used today for - * this purpose: - * - * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an - * endpoint and is also used during header processing - * (x-envoy-upstream-canary) and for stats purposes. - * [#next-major-version: move to type/metadata/v2] - */ - export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; - /** - * Identifies a specific Envoy instance. The node identifier is presented to the - * management server, which may use this identifier to distinguish per Envoy - * configuration for serving. - * [#next-free-field: 12] - */ - export type Node = _envoy_api_v2_core_Node; - /** - * Identifies a specific Envoy instance. The node identifier is presented to the - * management server, which may use this identifier to distinguish per Envoy - * configuration for serving. - * [#next-free-field: 12] - */ - export type Node__Output = _envoy_api_v2_core_Node__Output; - export type Pipe = _envoy_api_v2_core_Pipe; - export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; - /** - * The message specifies how to fetch data from remote and how to verify it. - */ - export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; - /** - * The message specifies how to fetch data from remote and how to verify it. - */ - export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; - /** - * HTTP request method. - */ - export type RequestMethod = _envoy_api_v2_core_RequestMethod; - /** - * The message specifies the retry policy of remote data source when fetching fails. - */ - export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; - /** - * The message specifies the retry policy of remote data source when fetching fails. - */ - export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; - /** - * Envoy supports :ref:`upstream priority routing - * ` both at the route and the virtual - * cluster level. The current priority implementation uses different connection - * pool and circuit breaking settings for each priority level. This means that - * even for HTTP/2 requests, two physical connections will be used to an - * upstream host. In the future Envoy will likely support true HTTP/2 priority - * over a single upstream connection. - */ - export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; - /** - * Runtime derived double with a default when not specified. - */ - export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; - /** - * Runtime derived double with a default when not specified. - */ - export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; - /** - * Runtime derived bool with a default when not specified. - */ - export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; - /** - * Runtime derived bool with a default when not specified. - */ - export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; - /** - * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not - * specified via a runtime key. - * - * .. note:: - * - * Parsing of the runtime key's data is implemented such that it may be represented as a - * :ref:`FractionalPercent ` proto represented as JSON/YAML - * and may also be represented as an integer with the assumption that the value is an integral - * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse - * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. - */ - export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; - /** - * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not - * specified via a runtime key. - * - * .. note:: - * - * Parsing of the runtime key's data is implemented such that it may be represented as a - * :ref:`FractionalPercent ` proto represented as JSON/YAML - * and may also be represented as an integer with the assumption that the value is an integral - * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse - * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. - */ - export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; - /** - * Runtime derived uint32 with a default when not specified. - */ - export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; - /** - * Runtime derived uint32 with a default when not specified. - */ - export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; - /** - * [#next-free-field: 7] - */ - export type SocketAddress = _envoy_api_v2_core_SocketAddress; - /** - * [#next-free-field: 7] - */ - export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; - /** - * Generic socket option message. This would be used to set socket options that - * might not exist in upstream kernels or precompiled Envoy binaries. - * [#next-free-field: 7] - */ - export type SocketOption = _envoy_api_v2_core_SocketOption; - /** - * Generic socket option message. This would be used to set socket options that - * might not exist in upstream kernels or precompiled Envoy binaries. - * [#next-free-field: 7] - */ - export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; - export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; - export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; - /** - * Identifies the direction of the traffic relative to the local Envoy. - */ - export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; - /** - * Configuration for transport socket in :ref:`listeners ` and - * :ref:`clusters `. If the configuration is - * empty, a default transport socket implementation and configuration will be - * chosen based on the platform and existence of tls_context. - */ - export type TransportSocket = _envoy_api_v2_core_TransportSocket; - /** - * Configuration for transport socket in :ref:`listeners ` and - * :ref:`clusters `. If the configuration is - * empty, a default transport socket implementation and configuration will be - * chosen based on the platform and existence of tls_context. - */ - export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; - } - } - } - export namespace service { - export namespace discovery { - export namespace v2 { - /** - * [#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing - * services: https://github.com/google/protobuf/issues/4221 - */ - export type AdsDummy = _envoy_service_discovery_v2_AdsDummy; - /** - * [#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing - * services: https://github.com/google/protobuf/issues/4221 - */ - export type AdsDummy__Output = _envoy_service_discovery_v2_AdsDummy__Output; - export namespace AggregatedDiscoveryService { - } - } - } - } - export namespace type { - /** - * A fractional percentage is used in cases in which for performance reasons performing floating - * point to integer conversions during randomness calculations is undesirable. The message includes - * both a numerator and denominator that together determine the final fractional value. - * - * * **Example**: 1/100 = 1%. - * * **Example**: 3/10000 = 0.03%. - */ - export type FractionalPercent = _envoy_type_FractionalPercent; - /** - * A fractional percentage is used in cases in which for performance reasons performing floating - * point to integer conversions during randomness calculations is undesirable. The message includes - * both a numerator and denominator that together determine the final fractional value. - * - * * **Example**: 1/100 = 1%. - * * **Example**: 3/10000 = 0.03%. - */ - export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; - /** - * Identifies a percentage, in the range [0.0, 100.0]. - */ - export type Percent = _envoy_type_Percent; - /** - * Identifies a percentage, in the range [0.0, 100.0]. - */ - export type Percent__Output = _envoy_type_Percent__Output; - /** - * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate - * expected behaviors and APIs, the patch version field is used only - * for security fixes and can be generally ignored. - */ - export type SemanticVersion = _envoy_type_SemanticVersion; - /** - * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate - * expected behaviors and APIs, the patch version field is used only - * for security fixes and can be generally ignored. - */ - export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; - } - } - export namespace google { - export namespace protobuf { - export type Any = _google_protobuf_Any; - export type Any__Output = _google_protobuf_Any__Output; - export type BoolValue = _google_protobuf_BoolValue; - export type BoolValue__Output = _google_protobuf_BoolValue__Output; - export type BytesValue = _google_protobuf_BytesValue; - export type BytesValue__Output = _google_protobuf_BytesValue__Output; - export type DescriptorProto = _google_protobuf_DescriptorProto; - export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; - export type DoubleValue = _google_protobuf_DoubleValue; - export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; - export type Duration = _google_protobuf_Duration; - export type Duration__Output = _google_protobuf_Duration__Output; - export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; - export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; - export type EnumOptions = _google_protobuf_EnumOptions; - export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; - export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; - export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; - export type EnumValueOptions = _google_protobuf_EnumValueOptions; - export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; - export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; - export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; - export type FieldOptions = _google_protobuf_FieldOptions; - export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; - export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; - export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; - export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; - export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; - export type FileOptions = _google_protobuf_FileOptions; - export type FileOptions__Output = _google_protobuf_FileOptions__Output; - export type FloatValue = _google_protobuf_FloatValue; - export type FloatValue__Output = _google_protobuf_FloatValue__Output; - export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; - export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; - export type Int32Value = _google_protobuf_Int32Value; - export type Int32Value__Output = _google_protobuf_Int32Value__Output; - export type Int64Value = _google_protobuf_Int64Value; - export type Int64Value__Output = _google_protobuf_Int64Value__Output; - export type ListValue = _google_protobuf_ListValue; - export type ListValue__Output = _google_protobuf_ListValue__Output; - export type MessageOptions = _google_protobuf_MessageOptions; - export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; - export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; - export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; - export type MethodOptions = _google_protobuf_MethodOptions; - export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; - export type NullValue = _google_protobuf_NullValue; - export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; - export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; - export type OneofOptions = _google_protobuf_OneofOptions; - export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; - export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; - export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; - export type ServiceOptions = _google_protobuf_ServiceOptions; - export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; - export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; - export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; - export type StringValue = _google_protobuf_StringValue; - export type StringValue__Output = _google_protobuf_StringValue__Output; - export type Struct = _google_protobuf_Struct; - export type Struct__Output = _google_protobuf_Struct__Output; - export type Timestamp = _google_protobuf_Timestamp; - export type Timestamp__Output = _google_protobuf_Timestamp__Output; - export type UInt32Value = _google_protobuf_UInt32Value; - export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; - export type UInt64Value = _google_protobuf_UInt64Value; - export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; - export type UninterpretedOption = _google_protobuf_UninterpretedOption; - export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; - export type Value = _google_protobuf_Value; - export type Value__Output = _google_protobuf_Value__Output; - } - export namespace rpc { - /** - * The `Status` type defines a logical error model that is suitable for - * different programming environments, including REST APIs and RPC APIs. It is - * used by [gRPC](https://github.com/grpc). Each `Status` message contains - * three pieces of data: error code, error message, and error details. - * - * You can find out more about this error model and how to work with it in the - * [API Design Guide](https://cloud.google.com/apis/design/errors). - */ - export type Status = _google_rpc_Status; - /** - * The `Status` type defines a logical error model that is suitable for - * different programming environments, including REST APIs and RPC APIs. It is - * used by [gRPC](https://github.com/grpc). Each `Status` message contains - * three pieces of data: error code, error message, and error details. - * - * You can find out more about this error model and how to work with it in the - * [API Design Guide](https://cloud.google.com/apis/design/errors). - */ - export type Status__Output = _google_rpc_Status__Output; - } - } - export namespace udpa { - export namespace annotations { - export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; - export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; - export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; - export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; - export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; - export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; - export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; - export type StatusAnnotation = _udpa_annotations_StatusAnnotation; - export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; - } - } - export namespace validate { - /** - * AnyRules describe constraints applied exclusively to the - * `google.protobuf.Any` well-known type - */ - export type AnyRules = _validate_AnyRules; - /** - * AnyRules describe constraints applied exclusively to the - * `google.protobuf.Any` well-known type - */ - export type AnyRules__Output = _validate_AnyRules__Output; - /** - * BoolRules describes the constraints applied to `bool` values - */ - export type BoolRules = _validate_BoolRules; - /** - * BoolRules describes the constraints applied to `bool` values - */ - export type BoolRules__Output = _validate_BoolRules__Output; - /** - * BytesRules describe the constraints applied to `bytes` values - */ - export type BytesRules = _validate_BytesRules; - /** - * BytesRules describe the constraints applied to `bytes` values - */ - export type BytesRules__Output = _validate_BytesRules__Output; - /** - * DoubleRules describes the constraints applied to `double` values - */ - export type DoubleRules = _validate_DoubleRules; - /** - * DoubleRules describes the constraints applied to `double` values - */ - export type DoubleRules__Output = _validate_DoubleRules__Output; - /** - * DurationRules describe the constraints applied exclusively to the - * `google.protobuf.Duration` well-known type - */ - export type DurationRules = _validate_DurationRules; - /** - * DurationRules describe the constraints applied exclusively to the - * `google.protobuf.Duration` well-known type - */ - export type DurationRules__Output = _validate_DurationRules__Output; - /** - * EnumRules describe the constraints applied to enum values - */ - export type EnumRules = _validate_EnumRules; - /** - * EnumRules describe the constraints applied to enum values - */ - export type EnumRules__Output = _validate_EnumRules__Output; - /** - * FieldRules encapsulates the rules for each type of field. Depending on the - * field, the correct set should be used to ensure proper validations. - */ - export type FieldRules = _validate_FieldRules; - /** - * FieldRules encapsulates the rules for each type of field. Depending on the - * field, the correct set should be used to ensure proper validations. - */ - export type FieldRules__Output = _validate_FieldRules__Output; - /** - * Fixed32Rules describes the constraints applied to `fixed32` values - */ - export type Fixed32Rules = _validate_Fixed32Rules; - /** - * Fixed32Rules describes the constraints applied to `fixed32` values - */ - export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; - /** - * Fixed64Rules describes the constraints applied to `fixed64` values - */ - export type Fixed64Rules = _validate_Fixed64Rules; - /** - * Fixed64Rules describes the constraints applied to `fixed64` values - */ - export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; - /** - * FloatRules describes the constraints applied to `float` values - */ - export type FloatRules = _validate_FloatRules; - /** - * FloatRules describes the constraints applied to `float` values - */ - export type FloatRules__Output = _validate_FloatRules__Output; - /** - * Int32Rules describes the constraints applied to `int32` values - */ - export type Int32Rules = _validate_Int32Rules; - /** - * Int32Rules describes the constraints applied to `int32` values - */ - export type Int32Rules__Output = _validate_Int32Rules__Output; - /** - * Int64Rules describes the constraints applied to `int64` values - */ - export type Int64Rules = _validate_Int64Rules; - /** - * Int64Rules describes the constraints applied to `int64` values - */ - export type Int64Rules__Output = _validate_Int64Rules__Output; - /** - * WellKnownRegex contain some well-known patterns. - */ - export type KnownRegex = _validate_KnownRegex; - /** - * MapRules describe the constraints applied to `map` values - */ - export type MapRules = _validate_MapRules; - /** - * MapRules describe the constraints applied to `map` values - */ - export type MapRules__Output = _validate_MapRules__Output; - /** - * MessageRules describe the constraints applied to embedded message values. - * For message-type fields, validation is performed recursively. - */ - export type MessageRules = _validate_MessageRules; - /** - * MessageRules describe the constraints applied to embedded message values. - * For message-type fields, validation is performed recursively. - */ - export type MessageRules__Output = _validate_MessageRules__Output; - /** - * RepeatedRules describe the constraints applied to `repeated` values - */ - export type RepeatedRules = _validate_RepeatedRules; - /** - * RepeatedRules describe the constraints applied to `repeated` values - */ - export type RepeatedRules__Output = _validate_RepeatedRules__Output; - /** - * SFixed32Rules describes the constraints applied to `sfixed32` values - */ - export type SFixed32Rules = _validate_SFixed32Rules; - /** - * SFixed32Rules describes the constraints applied to `sfixed32` values - */ - export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; - /** - * SFixed64Rules describes the constraints applied to `sfixed64` values - */ - export type SFixed64Rules = _validate_SFixed64Rules; - /** - * SFixed64Rules describes the constraints applied to `sfixed64` values - */ - export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; - /** - * SInt32Rules describes the constraints applied to `sint32` values - */ - export type SInt32Rules = _validate_SInt32Rules; - /** - * SInt32Rules describes the constraints applied to `sint32` values - */ - export type SInt32Rules__Output = _validate_SInt32Rules__Output; - /** - * SInt64Rules describes the constraints applied to `sint64` values - */ - export type SInt64Rules = _validate_SInt64Rules; - /** - * SInt64Rules describes the constraints applied to `sint64` values - */ - export type SInt64Rules__Output = _validate_SInt64Rules__Output; - /** - * StringRules describe the constraints applied to `string` values - */ - export type StringRules = _validate_StringRules; - /** - * StringRules describe the constraints applied to `string` values - */ - export type StringRules__Output = _validate_StringRules__Output; - /** - * TimestampRules describe the constraints applied exclusively to the - * `google.protobuf.Timestamp` well-known type - */ - export type TimestampRules = _validate_TimestampRules; - /** - * TimestampRules describe the constraints applied exclusively to the - * `google.protobuf.Timestamp` well-known type - */ - export type TimestampRules__Output = _validate_TimestampRules__Output; - /** - * UInt32Rules describes the constraints applied to `uint32` values - */ - export type UInt32Rules = _validate_UInt32Rules; - /** - * UInt32Rules describes the constraints applied to `uint32` values - */ - export type UInt32Rules__Output = _validate_UInt32Rules__Output; - /** - * UInt64Rules describes the constraints applied to `uint64` values - */ - export type UInt64Rules = _validate_UInt64Rules; - /** - * UInt64Rules describes the constraints applied to `uint64` values - */ - export type UInt64Rules__Output = _validate_UInt64Rules__Output; - } -} - -export namespace ClientInterfaces { - export namespace envoy { - export namespace api { - export namespace v2 { - export namespace DeltaDiscoveryRequest { - } - export namespace DeltaDiscoveryResponse { - } - export namespace DiscoveryRequest { - } - export namespace DiscoveryResponse { - } - export namespace Resource { - } - export namespace core { - export namespace Address { - } - export namespace AsyncDataSource { - } - export namespace BackoffStrategy { - } - export namespace BindConfig { - } - export namespace BuildVersion { - } - export namespace CidrRange { - } - export namespace ControlPlane { - } - export namespace DataSource { - } - export namespace Extension { - } - export namespace HeaderMap { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { - } - export namespace HttpUri { - } - export namespace Locality { - } - export namespace Metadata { - } - export namespace Node { - } - export namespace Pipe { - } - export namespace RemoteDataSource { - } - export namespace RetryPolicy { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace RuntimeFractionalPercent { - } - export namespace RuntimeUInt32 { - } - export namespace SocketAddress { - } - export namespace SocketOption { - } - export namespace TcpKeepalive { - } - export namespace TransportSocket { - } - } - } - } - export namespace service { - export namespace discovery { - export namespace v2 { - export namespace AdsDummy { - } - /** - * See https://github.com/lyft/envoy-api#apis for a description of the role of - * ADS and how it is intended to be used by a management server. ADS requests - * have the same structure as their singleton xDS counterparts, but can - * multiplex many resource types on a single stream. The type_url in the - * DiscoveryRequest/DiscoveryResponse provides sufficient information to recover - * the multiplexed singleton APIs at the Envoy instance and management server. - */ - export interface AggregatedDiscoveryServiceClient extends grpc.Client { - DeltaAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; - DeltaAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; - deltaAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; - deltaAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; - - /** - * This is a gRPC-only API. - */ - StreamAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; - StreamAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; - /** - * This is a gRPC-only API. - */ - streamAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream; - streamAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream; - - } - } - } - } - export namespace type { - export namespace FractionalPercent { - } - export namespace Percent { - } - export namespace SemanticVersion { - } - } - } - export namespace google { - export namespace protobuf { - export namespace Any { - } - export namespace BoolValue { - } - export namespace BytesValue { - } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } - } - export namespace DoubleValue { - } - export namespace Duration { - } - export namespace EnumDescriptorProto { - } - export namespace EnumOptions { - } - export namespace EnumValueDescriptorProto { - } - export namespace EnumValueOptions { - } - export namespace FieldDescriptorProto { - } - export namespace FieldOptions { - } - export namespace FileDescriptorProto { - } - export namespace FileDescriptorSet { - } - export namespace FileOptions { - } - export namespace FloatValue { - } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } - } - export namespace Int32Value { - } - export namespace Int64Value { - } - export namespace ListValue { - } - export namespace MessageOptions { - } - export namespace MethodDescriptorProto { - } - export namespace MethodOptions { - } - export namespace OneofDescriptorProto { - } - export namespace OneofOptions { - } - export namespace ServiceDescriptorProto { - } - export namespace ServiceOptions { - } - export namespace SourceCodeInfo { - export namespace Location { - } - } - export namespace StringValue { - } - export namespace Struct { - } - export namespace Timestamp { - } - export namespace UInt32Value { - } - export namespace UInt64Value { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } - export namespace Value { - } - } - export namespace rpc { - export namespace Status { - } - } - } - export namespace udpa { - export namespace annotations { - export namespace FieldMigrateAnnotation { - } - export namespace FileMigrateAnnotation { - } - export namespace MigrateAnnotation { - } - export namespace StatusAnnotation { - } - } - } - export namespace validate { - export namespace AnyRules { - } - export namespace BoolRules { - } - export namespace BytesRules { - } - export namespace DoubleRules { - } - export namespace DurationRules { - } - export namespace EnumRules { - } - export namespace FieldRules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace FloatRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace MapRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace StringRules { - } - export namespace TimestampRules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - } -} +import { AggregatedDiscoveryServiceClient as _envoy_service_discovery_v2_AggregatedDiscoveryServiceClient } from './envoy/service/discovery/v2/AggregatedDiscoveryService'; type ConstructorArguments = Constructor extends new (...args: infer Args) => any ? Args: never; type SubtypeConstructor = { @@ -1215,7 +63,7 @@ export interface ProtoGrpcType { * DiscoveryRequest/DiscoveryResponse provides sufficient information to recover * the multiplexed singleton APIs at the Envoy instance and management server. */ - AggregatedDiscoveryService: SubtypeConstructor & { service: ServiceDefinition } + AggregatedDiscoveryService: SubtypeConstructor & { service: ServiceDefinition } } } } @@ -1305,258 +153,3 @@ export interface ProtoGrpcType { } } -export namespace ServiceHandlers { - export namespace envoy { - export namespace api { - export namespace v2 { - export namespace DeltaDiscoveryRequest { - } - export namespace DeltaDiscoveryResponse { - } - export namespace DiscoveryRequest { - } - export namespace DiscoveryResponse { - } - export namespace Resource { - } - export namespace core { - export namespace Address { - } - export namespace AsyncDataSource { - } - export namespace BackoffStrategy { - } - export namespace BindConfig { - } - export namespace BuildVersion { - } - export namespace CidrRange { - } - export namespace ControlPlane { - } - export namespace DataSource { - } - export namespace Extension { - } - export namespace HeaderMap { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { - } - export namespace HttpUri { - } - export namespace Locality { - } - export namespace Metadata { - } - export namespace Node { - } - export namespace Pipe { - } - export namespace RemoteDataSource { - } - export namespace RetryPolicy { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace RuntimeFractionalPercent { - } - export namespace RuntimeUInt32 { - } - export namespace SocketAddress { - } - export namespace SocketOption { - } - export namespace TcpKeepalive { - } - export namespace TransportSocket { - } - } - } - } - export namespace service { - export namespace discovery { - export namespace v2 { - export namespace AdsDummy { - } - /** - * See https://github.com/lyft/envoy-api#apis for a description of the role of - * ADS and how it is intended to be used by a management server. ADS requests - * have the same structure as their singleton xDS counterparts, but can - * multiplex many resource types on a single stream. The type_url in the - * DiscoveryRequest/DiscoveryResponse provides sufficient information to recover - * the multiplexed singleton APIs at the Envoy instance and management server. - */ - export interface AggregatedDiscoveryService { - DeltaAggregatedResources(call: grpc.ServerDuplexStream): void; - - /** - * This is a gRPC-only API. - */ - StreamAggregatedResources(call: grpc.ServerDuplexStream): void; - - } - } - } - } - export namespace type { - export namespace FractionalPercent { - } - export namespace Percent { - } - export namespace SemanticVersion { - } - } - } - export namespace google { - export namespace protobuf { - export namespace Any { - } - export namespace BoolValue { - } - export namespace BytesValue { - } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } - } - export namespace DoubleValue { - } - export namespace Duration { - } - export namespace EnumDescriptorProto { - } - export namespace EnumOptions { - } - export namespace EnumValueDescriptorProto { - } - export namespace EnumValueOptions { - } - export namespace FieldDescriptorProto { - } - export namespace FieldOptions { - } - export namespace FileDescriptorProto { - } - export namespace FileDescriptorSet { - } - export namespace FileOptions { - } - export namespace FloatValue { - } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } - } - export namespace Int32Value { - } - export namespace Int64Value { - } - export namespace ListValue { - } - export namespace MessageOptions { - } - export namespace MethodDescriptorProto { - } - export namespace MethodOptions { - } - export namespace OneofDescriptorProto { - } - export namespace OneofOptions { - } - export namespace ServiceDescriptorProto { - } - export namespace ServiceOptions { - } - export namespace SourceCodeInfo { - export namespace Location { - } - } - export namespace StringValue { - } - export namespace Struct { - } - export namespace Timestamp { - } - export namespace UInt32Value { - } - export namespace UInt64Value { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } - export namespace Value { - } - } - export namespace rpc { - export namespace Status { - } - } - } - export namespace udpa { - export namespace annotations { - export namespace FieldMigrateAnnotation { - } - export namespace FileMigrateAnnotation { - } - export namespace MigrateAnnotation { - } - export namespace StatusAnnotation { - } - } - } - export namespace validate { - export namespace AnyRules { - } - export namespace BoolRules { - } - export namespace BytesRules { - } - export namespace DoubleRules { - } - export namespace DurationRules { - } - export namespace EnumRules { - } - export namespace FieldRules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace FloatRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace MapRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace StringRules { - } - export namespace TimestampRules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - } -} diff --git a/packages/grpc-js/src/generated/cluster.ts b/packages/grpc-js/src/generated/cluster.ts index bf6f37bfc..7d2b34a43 100644 --- a/packages/grpc-js/src/generated/cluster.ts +++ b/packages/grpc-js/src/generated/cluster.ts @@ -1,2206 +1,6 @@ import * as grpc from '../index'; import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; -import { Cluster as _envoy_api_v2_Cluster, Cluster__Output as _envoy_api_v2_Cluster__Output } from './envoy/api/v2/Cluster'; -import { ClusterLoadAssignment as _envoy_api_v2_ClusterLoadAssignment, ClusterLoadAssignment__Output as _envoy_api_v2_ClusterLoadAssignment__Output } from './envoy/api/v2/ClusterLoadAssignment'; -import { LoadBalancingPolicy as _envoy_api_v2_LoadBalancingPolicy, LoadBalancingPolicy__Output as _envoy_api_v2_LoadBalancingPolicy__Output } from './envoy/api/v2/LoadBalancingPolicy'; -import { UpstreamBindConfig as _envoy_api_v2_UpstreamBindConfig, UpstreamBindConfig__Output as _envoy_api_v2_UpstreamBindConfig__Output } from './envoy/api/v2/UpstreamBindConfig'; -import { UpstreamConnectionOptions as _envoy_api_v2_UpstreamConnectionOptions, UpstreamConnectionOptions__Output as _envoy_api_v2_UpstreamConnectionOptions__Output } from './envoy/api/v2/UpstreamConnectionOptions'; -import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from './envoy/api/v2/auth/CertificateValidationContext'; -import { CommonTlsContext as _envoy_api_v2_auth_CommonTlsContext, CommonTlsContext__Output as _envoy_api_v2_auth_CommonTlsContext__Output } from './envoy/api/v2/auth/CommonTlsContext'; -import { DownstreamTlsContext as _envoy_api_v2_auth_DownstreamTlsContext, DownstreamTlsContext__Output as _envoy_api_v2_auth_DownstreamTlsContext__Output } from './envoy/api/v2/auth/DownstreamTlsContext'; -import { GenericSecret as _envoy_api_v2_auth_GenericSecret, GenericSecret__Output as _envoy_api_v2_auth_GenericSecret__Output } from './envoy/api/v2/auth/GenericSecret'; -import { PrivateKeyProvider as _envoy_api_v2_auth_PrivateKeyProvider, PrivateKeyProvider__Output as _envoy_api_v2_auth_PrivateKeyProvider__Output } from './envoy/api/v2/auth/PrivateKeyProvider'; -import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from './envoy/api/v2/auth/SdsSecretConfig'; -import { Secret as _envoy_api_v2_auth_Secret, Secret__Output as _envoy_api_v2_auth_Secret__Output } from './envoy/api/v2/auth/Secret'; -import { TlsCertificate as _envoy_api_v2_auth_TlsCertificate, TlsCertificate__Output as _envoy_api_v2_auth_TlsCertificate__Output } from './envoy/api/v2/auth/TlsCertificate'; -import { TlsParameters as _envoy_api_v2_auth_TlsParameters, TlsParameters__Output as _envoy_api_v2_auth_TlsParameters__Output } from './envoy/api/v2/auth/TlsParameters'; -import { TlsSessionTicketKeys as _envoy_api_v2_auth_TlsSessionTicketKeys, TlsSessionTicketKeys__Output as _envoy_api_v2_auth_TlsSessionTicketKeys__Output } from './envoy/api/v2/auth/TlsSessionTicketKeys'; -import { UpstreamTlsContext as _envoy_api_v2_auth_UpstreamTlsContext, UpstreamTlsContext__Output as _envoy_api_v2_auth_UpstreamTlsContext__Output } from './envoy/api/v2/auth/UpstreamTlsContext'; -import { CircuitBreakers as _envoy_api_v2_cluster_CircuitBreakers, CircuitBreakers__Output as _envoy_api_v2_cluster_CircuitBreakers__Output } from './envoy/api/v2/cluster/CircuitBreakers'; -import { Filter as _envoy_api_v2_cluster_Filter, Filter__Output as _envoy_api_v2_cluster_Filter__Output } from './envoy/api/v2/cluster/Filter'; -import { OutlierDetection as _envoy_api_v2_cluster_OutlierDetection, OutlierDetection__Output as _envoy_api_v2_cluster_OutlierDetection__Output } from './envoy/api/v2/cluster/OutlierDetection'; -import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; -import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from './envoy/api/v2/core/AggregatedConfigSource'; -import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; -import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; -import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; -import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; -import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; -import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; -import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; -import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; -import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; -import { EventServiceConfig as _envoy_api_v2_core_EventServiceConfig, EventServiceConfig__Output as _envoy_api_v2_core_EventServiceConfig__Output } from './envoy/api/v2/core/EventServiceConfig'; -import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; -import { GrpcProtocolOptions as _envoy_api_v2_core_GrpcProtocolOptions, GrpcProtocolOptions__Output as _envoy_api_v2_core_GrpcProtocolOptions__Output } from './envoy/api/v2/core/GrpcProtocolOptions'; -import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; -import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; -import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; -import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; -import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from './envoy/api/v2/core/HealthCheck'; -import { HealthStatus as _envoy_api_v2_core_HealthStatus } from './envoy/api/v2/core/HealthStatus'; -import { Http1ProtocolOptions as _envoy_api_v2_core_Http1ProtocolOptions, Http1ProtocolOptions__Output as _envoy_api_v2_core_Http1ProtocolOptions__Output } from './envoy/api/v2/core/Http1ProtocolOptions'; -import { Http2ProtocolOptions as _envoy_api_v2_core_Http2ProtocolOptions, Http2ProtocolOptions__Output as _envoy_api_v2_core_Http2ProtocolOptions__Output } from './envoy/api/v2/core/Http2ProtocolOptions'; -import { HttpProtocolOptions as _envoy_api_v2_core_HttpProtocolOptions, HttpProtocolOptions__Output as _envoy_api_v2_core_HttpProtocolOptions__Output } from './envoy/api/v2/core/HttpProtocolOptions'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; -import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; -import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; -import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; -import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; -import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; -import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; -import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; -import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; -import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; -import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; -import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; -import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; -import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; -import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from './envoy/api/v2/core/SelfConfigSource'; -import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; -import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; -import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; -import { TcpProtocolOptions as _envoy_api_v2_core_TcpProtocolOptions, TcpProtocolOptions__Output as _envoy_api_v2_core_TcpProtocolOptions__Output } from './envoy/api/v2/core/TcpProtocolOptions'; -import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; -import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; -import { UpstreamHttpProtocolOptions as _envoy_api_v2_core_UpstreamHttpProtocolOptions, UpstreamHttpProtocolOptions__Output as _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output } from './envoy/api/v2/core/UpstreamHttpProtocolOptions'; -import { Endpoint as _envoy_api_v2_endpoint_Endpoint, Endpoint__Output as _envoy_api_v2_endpoint_Endpoint__Output } from './envoy/api/v2/endpoint/Endpoint'; -import { LbEndpoint as _envoy_api_v2_endpoint_LbEndpoint, LbEndpoint__Output as _envoy_api_v2_endpoint_LbEndpoint__Output } from './envoy/api/v2/endpoint/LbEndpoint'; -import { LocalityLbEndpoints as _envoy_api_v2_endpoint_LocalityLbEndpoints, LocalityLbEndpoints__Output as _envoy_api_v2_endpoint_LocalityLbEndpoints__Output } from './envoy/api/v2/endpoint/LocalityLbEndpoints'; -import { CodecClientType as _envoy_type_CodecClientType } from './envoy/type/CodecClientType'; -import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; -import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; -import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; -import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; -import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; -import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; -import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; -import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; -import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; -import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; -import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from './google/api/CustomHttpPattern'; -import { Http as _google_api_Http, Http__Output as _google_api_Http__Output } from './google/api/Http'; -import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from './google/api/HttpRule'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; -import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; -import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; -import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; -import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; -import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; -import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; -import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; -import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; -import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; -import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; -import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; -import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; -import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; -import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; -import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; -import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; -import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; -import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; -import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; -import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; -import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; -import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; -import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; -import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; -import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; -import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; -import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; -import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; -import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; -import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; -import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; -import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; -import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; -import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; -import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; -import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; -import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; -import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; -import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; -import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; -import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; -import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; -import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; -import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; -import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; -import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; -import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; -import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; -import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; -import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; -import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; -import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; -import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; -import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; -import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; -import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; -import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; -import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; -import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; -import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; -import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; -import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; -import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; -import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; -import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; - -export namespace messages { - export namespace envoy { - export namespace annotations { - } - export namespace api { - export namespace v2 { - /** - * Configuration for a single upstream cluster. - * [#next-free-field: 48] - */ - export type Cluster = _envoy_api_v2_Cluster; - /** - * Configuration for a single upstream cluster. - * [#next-free-field: 48] - */ - export type Cluster__Output = _envoy_api_v2_Cluster__Output; - /** - * Each route from RDS will map to a single cluster or traffic split across - * clusters using weights expressed in the RDS WeightedCluster. - * - * With EDS, each cluster is treated independently from a LB perspective, with - * LB taking place between the Localities within a cluster and at a finer - * granularity between the hosts within a locality. The percentage of traffic - * for each endpoint is determined by both its load_balancing_weight, and the - * load_balancing_weight of its locality. First, a locality will be selected, - * then an endpoint within that locality will be chose based on its weight. - * [#next-free-field: 6] - */ - export type ClusterLoadAssignment = _envoy_api_v2_ClusterLoadAssignment; - /** - * Each route from RDS will map to a single cluster or traffic split across - * clusters using weights expressed in the RDS WeightedCluster. - * - * With EDS, each cluster is treated independently from a LB perspective, with - * LB taking place between the Localities within a cluster and at a finer - * granularity between the hosts within a locality. The percentage of traffic - * for each endpoint is determined by both its load_balancing_weight, and the - * load_balancing_weight of its locality. First, a locality will be selected, - * then an endpoint within that locality will be chose based on its weight. - * [#next-free-field: 6] - */ - export type ClusterLoadAssignment__Output = _envoy_api_v2_ClusterLoadAssignment__Output; - /** - * [#not-implemented-hide:] Extensible load balancing policy configuration. - * - * Every LB policy defined via this mechanism will be identified via a unique name using reverse - * DNS notation. If the policy needs configuration parameters, it must define a message for its - * own configuration, which will be stored in the config field. The name of the policy will tell - * clients which type of message they should expect to see in the config field. - * - * Note that there are cases where it is useful to be able to independently select LB policies - * for choosing a locality and for choosing an endpoint within that locality. For example, a - * given deployment may always use the same policy to choose the locality, but for choosing the - * endpoint within the locality, some clusters may use weighted-round-robin, while others may - * use some sort of session-based balancing. - * - * This can be accomplished via hierarchical LB policies, where the parent LB policy creates a - * child LB policy for each locality. For each request, the parent chooses the locality and then - * delegates to the child policy for that locality to choose the endpoint within the locality. - * - * To facilitate this, the config message for the top-level LB policy may include a field of - * type LoadBalancingPolicy that specifies the child policy. - */ - export type LoadBalancingPolicy = _envoy_api_v2_LoadBalancingPolicy; - /** - * [#not-implemented-hide:] Extensible load balancing policy configuration. - * - * Every LB policy defined via this mechanism will be identified via a unique name using reverse - * DNS notation. If the policy needs configuration parameters, it must define a message for its - * own configuration, which will be stored in the config field. The name of the policy will tell - * clients which type of message they should expect to see in the config field. - * - * Note that there are cases where it is useful to be able to independently select LB policies - * for choosing a locality and for choosing an endpoint within that locality. For example, a - * given deployment may always use the same policy to choose the locality, but for choosing the - * endpoint within the locality, some clusters may use weighted-round-robin, while others may - * use some sort of session-based balancing. - * - * This can be accomplished via hierarchical LB policies, where the parent LB policy creates a - * child LB policy for each locality. For each request, the parent chooses the locality and then - * delegates to the child policy for that locality to choose the endpoint within the locality. - * - * To facilitate this, the config message for the top-level LB policy may include a field of - * type LoadBalancingPolicy that specifies the child policy. - */ - export type LoadBalancingPolicy__Output = _envoy_api_v2_LoadBalancingPolicy__Output; - /** - * An extensible structure containing the address Envoy should bind to when - * establishing upstream connections. - */ - export type UpstreamBindConfig = _envoy_api_v2_UpstreamBindConfig; - /** - * An extensible structure containing the address Envoy should bind to when - * establishing upstream connections. - */ - export type UpstreamBindConfig__Output = _envoy_api_v2_UpstreamBindConfig__Output; - export type UpstreamConnectionOptions = _envoy_api_v2_UpstreamConnectionOptions; - export type UpstreamConnectionOptions__Output = _envoy_api_v2_UpstreamConnectionOptions__Output; - export namespace auth { - /** - * [#next-free-field: 11] - */ - export type CertificateValidationContext = _envoy_api_v2_auth_CertificateValidationContext; - /** - * [#next-free-field: 11] - */ - export type CertificateValidationContext__Output = _envoy_api_v2_auth_CertificateValidationContext__Output; - /** - * TLS context shared by both client and server TLS contexts. - * [#next-free-field: 9] - */ - export type CommonTlsContext = _envoy_api_v2_auth_CommonTlsContext; - /** - * TLS context shared by both client and server TLS contexts. - * [#next-free-field: 9] - */ - export type CommonTlsContext__Output = _envoy_api_v2_auth_CommonTlsContext__Output; - /** - * [#next-free-field: 8] - */ - export type DownstreamTlsContext = _envoy_api_v2_auth_DownstreamTlsContext; - /** - * [#next-free-field: 8] - */ - export type DownstreamTlsContext__Output = _envoy_api_v2_auth_DownstreamTlsContext__Output; - export type GenericSecret = _envoy_api_v2_auth_GenericSecret; - export type GenericSecret__Output = _envoy_api_v2_auth_GenericSecret__Output; - /** - * BoringSSL private key method configuration. The private key methods are used for external - * (potentially asynchronous) signing and decryption operations. Some use cases for private key - * methods would be TPM support and TLS acceleration. - */ - export type PrivateKeyProvider = _envoy_api_v2_auth_PrivateKeyProvider; - /** - * BoringSSL private key method configuration. The private key methods are used for external - * (potentially asynchronous) signing and decryption operations. Some use cases for private key - * methods would be TPM support and TLS acceleration. - */ - export type PrivateKeyProvider__Output = _envoy_api_v2_auth_PrivateKeyProvider__Output; - export type SdsSecretConfig = _envoy_api_v2_auth_SdsSecretConfig; - export type SdsSecretConfig__Output = _envoy_api_v2_auth_SdsSecretConfig__Output; - /** - * [#next-free-field: 6] - */ - export type Secret = _envoy_api_v2_auth_Secret; - /** - * [#next-free-field: 6] - */ - export type Secret__Output = _envoy_api_v2_auth_Secret__Output; - /** - * [#next-free-field: 7] - */ - export type TlsCertificate = _envoy_api_v2_auth_TlsCertificate; - /** - * [#next-free-field: 7] - */ - export type TlsCertificate__Output = _envoy_api_v2_auth_TlsCertificate__Output; - export type TlsParameters = _envoy_api_v2_auth_TlsParameters; - export type TlsParameters__Output = _envoy_api_v2_auth_TlsParameters__Output; - export type TlsSessionTicketKeys = _envoy_api_v2_auth_TlsSessionTicketKeys; - export type TlsSessionTicketKeys__Output = _envoy_api_v2_auth_TlsSessionTicketKeys__Output; - export type UpstreamTlsContext = _envoy_api_v2_auth_UpstreamTlsContext; - export type UpstreamTlsContext__Output = _envoy_api_v2_auth_UpstreamTlsContext__Output; - } - export namespace cluster { - /** - * :ref:`Circuit breaking` settings can be - * specified individually for each defined priority. - */ - export type CircuitBreakers = _envoy_api_v2_cluster_CircuitBreakers; - /** - * :ref:`Circuit breaking` settings can be - * specified individually for each defined priority. - */ - export type CircuitBreakers__Output = _envoy_api_v2_cluster_CircuitBreakers__Output; - export type Filter = _envoy_api_v2_cluster_Filter; - export type Filter__Output = _envoy_api_v2_cluster_Filter__Output; - /** - * See the :ref:`architecture overview ` for - * more information on outlier detection. - * [#next-free-field: 21] - */ - export type OutlierDetection = _envoy_api_v2_cluster_OutlierDetection; - /** - * See the :ref:`architecture overview ` for - * more information on outlier detection. - * [#next-free-field: 21] - */ - export type OutlierDetection__Output = _envoy_api_v2_cluster_OutlierDetection__Output; - } - export namespace core { - /** - * Addresses specify either a logical or physical address and port, which are - * used to tell Envoy where to bind/listen, connect to upstream and find - * management servers. - */ - export type Address = _envoy_api_v2_core_Address; - /** - * Addresses specify either a logical or physical address and port, which are - * used to tell Envoy where to bind/listen, connect to upstream and find - * management servers. - */ - export type Address__Output = _envoy_api_v2_core_Address__Output; - /** - * Aggregated Discovery Service (ADS) options. This is currently empty, but when - * set in :ref:`ConfigSource ` can be used to - * specify that ADS is to be used. - */ - export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; - /** - * Aggregated Discovery Service (ADS) options. This is currently empty, but when - * set in :ref:`ConfigSource ` can be used to - * specify that ADS is to be used. - */ - export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; - /** - * API configuration source. This identifies the API type and cluster that Envoy - * will use to fetch an xDS API. - * [#next-free-field: 9] - */ - export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; - /** - * API configuration source. This identifies the API type and cluster that Envoy - * will use to fetch an xDS API. - * [#next-free-field: 9] - */ - export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; - /** - * xDS API version. This is used to describe both resource and transport - * protocol versions (in distinct configuration fields). - */ - export type ApiVersion = _envoy_api_v2_core_ApiVersion; - /** - * Async data source which support async data fetch. - */ - export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; - /** - * Async data source which support async data fetch. - */ - export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; - /** - * Configuration defining a jittered exponential back off strategy. - */ - export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; - /** - * Configuration defining a jittered exponential back off strategy. - */ - export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; - export type BindConfig = _envoy_api_v2_core_BindConfig; - export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; - /** - * BuildVersion combines SemVer version of extension with free-form build information - * (i.e. 'alpha', 'private-build') as a set of strings. - */ - export type BuildVersion = _envoy_api_v2_core_BuildVersion; - /** - * BuildVersion combines SemVer version of extension with free-form build information - * (i.e. 'alpha', 'private-build') as a set of strings. - */ - export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; - /** - * CidrRange specifies an IP Address and a prefix length to construct - * the subnet mask for a `CIDR `_ range. - */ - export type CidrRange = _envoy_api_v2_core_CidrRange; - /** - * CidrRange specifies an IP Address and a prefix length to construct - * the subnet mask for a `CIDR `_ range. - */ - export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; - /** - * Configuration for :ref:`listeners `, :ref:`clusters - * `, :ref:`routes - * `, :ref:`endpoints - * ` etc. may either be sourced from the - * filesystem or from an xDS API source. Filesystem configs are watched with - * inotify for updates. - * [#next-free-field: 7] - */ - export type ConfigSource = _envoy_api_v2_core_ConfigSource; - /** - * Configuration for :ref:`listeners `, :ref:`clusters - * `, :ref:`routes - * `, :ref:`endpoints - * ` etc. may either be sourced from the - * filesystem or from an xDS API source. Filesystem configs are watched with - * inotify for updates. - * [#next-free-field: 7] - */ - export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; - /** - * Identifies a specific ControlPlane instance that Envoy is connected to. - */ - export type ControlPlane = _envoy_api_v2_core_ControlPlane; - /** - * Identifies a specific ControlPlane instance that Envoy is connected to. - */ - export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - /** - * Data source consisting of either a file or an inline value. - */ - export type DataSource = _envoy_api_v2_core_DataSource; - /** - * Data source consisting of either a file or an inline value. - */ - export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; - /** - * [#not-implemented-hide:] - * Configuration of the event reporting service endpoint. - */ - export type EventServiceConfig = _envoy_api_v2_core_EventServiceConfig; - /** - * [#not-implemented-hide:] - * Configuration of the event reporting service endpoint. - */ - export type EventServiceConfig__Output = _envoy_api_v2_core_EventServiceConfig__Output; - /** - * Version and identification for an Envoy extension. - * [#next-free-field: 6] - */ - export type Extension = _envoy_api_v2_core_Extension; - /** - * Version and identification for an Envoy extension. - * [#next-free-field: 6] - */ - export type Extension__Output = _envoy_api_v2_core_Extension__Output; - /** - * [#not-implemented-hide:] - */ - export type GrpcProtocolOptions = _envoy_api_v2_core_GrpcProtocolOptions; - /** - * [#not-implemented-hide:] - */ - export type GrpcProtocolOptions__Output = _envoy_api_v2_core_GrpcProtocolOptions__Output; - /** - * gRPC service configuration. This is used by :ref:`ApiConfigSource - * ` and filter configurations. - * [#next-free-field: 6] - */ - export type GrpcService = _envoy_api_v2_core_GrpcService; - /** - * gRPC service configuration. This is used by :ref:`ApiConfigSource - * ` and filter configurations. - * [#next-free-field: 6] - */ - export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; - /** - * Wrapper for a set of headers. - */ - export type HeaderMap = _envoy_api_v2_core_HeaderMap; - /** - * Wrapper for a set of headers. - */ - export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; - /** - * Header name/value pair. - */ - export type HeaderValue = _envoy_api_v2_core_HeaderValue; - /** - * Header name/value pair. - */ - export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; - /** - * Header name/value pair plus option to control append behavior. - */ - export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; - /** - * Header name/value pair plus option to control append behavior. - */ - export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; - /** - * [#next-free-field: 23] - */ - export type HealthCheck = _envoy_api_v2_core_HealthCheck; - /** - * [#next-free-field: 23] - */ - export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; - /** - * Endpoint health status. - */ - export type HealthStatus = _envoy_api_v2_core_HealthStatus; - /** - * [#next-free-field: 6] - */ - export type Http1ProtocolOptions = _envoy_api_v2_core_Http1ProtocolOptions; - /** - * [#next-free-field: 6] - */ - export type Http1ProtocolOptions__Output = _envoy_api_v2_core_Http1ProtocolOptions__Output; - /** - * [#next-free-field: 14] - */ - export type Http2ProtocolOptions = _envoy_api_v2_core_Http2ProtocolOptions; - /** - * [#next-free-field: 14] - */ - export type Http2ProtocolOptions__Output = _envoy_api_v2_core_Http2ProtocolOptions__Output; - /** - * [#next-free-field: 6] - */ - export type HttpProtocolOptions = _envoy_api_v2_core_HttpProtocolOptions; - /** - * [#next-free-field: 6] - */ - export type HttpProtocolOptions__Output = _envoy_api_v2_core_HttpProtocolOptions__Output; - /** - * Envoy external URI descriptor - */ - export type HttpUri = _envoy_api_v2_core_HttpUri; - /** - * Envoy external URI descriptor - */ - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; - /** - * Identifies location of where either Envoy runs or where upstream hosts run. - */ - export type Locality = _envoy_api_v2_core_Locality; - /** - * Identifies location of where either Envoy runs or where upstream hosts run. - */ - export type Locality__Output = _envoy_api_v2_core_Locality__Output; - /** - * Metadata provides additional inputs to filters based on matched listeners, - * filter chains, routes and endpoints. It is structured as a map, usually from - * filter name (in reverse DNS format) to metadata specific to the filter. Metadata - * key-values for a filter are merged as connection and request handling occurs, - * with later values for the same key overriding earlier values. - * - * An example use of metadata is providing additional values to - * http_connection_manager in the envoy.http_connection_manager.access_log - * namespace. - * - * Another example use of metadata is to per service config info in cluster metadata, which may get - * consumed by multiple filters. - * - * For load balancing, Metadata provides a means to subset cluster endpoints. - * Endpoints have a Metadata object associated and routes contain a Metadata - * object to match against. There are some well defined metadata used today for - * this purpose: - * - * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an - * endpoint and is also used during header processing - * (x-envoy-upstream-canary) and for stats purposes. - * [#next-major-version: move to type/metadata/v2] - */ - export type Metadata = _envoy_api_v2_core_Metadata; - /** - * Metadata provides additional inputs to filters based on matched listeners, - * filter chains, routes and endpoints. It is structured as a map, usually from - * filter name (in reverse DNS format) to metadata specific to the filter. Metadata - * key-values for a filter are merged as connection and request handling occurs, - * with later values for the same key overriding earlier values. - * - * An example use of metadata is providing additional values to - * http_connection_manager in the envoy.http_connection_manager.access_log - * namespace. - * - * Another example use of metadata is to per service config info in cluster metadata, which may get - * consumed by multiple filters. - * - * For load balancing, Metadata provides a means to subset cluster endpoints. - * Endpoints have a Metadata object associated and routes contain a Metadata - * object to match against. There are some well defined metadata used today for - * this purpose: - * - * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an - * endpoint and is also used during header processing - * (x-envoy-upstream-canary) and for stats purposes. - * [#next-major-version: move to type/metadata/v2] - */ - export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; - /** - * Identifies a specific Envoy instance. The node identifier is presented to the - * management server, which may use this identifier to distinguish per Envoy - * configuration for serving. - * [#next-free-field: 12] - */ - export type Node = _envoy_api_v2_core_Node; - /** - * Identifies a specific Envoy instance. The node identifier is presented to the - * management server, which may use this identifier to distinguish per Envoy - * configuration for serving. - * [#next-free-field: 12] - */ - export type Node__Output = _envoy_api_v2_core_Node__Output; - export type Pipe = _envoy_api_v2_core_Pipe; - export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; - /** - * Rate Limit settings to be applied for discovery requests made by Envoy. - */ - export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; - /** - * Rate Limit settings to be applied for discovery requests made by Envoy. - */ - export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; - /** - * The message specifies how to fetch data from remote and how to verify it. - */ - export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; - /** - * The message specifies how to fetch data from remote and how to verify it. - */ - export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; - /** - * HTTP request method. - */ - export type RequestMethod = _envoy_api_v2_core_RequestMethod; - /** - * The message specifies the retry policy of remote data source when fetching fails. - */ - export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; - /** - * The message specifies the retry policy of remote data source when fetching fails. - */ - export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; - /** - * Envoy supports :ref:`upstream priority routing - * ` both at the route and the virtual - * cluster level. The current priority implementation uses different connection - * pool and circuit breaking settings for each priority level. This means that - * even for HTTP/2 requests, two physical connections will be used to an - * upstream host. In the future Envoy will likely support true HTTP/2 priority - * over a single upstream connection. - */ - export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; - /** - * Runtime derived double with a default when not specified. - */ - export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; - /** - * Runtime derived double with a default when not specified. - */ - export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; - /** - * Runtime derived bool with a default when not specified. - */ - export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; - /** - * Runtime derived bool with a default when not specified. - */ - export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; - /** - * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not - * specified via a runtime key. - * - * .. note:: - * - * Parsing of the runtime key's data is implemented such that it may be represented as a - * :ref:`FractionalPercent ` proto represented as JSON/YAML - * and may also be represented as an integer with the assumption that the value is an integral - * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse - * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. - */ - export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; - /** - * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not - * specified via a runtime key. - * - * .. note:: - * - * Parsing of the runtime key's data is implemented such that it may be represented as a - * :ref:`FractionalPercent ` proto represented as JSON/YAML - * and may also be represented as an integer with the assumption that the value is an integral - * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse - * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. - */ - export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; - /** - * Runtime derived uint32 with a default when not specified. - */ - export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; - /** - * Runtime derived uint32 with a default when not specified. - */ - export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; - /** - * [#not-implemented-hide:] - * Self-referencing config source options. This is currently empty, but when - * set in :ref:`ConfigSource ` can be used to - * specify that other data can be obtained from the same server. - */ - export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; - /** - * [#not-implemented-hide:] - * Self-referencing config source options. This is currently empty, but when - * set in :ref:`ConfigSource ` can be used to - * specify that other data can be obtained from the same server. - */ - export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; - /** - * [#next-free-field: 7] - */ - export type SocketAddress = _envoy_api_v2_core_SocketAddress; - /** - * [#next-free-field: 7] - */ - export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; - /** - * Generic socket option message. This would be used to set socket options that - * might not exist in upstream kernels or precompiled Envoy binaries. - * [#next-free-field: 7] - */ - export type SocketOption = _envoy_api_v2_core_SocketOption; - /** - * Generic socket option message. This would be used to set socket options that - * might not exist in upstream kernels or precompiled Envoy binaries. - * [#next-free-field: 7] - */ - export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; - export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; - export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; - /** - * [#not-implemented-hide:] - */ - export type TcpProtocolOptions = _envoy_api_v2_core_TcpProtocolOptions; - /** - * [#not-implemented-hide:] - */ - export type TcpProtocolOptions__Output = _envoy_api_v2_core_TcpProtocolOptions__Output; - /** - * Identifies the direction of the traffic relative to the local Envoy. - */ - export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; - /** - * Configuration for transport socket in :ref:`listeners ` and - * :ref:`clusters `. If the configuration is - * empty, a default transport socket implementation and configuration will be - * chosen based on the platform and existence of tls_context. - */ - export type TransportSocket = _envoy_api_v2_core_TransportSocket; - /** - * Configuration for transport socket in :ref:`listeners ` and - * :ref:`clusters `. If the configuration is - * empty, a default transport socket implementation and configuration will be - * chosen based on the platform and existence of tls_context. - */ - export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; - export type UpstreamHttpProtocolOptions = _envoy_api_v2_core_UpstreamHttpProtocolOptions; - export type UpstreamHttpProtocolOptions__Output = _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output; - } - export namespace endpoint { - /** - * Upstream host identifier. - */ - export type Endpoint = _envoy_api_v2_endpoint_Endpoint; - /** - * Upstream host identifier. - */ - export type Endpoint__Output = _envoy_api_v2_endpoint_Endpoint__Output; - /** - * An Endpoint that Envoy can route traffic to. - * [#next-free-field: 6] - */ - export type LbEndpoint = _envoy_api_v2_endpoint_LbEndpoint; - /** - * An Endpoint that Envoy can route traffic to. - * [#next-free-field: 6] - */ - export type LbEndpoint__Output = _envoy_api_v2_endpoint_LbEndpoint__Output; - /** - * A group of endpoints belonging to a Locality. - * One can have multiple LocalityLbEndpoints for a locality, but this is - * generally only done if the different groups need to have different load - * balancing weights or different priorities. - * [#next-free-field: 7] - */ - export type LocalityLbEndpoints = _envoy_api_v2_endpoint_LocalityLbEndpoints; - /** - * A group of endpoints belonging to a Locality. - * One can have multiple LocalityLbEndpoints for a locality, but this is - * generally only done if the different groups need to have different load - * balancing weights or different priorities. - * [#next-free-field: 7] - */ - export type LocalityLbEndpoints__Output = _envoy_api_v2_endpoint_LocalityLbEndpoints__Output; - } - } - } - export namespace type { - export type CodecClientType = _envoy_type_CodecClientType; - /** - * Specifies the double start and end of the range using half-open interval semantics [start, - * end). - */ - export type DoubleRange = _envoy_type_DoubleRange; - /** - * Specifies the double start and end of the range using half-open interval semantics [start, - * end). - */ - export type DoubleRange__Output = _envoy_type_DoubleRange__Output; - /** - * A fractional percentage is used in cases in which for performance reasons performing floating - * point to integer conversions during randomness calculations is undesirable. The message includes - * both a numerator and denominator that together determine the final fractional value. - * - * * **Example**: 1/100 = 1%. - * * **Example**: 3/10000 = 0.03%. - */ - export type FractionalPercent = _envoy_type_FractionalPercent; - /** - * A fractional percentage is used in cases in which for performance reasons performing floating - * point to integer conversions during randomness calculations is undesirable. The message includes - * both a numerator and denominator that together determine the final fractional value. - * - * * **Example**: 1/100 = 1%. - * * **Example**: 3/10000 = 0.03%. - */ - export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; - /** - * Specifies the int32 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int32Range = _envoy_type_Int32Range; - /** - * Specifies the int32 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int32Range__Output = _envoy_type_Int32Range__Output; - /** - * Specifies the int64 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int64Range = _envoy_type_Int64Range; - /** - * Specifies the int64 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int64Range__Output = _envoy_type_Int64Range__Output; - /** - * Identifies a percentage, in the range [0.0, 100.0]. - */ - export type Percent = _envoy_type_Percent; - /** - * Identifies a percentage, in the range [0.0, 100.0]. - */ - export type Percent__Output = _envoy_type_Percent__Output; - /** - * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate - * expected behaviors and APIs, the patch version field is used only - * for security fixes and can be generally ignored. - */ - export type SemanticVersion = _envoy_type_SemanticVersion; - /** - * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate - * expected behaviors and APIs, the patch version field is used only - * for security fixes and can be generally ignored. - */ - export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; - export namespace matcher { - /** - * Specifies a list of ways to match a string. - */ - export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; - /** - * Specifies a list of ways to match a string. - */ - export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; - /** - * Describes how to match a string and then produce a new string using a regular - * expression and a substitution string. - */ - export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; - /** - * Describes how to match a string and then produce a new string using a regular - * expression and a substitution string. - */ - export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; - /** - * A regex matcher designed for safety when used with untrusted input. - */ - export type RegexMatcher = _envoy_type_matcher_RegexMatcher; - /** - * A regex matcher designed for safety when used with untrusted input. - */ - export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; - /** - * Specifies the way to match a string. - * [#next-free-field: 7] - */ - export type StringMatcher = _envoy_type_matcher_StringMatcher; - /** - * Specifies the way to match a string. - * [#next-free-field: 7] - */ - export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; - } - } - } - export namespace google { - export namespace api { - /** - * A custom pattern is used for defining custom HTTP verb. - */ - export type CustomHttpPattern = _google_api_CustomHttpPattern; - /** - * A custom pattern is used for defining custom HTTP verb. - */ - export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; - /** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * to one or more HTTP REST API methods. - */ - export type Http = _google_api_Http; - /** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * to one or more HTTP REST API methods. - */ - export type Http__Output = _google_api_Http__Output; - /** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ - export type HttpRule = _google_api_HttpRule; - /** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ - export type HttpRule__Output = _google_api_HttpRule__Output; - } - export namespace protobuf { - export type Any = _google_protobuf_Any; - export type Any__Output = _google_protobuf_Any__Output; - export type BoolValue = _google_protobuf_BoolValue; - export type BoolValue__Output = _google_protobuf_BoolValue__Output; - export type BytesValue = _google_protobuf_BytesValue; - export type BytesValue__Output = _google_protobuf_BytesValue__Output; - export type DescriptorProto = _google_protobuf_DescriptorProto; - export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; - export type DoubleValue = _google_protobuf_DoubleValue; - export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; - export type Duration = _google_protobuf_Duration; - export type Duration__Output = _google_protobuf_Duration__Output; - export type Empty = _google_protobuf_Empty; - export type Empty__Output = _google_protobuf_Empty__Output; - export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; - export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; - export type EnumOptions = _google_protobuf_EnumOptions; - export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; - export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; - export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; - export type EnumValueOptions = _google_protobuf_EnumValueOptions; - export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; - export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; - export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; - export type FieldOptions = _google_protobuf_FieldOptions; - export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; - export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; - export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; - export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; - export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; - export type FileOptions = _google_protobuf_FileOptions; - export type FileOptions__Output = _google_protobuf_FileOptions__Output; - export type FloatValue = _google_protobuf_FloatValue; - export type FloatValue__Output = _google_protobuf_FloatValue__Output; - export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; - export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; - export type Int32Value = _google_protobuf_Int32Value; - export type Int32Value__Output = _google_protobuf_Int32Value__Output; - export type Int64Value = _google_protobuf_Int64Value; - export type Int64Value__Output = _google_protobuf_Int64Value__Output; - export type ListValue = _google_protobuf_ListValue; - export type ListValue__Output = _google_protobuf_ListValue__Output; - export type MessageOptions = _google_protobuf_MessageOptions; - export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; - export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; - export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; - export type MethodOptions = _google_protobuf_MethodOptions; - export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; - export type NullValue = _google_protobuf_NullValue; - export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; - export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; - export type OneofOptions = _google_protobuf_OneofOptions; - export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; - export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; - export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; - export type ServiceOptions = _google_protobuf_ServiceOptions; - export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; - export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; - export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; - export type StringValue = _google_protobuf_StringValue; - export type StringValue__Output = _google_protobuf_StringValue__Output; - export type Struct = _google_protobuf_Struct; - export type Struct__Output = _google_protobuf_Struct__Output; - export type Timestamp = _google_protobuf_Timestamp; - export type Timestamp__Output = _google_protobuf_Timestamp__Output; - export type UInt32Value = _google_protobuf_UInt32Value; - export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; - export type UInt64Value = _google_protobuf_UInt64Value; - export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; - export type UninterpretedOption = _google_protobuf_UninterpretedOption; - export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; - export type Value = _google_protobuf_Value; - export type Value__Output = _google_protobuf_Value__Output; - } - } - export namespace udpa { - export namespace annotations { - export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; - export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; - export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; - export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; - export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; - export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; - export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; - export type StatusAnnotation = _udpa_annotations_StatusAnnotation; - export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; - } - } - export namespace validate { - /** - * AnyRules describe constraints applied exclusively to the - * `google.protobuf.Any` well-known type - */ - export type AnyRules = _validate_AnyRules; - /** - * AnyRules describe constraints applied exclusively to the - * `google.protobuf.Any` well-known type - */ - export type AnyRules__Output = _validate_AnyRules__Output; - /** - * BoolRules describes the constraints applied to `bool` values - */ - export type BoolRules = _validate_BoolRules; - /** - * BoolRules describes the constraints applied to `bool` values - */ - export type BoolRules__Output = _validate_BoolRules__Output; - /** - * BytesRules describe the constraints applied to `bytes` values - */ - export type BytesRules = _validate_BytesRules; - /** - * BytesRules describe the constraints applied to `bytes` values - */ - export type BytesRules__Output = _validate_BytesRules__Output; - /** - * DoubleRules describes the constraints applied to `double` values - */ - export type DoubleRules = _validate_DoubleRules; - /** - * DoubleRules describes the constraints applied to `double` values - */ - export type DoubleRules__Output = _validate_DoubleRules__Output; - /** - * DurationRules describe the constraints applied exclusively to the - * `google.protobuf.Duration` well-known type - */ - export type DurationRules = _validate_DurationRules; - /** - * DurationRules describe the constraints applied exclusively to the - * `google.protobuf.Duration` well-known type - */ - export type DurationRules__Output = _validate_DurationRules__Output; - /** - * EnumRules describe the constraints applied to enum values - */ - export type EnumRules = _validate_EnumRules; - /** - * EnumRules describe the constraints applied to enum values - */ - export type EnumRules__Output = _validate_EnumRules__Output; - /** - * FieldRules encapsulates the rules for each type of field. Depending on the - * field, the correct set should be used to ensure proper validations. - */ - export type FieldRules = _validate_FieldRules; - /** - * FieldRules encapsulates the rules for each type of field. Depending on the - * field, the correct set should be used to ensure proper validations. - */ - export type FieldRules__Output = _validate_FieldRules__Output; - /** - * Fixed32Rules describes the constraints applied to `fixed32` values - */ - export type Fixed32Rules = _validate_Fixed32Rules; - /** - * Fixed32Rules describes the constraints applied to `fixed32` values - */ - export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; - /** - * Fixed64Rules describes the constraints applied to `fixed64` values - */ - export type Fixed64Rules = _validate_Fixed64Rules; - /** - * Fixed64Rules describes the constraints applied to `fixed64` values - */ - export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; - /** - * FloatRules describes the constraints applied to `float` values - */ - export type FloatRules = _validate_FloatRules; - /** - * FloatRules describes the constraints applied to `float` values - */ - export type FloatRules__Output = _validate_FloatRules__Output; - /** - * Int32Rules describes the constraints applied to `int32` values - */ - export type Int32Rules = _validate_Int32Rules; - /** - * Int32Rules describes the constraints applied to `int32` values - */ - export type Int32Rules__Output = _validate_Int32Rules__Output; - /** - * Int64Rules describes the constraints applied to `int64` values - */ - export type Int64Rules = _validate_Int64Rules; - /** - * Int64Rules describes the constraints applied to `int64` values - */ - export type Int64Rules__Output = _validate_Int64Rules__Output; - /** - * WellKnownRegex contain some well-known patterns. - */ - export type KnownRegex = _validate_KnownRegex; - /** - * MapRules describe the constraints applied to `map` values - */ - export type MapRules = _validate_MapRules; - /** - * MapRules describe the constraints applied to `map` values - */ - export type MapRules__Output = _validate_MapRules__Output; - /** - * MessageRules describe the constraints applied to embedded message values. - * For message-type fields, validation is performed recursively. - */ - export type MessageRules = _validate_MessageRules; - /** - * MessageRules describe the constraints applied to embedded message values. - * For message-type fields, validation is performed recursively. - */ - export type MessageRules__Output = _validate_MessageRules__Output; - /** - * RepeatedRules describe the constraints applied to `repeated` values - */ - export type RepeatedRules = _validate_RepeatedRules; - /** - * RepeatedRules describe the constraints applied to `repeated` values - */ - export type RepeatedRules__Output = _validate_RepeatedRules__Output; - /** - * SFixed32Rules describes the constraints applied to `sfixed32` values - */ - export type SFixed32Rules = _validate_SFixed32Rules; - /** - * SFixed32Rules describes the constraints applied to `sfixed32` values - */ - export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; - /** - * SFixed64Rules describes the constraints applied to `sfixed64` values - */ - export type SFixed64Rules = _validate_SFixed64Rules; - /** - * SFixed64Rules describes the constraints applied to `sfixed64` values - */ - export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; - /** - * SInt32Rules describes the constraints applied to `sint32` values - */ - export type SInt32Rules = _validate_SInt32Rules; - /** - * SInt32Rules describes the constraints applied to `sint32` values - */ - export type SInt32Rules__Output = _validate_SInt32Rules__Output; - /** - * SInt64Rules describes the constraints applied to `sint64` values - */ - export type SInt64Rules = _validate_SInt64Rules; - /** - * SInt64Rules describes the constraints applied to `sint64` values - */ - export type SInt64Rules__Output = _validate_SInt64Rules__Output; - /** - * StringRules describe the constraints applied to `string` values - */ - export type StringRules = _validate_StringRules; - /** - * StringRules describe the constraints applied to `string` values - */ - export type StringRules__Output = _validate_StringRules__Output; - /** - * TimestampRules describe the constraints applied exclusively to the - * `google.protobuf.Timestamp` well-known type - */ - export type TimestampRules = _validate_TimestampRules; - /** - * TimestampRules describe the constraints applied exclusively to the - * `google.protobuf.Timestamp` well-known type - */ - export type TimestampRules__Output = _validate_TimestampRules__Output; - /** - * UInt32Rules describes the constraints applied to `uint32` values - */ - export type UInt32Rules = _validate_UInt32Rules; - /** - * UInt32Rules describes the constraints applied to `uint32` values - */ - export type UInt32Rules__Output = _validate_UInt32Rules__Output; - /** - * UInt64Rules describes the constraints applied to `uint64` values - */ - export type UInt64Rules = _validate_UInt64Rules; - /** - * UInt64Rules describes the constraints applied to `uint64` values - */ - export type UInt64Rules__Output = _validate_UInt64Rules__Output; - } -} - -export namespace ClientInterfaces { - export namespace envoy { - export namespace annotations { - } - export namespace api { - export namespace v2 { - export namespace Cluster { - export namespace CommonLbConfig { - export namespace ConsistentHashingLbConfig { - } - export namespace LocalityWeightedLbConfig { - } - export namespace ZoneAwareLbConfig { - } - } - export namespace CustomClusterType { - } - export namespace EdsClusterConfig { - } - export namespace LbSubsetConfig { - export namespace LbSubsetSelector { - } - } - export namespace LeastRequestLbConfig { - } - export namespace OriginalDstLbConfig { - } - export namespace RefreshRate { - } - export namespace RingHashLbConfig { - } - export namespace TransportSocketMatch { - } - } - export namespace ClusterLoadAssignment { - export namespace Policy { - export namespace DropOverload { - } - } - } - export namespace LoadBalancingPolicy { - export namespace Policy { - } - } - export namespace UpstreamBindConfig { - } - export namespace UpstreamConnectionOptions { - } - export namespace auth { - export namespace CertificateValidationContext { - } - export namespace CommonTlsContext { - export namespace CombinedCertificateValidationContext { - } - } - export namespace DownstreamTlsContext { - } - export namespace GenericSecret { - } - export namespace PrivateKeyProvider { - } - export namespace SdsSecretConfig { - } - export namespace Secret { - } - export namespace TlsCertificate { - } - export namespace TlsParameters { - } - export namespace TlsSessionTicketKeys { - } - export namespace UpstreamTlsContext { - } - } - export namespace cluster { - export namespace CircuitBreakers { - export namespace Thresholds { - export namespace RetryBudget { - } - } - } - export namespace Filter { - } - export namespace OutlierDetection { - } - } - export namespace core { - export namespace Address { - } - export namespace AggregatedConfigSource { - } - export namespace ApiConfigSource { - } - export namespace AsyncDataSource { - } - export namespace BackoffStrategy { - } - export namespace BindConfig { - } - export namespace BuildVersion { - } - export namespace CidrRange { - } - export namespace ConfigSource { - } - export namespace ControlPlane { - } - export namespace DataSource { - } - export namespace EventServiceConfig { - } - export namespace Extension { - } - export namespace GrpcProtocolOptions { - } - export namespace GrpcService { - export namespace EnvoyGrpc { - } - export namespace GoogleGrpc { - export namespace CallCredentials { - export namespace GoogleIAMCredentials { - } - export namespace MetadataCredentialsFromPlugin { - } - export namespace ServiceAccountJWTAccessCredentials { - } - export namespace StsService { - } - } - export namespace ChannelCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace SslCredentials { - } - } - } - export namespace HeaderMap { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { - } - export namespace HealthCheck { - export namespace CustomHealthCheck { - } - export namespace GrpcHealthCheck { - } - export namespace HttpHealthCheck { - } - export namespace Payload { - } - export namespace RedisHealthCheck { - } - export namespace TcpHealthCheck { - } - export namespace TlsOptions { - } - } - export namespace Http1ProtocolOptions { - export namespace HeaderKeyFormat { - export namespace ProperCaseWords { - } - } - } - export namespace Http2ProtocolOptions { - export namespace SettingsParameter { - } - } - export namespace HttpProtocolOptions { - } - export namespace HttpUri { - } - export namespace Locality { - } - export namespace Metadata { - } - export namespace Node { - } - export namespace Pipe { - } - export namespace RateLimitSettings { - } - export namespace RemoteDataSource { - } - export namespace RetryPolicy { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace RuntimeFractionalPercent { - } - export namespace RuntimeUInt32 { - } - export namespace SelfConfigSource { - } - export namespace SocketAddress { - } - export namespace SocketOption { - } - export namespace TcpKeepalive { - } - export namespace TcpProtocolOptions { - } - export namespace TransportSocket { - } - export namespace UpstreamHttpProtocolOptions { - } - } - export namespace endpoint { - export namespace Endpoint { - export namespace HealthCheckConfig { - } - } - export namespace LbEndpoint { - } - export namespace LocalityLbEndpoints { - } - } - } - } - export namespace type { - export namespace DoubleRange { - } - export namespace FractionalPercent { - } - export namespace Int32Range { - } - export namespace Int64Range { - } - export namespace Percent { - } - export namespace SemanticVersion { - } - export namespace matcher { - export namespace ListStringMatcher { - } - export namespace RegexMatchAndSubstitute { - } - export namespace RegexMatcher { - export namespace GoogleRE2 { - } - } - export namespace StringMatcher { - } - } - } - } - export namespace google { - export namespace api { - export namespace CustomHttpPattern { - } - export namespace Http { - } - export namespace HttpRule { - } - } - export namespace protobuf { - export namespace Any { - } - export namespace BoolValue { - } - export namespace BytesValue { - } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } - } - export namespace DoubleValue { - } - export namespace Duration { - } - export namespace Empty { - } - export namespace EnumDescriptorProto { - } - export namespace EnumOptions { - } - export namespace EnumValueDescriptorProto { - } - export namespace EnumValueOptions { - } - export namespace FieldDescriptorProto { - } - export namespace FieldOptions { - } - export namespace FileDescriptorProto { - } - export namespace FileDescriptorSet { - } - export namespace FileOptions { - } - export namespace FloatValue { - } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } - } - export namespace Int32Value { - } - export namespace Int64Value { - } - export namespace ListValue { - } - export namespace MessageOptions { - } - export namespace MethodDescriptorProto { - } - export namespace MethodOptions { - } - export namespace OneofDescriptorProto { - } - export namespace OneofOptions { - } - export namespace ServiceDescriptorProto { - } - export namespace ServiceOptions { - } - export namespace SourceCodeInfo { - export namespace Location { - } - } - export namespace StringValue { - } - export namespace Struct { - } - export namespace Timestamp { - } - export namespace UInt32Value { - } - export namespace UInt64Value { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } - export namespace Value { - } - } - } - export namespace udpa { - export namespace annotations { - export namespace FieldMigrateAnnotation { - } - export namespace FileMigrateAnnotation { - } - export namespace MigrateAnnotation { - } - export namespace StatusAnnotation { - } - } - } - export namespace validate { - export namespace AnyRules { - } - export namespace BoolRules { - } - export namespace BytesRules { - } - export namespace DoubleRules { - } - export namespace DurationRules { - } - export namespace EnumRules { - } - export namespace FieldRules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace FloatRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace MapRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace StringRules { - } - export namespace TimestampRules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - } -} type ConstructorArguments = Constructor extends new (...args: infer Args) => any ? Args: never; type SubtypeConstructor = { @@ -2390,407 +190,3 @@ export interface ProtoGrpcType { } } -export namespace ServiceHandlers { - export namespace envoy { - export namespace annotations { - } - export namespace api { - export namespace v2 { - export namespace Cluster { - export namespace CommonLbConfig { - export namespace ConsistentHashingLbConfig { - } - export namespace LocalityWeightedLbConfig { - } - export namespace ZoneAwareLbConfig { - } - } - export namespace CustomClusterType { - } - export namespace EdsClusterConfig { - } - export namespace LbSubsetConfig { - export namespace LbSubsetSelector { - } - } - export namespace LeastRequestLbConfig { - } - export namespace OriginalDstLbConfig { - } - export namespace RefreshRate { - } - export namespace RingHashLbConfig { - } - export namespace TransportSocketMatch { - } - } - export namespace ClusterLoadAssignment { - export namespace Policy { - export namespace DropOverload { - } - } - } - export namespace LoadBalancingPolicy { - export namespace Policy { - } - } - export namespace UpstreamBindConfig { - } - export namespace UpstreamConnectionOptions { - } - export namespace auth { - export namespace CertificateValidationContext { - } - export namespace CommonTlsContext { - export namespace CombinedCertificateValidationContext { - } - } - export namespace DownstreamTlsContext { - } - export namespace GenericSecret { - } - export namespace PrivateKeyProvider { - } - export namespace SdsSecretConfig { - } - export namespace Secret { - } - export namespace TlsCertificate { - } - export namespace TlsParameters { - } - export namespace TlsSessionTicketKeys { - } - export namespace UpstreamTlsContext { - } - } - export namespace cluster { - export namespace CircuitBreakers { - export namespace Thresholds { - export namespace RetryBudget { - } - } - } - export namespace Filter { - } - export namespace OutlierDetection { - } - } - export namespace core { - export namespace Address { - } - export namespace AggregatedConfigSource { - } - export namespace ApiConfigSource { - } - export namespace AsyncDataSource { - } - export namespace BackoffStrategy { - } - export namespace BindConfig { - } - export namespace BuildVersion { - } - export namespace CidrRange { - } - export namespace ConfigSource { - } - export namespace ControlPlane { - } - export namespace DataSource { - } - export namespace EventServiceConfig { - } - export namespace Extension { - } - export namespace GrpcProtocolOptions { - } - export namespace GrpcService { - export namespace EnvoyGrpc { - } - export namespace GoogleGrpc { - export namespace CallCredentials { - export namespace GoogleIAMCredentials { - } - export namespace MetadataCredentialsFromPlugin { - } - export namespace ServiceAccountJWTAccessCredentials { - } - export namespace StsService { - } - } - export namespace ChannelCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace SslCredentials { - } - } - } - export namespace HeaderMap { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { - } - export namespace HealthCheck { - export namespace CustomHealthCheck { - } - export namespace GrpcHealthCheck { - } - export namespace HttpHealthCheck { - } - export namespace Payload { - } - export namespace RedisHealthCheck { - } - export namespace TcpHealthCheck { - } - export namespace TlsOptions { - } - } - export namespace Http1ProtocolOptions { - export namespace HeaderKeyFormat { - export namespace ProperCaseWords { - } - } - } - export namespace Http2ProtocolOptions { - export namespace SettingsParameter { - } - } - export namespace HttpProtocolOptions { - } - export namespace HttpUri { - } - export namespace Locality { - } - export namespace Metadata { - } - export namespace Node { - } - export namespace Pipe { - } - export namespace RateLimitSettings { - } - export namespace RemoteDataSource { - } - export namespace RetryPolicy { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace RuntimeFractionalPercent { - } - export namespace RuntimeUInt32 { - } - export namespace SelfConfigSource { - } - export namespace SocketAddress { - } - export namespace SocketOption { - } - export namespace TcpKeepalive { - } - export namespace TcpProtocolOptions { - } - export namespace TransportSocket { - } - export namespace UpstreamHttpProtocolOptions { - } - } - export namespace endpoint { - export namespace Endpoint { - export namespace HealthCheckConfig { - } - } - export namespace LbEndpoint { - } - export namespace LocalityLbEndpoints { - } - } - } - } - export namespace type { - export namespace DoubleRange { - } - export namespace FractionalPercent { - } - export namespace Int32Range { - } - export namespace Int64Range { - } - export namespace Percent { - } - export namespace SemanticVersion { - } - export namespace matcher { - export namespace ListStringMatcher { - } - export namespace RegexMatchAndSubstitute { - } - export namespace RegexMatcher { - export namespace GoogleRE2 { - } - } - export namespace StringMatcher { - } - } - } - } - export namespace google { - export namespace api { - export namespace CustomHttpPattern { - } - export namespace Http { - } - export namespace HttpRule { - } - } - export namespace protobuf { - export namespace Any { - } - export namespace BoolValue { - } - export namespace BytesValue { - } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } - } - export namespace DoubleValue { - } - export namespace Duration { - } - export namespace Empty { - } - export namespace EnumDescriptorProto { - } - export namespace EnumOptions { - } - export namespace EnumValueDescriptorProto { - } - export namespace EnumValueOptions { - } - export namespace FieldDescriptorProto { - } - export namespace FieldOptions { - } - export namespace FileDescriptorProto { - } - export namespace FileDescriptorSet { - } - export namespace FileOptions { - } - export namespace FloatValue { - } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } - } - export namespace Int32Value { - } - export namespace Int64Value { - } - export namespace ListValue { - } - export namespace MessageOptions { - } - export namespace MethodDescriptorProto { - } - export namespace MethodOptions { - } - export namespace OneofDescriptorProto { - } - export namespace OneofOptions { - } - export namespace ServiceDescriptorProto { - } - export namespace ServiceOptions { - } - export namespace SourceCodeInfo { - export namespace Location { - } - } - export namespace StringValue { - } - export namespace Struct { - } - export namespace Timestamp { - } - export namespace UInt32Value { - } - export namespace UInt64Value { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } - export namespace Value { - } - } - } - export namespace udpa { - export namespace annotations { - export namespace FieldMigrateAnnotation { - } - export namespace FileMigrateAnnotation { - } - export namespace MigrateAnnotation { - } - export namespace StatusAnnotation { - } - } - } - export namespace validate { - export namespace AnyRules { - } - export namespace BoolRules { - } - export namespace BytesRules { - } - export namespace DoubleRules { - } - export namespace DurationRules { - } - export namespace EnumRules { - } - export namespace FieldRules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace FloatRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace MapRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace StringRules { - } - export namespace TimestampRules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - } -} diff --git a/packages/grpc-js/src/generated/endpoint.ts b/packages/grpc-js/src/generated/endpoint.ts index bbd9ef7df..ade62c993 100644 --- a/packages/grpc-js/src/generated/endpoint.ts +++ b/packages/grpc-js/src/generated/endpoint.ts @@ -1,1803 +1,6 @@ import * as grpc from '../index'; import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; -import { ClusterLoadAssignment as _envoy_api_v2_ClusterLoadAssignment, ClusterLoadAssignment__Output as _envoy_api_v2_ClusterLoadAssignment__Output } from './envoy/api/v2/ClusterLoadAssignment'; -import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; -import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; -import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; -import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; -import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; -import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; -import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; -import { EventServiceConfig as _envoy_api_v2_core_EventServiceConfig, EventServiceConfig__Output as _envoy_api_v2_core_EventServiceConfig__Output } from './envoy/api/v2/core/EventServiceConfig'; -import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; -import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; -import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; -import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; -import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; -import { HealthCheck as _envoy_api_v2_core_HealthCheck, HealthCheck__Output as _envoy_api_v2_core_HealthCheck__Output } from './envoy/api/v2/core/HealthCheck'; -import { HealthStatus as _envoy_api_v2_core_HealthStatus } from './envoy/api/v2/core/HealthStatus'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; -import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; -import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; -import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; -import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; -import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; -import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; -import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; -import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; -import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; -import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; -import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; -import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; -import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; -import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; -import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; -import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; -import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; -import { Endpoint as _envoy_api_v2_endpoint_Endpoint, Endpoint__Output as _envoy_api_v2_endpoint_Endpoint__Output } from './envoy/api/v2/endpoint/Endpoint'; -import { LbEndpoint as _envoy_api_v2_endpoint_LbEndpoint, LbEndpoint__Output as _envoy_api_v2_endpoint_LbEndpoint__Output } from './envoy/api/v2/endpoint/LbEndpoint'; -import { LocalityLbEndpoints as _envoy_api_v2_endpoint_LocalityLbEndpoints, LocalityLbEndpoints__Output as _envoy_api_v2_endpoint_LocalityLbEndpoints__Output } from './envoy/api/v2/endpoint/LocalityLbEndpoints'; -import { CodecClientType as _envoy_type_CodecClientType } from './envoy/type/CodecClientType'; -import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; -import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; -import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; -import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; -import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; -import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; -import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; -import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; -import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; -import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; -import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from './google/api/CustomHttpPattern'; -import { Http as _google_api_Http, Http__Output as _google_api_Http__Output } from './google/api/Http'; -import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from './google/api/HttpRule'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; -import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; -import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; -import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; -import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; -import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; -import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; -import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; -import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; -import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; -import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; -import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; -import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; -import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; -import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; -import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; -import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; -import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; -import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; -import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; -import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; -import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; -import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; -import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; -import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; -import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; -import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; -import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; -import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; -import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; -import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; -import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; -import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; -import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; -import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; -import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; -import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; -import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; -import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; -import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; -import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; -import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; -import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; -import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; -import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; -import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; -import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; -import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; -import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; -import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; -import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; -import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; -import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; -import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; -import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; -import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; -import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; -import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; -import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; -import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; -import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; -import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; -import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; -import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; -import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; -import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; - -export namespace messages { - export namespace envoy { - export namespace annotations { - } - export namespace api { - export namespace v2 { - /** - * Each route from RDS will map to a single cluster or traffic split across - * clusters using weights expressed in the RDS WeightedCluster. - * - * With EDS, each cluster is treated independently from a LB perspective, with - * LB taking place between the Localities within a cluster and at a finer - * granularity between the hosts within a locality. The percentage of traffic - * for each endpoint is determined by both its load_balancing_weight, and the - * load_balancing_weight of its locality. First, a locality will be selected, - * then an endpoint within that locality will be chose based on its weight. - * [#next-free-field: 6] - */ - export type ClusterLoadAssignment = _envoy_api_v2_ClusterLoadAssignment; - /** - * Each route from RDS will map to a single cluster or traffic split across - * clusters using weights expressed in the RDS WeightedCluster. - * - * With EDS, each cluster is treated independently from a LB perspective, with - * LB taking place between the Localities within a cluster and at a finer - * granularity between the hosts within a locality. The percentage of traffic - * for each endpoint is determined by both its load_balancing_weight, and the - * load_balancing_weight of its locality. First, a locality will be selected, - * then an endpoint within that locality will be chose based on its weight. - * [#next-free-field: 6] - */ - export type ClusterLoadAssignment__Output = _envoy_api_v2_ClusterLoadAssignment__Output; - export namespace core { - /** - * Addresses specify either a logical or physical address and port, which are - * used to tell Envoy where to bind/listen, connect to upstream and find - * management servers. - */ - export type Address = _envoy_api_v2_core_Address; - /** - * Addresses specify either a logical or physical address and port, which are - * used to tell Envoy where to bind/listen, connect to upstream and find - * management servers. - */ - export type Address__Output = _envoy_api_v2_core_Address__Output; - /** - * Async data source which support async data fetch. - */ - export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; - /** - * Async data source which support async data fetch. - */ - export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; - /** - * Configuration defining a jittered exponential back off strategy. - */ - export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; - /** - * Configuration defining a jittered exponential back off strategy. - */ - export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; - export type BindConfig = _envoy_api_v2_core_BindConfig; - export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; - /** - * BuildVersion combines SemVer version of extension with free-form build information - * (i.e. 'alpha', 'private-build') as a set of strings. - */ - export type BuildVersion = _envoy_api_v2_core_BuildVersion; - /** - * BuildVersion combines SemVer version of extension with free-form build information - * (i.e. 'alpha', 'private-build') as a set of strings. - */ - export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; - /** - * CidrRange specifies an IP Address and a prefix length to construct - * the subnet mask for a `CIDR `_ range. - */ - export type CidrRange = _envoy_api_v2_core_CidrRange; - /** - * CidrRange specifies an IP Address and a prefix length to construct - * the subnet mask for a `CIDR `_ range. - */ - export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; - /** - * Identifies a specific ControlPlane instance that Envoy is connected to. - */ - export type ControlPlane = _envoy_api_v2_core_ControlPlane; - /** - * Identifies a specific ControlPlane instance that Envoy is connected to. - */ - export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - /** - * Data source consisting of either a file or an inline value. - */ - export type DataSource = _envoy_api_v2_core_DataSource; - /** - * Data source consisting of either a file or an inline value. - */ - export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; - /** - * [#not-implemented-hide:] - * Configuration of the event reporting service endpoint. - */ - export type EventServiceConfig = _envoy_api_v2_core_EventServiceConfig; - /** - * [#not-implemented-hide:] - * Configuration of the event reporting service endpoint. - */ - export type EventServiceConfig__Output = _envoy_api_v2_core_EventServiceConfig__Output; - /** - * Version and identification for an Envoy extension. - * [#next-free-field: 6] - */ - export type Extension = _envoy_api_v2_core_Extension; - /** - * Version and identification for an Envoy extension. - * [#next-free-field: 6] - */ - export type Extension__Output = _envoy_api_v2_core_Extension__Output; - /** - * gRPC service configuration. This is used by :ref:`ApiConfigSource - * ` and filter configurations. - * [#next-free-field: 6] - */ - export type GrpcService = _envoy_api_v2_core_GrpcService; - /** - * gRPC service configuration. This is used by :ref:`ApiConfigSource - * ` and filter configurations. - * [#next-free-field: 6] - */ - export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; - /** - * Wrapper for a set of headers. - */ - export type HeaderMap = _envoy_api_v2_core_HeaderMap; - /** - * Wrapper for a set of headers. - */ - export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; - /** - * Header name/value pair. - */ - export type HeaderValue = _envoy_api_v2_core_HeaderValue; - /** - * Header name/value pair. - */ - export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; - /** - * Header name/value pair plus option to control append behavior. - */ - export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; - /** - * Header name/value pair plus option to control append behavior. - */ - export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; - /** - * [#next-free-field: 23] - */ - export type HealthCheck = _envoy_api_v2_core_HealthCheck; - /** - * [#next-free-field: 23] - */ - export type HealthCheck__Output = _envoy_api_v2_core_HealthCheck__Output; - /** - * Endpoint health status. - */ - export type HealthStatus = _envoy_api_v2_core_HealthStatus; - /** - * Envoy external URI descriptor - */ - export type HttpUri = _envoy_api_v2_core_HttpUri; - /** - * Envoy external URI descriptor - */ - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; - /** - * Identifies location of where either Envoy runs or where upstream hosts run. - */ - export type Locality = _envoy_api_v2_core_Locality; - /** - * Identifies location of where either Envoy runs or where upstream hosts run. - */ - export type Locality__Output = _envoy_api_v2_core_Locality__Output; - /** - * Metadata provides additional inputs to filters based on matched listeners, - * filter chains, routes and endpoints. It is structured as a map, usually from - * filter name (in reverse DNS format) to metadata specific to the filter. Metadata - * key-values for a filter are merged as connection and request handling occurs, - * with later values for the same key overriding earlier values. - * - * An example use of metadata is providing additional values to - * http_connection_manager in the envoy.http_connection_manager.access_log - * namespace. - * - * Another example use of metadata is to per service config info in cluster metadata, which may get - * consumed by multiple filters. - * - * For load balancing, Metadata provides a means to subset cluster endpoints. - * Endpoints have a Metadata object associated and routes contain a Metadata - * object to match against. There are some well defined metadata used today for - * this purpose: - * - * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an - * endpoint and is also used during header processing - * (x-envoy-upstream-canary) and for stats purposes. - * [#next-major-version: move to type/metadata/v2] - */ - export type Metadata = _envoy_api_v2_core_Metadata; - /** - * Metadata provides additional inputs to filters based on matched listeners, - * filter chains, routes and endpoints. It is structured as a map, usually from - * filter name (in reverse DNS format) to metadata specific to the filter. Metadata - * key-values for a filter are merged as connection and request handling occurs, - * with later values for the same key overriding earlier values. - * - * An example use of metadata is providing additional values to - * http_connection_manager in the envoy.http_connection_manager.access_log - * namespace. - * - * Another example use of metadata is to per service config info in cluster metadata, which may get - * consumed by multiple filters. - * - * For load balancing, Metadata provides a means to subset cluster endpoints. - * Endpoints have a Metadata object associated and routes contain a Metadata - * object to match against. There are some well defined metadata used today for - * this purpose: - * - * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an - * endpoint and is also used during header processing - * (x-envoy-upstream-canary) and for stats purposes. - * [#next-major-version: move to type/metadata/v2] - */ - export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; - /** - * Identifies a specific Envoy instance. The node identifier is presented to the - * management server, which may use this identifier to distinguish per Envoy - * configuration for serving. - * [#next-free-field: 12] - */ - export type Node = _envoy_api_v2_core_Node; - /** - * Identifies a specific Envoy instance. The node identifier is presented to the - * management server, which may use this identifier to distinguish per Envoy - * configuration for serving. - * [#next-free-field: 12] - */ - export type Node__Output = _envoy_api_v2_core_Node__Output; - export type Pipe = _envoy_api_v2_core_Pipe; - export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; - /** - * The message specifies how to fetch data from remote and how to verify it. - */ - export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; - /** - * The message specifies how to fetch data from remote and how to verify it. - */ - export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; - /** - * HTTP request method. - */ - export type RequestMethod = _envoy_api_v2_core_RequestMethod; - /** - * The message specifies the retry policy of remote data source when fetching fails. - */ - export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; - /** - * The message specifies the retry policy of remote data source when fetching fails. - */ - export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; - /** - * Envoy supports :ref:`upstream priority routing - * ` both at the route and the virtual - * cluster level. The current priority implementation uses different connection - * pool and circuit breaking settings for each priority level. This means that - * even for HTTP/2 requests, two physical connections will be used to an - * upstream host. In the future Envoy will likely support true HTTP/2 priority - * over a single upstream connection. - */ - export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; - /** - * Runtime derived double with a default when not specified. - */ - export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; - /** - * Runtime derived double with a default when not specified. - */ - export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; - /** - * Runtime derived bool with a default when not specified. - */ - export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; - /** - * Runtime derived bool with a default when not specified. - */ - export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; - /** - * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not - * specified via a runtime key. - * - * .. note:: - * - * Parsing of the runtime key's data is implemented such that it may be represented as a - * :ref:`FractionalPercent ` proto represented as JSON/YAML - * and may also be represented as an integer with the assumption that the value is an integral - * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse - * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. - */ - export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; - /** - * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not - * specified via a runtime key. - * - * .. note:: - * - * Parsing of the runtime key's data is implemented such that it may be represented as a - * :ref:`FractionalPercent ` proto represented as JSON/YAML - * and may also be represented as an integer with the assumption that the value is an integral - * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse - * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. - */ - export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; - /** - * Runtime derived uint32 with a default when not specified. - */ - export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; - /** - * Runtime derived uint32 with a default when not specified. - */ - export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; - /** - * [#next-free-field: 7] - */ - export type SocketAddress = _envoy_api_v2_core_SocketAddress; - /** - * [#next-free-field: 7] - */ - export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; - /** - * Generic socket option message. This would be used to set socket options that - * might not exist in upstream kernels or precompiled Envoy binaries. - * [#next-free-field: 7] - */ - export type SocketOption = _envoy_api_v2_core_SocketOption; - /** - * Generic socket option message. This would be used to set socket options that - * might not exist in upstream kernels or precompiled Envoy binaries. - * [#next-free-field: 7] - */ - export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; - export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; - export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; - /** - * Identifies the direction of the traffic relative to the local Envoy. - */ - export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; - /** - * Configuration for transport socket in :ref:`listeners ` and - * :ref:`clusters `. If the configuration is - * empty, a default transport socket implementation and configuration will be - * chosen based on the platform and existence of tls_context. - */ - export type TransportSocket = _envoy_api_v2_core_TransportSocket; - /** - * Configuration for transport socket in :ref:`listeners ` and - * :ref:`clusters `. If the configuration is - * empty, a default transport socket implementation and configuration will be - * chosen based on the platform and existence of tls_context. - */ - export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; - } - export namespace endpoint { - /** - * Upstream host identifier. - */ - export type Endpoint = _envoy_api_v2_endpoint_Endpoint; - /** - * Upstream host identifier. - */ - export type Endpoint__Output = _envoy_api_v2_endpoint_Endpoint__Output; - /** - * An Endpoint that Envoy can route traffic to. - * [#next-free-field: 6] - */ - export type LbEndpoint = _envoy_api_v2_endpoint_LbEndpoint; - /** - * An Endpoint that Envoy can route traffic to. - * [#next-free-field: 6] - */ - export type LbEndpoint__Output = _envoy_api_v2_endpoint_LbEndpoint__Output; - /** - * A group of endpoints belonging to a Locality. - * One can have multiple LocalityLbEndpoints for a locality, but this is - * generally only done if the different groups need to have different load - * balancing weights or different priorities. - * [#next-free-field: 7] - */ - export type LocalityLbEndpoints = _envoy_api_v2_endpoint_LocalityLbEndpoints; - /** - * A group of endpoints belonging to a Locality. - * One can have multiple LocalityLbEndpoints for a locality, but this is - * generally only done if the different groups need to have different load - * balancing weights or different priorities. - * [#next-free-field: 7] - */ - export type LocalityLbEndpoints__Output = _envoy_api_v2_endpoint_LocalityLbEndpoints__Output; - } - } - } - export namespace type { - export type CodecClientType = _envoy_type_CodecClientType; - /** - * Specifies the double start and end of the range using half-open interval semantics [start, - * end). - */ - export type DoubleRange = _envoy_type_DoubleRange; - /** - * Specifies the double start and end of the range using half-open interval semantics [start, - * end). - */ - export type DoubleRange__Output = _envoy_type_DoubleRange__Output; - /** - * A fractional percentage is used in cases in which for performance reasons performing floating - * point to integer conversions during randomness calculations is undesirable. The message includes - * both a numerator and denominator that together determine the final fractional value. - * - * * **Example**: 1/100 = 1%. - * * **Example**: 3/10000 = 0.03%. - */ - export type FractionalPercent = _envoy_type_FractionalPercent; - /** - * A fractional percentage is used in cases in which for performance reasons performing floating - * point to integer conversions during randomness calculations is undesirable. The message includes - * both a numerator and denominator that together determine the final fractional value. - * - * * **Example**: 1/100 = 1%. - * * **Example**: 3/10000 = 0.03%. - */ - export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; - /** - * Specifies the int32 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int32Range = _envoy_type_Int32Range; - /** - * Specifies the int32 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int32Range__Output = _envoy_type_Int32Range__Output; - /** - * Specifies the int64 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int64Range = _envoy_type_Int64Range; - /** - * Specifies the int64 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int64Range__Output = _envoy_type_Int64Range__Output; - /** - * Identifies a percentage, in the range [0.0, 100.0]. - */ - export type Percent = _envoy_type_Percent; - /** - * Identifies a percentage, in the range [0.0, 100.0]. - */ - export type Percent__Output = _envoy_type_Percent__Output; - /** - * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate - * expected behaviors and APIs, the patch version field is used only - * for security fixes and can be generally ignored. - */ - export type SemanticVersion = _envoy_type_SemanticVersion; - /** - * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate - * expected behaviors and APIs, the patch version field is used only - * for security fixes and can be generally ignored. - */ - export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; - export namespace matcher { - /** - * Specifies a list of ways to match a string. - */ - export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; - /** - * Specifies a list of ways to match a string. - */ - export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; - /** - * Describes how to match a string and then produce a new string using a regular - * expression and a substitution string. - */ - export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; - /** - * Describes how to match a string and then produce a new string using a regular - * expression and a substitution string. - */ - export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; - /** - * A regex matcher designed for safety when used with untrusted input. - */ - export type RegexMatcher = _envoy_type_matcher_RegexMatcher; - /** - * A regex matcher designed for safety when used with untrusted input. - */ - export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; - /** - * Specifies the way to match a string. - * [#next-free-field: 7] - */ - export type StringMatcher = _envoy_type_matcher_StringMatcher; - /** - * Specifies the way to match a string. - * [#next-free-field: 7] - */ - export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; - } - } - } - export namespace google { - export namespace api { - /** - * A custom pattern is used for defining custom HTTP verb. - */ - export type CustomHttpPattern = _google_api_CustomHttpPattern; - /** - * A custom pattern is used for defining custom HTTP verb. - */ - export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; - /** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * to one or more HTTP REST API methods. - */ - export type Http = _google_api_Http; - /** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * to one or more HTTP REST API methods. - */ - export type Http__Output = _google_api_Http__Output; - /** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ - export type HttpRule = _google_api_HttpRule; - /** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ - export type HttpRule__Output = _google_api_HttpRule__Output; - } - export namespace protobuf { - export type Any = _google_protobuf_Any; - export type Any__Output = _google_protobuf_Any__Output; - export type BoolValue = _google_protobuf_BoolValue; - export type BoolValue__Output = _google_protobuf_BoolValue__Output; - export type BytesValue = _google_protobuf_BytesValue; - export type BytesValue__Output = _google_protobuf_BytesValue__Output; - export type DescriptorProto = _google_protobuf_DescriptorProto; - export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; - export type DoubleValue = _google_protobuf_DoubleValue; - export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; - export type Duration = _google_protobuf_Duration; - export type Duration__Output = _google_protobuf_Duration__Output; - export type Empty = _google_protobuf_Empty; - export type Empty__Output = _google_protobuf_Empty__Output; - export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; - export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; - export type EnumOptions = _google_protobuf_EnumOptions; - export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; - export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; - export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; - export type EnumValueOptions = _google_protobuf_EnumValueOptions; - export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; - export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; - export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; - export type FieldOptions = _google_protobuf_FieldOptions; - export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; - export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; - export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; - export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; - export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; - export type FileOptions = _google_protobuf_FileOptions; - export type FileOptions__Output = _google_protobuf_FileOptions__Output; - export type FloatValue = _google_protobuf_FloatValue; - export type FloatValue__Output = _google_protobuf_FloatValue__Output; - export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; - export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; - export type Int32Value = _google_protobuf_Int32Value; - export type Int32Value__Output = _google_protobuf_Int32Value__Output; - export type Int64Value = _google_protobuf_Int64Value; - export type Int64Value__Output = _google_protobuf_Int64Value__Output; - export type ListValue = _google_protobuf_ListValue; - export type ListValue__Output = _google_protobuf_ListValue__Output; - export type MessageOptions = _google_protobuf_MessageOptions; - export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; - export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; - export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; - export type MethodOptions = _google_protobuf_MethodOptions; - export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; - export type NullValue = _google_protobuf_NullValue; - export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; - export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; - export type OneofOptions = _google_protobuf_OneofOptions; - export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; - export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; - export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; - export type ServiceOptions = _google_protobuf_ServiceOptions; - export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; - export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; - export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; - export type StringValue = _google_protobuf_StringValue; - export type StringValue__Output = _google_protobuf_StringValue__Output; - export type Struct = _google_protobuf_Struct; - export type Struct__Output = _google_protobuf_Struct__Output; - export type Timestamp = _google_protobuf_Timestamp; - export type Timestamp__Output = _google_protobuf_Timestamp__Output; - export type UInt32Value = _google_protobuf_UInt32Value; - export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; - export type UInt64Value = _google_protobuf_UInt64Value; - export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; - export type UninterpretedOption = _google_protobuf_UninterpretedOption; - export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; - export type Value = _google_protobuf_Value; - export type Value__Output = _google_protobuf_Value__Output; - } - } - export namespace udpa { - export namespace annotations { - export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; - export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; - export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; - export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; - export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; - export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; - export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; - export type StatusAnnotation = _udpa_annotations_StatusAnnotation; - export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; - } - } - export namespace validate { - /** - * AnyRules describe constraints applied exclusively to the - * `google.protobuf.Any` well-known type - */ - export type AnyRules = _validate_AnyRules; - /** - * AnyRules describe constraints applied exclusively to the - * `google.protobuf.Any` well-known type - */ - export type AnyRules__Output = _validate_AnyRules__Output; - /** - * BoolRules describes the constraints applied to `bool` values - */ - export type BoolRules = _validate_BoolRules; - /** - * BoolRules describes the constraints applied to `bool` values - */ - export type BoolRules__Output = _validate_BoolRules__Output; - /** - * BytesRules describe the constraints applied to `bytes` values - */ - export type BytesRules = _validate_BytesRules; - /** - * BytesRules describe the constraints applied to `bytes` values - */ - export type BytesRules__Output = _validate_BytesRules__Output; - /** - * DoubleRules describes the constraints applied to `double` values - */ - export type DoubleRules = _validate_DoubleRules; - /** - * DoubleRules describes the constraints applied to `double` values - */ - export type DoubleRules__Output = _validate_DoubleRules__Output; - /** - * DurationRules describe the constraints applied exclusively to the - * `google.protobuf.Duration` well-known type - */ - export type DurationRules = _validate_DurationRules; - /** - * DurationRules describe the constraints applied exclusively to the - * `google.protobuf.Duration` well-known type - */ - export type DurationRules__Output = _validate_DurationRules__Output; - /** - * EnumRules describe the constraints applied to enum values - */ - export type EnumRules = _validate_EnumRules; - /** - * EnumRules describe the constraints applied to enum values - */ - export type EnumRules__Output = _validate_EnumRules__Output; - /** - * FieldRules encapsulates the rules for each type of field. Depending on the - * field, the correct set should be used to ensure proper validations. - */ - export type FieldRules = _validate_FieldRules; - /** - * FieldRules encapsulates the rules for each type of field. Depending on the - * field, the correct set should be used to ensure proper validations. - */ - export type FieldRules__Output = _validate_FieldRules__Output; - /** - * Fixed32Rules describes the constraints applied to `fixed32` values - */ - export type Fixed32Rules = _validate_Fixed32Rules; - /** - * Fixed32Rules describes the constraints applied to `fixed32` values - */ - export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; - /** - * Fixed64Rules describes the constraints applied to `fixed64` values - */ - export type Fixed64Rules = _validate_Fixed64Rules; - /** - * Fixed64Rules describes the constraints applied to `fixed64` values - */ - export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; - /** - * FloatRules describes the constraints applied to `float` values - */ - export type FloatRules = _validate_FloatRules; - /** - * FloatRules describes the constraints applied to `float` values - */ - export type FloatRules__Output = _validate_FloatRules__Output; - /** - * Int32Rules describes the constraints applied to `int32` values - */ - export type Int32Rules = _validate_Int32Rules; - /** - * Int32Rules describes the constraints applied to `int32` values - */ - export type Int32Rules__Output = _validate_Int32Rules__Output; - /** - * Int64Rules describes the constraints applied to `int64` values - */ - export type Int64Rules = _validate_Int64Rules; - /** - * Int64Rules describes the constraints applied to `int64` values - */ - export type Int64Rules__Output = _validate_Int64Rules__Output; - /** - * WellKnownRegex contain some well-known patterns. - */ - export type KnownRegex = _validate_KnownRegex; - /** - * MapRules describe the constraints applied to `map` values - */ - export type MapRules = _validate_MapRules; - /** - * MapRules describe the constraints applied to `map` values - */ - export type MapRules__Output = _validate_MapRules__Output; - /** - * MessageRules describe the constraints applied to embedded message values. - * For message-type fields, validation is performed recursively. - */ - export type MessageRules = _validate_MessageRules; - /** - * MessageRules describe the constraints applied to embedded message values. - * For message-type fields, validation is performed recursively. - */ - export type MessageRules__Output = _validate_MessageRules__Output; - /** - * RepeatedRules describe the constraints applied to `repeated` values - */ - export type RepeatedRules = _validate_RepeatedRules; - /** - * RepeatedRules describe the constraints applied to `repeated` values - */ - export type RepeatedRules__Output = _validate_RepeatedRules__Output; - /** - * SFixed32Rules describes the constraints applied to `sfixed32` values - */ - export type SFixed32Rules = _validate_SFixed32Rules; - /** - * SFixed32Rules describes the constraints applied to `sfixed32` values - */ - export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; - /** - * SFixed64Rules describes the constraints applied to `sfixed64` values - */ - export type SFixed64Rules = _validate_SFixed64Rules; - /** - * SFixed64Rules describes the constraints applied to `sfixed64` values - */ - export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; - /** - * SInt32Rules describes the constraints applied to `sint32` values - */ - export type SInt32Rules = _validate_SInt32Rules; - /** - * SInt32Rules describes the constraints applied to `sint32` values - */ - export type SInt32Rules__Output = _validate_SInt32Rules__Output; - /** - * SInt64Rules describes the constraints applied to `sint64` values - */ - export type SInt64Rules = _validate_SInt64Rules; - /** - * SInt64Rules describes the constraints applied to `sint64` values - */ - export type SInt64Rules__Output = _validate_SInt64Rules__Output; - /** - * StringRules describe the constraints applied to `string` values - */ - export type StringRules = _validate_StringRules; - /** - * StringRules describe the constraints applied to `string` values - */ - export type StringRules__Output = _validate_StringRules__Output; - /** - * TimestampRules describe the constraints applied exclusively to the - * `google.protobuf.Timestamp` well-known type - */ - export type TimestampRules = _validate_TimestampRules; - /** - * TimestampRules describe the constraints applied exclusively to the - * `google.protobuf.Timestamp` well-known type - */ - export type TimestampRules__Output = _validate_TimestampRules__Output; - /** - * UInt32Rules describes the constraints applied to `uint32` values - */ - export type UInt32Rules = _validate_UInt32Rules; - /** - * UInt32Rules describes the constraints applied to `uint32` values - */ - export type UInt32Rules__Output = _validate_UInt32Rules__Output; - /** - * UInt64Rules describes the constraints applied to `uint64` values - */ - export type UInt64Rules = _validate_UInt64Rules; - /** - * UInt64Rules describes the constraints applied to `uint64` values - */ - export type UInt64Rules__Output = _validate_UInt64Rules__Output; - } -} - -export namespace ClientInterfaces { - export namespace envoy { - export namespace annotations { - } - export namespace api { - export namespace v2 { - export namespace ClusterLoadAssignment { - export namespace Policy { - export namespace DropOverload { - } - } - } - export namespace core { - export namespace Address { - } - export namespace AsyncDataSource { - } - export namespace BackoffStrategy { - } - export namespace BindConfig { - } - export namespace BuildVersion { - } - export namespace CidrRange { - } - export namespace ControlPlane { - } - export namespace DataSource { - } - export namespace EventServiceConfig { - } - export namespace Extension { - } - export namespace GrpcService { - export namespace EnvoyGrpc { - } - export namespace GoogleGrpc { - export namespace CallCredentials { - export namespace GoogleIAMCredentials { - } - export namespace MetadataCredentialsFromPlugin { - } - export namespace ServiceAccountJWTAccessCredentials { - } - export namespace StsService { - } - } - export namespace ChannelCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace SslCredentials { - } - } - } - export namespace HeaderMap { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { - } - export namespace HealthCheck { - export namespace CustomHealthCheck { - } - export namespace GrpcHealthCheck { - } - export namespace HttpHealthCheck { - } - export namespace Payload { - } - export namespace RedisHealthCheck { - } - export namespace TcpHealthCheck { - } - export namespace TlsOptions { - } - } - export namespace HttpUri { - } - export namespace Locality { - } - export namespace Metadata { - } - export namespace Node { - } - export namespace Pipe { - } - export namespace RemoteDataSource { - } - export namespace RetryPolicy { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace RuntimeFractionalPercent { - } - export namespace RuntimeUInt32 { - } - export namespace SocketAddress { - } - export namespace SocketOption { - } - export namespace TcpKeepalive { - } - export namespace TransportSocket { - } - } - export namespace endpoint { - export namespace Endpoint { - export namespace HealthCheckConfig { - } - } - export namespace LbEndpoint { - } - export namespace LocalityLbEndpoints { - } - } - } - } - export namespace type { - export namespace DoubleRange { - } - export namespace FractionalPercent { - } - export namespace Int32Range { - } - export namespace Int64Range { - } - export namespace Percent { - } - export namespace SemanticVersion { - } - export namespace matcher { - export namespace ListStringMatcher { - } - export namespace RegexMatchAndSubstitute { - } - export namespace RegexMatcher { - export namespace GoogleRE2 { - } - } - export namespace StringMatcher { - } - } - } - } - export namespace google { - export namespace api { - export namespace CustomHttpPattern { - } - export namespace Http { - } - export namespace HttpRule { - } - } - export namespace protobuf { - export namespace Any { - } - export namespace BoolValue { - } - export namespace BytesValue { - } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } - } - export namespace DoubleValue { - } - export namespace Duration { - } - export namespace Empty { - } - export namespace EnumDescriptorProto { - } - export namespace EnumOptions { - } - export namespace EnumValueDescriptorProto { - } - export namespace EnumValueOptions { - } - export namespace FieldDescriptorProto { - } - export namespace FieldOptions { - } - export namespace FileDescriptorProto { - } - export namespace FileDescriptorSet { - } - export namespace FileOptions { - } - export namespace FloatValue { - } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } - } - export namespace Int32Value { - } - export namespace Int64Value { - } - export namespace ListValue { - } - export namespace MessageOptions { - } - export namespace MethodDescriptorProto { - } - export namespace MethodOptions { - } - export namespace OneofDescriptorProto { - } - export namespace OneofOptions { - } - export namespace ServiceDescriptorProto { - } - export namespace ServiceOptions { - } - export namespace SourceCodeInfo { - export namespace Location { - } - } - export namespace StringValue { - } - export namespace Struct { - } - export namespace Timestamp { - } - export namespace UInt32Value { - } - export namespace UInt64Value { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } - export namespace Value { - } - } - } - export namespace udpa { - export namespace annotations { - export namespace FieldMigrateAnnotation { - } - export namespace FileMigrateAnnotation { - } - export namespace MigrateAnnotation { - } - export namespace StatusAnnotation { - } - } - } - export namespace validate { - export namespace AnyRules { - } - export namespace BoolRules { - } - export namespace BytesRules { - } - export namespace DoubleRules { - } - export namespace DurationRules { - } - export namespace EnumRules { - } - export namespace FieldRules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace FloatRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace MapRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace StringRules { - } - export namespace TimestampRules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - } -} type ConstructorArguments = Constructor extends new (...args: infer Args) => any ? Args: never; type SubtypeConstructor = { @@ -1953,305 +156,3 @@ export interface ProtoGrpcType { } } -export namespace ServiceHandlers { - export namespace envoy { - export namespace annotations { - } - export namespace api { - export namespace v2 { - export namespace ClusterLoadAssignment { - export namespace Policy { - export namespace DropOverload { - } - } - } - export namespace core { - export namespace Address { - } - export namespace AsyncDataSource { - } - export namespace BackoffStrategy { - } - export namespace BindConfig { - } - export namespace BuildVersion { - } - export namespace CidrRange { - } - export namespace ControlPlane { - } - export namespace DataSource { - } - export namespace EventServiceConfig { - } - export namespace Extension { - } - export namespace GrpcService { - export namespace EnvoyGrpc { - } - export namespace GoogleGrpc { - export namespace CallCredentials { - export namespace GoogleIAMCredentials { - } - export namespace MetadataCredentialsFromPlugin { - } - export namespace ServiceAccountJWTAccessCredentials { - } - export namespace StsService { - } - } - export namespace ChannelCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace SslCredentials { - } - } - } - export namespace HeaderMap { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { - } - export namespace HealthCheck { - export namespace CustomHealthCheck { - } - export namespace GrpcHealthCheck { - } - export namespace HttpHealthCheck { - } - export namespace Payload { - } - export namespace RedisHealthCheck { - } - export namespace TcpHealthCheck { - } - export namespace TlsOptions { - } - } - export namespace HttpUri { - } - export namespace Locality { - } - export namespace Metadata { - } - export namespace Node { - } - export namespace Pipe { - } - export namespace RemoteDataSource { - } - export namespace RetryPolicy { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace RuntimeFractionalPercent { - } - export namespace RuntimeUInt32 { - } - export namespace SocketAddress { - } - export namespace SocketOption { - } - export namespace TcpKeepalive { - } - export namespace TransportSocket { - } - } - export namespace endpoint { - export namespace Endpoint { - export namespace HealthCheckConfig { - } - } - export namespace LbEndpoint { - } - export namespace LocalityLbEndpoints { - } - } - } - } - export namespace type { - export namespace DoubleRange { - } - export namespace FractionalPercent { - } - export namespace Int32Range { - } - export namespace Int64Range { - } - export namespace Percent { - } - export namespace SemanticVersion { - } - export namespace matcher { - export namespace ListStringMatcher { - } - export namespace RegexMatchAndSubstitute { - } - export namespace RegexMatcher { - export namespace GoogleRE2 { - } - } - export namespace StringMatcher { - } - } - } - } - export namespace google { - export namespace api { - export namespace CustomHttpPattern { - } - export namespace Http { - } - export namespace HttpRule { - } - } - export namespace protobuf { - export namespace Any { - } - export namespace BoolValue { - } - export namespace BytesValue { - } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } - } - export namespace DoubleValue { - } - export namespace Duration { - } - export namespace Empty { - } - export namespace EnumDescriptorProto { - } - export namespace EnumOptions { - } - export namespace EnumValueDescriptorProto { - } - export namespace EnumValueOptions { - } - export namespace FieldDescriptorProto { - } - export namespace FieldOptions { - } - export namespace FileDescriptorProto { - } - export namespace FileDescriptorSet { - } - export namespace FileOptions { - } - export namespace FloatValue { - } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } - } - export namespace Int32Value { - } - export namespace Int64Value { - } - export namespace ListValue { - } - export namespace MessageOptions { - } - export namespace MethodDescriptorProto { - } - export namespace MethodOptions { - } - export namespace OneofDescriptorProto { - } - export namespace OneofOptions { - } - export namespace ServiceDescriptorProto { - } - export namespace ServiceOptions { - } - export namespace SourceCodeInfo { - export namespace Location { - } - } - export namespace StringValue { - } - export namespace Struct { - } - export namespace Timestamp { - } - export namespace UInt32Value { - } - export namespace UInt64Value { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } - export namespace Value { - } - } - } - export namespace udpa { - export namespace annotations { - export namespace FieldMigrateAnnotation { - } - export namespace FileMigrateAnnotation { - } - export namespace MigrateAnnotation { - } - export namespace StatusAnnotation { - } - } - } - export namespace validate { - export namespace AnyRules { - } - export namespace BoolRules { - } - export namespace BytesRules { - } - export namespace DoubleRules { - } - export namespace DurationRules { - } - export namespace EnumRules { - } - export namespace FieldRules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace FloatRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace MapRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace StringRules { - } - export namespace TimestampRules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - } -} diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts b/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts index 9d7cad537..4f6d10c60 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts @@ -21,8 +21,8 @@ import { Filter as _envoy_api_v2_cluster_Filter, Filter__Output as _envoy_api_v2 import { LoadBalancingPolicy as _envoy_api_v2_LoadBalancingPolicy, LoadBalancingPolicy__Output as _envoy_api_v2_LoadBalancingPolicy__Output } from '../../../envoy/api/v2/LoadBalancingPolicy'; import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from '../../../envoy/api/v2/core/ConfigSource'; import { UpstreamHttpProtocolOptions as _envoy_api_v2_core_UpstreamHttpProtocolOptions, UpstreamHttpProtocolOptions__Output as _envoy_api_v2_core_UpstreamHttpProtocolOptions__Output } from '../../../envoy/api/v2/core/UpstreamHttpProtocolOptions'; -import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from '../../../envoy/type/Percent'; import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from '../../../google/protobuf/UInt64Value'; +import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from '../../../envoy/type/Percent'; import { Long } from '@grpc/proto-loader'; // Original file: deps/envoy-api/envoy/api/v2/cluster.proto @@ -196,78 +196,6 @@ export interface _envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig_ 'use_hostname_for_hashing': (boolean); } -/** - * Configuration for :ref:`locality weighted load balancing - * ` - */ -export interface _envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig { -} - -/** - * Configuration for :ref:`locality weighted load balancing - * ` - */ -export interface _envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig__Output { -} - -/** - * Configuration for :ref:`zone aware routing - * `. - */ -export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig { - /** - * Configures percentage of requests that will be considered for zone aware routing - * if zone aware routing is configured. If not specified, the default is 100%. - * * :ref:`runtime values `. - * * :ref:`Zone aware routing support `. - */ - 'routing_enabled'?: (_envoy_type_Percent); - /** - * Configures minimum upstream cluster size required for zone aware routing - * If upstream cluster size is less than specified, zone aware routing is not performed - * even if zone aware routing is configured. If not specified, the default is 6. - * * :ref:`runtime values `. - * * :ref:`Zone aware routing support `. - */ - 'min_cluster_size'?: (_google_protobuf_UInt64Value); - /** - * If set to true, Envoy will not consider any hosts when the cluster is in :ref:`panic - * mode`. Instead, the cluster will fail all - * requests as if all hosts are unhealthy. This can help avoid potentially overwhelming a - * failing service. - */ - 'fail_traffic_on_panic'?: (boolean); -} - -/** - * Configuration for :ref:`zone aware routing - * `. - */ -export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__Output { - /** - * Configures percentage of requests that will be considered for zone aware routing - * if zone aware routing is configured. If not specified, the default is 100%. - * * :ref:`runtime values `. - * * :ref:`Zone aware routing support `. - */ - 'routing_enabled': (_envoy_type_Percent__Output); - /** - * Configures minimum upstream cluster size required for zone aware routing - * If upstream cluster size is less than specified, zone aware routing is not performed - * even if zone aware routing is configured. If not specified, the default is 6. - * * :ref:`runtime values `. - * * :ref:`Zone aware routing support `. - */ - 'min_cluster_size': (_google_protobuf_UInt64Value__Output); - /** - * If set to true, Envoy will not consider any hosts when the cluster is in :ref:`panic - * mode`. Instead, the cluster will fail all - * requests as if all hosts are unhealthy. This can help avoid potentially overwhelming a - * failing service. - */ - 'fail_traffic_on_panic': (boolean); -} - /** * Extended cluster type. */ @@ -389,6 +317,24 @@ export interface _envoy_api_v2_Cluster_EdsClusterConfig__Output { // Original file: deps/envoy-api/envoy/api/v2/cluster.proto +/** + * The hash function used to hash hosts onto the ketama ring. + */ +export enum _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction { + /** + * Use `xxHash `_, this is the default hash function. + */ + XX_HASH = 0, + /** + * Use `MurmurHash2 `_, this is compatible with + * std:hash in GNU libstdc++ 3.4.20 or above. This is typically the case when compiled + * on Linux and not macOS. + */ + MURMUR_HASH_2 = 1, +} + +// Original file: deps/envoy-api/envoy/api/v2/cluster.proto + /** * Refer to :ref:`load balancer type ` architecture * overview section for information on each type. @@ -728,6 +674,20 @@ export interface _envoy_api_v2_Cluster_LeastRequestLbConfig__Output { 'choice_count': (_google_protobuf_UInt32Value__Output); } +/** + * Configuration for :ref:`locality weighted load balancing + * ` + */ +export interface _envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig { +} + +/** + * Configuration for :ref:`locality weighted load balancing + * ` + */ +export interface _envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig__Output { +} + /** * Specific configuration for the * :ref:`Original Destination ` @@ -850,24 +810,6 @@ export interface _envoy_api_v2_Cluster_RingHashLbConfig__Output { 'maximum_ring_size': (_google_protobuf_UInt64Value__Output); } -// Original file: deps/envoy-api/envoy/api/v2/cluster.proto - -/** - * The hash function used to hash hosts onto the ketama ring. - */ -export enum _envoy_api_v2_Cluster_RingHashLbConfig_HashFunction { - /** - * Use `xxHash `_, this is the default hash function. - */ - XX_HASH = 0, - /** - * Use `MurmurHash2 `_, this is compatible with - * std:hash in GNU libstdc++ 3.4.20 or above. This is typically the case when compiled - * on Linux and not macOS. - */ - MURMUR_HASH_2 = 1, -} - /** * TransportSocketMatch specifies what transport socket config will be used * when the match conditions are satisfied. @@ -914,6 +856,64 @@ export interface _envoy_api_v2_Cluster_TransportSocketMatch__Output { 'transport_socket': (_envoy_api_v2_core_TransportSocket__Output); } +/** + * Configuration for :ref:`zone aware routing + * `. + */ +export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig { + /** + * Configures percentage of requests that will be considered for zone aware routing + * if zone aware routing is configured. If not specified, the default is 100%. + * * :ref:`runtime values `. + * * :ref:`Zone aware routing support `. + */ + 'routing_enabled'?: (_envoy_type_Percent); + /** + * Configures minimum upstream cluster size required for zone aware routing + * If upstream cluster size is less than specified, zone aware routing is not performed + * even if zone aware routing is configured. If not specified, the default is 6. + * * :ref:`runtime values `. + * * :ref:`Zone aware routing support `. + */ + 'min_cluster_size'?: (_google_protobuf_UInt64Value); + /** + * If set to true, Envoy will not consider any hosts when the cluster is in :ref:`panic + * mode`. Instead, the cluster will fail all + * requests as if all hosts are unhealthy. This can help avoid potentially overwhelming a + * failing service. + */ + 'fail_traffic_on_panic'?: (boolean); +} + +/** + * Configuration for :ref:`zone aware routing + * `. + */ +export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__Output { + /** + * Configures percentage of requests that will be considered for zone aware routing + * if zone aware routing is configured. If not specified, the default is 100%. + * * :ref:`runtime values `. + * * :ref:`Zone aware routing support `. + */ + 'routing_enabled': (_envoy_type_Percent__Output); + /** + * Configures minimum upstream cluster size required for zone aware routing + * If upstream cluster size is less than specified, zone aware routing is not performed + * even if zone aware routing is configured. If not specified, the default is 6. + * * :ref:`runtime values `. + * * :ref:`Zone aware routing support `. + */ + 'min_cluster_size': (_google_protobuf_UInt64Value__Output); + /** + * If set to true, Envoy will not consider any hosts when the cluster is in :ref:`panic + * mode`. Instead, the cluster will fail all + * requests as if all hosts are unhealthy. This can help avoid potentially overwhelming a + * failing service. + */ + 'fail_traffic_on_panic': (boolean); +} + /** * Configuration for a single upstream cluster. * [#next-free-field: 48] diff --git a/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts b/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts index 0f6baa546..ecb8034ed 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts @@ -6,6 +6,34 @@ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _go import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration'; import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from '../../../envoy/type/FractionalPercent'; +/** + * [#not-implemented-hide:] + */ +export interface _envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload { + /** + * Identifier for the policy specifying the drop. + */ + 'category'?: (string); + /** + * Percentage of traffic that should be dropped for the category. + */ + 'drop_percentage'?: (_envoy_type_FractionalPercent); +} + +/** + * [#not-implemented-hide:] + */ +export interface _envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload__Output { + /** + * Identifier for the policy specifying the drop. + */ + 'category': (string); + /** + * Percentage of traffic that should be dropped for the category. + */ + 'drop_percentage': (_envoy_type_FractionalPercent__Output); +} + /** * Load balancing policy settings. * [#next-free-field: 6] @@ -136,34 +164,6 @@ export interface _envoy_api_v2_ClusterLoadAssignment_Policy__Output { 'disable_overprovisioning': (boolean); } -/** - * [#not-implemented-hide:] - */ -export interface _envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload { - /** - * Identifier for the policy specifying the drop. - */ - 'category'?: (string); - /** - * Percentage of traffic that should be dropped for the category. - */ - 'drop_percentage'?: (_envoy_type_FractionalPercent); -} - -/** - * [#not-implemented-hide:] - */ -export interface _envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload__Output { - /** - * Identifier for the policy specifying the drop. - */ - 'category': (string); - /** - * Percentage of traffic that should be dropped for the category. - */ - 'drop_percentage': (_envoy_type_FractionalPercent__Output); -} - /** * Each route from RDS will map to a single cluster or traffic split across * clusters using weights expressed in the RDS WeightedCluster. diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts b/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts index befc353b9..9c0368ce7 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts @@ -35,28 +35,6 @@ export interface _envoy_api_v2_Listener_ConnectionBalanceConfig__Output { 'balance_type': "exact_balance"; } -/** - * A connection balancer implementation that does exact balancing. This means that a lock is - * held during balancing so that connection counts are nearly exactly balanced between worker - * threads. This is "nearly" exact in the sense that a connection might close in parallel thus - * making the counts incorrect, but this should be rectified on the next accept. This balancer - * sacrifices accept throughput for accuracy and should be used when there are a small number of - * connections that rarely cycle (e.g., service mesh gRPC egress). - */ -export interface _envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance { -} - -/** - * A connection balancer implementation that does exact balancing. This means that a lock is - * held during balancing so that connection counts are nearly exactly balanced between worker - * threads. This is "nearly" exact in the sense that a connection might close in parallel thus - * making the counts incorrect, but this should be rectified on the next accept. This balancer - * sacrifices accept throughput for accuracy and should be used when there are a small number of - * connections that rarely cycle (e.g., service mesh gRPC egress). - */ -export interface _envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance__Output { -} - /** * [#not-implemented-hide:] */ @@ -111,6 +89,28 @@ export enum _envoy_api_v2_Listener_DrainType { MODIFY_ONLY = 1, } +/** + * A connection balancer implementation that does exact balancing. This means that a lock is + * held during balancing so that connection counts are nearly exactly balanced between worker + * threads. This is "nearly" exact in the sense that a connection might close in parallel thus + * making the counts incorrect, but this should be rectified on the next accept. This balancer + * sacrifices accept throughput for accuracy and should be used when there are a small number of + * connections that rarely cycle (e.g., service mesh gRPC egress). + */ +export interface _envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance { +} + +/** + * A connection balancer implementation that does exact balancing. This means that a lock is + * held during balancing so that connection counts are nearly exactly balanced between worker + * threads. This is "nearly" exact in the sense that a connection might close in parallel thus + * making the counts incorrect, but this should be rectified on the next accept. This balancer + * sacrifices accept throughput for accuracy and should be used when there are a small number of + * connections that rarely cycle (e.g., service mesh gRPC egress). + */ +export interface _envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance__Output { +} + /** * [#next-free-field: 23] */ diff --git a/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts b/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts index f5addf5f2..0b2f01db6 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts @@ -4,6 +4,42 @@ import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from '../../../ import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from '../../../../envoy/type/Percent'; +export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget { + /** + * Specifies the limit on concurrent retries as a percentage of the sum of active requests and + * active pending requests. For example, if there are 100 active requests and the + * budget_percent is set to 25, there may be 25 active retries. + * + * This parameter is optional. Defaults to 20%. + */ + 'budget_percent'?: (_envoy_type_Percent); + /** + * Specifies the minimum retry concurrency allowed for the retry budget. The limit on the + * number of active retries may never go below this number. + * + * This parameter is optional. Defaults to 3. + */ + 'min_retry_concurrency'?: (_google_protobuf_UInt32Value); +} + +export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget__Output { + /** + * Specifies the limit on concurrent retries as a percentage of the sum of active requests and + * active pending requests. For example, if there are 100 active requests and the + * budget_percent is set to 25, there may be 25 active retries. + * + * This parameter is optional. Defaults to 20%. + */ + 'budget_percent': (_envoy_type_Percent__Output); + /** + * Specifies the minimum retry concurrency allowed for the retry budget. The limit on the + * number of active retries may never go below this number. + * + * This parameter is optional. Defaults to 3. + */ + 'min_retry_concurrency': (_google_protobuf_UInt32Value__Output); +} + /** * A Thresholds defines CircuitBreaker settings for a * :ref:`RoutingPriority`. @@ -128,42 +164,6 @@ export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds__Output { 'max_connection_pools': (_google_protobuf_UInt32Value__Output); } -export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget { - /** - * Specifies the limit on concurrent retries as a percentage of the sum of active requests and - * active pending requests. For example, if there are 100 active requests and the - * budget_percent is set to 25, there may be 25 active retries. - * - * This parameter is optional. Defaults to 20%. - */ - 'budget_percent'?: (_envoy_type_Percent); - /** - * Specifies the minimum retry concurrency allowed for the retry budget. The limit on the - * number of active retries may never go below this number. - * - * This parameter is optional. Defaults to 3. - */ - 'min_retry_concurrency'?: (_google_protobuf_UInt32Value); -} - -export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget__Output { - /** - * Specifies the limit on concurrent retries as a percentage of the sum of active requests and - * active pending requests. For example, if there are 100 active requests and the - * budget_percent is set to 25, there may be 25 active retries. - * - * This parameter is optional. Defaults to 20%. - */ - 'budget_percent': (_envoy_type_Percent__Output); - /** - * Specifies the minimum retry concurrency allowed for the retry budget. The limit on the - * number of active retries may never go below this number. - * - * This parameter is optional. Defaults to 3. - */ - 'min_retry_concurrency': (_google_protobuf_UInt32Value__Output); -} - /** * :ref:`Circuit breaking` settings can be * specified individually for each defined priority. diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts index e536cb317..b67f63e45 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts @@ -3,11 +3,127 @@ import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration'; import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from '../../../../envoy/api/v2/core/HeaderValue'; import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from '../../../../google/protobuf/Empty'; import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; -import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from '../../../../envoy/api/v2/core/DataSource'; import { Long } from '@grpc/proto-loader'; +/** + * [#next-free-field: 8] + */ +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials { + /** + * Access token credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#ad3a80da696ffdaea943f0f858d7a360d. + */ + 'access_token'?: (string); + /** + * Google Compute Engine credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61 + */ + 'google_compute_engine'?: (_google_protobuf_Empty); + /** + * Google refresh token credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a96901c997b91bc6513b08491e0dca37c. + */ + 'google_refresh_token'?: (string); + /** + * Service Account JWT Access credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a92a9f959d6102461f66ee973d8e9d3aa. + */ + 'service_account_jwt_access'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials); + /** + * Google IAM credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a9fc1fc101b41e680d47028166e76f9d0. + */ + 'google_iam'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials); + /** + * Custom authenticator credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a823c6a4b19ffc71fb33e90154ee2ad07. + * https://grpc.io/docs/guides/auth.html#extending-grpc-to-support-other-authentication-mechanisms. + */ + 'from_plugin'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin); + /** + * Custom security token service which implements OAuth 2.0 token exchange. + * https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 + * See https://github.com/grpc/grpc/pull/19587. + */ + 'sts_service'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService); + 'credential_specifier'?: "access_token"|"google_compute_engine"|"google_refresh_token"|"service_account_jwt_access"|"google_iam"|"from_plugin"|"sts_service"; +} + +/** + * [#next-free-field: 8] + */ +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials__Output { + /** + * Access token credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#ad3a80da696ffdaea943f0f858d7a360d. + */ + 'access_token'?: (string); + /** + * Google Compute Engine credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61 + */ + 'google_compute_engine'?: (_google_protobuf_Empty__Output); + /** + * Google refresh token credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a96901c997b91bc6513b08491e0dca37c. + */ + 'google_refresh_token'?: (string); + /** + * Service Account JWT Access credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a92a9f959d6102461f66ee973d8e9d3aa. + */ + 'service_account_jwt_access'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__Output); + /** + * Google IAM credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a9fc1fc101b41e680d47028166e76f9d0. + */ + 'google_iam'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials__Output); + /** + * Custom authenticator credentials. + * https://grpc.io/grpc/cpp/namespacegrpc.html#a823c6a4b19ffc71fb33e90154ee2ad07. + * https://grpc.io/docs/guides/auth.html#extending-grpc-to-support-other-authentication-mechanisms. + */ + 'from_plugin'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin__Output); + /** + * Custom security token service which implements OAuth 2.0 token exchange. + * https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 + * See https://github.com/grpc/grpc/pull/19587. + */ + 'sts_service'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService__Output); + 'credential_specifier': "access_token"|"google_compute_engine"|"google_refresh_token"|"service_account_jwt_access"|"google_iam"|"from_plugin"|"sts_service"; +} + +/** + * See https://grpc.io/docs/guides/auth.html#credential-types to understand Channel and Call + * credential types. + */ +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials { + 'ssl_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials); + /** + * https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61 + */ + 'google_default'?: (_google_protobuf_Empty); + 'local_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials); + 'credential_specifier'?: "ssl_credentials"|"google_default"|"local_credentials"; +} + +/** + * See https://grpc.io/docs/guides/auth.html#credential-types to understand Channel and Call + * credential types. + */ +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials__Output { + 'ssl_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__Output); + /** + * https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61 + */ + 'google_default'?: (_google_protobuf_Empty__Output); + 'local_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials__Output); + 'credential_specifier': "ssl_credentials"|"google_default"|"local_credentials"; +} + export interface _envoy_api_v2_core_GrpcService_EnvoyGrpc { /** * The name of the upstream gRPC cluster. SSL credentials will be supplied @@ -108,94 +224,6 @@ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc__Output { 'config': (_google_protobuf_Struct__Output); } -/** - * [#next-free-field: 8] - */ -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials { - /** - * Access token credentials. - * https://grpc.io/grpc/cpp/namespacegrpc.html#ad3a80da696ffdaea943f0f858d7a360d. - */ - 'access_token'?: (string); - /** - * Google Compute Engine credentials. - * https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61 - */ - 'google_compute_engine'?: (_google_protobuf_Empty); - /** - * Google refresh token credentials. - * https://grpc.io/grpc/cpp/namespacegrpc.html#a96901c997b91bc6513b08491e0dca37c. - */ - 'google_refresh_token'?: (string); - /** - * Service Account JWT Access credentials. - * https://grpc.io/grpc/cpp/namespacegrpc.html#a92a9f959d6102461f66ee973d8e9d3aa. - */ - 'service_account_jwt_access'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials); - /** - * Google IAM credentials. - * https://grpc.io/grpc/cpp/namespacegrpc.html#a9fc1fc101b41e680d47028166e76f9d0. - */ - 'google_iam'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials); - /** - * Custom authenticator credentials. - * https://grpc.io/grpc/cpp/namespacegrpc.html#a823c6a4b19ffc71fb33e90154ee2ad07. - * https://grpc.io/docs/guides/auth.html#extending-grpc-to-support-other-authentication-mechanisms. - */ - 'from_plugin'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin); - /** - * Custom security token service which implements OAuth 2.0 token exchange. - * https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 - * See https://github.com/grpc/grpc/pull/19587. - */ - 'sts_service'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService); - 'credential_specifier'?: "access_token"|"google_compute_engine"|"google_refresh_token"|"service_account_jwt_access"|"google_iam"|"from_plugin"|"sts_service"; -} - -/** - * [#next-free-field: 8] - */ -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials__Output { - /** - * Access token credentials. - * https://grpc.io/grpc/cpp/namespacegrpc.html#ad3a80da696ffdaea943f0f858d7a360d. - */ - 'access_token'?: (string); - /** - * Google Compute Engine credentials. - * https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61 - */ - 'google_compute_engine'?: (_google_protobuf_Empty__Output); - /** - * Google refresh token credentials. - * https://grpc.io/grpc/cpp/namespacegrpc.html#a96901c997b91bc6513b08491e0dca37c. - */ - 'google_refresh_token'?: (string); - /** - * Service Account JWT Access credentials. - * https://grpc.io/grpc/cpp/namespacegrpc.html#a92a9f959d6102461f66ee973d8e9d3aa. - */ - 'service_account_jwt_access'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__Output); - /** - * Google IAM credentials. - * https://grpc.io/grpc/cpp/namespacegrpc.html#a9fc1fc101b41e680d47028166e76f9d0. - */ - 'google_iam'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials__Output); - /** - * Custom authenticator credentials. - * https://grpc.io/grpc/cpp/namespacegrpc.html#a823c6a4b19ffc71fb33e90154ee2ad07. - * https://grpc.io/docs/guides/auth.html#extending-grpc-to-support-other-authentication-mechanisms. - */ - 'from_plugin'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin__Output); - /** - * Custom security token service which implements OAuth 2.0 token exchange. - * https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 - * See https://github.com/grpc/grpc/pull/19587. - */ - 'sts_service'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService__Output); - 'credential_specifier': "access_token"|"google_compute_engine"|"google_refresh_token"|"service_account_jwt_access"|"google_iam"|"from_plugin"|"sts_service"; -} - export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials { 'authorization_token'?: (string); 'authority_selector'?: (string); @@ -206,6 +234,20 @@ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_Googl 'authority_selector': (string); } +/** + * Local channel credentials. Only UDS is supported for now. + * See https://github.com/grpc/grpc/pull/15909. + */ +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials { +} + +/** + * Local channel credentials. Only UDS is supported for now. + * See https://github.com/grpc/grpc/pull/15909. + */ +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials__Output { +} + export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin { 'name'?: (string); 'config'?: (_google_protobuf_Struct); @@ -230,6 +272,42 @@ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_Servi 'token_lifetime_seconds': (string); } +/** + * See https://grpc.io/grpc/cpp/structgrpc_1_1_ssl_credentials_options.html. + */ +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials { + /** + * PEM encoded server root certificates. + */ + 'root_certs'?: (_envoy_api_v2_core_DataSource); + /** + * PEM encoded client private key. + */ + 'private_key'?: (_envoy_api_v2_core_DataSource); + /** + * PEM encoded client certificate chain. + */ + 'cert_chain'?: (_envoy_api_v2_core_DataSource); +} + +/** + * See https://grpc.io/grpc/cpp/structgrpc_1_1_ssl_credentials_options.html. + */ +export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__Output { + /** + * PEM encoded server root certificates. + */ + 'root_certs': (_envoy_api_v2_core_DataSource__Output); + /** + * PEM encoded client private key. + */ + 'private_key': (_envoy_api_v2_core_DataSource__Output); + /** + * PEM encoded client certificate chain. + */ + 'cert_chain': (_envoy_api_v2_core_DataSource__Output); +} + /** * Security token service configuration that allows Google gRPC to * fetch security token from an OAuth 2.0 authorization server. @@ -338,84 +416,6 @@ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsSe 'actor_token_type': (string); } -/** - * See https://grpc.io/docs/guides/auth.html#credential-types to understand Channel and Call - * credential types. - */ -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials { - 'ssl_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials); - /** - * https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61 - */ - 'google_default'?: (_google_protobuf_Empty); - 'local_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials); - 'credential_specifier'?: "ssl_credentials"|"google_default"|"local_credentials"; -} - -/** - * See https://grpc.io/docs/guides/auth.html#credential-types to understand Channel and Call - * credential types. - */ -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials__Output { - 'ssl_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__Output); - /** - * https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61 - */ - 'google_default'?: (_google_protobuf_Empty__Output); - 'local_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials__Output); - 'credential_specifier': "ssl_credentials"|"google_default"|"local_credentials"; -} - -/** - * Local channel credentials. Only UDS is supported for now. - * See https://github.com/grpc/grpc/pull/15909. - */ -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials { -} - -/** - * Local channel credentials. Only UDS is supported for now. - * See https://github.com/grpc/grpc/pull/15909. - */ -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials__Output { -} - -/** - * See https://grpc.io/grpc/cpp/structgrpc_1_1_ssl_credentials_options.html. - */ -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials { - /** - * PEM encoded server root certificates. - */ - 'root_certs'?: (_envoy_api_v2_core_DataSource); - /** - * PEM encoded client private key. - */ - 'private_key'?: (_envoy_api_v2_core_DataSource); - /** - * PEM encoded client certificate chain. - */ - 'cert_chain'?: (_envoy_api_v2_core_DataSource); -} - -/** - * See https://grpc.io/grpc/cpp/structgrpc_1_1_ssl_credentials_options.html. - */ -export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__Output { - /** - * PEM encoded server root certificates. - */ - 'root_certs': (_envoy_api_v2_core_DataSource__Output); - /** - * PEM encoded client private key. - */ - 'private_key': (_envoy_api_v2_core_DataSource__Output); - /** - * PEM encoded client certificate chain. - */ - 'cert_chain': (_envoy_api_v2_core_DataSource__Output); -} - /** * gRPC service configuration. This is used by :ref:`ApiConfigSource * ` and filter configurations. diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts index 662e73752..972560cd5 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts @@ -4,12 +4,12 @@ import { Duration as _google_protobuf_Duration, Duration__Output as _google_prot import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../../google/protobuf/UInt32Value'; import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../../google/protobuf/BoolValue'; import { EventServiceConfig as _envoy_api_v2_core_EventServiceConfig, EventServiceConfig__Output as _envoy_api_v2_core_EventServiceConfig__Output } from '../../../../envoy/api/v2/core/EventServiceConfig'; -import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from '../../../../envoy/api/v2/core/HeaderValueOption'; import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from '../../../../envoy/type/Int64Range'; import { CodecClientType as _envoy_type_CodecClientType } from '../../../../envoy/type/CodecClientType'; import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from '../../../../envoy/type/matcher/StringMatcher'; +import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../../google/protobuf/Struct'; +import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../../google/protobuf/Any'; import { Long } from '@grpc/proto-loader'; /** diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts index 02a8665a4..490718e80 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts @@ -27,108 +27,6 @@ export enum _envoy_api_v2_route_RouteAction_ClusterNotFoundResponseCode { NOT_FOUND = 1, } -/** - * Specifies the route's hashing policy if the upstream cluster uses a hashing :ref:`load balancer - * `. - * [#next-free-field: 7] - */ -export interface _envoy_api_v2_route_RouteAction_HashPolicy { - /** - * Header hash policy. - */ - 'header'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Header); - /** - * Cookie hash policy. - */ - 'cookie'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Cookie); - /** - * Connection properties hash policy. - */ - 'connection_properties'?: (_envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties); - /** - * Query parameter hash policy. - */ - 'query_parameter'?: (_envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter); - /** - * Filter state hash policy. - */ - 'filter_state'?: (_envoy_api_v2_route_RouteAction_HashPolicy_FilterState); - /** - * The flag that short-circuits the hash computing. This field provides a - * 'fallback' style of configuration: "if a terminal policy doesn't work, - * fallback to rest of the policy list", it saves time when the terminal - * policy works. - * - * If true, and there is already a hash computed, ignore rest of the - * list of hash polices. - * For example, if the following hash methods are configured: - * - * ========= ======== - * specifier terminal - * ========= ======== - * Header A true - * Header B false - * Header C false - * ========= ======== - * - * The generateHash process ends if policy "header A" generates a hash, as - * it's a terminal policy. - */ - 'terminal'?: (boolean); - 'policy_specifier'?: "header"|"cookie"|"connection_properties"|"query_parameter"|"filter_state"; -} - -/** - * Specifies the route's hashing policy if the upstream cluster uses a hashing :ref:`load balancer - * `. - * [#next-free-field: 7] - */ -export interface _envoy_api_v2_route_RouteAction_HashPolicy__Output { - /** - * Header hash policy. - */ - 'header'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Header__Output); - /** - * Cookie hash policy. - */ - 'cookie'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Cookie__Output); - /** - * Connection properties hash policy. - */ - 'connection_properties'?: (_envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties__Output); - /** - * Query parameter hash policy. - */ - 'query_parameter'?: (_envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter__Output); - /** - * Filter state hash policy. - */ - 'filter_state'?: (_envoy_api_v2_route_RouteAction_HashPolicy_FilterState__Output); - /** - * The flag that short-circuits the hash computing. This field provides a - * 'fallback' style of configuration: "if a terminal policy doesn't work, - * fallback to rest of the policy list", it saves time when the terminal - * policy works. - * - * If true, and there is already a hash computed, ignore rest of the - * list of hash polices. - * For example, if the following hash methods are configured: - * - * ========= ======== - * specifier terminal - * ========= ======== - * Header A true - * Header B false - * Header C false - * ========= ======== - * - * The generateHash process ends if policy "header A" generates a hash, as - * it's a terminal policy. - */ - 'terminal': (boolean); - 'policy_specifier': "header"|"cookie"|"connection_properties"|"query_parameter"|"filter_state"; -} - export interface _envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties { /** * Hash on source IP address. @@ -233,6 +131,108 @@ export interface _envoy_api_v2_route_RouteAction_HashPolicy_FilterState__Output 'key': (string); } +/** + * Specifies the route's hashing policy if the upstream cluster uses a hashing :ref:`load balancer + * `. + * [#next-free-field: 7] + */ +export interface _envoy_api_v2_route_RouteAction_HashPolicy { + /** + * Header hash policy. + */ + 'header'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Header); + /** + * Cookie hash policy. + */ + 'cookie'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Cookie); + /** + * Connection properties hash policy. + */ + 'connection_properties'?: (_envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties); + /** + * Query parameter hash policy. + */ + 'query_parameter'?: (_envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter); + /** + * Filter state hash policy. + */ + 'filter_state'?: (_envoy_api_v2_route_RouteAction_HashPolicy_FilterState); + /** + * The flag that short-circuits the hash computing. This field provides a + * 'fallback' style of configuration: "if a terminal policy doesn't work, + * fallback to rest of the policy list", it saves time when the terminal + * policy works. + * + * If true, and there is already a hash computed, ignore rest of the + * list of hash polices. + * For example, if the following hash methods are configured: + * + * ========= ======== + * specifier terminal + * ========= ======== + * Header A true + * Header B false + * Header C false + * ========= ======== + * + * The generateHash process ends if policy "header A" generates a hash, as + * it's a terminal policy. + */ + 'terminal'?: (boolean); + 'policy_specifier'?: "header"|"cookie"|"connection_properties"|"query_parameter"|"filter_state"; +} + +/** + * Specifies the route's hashing policy if the upstream cluster uses a hashing :ref:`load balancer + * `. + * [#next-free-field: 7] + */ +export interface _envoy_api_v2_route_RouteAction_HashPolicy__Output { + /** + * Header hash policy. + */ + 'header'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Header__Output); + /** + * Cookie hash policy. + */ + 'cookie'?: (_envoy_api_v2_route_RouteAction_HashPolicy_Cookie__Output); + /** + * Connection properties hash policy. + */ + 'connection_properties'?: (_envoy_api_v2_route_RouteAction_HashPolicy_ConnectionProperties__Output); + /** + * Query parameter hash policy. + */ + 'query_parameter'?: (_envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter__Output); + /** + * Filter state hash policy. + */ + 'filter_state'?: (_envoy_api_v2_route_RouteAction_HashPolicy_FilterState__Output); + /** + * The flag that short-circuits the hash computing. This field provides a + * 'fallback' style of configuration: "if a terminal policy doesn't work, + * fallback to rest of the policy list", it saves time when the terminal + * policy works. + * + * If true, and there is already a hash computed, ignore rest of the + * list of hash polices. + * For example, if the following hash methods are configured: + * + * ========= ======== + * specifier terminal + * ========= ======== + * Header A true + * Header B false + * Header C false + * ========= ======== + * + * The generateHash process ends if policy "header A" generates a hash, as + * it's a terminal policy. + */ + 'terminal': (boolean); + 'policy_specifier': "header"|"cookie"|"connection_properties"|"query_parameter"|"filter_state"; +} + export interface _envoy_api_v2_route_RouteAction_HashPolicy_Header { /** * The name of the request header that will be used to obtain the hash @@ -249,6 +249,16 @@ export interface _envoy_api_v2_route_RouteAction_HashPolicy_Header__Output { 'header_name': (string); } +// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto + +/** + * Configures :ref:`internal redirect ` behavior. + */ +export enum _envoy_api_v2_route_RouteAction_InternalRedirectAction { + PASS_THROUGH_INTERNAL_REDIRECT = 0, + HANDLE_INTERNAL_REDIRECT = 1, +} + export interface _envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter { /** * The name of the URL query parameter that will be used to obtain the hash @@ -267,16 +277,6 @@ export interface _envoy_api_v2_route_RouteAction_HashPolicy_QueryParameter__Outp 'name': (string); } -// Original file: deps/envoy-api/envoy/api/v2/route/route_components.proto - -/** - * Configures :ref:`internal redirect ` behavior. - */ -export enum _envoy_api_v2_route_RouteAction_InternalRedirectAction { - PASS_THROUGH_INTERNAL_REDIRECT = 0, - HANDLE_INTERNAL_REDIRECT = 1, -} - /** * The router is capable of shadowing traffic from one cluster to another. The current * implementation is "fire and forget," meaning Envoy will not wait for the shadow cluster to diff --git a/packages/grpc-js/src/generated/envoy/service/discovery/v2/AggregatedDiscoveryService.ts b/packages/grpc-js/src/generated/envoy/service/discovery/v2/AggregatedDiscoveryService.ts new file mode 100644 index 000000000..32cc9ba51 --- /dev/null +++ b/packages/grpc-js/src/generated/envoy/service/discovery/v2/AggregatedDiscoveryService.ts @@ -0,0 +1,52 @@ +// Original file: deps/envoy-api/envoy/service/discovery/v2/ads.proto + +import * as grpc from '../../../../../index' +import { DeltaDiscoveryRequest as _envoy_api_v2_DeltaDiscoveryRequest, DeltaDiscoveryRequest__Output as _envoy_api_v2_DeltaDiscoveryRequest__Output } from '../../../../envoy/api/v2/DeltaDiscoveryRequest'; +import { DeltaDiscoveryResponse as _envoy_api_v2_DeltaDiscoveryResponse, DeltaDiscoveryResponse__Output as _envoy_api_v2_DeltaDiscoveryResponse__Output } from '../../../../envoy/api/v2/DeltaDiscoveryResponse'; +import { DiscoveryRequest as _envoy_api_v2_DiscoveryRequest, DiscoveryRequest__Output as _envoy_api_v2_DiscoveryRequest__Output } from '../../../../envoy/api/v2/DiscoveryRequest'; +import { DiscoveryResponse as _envoy_api_v2_DiscoveryResponse, DiscoveryResponse__Output as _envoy_api_v2_DiscoveryResponse__Output } from '../../../../envoy/api/v2/DiscoveryResponse'; + +/** + * See https://github.com/lyft/envoy-api#apis for a description of the role of + * ADS and how it is intended to be used by a management server. ADS requests + * have the same structure as their singleton xDS counterparts, but can + * multiplex many resource types on a single stream. The type_url in the + * DiscoveryRequest/DiscoveryResponse provides sufficient information to recover + * the multiplexed singleton APIs at the Envoy instance and management server. + */ +export interface AggregatedDiscoveryServiceClient extends grpc.Client { + DeltaAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_envoy_api_v2_DeltaDiscoveryRequest, _envoy_api_v2_DeltaDiscoveryResponse__Output>; + DeltaAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream<_envoy_api_v2_DeltaDiscoveryRequest, _envoy_api_v2_DeltaDiscoveryResponse__Output>; + deltaAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_envoy_api_v2_DeltaDiscoveryRequest, _envoy_api_v2_DeltaDiscoveryResponse__Output>; + deltaAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream<_envoy_api_v2_DeltaDiscoveryRequest, _envoy_api_v2_DeltaDiscoveryResponse__Output>; + + /** + * This is a gRPC-only API. + */ + StreamAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_envoy_api_v2_DiscoveryRequest, _envoy_api_v2_DiscoveryResponse__Output>; + StreamAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream<_envoy_api_v2_DiscoveryRequest, _envoy_api_v2_DiscoveryResponse__Output>; + /** + * This is a gRPC-only API. + */ + streamAggregatedResources(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_envoy_api_v2_DiscoveryRequest, _envoy_api_v2_DiscoveryResponse__Output>; + streamAggregatedResources(options?: grpc.CallOptions): grpc.ClientDuplexStream<_envoy_api_v2_DiscoveryRequest, _envoy_api_v2_DiscoveryResponse__Output>; + +} + +/** + * See https://github.com/lyft/envoy-api#apis for a description of the role of + * ADS and how it is intended to be used by a management server. ADS requests + * have the same structure as their singleton xDS counterparts, but can + * multiplex many resource types on a single stream. The type_url in the + * DiscoveryRequest/DiscoveryResponse provides sufficient information to recover + * the multiplexed singleton APIs at the Envoy instance and management server. + */ +export interface AggregatedDiscoveryServiceHandlers { + DeltaAggregatedResources(call: grpc.ServerDuplexStream<_envoy_api_v2_DeltaDiscoveryRequest, _envoy_api_v2_DeltaDiscoveryResponse__Output>): void; + + /** + * This is a gRPC-only API. + */ + StreamAggregatedResources(call: grpc.ServerDuplexStream<_envoy_api_v2_DiscoveryRequest, _envoy_api_v2_DiscoveryResponse__Output>): void; + +} diff --git a/packages/grpc-js/src/generated/listener.ts b/packages/grpc-js/src/generated/listener.ts index 4bc0d85cf..040c1d52a 100644 --- a/packages/grpc-js/src/generated/listener.ts +++ b/packages/grpc-js/src/generated/listener.ts @@ -1,2703 +1,6 @@ import * as grpc from '../index'; import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; -import { Listener as _envoy_api_v2_Listener, Listener__Output as _envoy_api_v2_Listener__Output } from './envoy/api/v2/Listener'; -import { CertificateValidationContext as _envoy_api_v2_auth_CertificateValidationContext, CertificateValidationContext__Output as _envoy_api_v2_auth_CertificateValidationContext__Output } from './envoy/api/v2/auth/CertificateValidationContext'; -import { CommonTlsContext as _envoy_api_v2_auth_CommonTlsContext, CommonTlsContext__Output as _envoy_api_v2_auth_CommonTlsContext__Output } from './envoy/api/v2/auth/CommonTlsContext'; -import { DownstreamTlsContext as _envoy_api_v2_auth_DownstreamTlsContext, DownstreamTlsContext__Output as _envoy_api_v2_auth_DownstreamTlsContext__Output } from './envoy/api/v2/auth/DownstreamTlsContext'; -import { GenericSecret as _envoy_api_v2_auth_GenericSecret, GenericSecret__Output as _envoy_api_v2_auth_GenericSecret__Output } from './envoy/api/v2/auth/GenericSecret'; -import { PrivateKeyProvider as _envoy_api_v2_auth_PrivateKeyProvider, PrivateKeyProvider__Output as _envoy_api_v2_auth_PrivateKeyProvider__Output } from './envoy/api/v2/auth/PrivateKeyProvider'; -import { SdsSecretConfig as _envoy_api_v2_auth_SdsSecretConfig, SdsSecretConfig__Output as _envoy_api_v2_auth_SdsSecretConfig__Output } from './envoy/api/v2/auth/SdsSecretConfig'; -import { Secret as _envoy_api_v2_auth_Secret, Secret__Output as _envoy_api_v2_auth_Secret__Output } from './envoy/api/v2/auth/Secret'; -import { TlsCertificate as _envoy_api_v2_auth_TlsCertificate, TlsCertificate__Output as _envoy_api_v2_auth_TlsCertificate__Output } from './envoy/api/v2/auth/TlsCertificate'; -import { TlsParameters as _envoy_api_v2_auth_TlsParameters, TlsParameters__Output as _envoy_api_v2_auth_TlsParameters__Output } from './envoy/api/v2/auth/TlsParameters'; -import { TlsSessionTicketKeys as _envoy_api_v2_auth_TlsSessionTicketKeys, TlsSessionTicketKeys__Output as _envoy_api_v2_auth_TlsSessionTicketKeys__Output } from './envoy/api/v2/auth/TlsSessionTicketKeys'; -import { UpstreamTlsContext as _envoy_api_v2_auth_UpstreamTlsContext, UpstreamTlsContext__Output as _envoy_api_v2_auth_UpstreamTlsContext__Output } from './envoy/api/v2/auth/UpstreamTlsContext'; -import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; -import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from './envoy/api/v2/core/AggregatedConfigSource'; -import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; -import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; -import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; -import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; -import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; -import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; -import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; -import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; -import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; -import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; -import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; -import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; -import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; -import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; -import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; -import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; -import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; -import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; -import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; -import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; -import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; -import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; -import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; -import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; -import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; -import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; -import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; -import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from './envoy/api/v2/core/SelfConfigSource'; -import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; -import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; -import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; -import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; -import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; -import { ActiveRawUdpListenerConfig as _envoy_api_v2_listener_ActiveRawUdpListenerConfig, ActiveRawUdpListenerConfig__Output as _envoy_api_v2_listener_ActiveRawUdpListenerConfig__Output } from './envoy/api/v2/listener/ActiveRawUdpListenerConfig'; -import { Filter as _envoy_api_v2_listener_Filter, Filter__Output as _envoy_api_v2_listener_Filter__Output } from './envoy/api/v2/listener/Filter'; -import { FilterChain as _envoy_api_v2_listener_FilterChain, FilterChain__Output as _envoy_api_v2_listener_FilterChain__Output } from './envoy/api/v2/listener/FilterChain'; -import { FilterChainMatch as _envoy_api_v2_listener_FilterChainMatch, FilterChainMatch__Output as _envoy_api_v2_listener_FilterChainMatch__Output } from './envoy/api/v2/listener/FilterChainMatch'; -import { ListenerFilter as _envoy_api_v2_listener_ListenerFilter, ListenerFilter__Output as _envoy_api_v2_listener_ListenerFilter__Output } from './envoy/api/v2/listener/ListenerFilter'; -import { ListenerFilterChainMatchPredicate as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate, ListenerFilterChainMatchPredicate__Output as _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output } from './envoy/api/v2/listener/ListenerFilterChainMatchPredicate'; -import { UdpListenerConfig as _envoy_api_v2_listener_UdpListenerConfig, UdpListenerConfig__Output as _envoy_api_v2_listener_UdpListenerConfig__Output } from './envoy/api/v2/listener/UdpListenerConfig'; -import { CorsPolicy as _envoy_api_v2_route_CorsPolicy, CorsPolicy__Output as _envoy_api_v2_route_CorsPolicy__Output } from './envoy/api/v2/route/CorsPolicy'; -import { Decorator as _envoy_api_v2_route_Decorator, Decorator__Output as _envoy_api_v2_route_Decorator__Output } from './envoy/api/v2/route/Decorator'; -import { DirectResponseAction as _envoy_api_v2_route_DirectResponseAction, DirectResponseAction__Output as _envoy_api_v2_route_DirectResponseAction__Output } from './envoy/api/v2/route/DirectResponseAction'; -import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from './envoy/api/v2/route/FilterAction'; -import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from './envoy/api/v2/route/HeaderMatcher'; -import { HedgePolicy as _envoy_api_v2_route_HedgePolicy, HedgePolicy__Output as _envoy_api_v2_route_HedgePolicy__Output } from './envoy/api/v2/route/HedgePolicy'; -import { QueryParameterMatcher as _envoy_api_v2_route_QueryParameterMatcher, QueryParameterMatcher__Output as _envoy_api_v2_route_QueryParameterMatcher__Output } from './envoy/api/v2/route/QueryParameterMatcher'; -import { RateLimit as _envoy_api_v2_route_RateLimit, RateLimit__Output as _envoy_api_v2_route_RateLimit__Output } from './envoy/api/v2/route/RateLimit'; -import { RedirectAction as _envoy_api_v2_route_RedirectAction, RedirectAction__Output as _envoy_api_v2_route_RedirectAction__Output } from './envoy/api/v2/route/RedirectAction'; -import { RetryPolicy as _envoy_api_v2_route_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_route_RetryPolicy__Output } from './envoy/api/v2/route/RetryPolicy'; -import { Route as _envoy_api_v2_route_Route, Route__Output as _envoy_api_v2_route_Route__Output } from './envoy/api/v2/route/Route'; -import { RouteAction as _envoy_api_v2_route_RouteAction, RouteAction__Output as _envoy_api_v2_route_RouteAction__Output } from './envoy/api/v2/route/RouteAction'; -import { RouteMatch as _envoy_api_v2_route_RouteMatch, RouteMatch__Output as _envoy_api_v2_route_RouteMatch__Output } from './envoy/api/v2/route/RouteMatch'; -import { Tracing as _envoy_api_v2_route_Tracing, Tracing__Output as _envoy_api_v2_route_Tracing__Output } from './envoy/api/v2/route/Tracing'; -import { VirtualCluster as _envoy_api_v2_route_VirtualCluster, VirtualCluster__Output as _envoy_api_v2_route_VirtualCluster__Output } from './envoy/api/v2/route/VirtualCluster'; -import { VirtualHost as _envoy_api_v2_route_VirtualHost, VirtualHost__Output as _envoy_api_v2_route_VirtualHost__Output } from './envoy/api/v2/route/VirtualHost'; -import { WeightedCluster as _envoy_api_v2_route_WeightedCluster, WeightedCluster__Output as _envoy_api_v2_route_WeightedCluster__Output } from './envoy/api/v2/route/WeightedCluster'; -import { AccessLog as _envoy_config_filter_accesslog_v2_AccessLog, AccessLog__Output as _envoy_config_filter_accesslog_v2_AccessLog__Output } from './envoy/config/filter/accesslog/v2/AccessLog'; -import { AccessLogFilter as _envoy_config_filter_accesslog_v2_AccessLogFilter, AccessLogFilter__Output as _envoy_config_filter_accesslog_v2_AccessLogFilter__Output } from './envoy/config/filter/accesslog/v2/AccessLogFilter'; -import { AndFilter as _envoy_config_filter_accesslog_v2_AndFilter, AndFilter__Output as _envoy_config_filter_accesslog_v2_AndFilter__Output } from './envoy/config/filter/accesslog/v2/AndFilter'; -import { ComparisonFilter as _envoy_config_filter_accesslog_v2_ComparisonFilter, ComparisonFilter__Output as _envoy_config_filter_accesslog_v2_ComparisonFilter__Output } from './envoy/config/filter/accesslog/v2/ComparisonFilter'; -import { DurationFilter as _envoy_config_filter_accesslog_v2_DurationFilter, DurationFilter__Output as _envoy_config_filter_accesslog_v2_DurationFilter__Output } from './envoy/config/filter/accesslog/v2/DurationFilter'; -import { ExtensionFilter as _envoy_config_filter_accesslog_v2_ExtensionFilter, ExtensionFilter__Output as _envoy_config_filter_accesslog_v2_ExtensionFilter__Output } from './envoy/config/filter/accesslog/v2/ExtensionFilter'; -import { GrpcStatusFilter as _envoy_config_filter_accesslog_v2_GrpcStatusFilter, GrpcStatusFilter__Output as _envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output } from './envoy/config/filter/accesslog/v2/GrpcStatusFilter'; -import { HeaderFilter as _envoy_config_filter_accesslog_v2_HeaderFilter, HeaderFilter__Output as _envoy_config_filter_accesslog_v2_HeaderFilter__Output } from './envoy/config/filter/accesslog/v2/HeaderFilter'; -import { NotHealthCheckFilter as _envoy_config_filter_accesslog_v2_NotHealthCheckFilter, NotHealthCheckFilter__Output as _envoy_config_filter_accesslog_v2_NotHealthCheckFilter__Output } from './envoy/config/filter/accesslog/v2/NotHealthCheckFilter'; -import { OrFilter as _envoy_config_filter_accesslog_v2_OrFilter, OrFilter__Output as _envoy_config_filter_accesslog_v2_OrFilter__Output } from './envoy/config/filter/accesslog/v2/OrFilter'; -import { ResponseFlagFilter as _envoy_config_filter_accesslog_v2_ResponseFlagFilter, ResponseFlagFilter__Output as _envoy_config_filter_accesslog_v2_ResponseFlagFilter__Output } from './envoy/config/filter/accesslog/v2/ResponseFlagFilter'; -import { RuntimeFilter as _envoy_config_filter_accesslog_v2_RuntimeFilter, RuntimeFilter__Output as _envoy_config_filter_accesslog_v2_RuntimeFilter__Output } from './envoy/config/filter/accesslog/v2/RuntimeFilter'; -import { StatusCodeFilter as _envoy_config_filter_accesslog_v2_StatusCodeFilter, StatusCodeFilter__Output as _envoy_config_filter_accesslog_v2_StatusCodeFilter__Output } from './envoy/config/filter/accesslog/v2/StatusCodeFilter'; -import { TraceableFilter as _envoy_config_filter_accesslog_v2_TraceableFilter, TraceableFilter__Output as _envoy_config_filter_accesslog_v2_TraceableFilter__Output } from './envoy/config/filter/accesslog/v2/TraceableFilter'; -import { ApiListener as _envoy_config_listener_v2_ApiListener, ApiListener__Output as _envoy_config_listener_v2_ApiListener__Output } from './envoy/config/listener/v2/ApiListener'; -import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; -import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; -import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; -import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; -import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; -import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; -import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; -import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; -import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; -import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; -import { MetadataKey as _envoy_type_metadata_v2_MetadataKey, MetadataKey__Output as _envoy_type_metadata_v2_MetadataKey__Output } from './envoy/type/metadata/v2/MetadataKey'; -import { MetadataKind as _envoy_type_metadata_v2_MetadataKind, MetadataKind__Output as _envoy_type_metadata_v2_MetadataKind__Output } from './envoy/type/metadata/v2/MetadataKind'; -import { CustomTag as _envoy_type_tracing_v2_CustomTag, CustomTag__Output as _envoy_type_tracing_v2_CustomTag__Output } from './envoy/type/tracing/v2/CustomTag'; -import { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from './google/api/CustomHttpPattern'; -import { Http as _google_api_Http, Http__Output as _google_api_Http__Output } from './google/api/Http'; -import { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from './google/api/HttpRule'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; -import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; -import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; -import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; -import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; -import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; -import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; -import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; -import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; -import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; -import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; -import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; -import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; -import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; -import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; -import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; -import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; -import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; -import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; -import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; -import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; -import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; -import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; -import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; -import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; -import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; -import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; -import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; -import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; -import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; -import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; -import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; -import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; -import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; -import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; -import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; -import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; -import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; -import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; -import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; -import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; -import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; -import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; -import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; -import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; -import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; -import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; -import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; -import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; -import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; -import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; -import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; -import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; -import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; -import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; -import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; -import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; -import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; -import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; -import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; -import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; -import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; -import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; -import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; -import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; -import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; - -export namespace messages { - export namespace envoy { - export namespace annotations { - } - export namespace api { - export namespace v2 { - /** - * [#next-free-field: 23] - */ - export type Listener = _envoy_api_v2_Listener; - /** - * [#next-free-field: 23] - */ - export type Listener__Output = _envoy_api_v2_Listener__Output; - export namespace auth { - /** - * [#next-free-field: 11] - */ - export type CertificateValidationContext = _envoy_api_v2_auth_CertificateValidationContext; - /** - * [#next-free-field: 11] - */ - export type CertificateValidationContext__Output = _envoy_api_v2_auth_CertificateValidationContext__Output; - /** - * TLS context shared by both client and server TLS contexts. - * [#next-free-field: 9] - */ - export type CommonTlsContext = _envoy_api_v2_auth_CommonTlsContext; - /** - * TLS context shared by both client and server TLS contexts. - * [#next-free-field: 9] - */ - export type CommonTlsContext__Output = _envoy_api_v2_auth_CommonTlsContext__Output; - /** - * [#next-free-field: 8] - */ - export type DownstreamTlsContext = _envoy_api_v2_auth_DownstreamTlsContext; - /** - * [#next-free-field: 8] - */ - export type DownstreamTlsContext__Output = _envoy_api_v2_auth_DownstreamTlsContext__Output; - export type GenericSecret = _envoy_api_v2_auth_GenericSecret; - export type GenericSecret__Output = _envoy_api_v2_auth_GenericSecret__Output; - /** - * BoringSSL private key method configuration. The private key methods are used for external - * (potentially asynchronous) signing and decryption operations. Some use cases for private key - * methods would be TPM support and TLS acceleration. - */ - export type PrivateKeyProvider = _envoy_api_v2_auth_PrivateKeyProvider; - /** - * BoringSSL private key method configuration. The private key methods are used for external - * (potentially asynchronous) signing and decryption operations. Some use cases for private key - * methods would be TPM support and TLS acceleration. - */ - export type PrivateKeyProvider__Output = _envoy_api_v2_auth_PrivateKeyProvider__Output; - export type SdsSecretConfig = _envoy_api_v2_auth_SdsSecretConfig; - export type SdsSecretConfig__Output = _envoy_api_v2_auth_SdsSecretConfig__Output; - /** - * [#next-free-field: 6] - */ - export type Secret = _envoy_api_v2_auth_Secret; - /** - * [#next-free-field: 6] - */ - export type Secret__Output = _envoy_api_v2_auth_Secret__Output; - /** - * [#next-free-field: 7] - */ - export type TlsCertificate = _envoy_api_v2_auth_TlsCertificate; - /** - * [#next-free-field: 7] - */ - export type TlsCertificate__Output = _envoy_api_v2_auth_TlsCertificate__Output; - export type TlsParameters = _envoy_api_v2_auth_TlsParameters; - export type TlsParameters__Output = _envoy_api_v2_auth_TlsParameters__Output; - export type TlsSessionTicketKeys = _envoy_api_v2_auth_TlsSessionTicketKeys; - export type TlsSessionTicketKeys__Output = _envoy_api_v2_auth_TlsSessionTicketKeys__Output; - export type UpstreamTlsContext = _envoy_api_v2_auth_UpstreamTlsContext; - export type UpstreamTlsContext__Output = _envoy_api_v2_auth_UpstreamTlsContext__Output; - } - export namespace core { - /** - * Addresses specify either a logical or physical address and port, which are - * used to tell Envoy where to bind/listen, connect to upstream and find - * management servers. - */ - export type Address = _envoy_api_v2_core_Address; - /** - * Addresses specify either a logical or physical address and port, which are - * used to tell Envoy where to bind/listen, connect to upstream and find - * management servers. - */ - export type Address__Output = _envoy_api_v2_core_Address__Output; - /** - * Aggregated Discovery Service (ADS) options. This is currently empty, but when - * set in :ref:`ConfigSource ` can be used to - * specify that ADS is to be used. - */ - export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; - /** - * Aggregated Discovery Service (ADS) options. This is currently empty, but when - * set in :ref:`ConfigSource ` can be used to - * specify that ADS is to be used. - */ - export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; - /** - * API configuration source. This identifies the API type and cluster that Envoy - * will use to fetch an xDS API. - * [#next-free-field: 9] - */ - export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; - /** - * API configuration source. This identifies the API type and cluster that Envoy - * will use to fetch an xDS API. - * [#next-free-field: 9] - */ - export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; - /** - * xDS API version. This is used to describe both resource and transport - * protocol versions (in distinct configuration fields). - */ - export type ApiVersion = _envoy_api_v2_core_ApiVersion; - /** - * Async data source which support async data fetch. - */ - export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; - /** - * Async data source which support async data fetch. - */ - export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; - /** - * Configuration defining a jittered exponential back off strategy. - */ - export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; - /** - * Configuration defining a jittered exponential back off strategy. - */ - export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; - export type BindConfig = _envoy_api_v2_core_BindConfig; - export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; - /** - * BuildVersion combines SemVer version of extension with free-form build information - * (i.e. 'alpha', 'private-build') as a set of strings. - */ - export type BuildVersion = _envoy_api_v2_core_BuildVersion; - /** - * BuildVersion combines SemVer version of extension with free-form build information - * (i.e. 'alpha', 'private-build') as a set of strings. - */ - export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; - /** - * CidrRange specifies an IP Address and a prefix length to construct - * the subnet mask for a `CIDR `_ range. - */ - export type CidrRange = _envoy_api_v2_core_CidrRange; - /** - * CidrRange specifies an IP Address and a prefix length to construct - * the subnet mask for a `CIDR `_ range. - */ - export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; - /** - * Configuration for :ref:`listeners `, :ref:`clusters - * `, :ref:`routes - * `, :ref:`endpoints - * ` etc. may either be sourced from the - * filesystem or from an xDS API source. Filesystem configs are watched with - * inotify for updates. - * [#next-free-field: 7] - */ - export type ConfigSource = _envoy_api_v2_core_ConfigSource; - /** - * Configuration for :ref:`listeners `, :ref:`clusters - * `, :ref:`routes - * `, :ref:`endpoints - * ` etc. may either be sourced from the - * filesystem or from an xDS API source. Filesystem configs are watched with - * inotify for updates. - * [#next-free-field: 7] - */ - export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; - /** - * Identifies a specific ControlPlane instance that Envoy is connected to. - */ - export type ControlPlane = _envoy_api_v2_core_ControlPlane; - /** - * Identifies a specific ControlPlane instance that Envoy is connected to. - */ - export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - /** - * Data source consisting of either a file or an inline value. - */ - export type DataSource = _envoy_api_v2_core_DataSource; - /** - * Data source consisting of either a file or an inline value. - */ - export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; - /** - * Version and identification for an Envoy extension. - * [#next-free-field: 6] - */ - export type Extension = _envoy_api_v2_core_Extension; - /** - * Version and identification for an Envoy extension. - * [#next-free-field: 6] - */ - export type Extension__Output = _envoy_api_v2_core_Extension__Output; - /** - * gRPC service configuration. This is used by :ref:`ApiConfigSource - * ` and filter configurations. - * [#next-free-field: 6] - */ - export type GrpcService = _envoy_api_v2_core_GrpcService; - /** - * gRPC service configuration. This is used by :ref:`ApiConfigSource - * ` and filter configurations. - * [#next-free-field: 6] - */ - export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; - /** - * Wrapper for a set of headers. - */ - export type HeaderMap = _envoy_api_v2_core_HeaderMap; - /** - * Wrapper for a set of headers. - */ - export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; - /** - * Header name/value pair. - */ - export type HeaderValue = _envoy_api_v2_core_HeaderValue; - /** - * Header name/value pair. - */ - export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; - /** - * Header name/value pair plus option to control append behavior. - */ - export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; - /** - * Header name/value pair plus option to control append behavior. - */ - export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; - /** - * Envoy external URI descriptor - */ - export type HttpUri = _envoy_api_v2_core_HttpUri; - /** - * Envoy external URI descriptor - */ - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; - /** - * Identifies location of where either Envoy runs or where upstream hosts run. - */ - export type Locality = _envoy_api_v2_core_Locality; - /** - * Identifies location of where either Envoy runs or where upstream hosts run. - */ - export type Locality__Output = _envoy_api_v2_core_Locality__Output; - /** - * Metadata provides additional inputs to filters based on matched listeners, - * filter chains, routes and endpoints. It is structured as a map, usually from - * filter name (in reverse DNS format) to metadata specific to the filter. Metadata - * key-values for a filter are merged as connection and request handling occurs, - * with later values for the same key overriding earlier values. - * - * An example use of metadata is providing additional values to - * http_connection_manager in the envoy.http_connection_manager.access_log - * namespace. - * - * Another example use of metadata is to per service config info in cluster metadata, which may get - * consumed by multiple filters. - * - * For load balancing, Metadata provides a means to subset cluster endpoints. - * Endpoints have a Metadata object associated and routes contain a Metadata - * object to match against. There are some well defined metadata used today for - * this purpose: - * - * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an - * endpoint and is also used during header processing - * (x-envoy-upstream-canary) and for stats purposes. - * [#next-major-version: move to type/metadata/v2] - */ - export type Metadata = _envoy_api_v2_core_Metadata; - /** - * Metadata provides additional inputs to filters based on matched listeners, - * filter chains, routes and endpoints. It is structured as a map, usually from - * filter name (in reverse DNS format) to metadata specific to the filter. Metadata - * key-values for a filter are merged as connection and request handling occurs, - * with later values for the same key overriding earlier values. - * - * An example use of metadata is providing additional values to - * http_connection_manager in the envoy.http_connection_manager.access_log - * namespace. - * - * Another example use of metadata is to per service config info in cluster metadata, which may get - * consumed by multiple filters. - * - * For load balancing, Metadata provides a means to subset cluster endpoints. - * Endpoints have a Metadata object associated and routes contain a Metadata - * object to match against. There are some well defined metadata used today for - * this purpose: - * - * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an - * endpoint and is also used during header processing - * (x-envoy-upstream-canary) and for stats purposes. - * [#next-major-version: move to type/metadata/v2] - */ - export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; - /** - * Identifies a specific Envoy instance. The node identifier is presented to the - * management server, which may use this identifier to distinguish per Envoy - * configuration for serving. - * [#next-free-field: 12] - */ - export type Node = _envoy_api_v2_core_Node; - /** - * Identifies a specific Envoy instance. The node identifier is presented to the - * management server, which may use this identifier to distinguish per Envoy - * configuration for serving. - * [#next-free-field: 12] - */ - export type Node__Output = _envoy_api_v2_core_Node__Output; - export type Pipe = _envoy_api_v2_core_Pipe; - export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; - /** - * Rate Limit settings to be applied for discovery requests made by Envoy. - */ - export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; - /** - * Rate Limit settings to be applied for discovery requests made by Envoy. - */ - export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; - /** - * The message specifies how to fetch data from remote and how to verify it. - */ - export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; - /** - * The message specifies how to fetch data from remote and how to verify it. - */ - export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; - /** - * HTTP request method. - */ - export type RequestMethod = _envoy_api_v2_core_RequestMethod; - /** - * The message specifies the retry policy of remote data source when fetching fails. - */ - export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; - /** - * The message specifies the retry policy of remote data source when fetching fails. - */ - export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; - /** - * Envoy supports :ref:`upstream priority routing - * ` both at the route and the virtual - * cluster level. The current priority implementation uses different connection - * pool and circuit breaking settings for each priority level. This means that - * even for HTTP/2 requests, two physical connections will be used to an - * upstream host. In the future Envoy will likely support true HTTP/2 priority - * over a single upstream connection. - */ - export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; - /** - * Runtime derived double with a default when not specified. - */ - export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; - /** - * Runtime derived double with a default when not specified. - */ - export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; - /** - * Runtime derived bool with a default when not specified. - */ - export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; - /** - * Runtime derived bool with a default when not specified. - */ - export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; - /** - * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not - * specified via a runtime key. - * - * .. note:: - * - * Parsing of the runtime key's data is implemented such that it may be represented as a - * :ref:`FractionalPercent ` proto represented as JSON/YAML - * and may also be represented as an integer with the assumption that the value is an integral - * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse - * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. - */ - export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; - /** - * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not - * specified via a runtime key. - * - * .. note:: - * - * Parsing of the runtime key's data is implemented such that it may be represented as a - * :ref:`FractionalPercent ` proto represented as JSON/YAML - * and may also be represented as an integer with the assumption that the value is an integral - * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse - * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. - */ - export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; - /** - * Runtime derived uint32 with a default when not specified. - */ - export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; - /** - * Runtime derived uint32 with a default when not specified. - */ - export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; - /** - * [#not-implemented-hide:] - * Self-referencing config source options. This is currently empty, but when - * set in :ref:`ConfigSource ` can be used to - * specify that other data can be obtained from the same server. - */ - export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; - /** - * [#not-implemented-hide:] - * Self-referencing config source options. This is currently empty, but when - * set in :ref:`ConfigSource ` can be used to - * specify that other data can be obtained from the same server. - */ - export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; - /** - * [#next-free-field: 7] - */ - export type SocketAddress = _envoy_api_v2_core_SocketAddress; - /** - * [#next-free-field: 7] - */ - export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; - /** - * Generic socket option message. This would be used to set socket options that - * might not exist in upstream kernels or precompiled Envoy binaries. - * [#next-free-field: 7] - */ - export type SocketOption = _envoy_api_v2_core_SocketOption; - /** - * Generic socket option message. This would be used to set socket options that - * might not exist in upstream kernels or precompiled Envoy binaries. - * [#next-free-field: 7] - */ - export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; - export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; - export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; - /** - * Identifies the direction of the traffic relative to the local Envoy. - */ - export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; - /** - * Configuration for transport socket in :ref:`listeners ` and - * :ref:`clusters `. If the configuration is - * empty, a default transport socket implementation and configuration will be - * chosen based on the platform and existence of tls_context. - */ - export type TransportSocket = _envoy_api_v2_core_TransportSocket; - /** - * Configuration for transport socket in :ref:`listeners ` and - * :ref:`clusters `. If the configuration is - * empty, a default transport socket implementation and configuration will be - * chosen based on the platform and existence of tls_context. - */ - export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; - } - export namespace listener { - export type ActiveRawUdpListenerConfig = _envoy_api_v2_listener_ActiveRawUdpListenerConfig; - export type ActiveRawUdpListenerConfig__Output = _envoy_api_v2_listener_ActiveRawUdpListenerConfig__Output; - export type Filter = _envoy_api_v2_listener_Filter; - export type Filter__Output = _envoy_api_v2_listener_Filter__Output; - /** - * A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and - * various other parameters. - * [#next-free-field: 8] - */ - export type FilterChain = _envoy_api_v2_listener_FilterChain; - /** - * A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and - * various other parameters. - * [#next-free-field: 8] - */ - export type FilterChain__Output = _envoy_api_v2_listener_FilterChain__Output; - /** - * Specifies the match criteria for selecting a specific filter chain for a - * listener. - * - * In order for a filter chain to be selected, *ALL* of its criteria must be - * fulfilled by the incoming connection, properties of which are set by the - * networking stack and/or listener filters. - * - * The following order applies: - * - * 1. Destination port. - * 2. Destination IP address. - * 3. Server name (e.g. SNI for TLS protocol), - * 4. Transport protocol. - * 5. Application protocols (e.g. ALPN for TLS protocol). - * 6. Source type (e.g. any, local or external network). - * 7. Source IP address. - * 8. Source port. - * - * For criteria that allow ranges or wildcards, the most specific value in any - * of the configured filter chains that matches the incoming connection is going - * to be used (e.g. for SNI ``www.example.com`` the most specific match would be - * ``www.example.com``, then ``*.example.com``, then ``*.com``, then any filter - * chain without ``server_names`` requirements). - * - * [#comment: Implemented rules are kept in the preference order, with deprecated fields - * listed at the end, because that's how we want to list them in the docs. - * - * [#comment:TODO(PiotrSikora): Add support for configurable precedence of the rules] - * [#next-free-field: 13] - */ - export type FilterChainMatch = _envoy_api_v2_listener_FilterChainMatch; - /** - * Specifies the match criteria for selecting a specific filter chain for a - * listener. - * - * In order for a filter chain to be selected, *ALL* of its criteria must be - * fulfilled by the incoming connection, properties of which are set by the - * networking stack and/or listener filters. - * - * The following order applies: - * - * 1. Destination port. - * 2. Destination IP address. - * 3. Server name (e.g. SNI for TLS protocol), - * 4. Transport protocol. - * 5. Application protocols (e.g. ALPN for TLS protocol). - * 6. Source type (e.g. any, local or external network). - * 7. Source IP address. - * 8. Source port. - * - * For criteria that allow ranges or wildcards, the most specific value in any - * of the configured filter chains that matches the incoming connection is going - * to be used (e.g. for SNI ``www.example.com`` the most specific match would be - * ``www.example.com``, then ``*.example.com``, then ``*.com``, then any filter - * chain without ``server_names`` requirements). - * - * [#comment: Implemented rules are kept in the preference order, with deprecated fields - * listed at the end, because that's how we want to list them in the docs. - * - * [#comment:TODO(PiotrSikora): Add support for configurable precedence of the rules] - * [#next-free-field: 13] - */ - export type FilterChainMatch__Output = _envoy_api_v2_listener_FilterChainMatch__Output; - export type ListenerFilter = _envoy_api_v2_listener_ListenerFilter; - export type ListenerFilter__Output = _envoy_api_v2_listener_ListenerFilter__Output; - /** - * Listener filter chain match configuration. This is a recursive structure which allows complex - * nested match configurations to be built using various logical operators. - * - * Examples: - * - * * Matches if the destination port is 3306. - * - * .. code-block:: yaml - * - * destination_port_range: - * start: 3306 - * end: 3307 - * - * * Matches if the destination port is 3306 or 15000. - * - * .. code-block:: yaml - * - * or_match: - * rules: - * - destination_port_range: - * start: 3306 - * end: 3306 - * - destination_port_range: - * start: 15000 - * end: 15001 - * - * [#next-free-field: 6] - */ - export type ListenerFilterChainMatchPredicate = _envoy_api_v2_listener_ListenerFilterChainMatchPredicate; - /** - * Listener filter chain match configuration. This is a recursive structure which allows complex - * nested match configurations to be built using various logical operators. - * - * Examples: - * - * * Matches if the destination port is 3306. - * - * .. code-block:: yaml - * - * destination_port_range: - * start: 3306 - * end: 3307 - * - * * Matches if the destination port is 3306 or 15000. - * - * .. code-block:: yaml - * - * or_match: - * rules: - * - destination_port_range: - * start: 3306 - * end: 3306 - * - destination_port_range: - * start: 15000 - * end: 15001 - * - * [#next-free-field: 6] - */ - export type ListenerFilterChainMatchPredicate__Output = _envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output; - export type UdpListenerConfig = _envoy_api_v2_listener_UdpListenerConfig; - export type UdpListenerConfig__Output = _envoy_api_v2_listener_UdpListenerConfig__Output; - } - export namespace route { - /** - * [#next-free-field: 12] - */ - export type CorsPolicy = _envoy_api_v2_route_CorsPolicy; - /** - * [#next-free-field: 12] - */ - export type CorsPolicy__Output = _envoy_api_v2_route_CorsPolicy__Output; - export type Decorator = _envoy_api_v2_route_Decorator; - export type Decorator__Output = _envoy_api_v2_route_Decorator__Output; - export type DirectResponseAction = _envoy_api_v2_route_DirectResponseAction; - export type DirectResponseAction__Output = _envoy_api_v2_route_DirectResponseAction__Output; - /** - * A filter-defined action type. - */ - export type FilterAction = _envoy_api_v2_route_FilterAction; - /** - * A filter-defined action type. - */ - export type FilterAction__Output = _envoy_api_v2_route_FilterAction__Output; - /** - * .. attention:: - * - * Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* - * header. Thus, if attempting to match on *Host*, match on *:authority* instead. - * - * .. attention:: - * - * To route on HTTP method, use the special HTTP/2 *:method* header. This works for both - * HTTP/1 and HTTP/2 as Envoy normalizes headers. E.g., - * - * .. code-block:: json - * - * { - * "name": ":method", - * "exact_match": "POST" - * } - * - * .. attention:: - * In the absence of any header match specifier, match will default to :ref:`present_match - * `. i.e, a request that has the :ref:`name - * ` header will match, regardless of the header's - * value. - * - * [#next-major-version: HeaderMatcher should be refactored to use StringMatcher.] - * [#next-free-field: 12] - */ - export type HeaderMatcher = _envoy_api_v2_route_HeaderMatcher; - /** - * .. attention:: - * - * Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* - * header. Thus, if attempting to match on *Host*, match on *:authority* instead. - * - * .. attention:: - * - * To route on HTTP method, use the special HTTP/2 *:method* header. This works for both - * HTTP/1 and HTTP/2 as Envoy normalizes headers. E.g., - * - * .. code-block:: json - * - * { - * "name": ":method", - * "exact_match": "POST" - * } - * - * .. attention:: - * In the absence of any header match specifier, match will default to :ref:`present_match - * `. i.e, a request that has the :ref:`name - * ` header will match, regardless of the header's - * value. - * - * [#next-major-version: HeaderMatcher should be refactored to use StringMatcher.] - * [#next-free-field: 12] - */ - export type HeaderMatcher__Output = _envoy_api_v2_route_HeaderMatcher__Output; - /** - * HTTP request hedging :ref:`architecture overview `. - */ - export type HedgePolicy = _envoy_api_v2_route_HedgePolicy; - /** - * HTTP request hedging :ref:`architecture overview `. - */ - export type HedgePolicy__Output = _envoy_api_v2_route_HedgePolicy__Output; - /** - * Query parameter matching treats the query string of a request's :path header - * as an ampersand-separated list of keys and/or key=value elements. - * [#next-free-field: 7] - */ - export type QueryParameterMatcher = _envoy_api_v2_route_QueryParameterMatcher; - /** - * Query parameter matching treats the query string of a request's :path header - * as an ampersand-separated list of keys and/or key=value elements. - * [#next-free-field: 7] - */ - export type QueryParameterMatcher__Output = _envoy_api_v2_route_QueryParameterMatcher__Output; - /** - * Global rate limiting :ref:`architecture overview `. - */ - export type RateLimit = _envoy_api_v2_route_RateLimit; - /** - * Global rate limiting :ref:`architecture overview `. - */ - export type RateLimit__Output = _envoy_api_v2_route_RateLimit__Output; - /** - * [#next-free-field: 9] - */ - export type RedirectAction = _envoy_api_v2_route_RedirectAction; - /** - * [#next-free-field: 9] - */ - export type RedirectAction__Output = _envoy_api_v2_route_RedirectAction__Output; - /** - * HTTP retry :ref:`architecture overview `. - * [#next-free-field: 11] - */ - export type RetryPolicy = _envoy_api_v2_route_RetryPolicy; - /** - * HTTP retry :ref:`architecture overview `. - * [#next-free-field: 11] - */ - export type RetryPolicy__Output = _envoy_api_v2_route_RetryPolicy__Output; - /** - * A route is both a specification of how to match a request as well as an indication of what to do - * next (e.g., redirect, forward, rewrite, etc.). - * - * .. attention:: - * - * Envoy supports routing on HTTP method via :ref:`header matching - * `. - * [#next-free-field: 18] - */ - export type Route = _envoy_api_v2_route_Route; - /** - * A route is both a specification of how to match a request as well as an indication of what to do - * next (e.g., redirect, forward, rewrite, etc.). - * - * .. attention:: - * - * Envoy supports routing on HTTP method via :ref:`header matching - * `. - * [#next-free-field: 18] - */ - export type Route__Output = _envoy_api_v2_route_Route__Output; - /** - * [#next-free-field: 34] - */ - export type RouteAction = _envoy_api_v2_route_RouteAction; - /** - * [#next-free-field: 34] - */ - export type RouteAction__Output = _envoy_api_v2_route_RouteAction__Output; - /** - * [#next-free-field: 12] - */ - export type RouteMatch = _envoy_api_v2_route_RouteMatch; - /** - * [#next-free-field: 12] - */ - export type RouteMatch__Output = _envoy_api_v2_route_RouteMatch__Output; - export type Tracing = _envoy_api_v2_route_Tracing; - export type Tracing__Output = _envoy_api_v2_route_Tracing__Output; - /** - * A virtual cluster is a way of specifying a regex matching rule against - * certain important endpoints such that statistics are generated explicitly for - * the matched requests. The reason this is useful is that when doing - * prefix/path matching Envoy does not always know what the application - * considers to be an endpoint. Thus, it’s impossible for Envoy to generically - * emit per endpoint statistics. However, often systems have highly critical - * endpoints that they wish to get “perfect” statistics on. Virtual cluster - * statistics are perfect in the sense that they are emitted on the downstream - * side such that they include network level failures. - * - * Documentation for :ref:`virtual cluster statistics `. - * - * .. note:: - * - * Virtual clusters are a useful tool, but we do not recommend setting up a virtual cluster for - * every application endpoint. This is both not easily maintainable and as well the matching and - * statistics output are not free. - */ - export type VirtualCluster = _envoy_api_v2_route_VirtualCluster; - /** - * A virtual cluster is a way of specifying a regex matching rule against - * certain important endpoints such that statistics are generated explicitly for - * the matched requests. The reason this is useful is that when doing - * prefix/path matching Envoy does not always know what the application - * considers to be an endpoint. Thus, it’s impossible for Envoy to generically - * emit per endpoint statistics. However, often systems have highly critical - * endpoints that they wish to get “perfect” statistics on. Virtual cluster - * statistics are perfect in the sense that they are emitted on the downstream - * side such that they include network level failures. - * - * Documentation for :ref:`virtual cluster statistics `. - * - * .. note:: - * - * Virtual clusters are a useful tool, but we do not recommend setting up a virtual cluster for - * every application endpoint. This is both not easily maintainable and as well the matching and - * statistics output are not free. - */ - export type VirtualCluster__Output = _envoy_api_v2_route_VirtualCluster__Output; - /** - * The top level element in the routing configuration is a virtual host. Each virtual host has - * a logical name as well as a set of domains that get routed to it based on the incoming request's - * host header. This allows a single listener to service multiple top level domain path trees. Once - * a virtual host is selected based on the domain, the routes are processed in order to see which - * upstream cluster to route to or whether to perform a redirect. - * [#next-free-field: 21] - */ - export type VirtualHost = _envoy_api_v2_route_VirtualHost; - /** - * The top level element in the routing configuration is a virtual host. Each virtual host has - * a logical name as well as a set of domains that get routed to it based on the incoming request's - * host header. This allows a single listener to service multiple top level domain path trees. Once - * a virtual host is selected based on the domain, the routes are processed in order to see which - * upstream cluster to route to or whether to perform a redirect. - * [#next-free-field: 21] - */ - export type VirtualHost__Output = _envoy_api_v2_route_VirtualHost__Output; - /** - * Compared to the :ref:`cluster ` field that specifies a - * single upstream cluster as the target of a request, the :ref:`weighted_clusters - * ` option allows for specification of - * multiple upstream clusters along with weights that indicate the percentage of - * traffic to be forwarded to each cluster. The router selects an upstream cluster based on the - * weights. - */ - export type WeightedCluster = _envoy_api_v2_route_WeightedCluster; - /** - * Compared to the :ref:`cluster ` field that specifies a - * single upstream cluster as the target of a request, the :ref:`weighted_clusters - * ` option allows for specification of - * multiple upstream clusters along with weights that indicate the percentage of - * traffic to be forwarded to each cluster. The router selects an upstream cluster based on the - * weights. - */ - export type WeightedCluster__Output = _envoy_api_v2_route_WeightedCluster__Output; - } - } - } - export namespace config { - export namespace filter { - export namespace accesslog { - export namespace v2 { - export type AccessLog = _envoy_config_filter_accesslog_v2_AccessLog; - export type AccessLog__Output = _envoy_config_filter_accesslog_v2_AccessLog__Output; - /** - * [#next-free-field: 12] - */ - export type AccessLogFilter = _envoy_config_filter_accesslog_v2_AccessLogFilter; - /** - * [#next-free-field: 12] - */ - export type AccessLogFilter__Output = _envoy_config_filter_accesslog_v2_AccessLogFilter__Output; - /** - * Performs a logical “and” operation on the result of each filter in filters. - * Filters are evaluated sequentially and if one of them returns false, the - * filter returns false immediately. - */ - export type AndFilter = _envoy_config_filter_accesslog_v2_AndFilter; - /** - * Performs a logical “and” operation on the result of each filter in filters. - * Filters are evaluated sequentially and if one of them returns false, the - * filter returns false immediately. - */ - export type AndFilter__Output = _envoy_config_filter_accesslog_v2_AndFilter__Output; - /** - * Filter on an integer comparison. - */ - export type ComparisonFilter = _envoy_config_filter_accesslog_v2_ComparisonFilter; - /** - * Filter on an integer comparison. - */ - export type ComparisonFilter__Output = _envoy_config_filter_accesslog_v2_ComparisonFilter__Output; - /** - * Filters on total request duration in milliseconds. - */ - export type DurationFilter = _envoy_config_filter_accesslog_v2_DurationFilter; - /** - * Filters on total request duration in milliseconds. - */ - export type DurationFilter__Output = _envoy_config_filter_accesslog_v2_DurationFilter__Output; - /** - * Extension filter is statically registered at runtime. - */ - export type ExtensionFilter = _envoy_config_filter_accesslog_v2_ExtensionFilter; - /** - * Extension filter is statically registered at runtime. - */ - export type ExtensionFilter__Output = _envoy_config_filter_accesslog_v2_ExtensionFilter__Output; - /** - * Filters gRPC requests based on their response status. If a gRPC status is not provided, the - * filter will infer the status from the HTTP status code. - */ - export type GrpcStatusFilter = _envoy_config_filter_accesslog_v2_GrpcStatusFilter; - /** - * Filters gRPC requests based on their response status. If a gRPC status is not provided, the - * filter will infer the status from the HTTP status code. - */ - export type GrpcStatusFilter__Output = _envoy_config_filter_accesslog_v2_GrpcStatusFilter__Output; - /** - * Filters requests based on the presence or value of a request header. - */ - export type HeaderFilter = _envoy_config_filter_accesslog_v2_HeaderFilter; - /** - * Filters requests based on the presence or value of a request header. - */ - export type HeaderFilter__Output = _envoy_config_filter_accesslog_v2_HeaderFilter__Output; - /** - * Filters for requests that are not health check requests. A health check - * request is marked by the health check filter. - */ - export type NotHealthCheckFilter = _envoy_config_filter_accesslog_v2_NotHealthCheckFilter; - /** - * Filters for requests that are not health check requests. A health check - * request is marked by the health check filter. - */ - export type NotHealthCheckFilter__Output = _envoy_config_filter_accesslog_v2_NotHealthCheckFilter__Output; - /** - * Performs a logical “or” operation on the result of each individual filter. - * Filters are evaluated sequentially and if one of them returns true, the - * filter returns true immediately. - */ - export type OrFilter = _envoy_config_filter_accesslog_v2_OrFilter; - /** - * Performs a logical “or” operation on the result of each individual filter. - * Filters are evaluated sequentially and if one of them returns true, the - * filter returns true immediately. - */ - export type OrFilter__Output = _envoy_config_filter_accesslog_v2_OrFilter__Output; - /** - * Filters requests that received responses with an Envoy response flag set. - * A list of the response flags can be found - * in the access log formatter :ref:`documentation`. - */ - export type ResponseFlagFilter = _envoy_config_filter_accesslog_v2_ResponseFlagFilter; - /** - * Filters requests that received responses with an Envoy response flag set. - * A list of the response flags can be found - * in the access log formatter :ref:`documentation`. - */ - export type ResponseFlagFilter__Output = _envoy_config_filter_accesslog_v2_ResponseFlagFilter__Output; - /** - * Filters for random sampling of requests. - */ - export type RuntimeFilter = _envoy_config_filter_accesslog_v2_RuntimeFilter; - /** - * Filters for random sampling of requests. - */ - export type RuntimeFilter__Output = _envoy_config_filter_accesslog_v2_RuntimeFilter__Output; - /** - * Filters on HTTP response/status code. - */ - export type StatusCodeFilter = _envoy_config_filter_accesslog_v2_StatusCodeFilter; - /** - * Filters on HTTP response/status code. - */ - export type StatusCodeFilter__Output = _envoy_config_filter_accesslog_v2_StatusCodeFilter__Output; - /** - * Filters for requests that are traceable. See the tracing overview for more - * information on how a request becomes traceable. - */ - export type TraceableFilter = _envoy_config_filter_accesslog_v2_TraceableFilter; - /** - * Filters for requests that are traceable. See the tracing overview for more - * information on how a request becomes traceable. - */ - export type TraceableFilter__Output = _envoy_config_filter_accesslog_v2_TraceableFilter__Output; - } - } - } - export namespace listener { - export namespace v2 { - /** - * Describes a type of API listener, which is used in non-proxy clients. The type of API - * exposed to the non-proxy application depends on the type of API listener. - */ - export type ApiListener = _envoy_config_listener_v2_ApiListener; - /** - * Describes a type of API listener, which is used in non-proxy clients. The type of API - * exposed to the non-proxy application depends on the type of API listener. - */ - export type ApiListener__Output = _envoy_config_listener_v2_ApiListener__Output; - } - } - } - export namespace type { - /** - * Specifies the double start and end of the range using half-open interval semantics [start, - * end). - */ - export type DoubleRange = _envoy_type_DoubleRange; - /** - * Specifies the double start and end of the range using half-open interval semantics [start, - * end). - */ - export type DoubleRange__Output = _envoy_type_DoubleRange__Output; - /** - * A fractional percentage is used in cases in which for performance reasons performing floating - * point to integer conversions during randomness calculations is undesirable. The message includes - * both a numerator and denominator that together determine the final fractional value. - * - * * **Example**: 1/100 = 1%. - * * **Example**: 3/10000 = 0.03%. - */ - export type FractionalPercent = _envoy_type_FractionalPercent; - /** - * A fractional percentage is used in cases in which for performance reasons performing floating - * point to integer conversions during randomness calculations is undesirable. The message includes - * both a numerator and denominator that together determine the final fractional value. - * - * * **Example**: 1/100 = 1%. - * * **Example**: 3/10000 = 0.03%. - */ - export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; - /** - * Specifies the int32 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int32Range = _envoy_type_Int32Range; - /** - * Specifies the int32 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int32Range__Output = _envoy_type_Int32Range__Output; - /** - * Specifies the int64 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int64Range = _envoy_type_Int64Range; - /** - * Specifies the int64 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int64Range__Output = _envoy_type_Int64Range__Output; - /** - * Identifies a percentage, in the range [0.0, 100.0]. - */ - export type Percent = _envoy_type_Percent; - /** - * Identifies a percentage, in the range [0.0, 100.0]. - */ - export type Percent__Output = _envoy_type_Percent__Output; - /** - * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate - * expected behaviors and APIs, the patch version field is used only - * for security fixes and can be generally ignored. - */ - export type SemanticVersion = _envoy_type_SemanticVersion; - /** - * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate - * expected behaviors and APIs, the patch version field is used only - * for security fixes and can be generally ignored. - */ - export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; - export namespace matcher { - /** - * Specifies a list of ways to match a string. - */ - export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; - /** - * Specifies a list of ways to match a string. - */ - export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; - /** - * Describes how to match a string and then produce a new string using a regular - * expression and a substitution string. - */ - export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; - /** - * Describes how to match a string and then produce a new string using a regular - * expression and a substitution string. - */ - export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; - /** - * A regex matcher designed for safety when used with untrusted input. - */ - export type RegexMatcher = _envoy_type_matcher_RegexMatcher; - /** - * A regex matcher designed for safety when used with untrusted input. - */ - export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; - /** - * Specifies the way to match a string. - * [#next-free-field: 7] - */ - export type StringMatcher = _envoy_type_matcher_StringMatcher; - /** - * Specifies the way to match a string. - * [#next-free-field: 7] - */ - export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; - } - export namespace metadata { - export namespace v2 { - /** - * MetadataKey provides a general interface using `key` and `path` to retrieve value from - * :ref:`Metadata `. - * - * For example, for the following Metadata: - * - * .. code-block:: yaml - * - * filter_metadata: - * envoy.xxx: - * prop: - * foo: bar - * xyz: - * hello: envoy - * - * The following MetadataKey will retrieve a string value "bar" from the Metadata. - * - * .. code-block:: yaml - * - * key: envoy.xxx - * path: - * - key: prop - * - key: foo - */ - export type MetadataKey = _envoy_type_metadata_v2_MetadataKey; - /** - * MetadataKey provides a general interface using `key` and `path` to retrieve value from - * :ref:`Metadata `. - * - * For example, for the following Metadata: - * - * .. code-block:: yaml - * - * filter_metadata: - * envoy.xxx: - * prop: - * foo: bar - * xyz: - * hello: envoy - * - * The following MetadataKey will retrieve a string value "bar" from the Metadata. - * - * .. code-block:: yaml - * - * key: envoy.xxx - * path: - * - key: prop - * - key: foo - */ - export type MetadataKey__Output = _envoy_type_metadata_v2_MetadataKey__Output; - /** - * Describes what kind of metadata. - */ - export type MetadataKind = _envoy_type_metadata_v2_MetadataKind; - /** - * Describes what kind of metadata. - */ - export type MetadataKind__Output = _envoy_type_metadata_v2_MetadataKind__Output; - } - } - export namespace tracing { - export namespace v2 { - /** - * Describes custom tags for the active span. - * [#next-free-field: 6] - */ - export type CustomTag = _envoy_type_tracing_v2_CustomTag; - /** - * Describes custom tags for the active span. - * [#next-free-field: 6] - */ - export type CustomTag__Output = _envoy_type_tracing_v2_CustomTag__Output; - } - } - } - } - export namespace google { - export namespace api { - /** - * A custom pattern is used for defining custom HTTP verb. - */ - export type CustomHttpPattern = _google_api_CustomHttpPattern; - /** - * A custom pattern is used for defining custom HTTP verb. - */ - export type CustomHttpPattern__Output = _google_api_CustomHttpPattern__Output; - /** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * to one or more HTTP REST API methods. - */ - export type Http = _google_api_Http; - /** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * to one or more HTTP REST API methods. - */ - export type Http__Output = _google_api_Http__Output; - /** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ - export type HttpRule = _google_api_HttpRule; - /** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ - export type HttpRule__Output = _google_api_HttpRule__Output; - } - export namespace protobuf { - export type Any = _google_protobuf_Any; - export type Any__Output = _google_protobuf_Any__Output; - export type BoolValue = _google_protobuf_BoolValue; - export type BoolValue__Output = _google_protobuf_BoolValue__Output; - export type BytesValue = _google_protobuf_BytesValue; - export type BytesValue__Output = _google_protobuf_BytesValue__Output; - export type DescriptorProto = _google_protobuf_DescriptorProto; - export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; - export type DoubleValue = _google_protobuf_DoubleValue; - export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; - export type Duration = _google_protobuf_Duration; - export type Duration__Output = _google_protobuf_Duration__Output; - export type Empty = _google_protobuf_Empty; - export type Empty__Output = _google_protobuf_Empty__Output; - export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; - export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; - export type EnumOptions = _google_protobuf_EnumOptions; - export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; - export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; - export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; - export type EnumValueOptions = _google_protobuf_EnumValueOptions; - export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; - export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; - export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; - export type FieldOptions = _google_protobuf_FieldOptions; - export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; - export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; - export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; - export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; - export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; - export type FileOptions = _google_protobuf_FileOptions; - export type FileOptions__Output = _google_protobuf_FileOptions__Output; - export type FloatValue = _google_protobuf_FloatValue; - export type FloatValue__Output = _google_protobuf_FloatValue__Output; - export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; - export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; - export type Int32Value = _google_protobuf_Int32Value; - export type Int32Value__Output = _google_protobuf_Int32Value__Output; - export type Int64Value = _google_protobuf_Int64Value; - export type Int64Value__Output = _google_protobuf_Int64Value__Output; - export type ListValue = _google_protobuf_ListValue; - export type ListValue__Output = _google_protobuf_ListValue__Output; - export type MessageOptions = _google_protobuf_MessageOptions; - export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; - export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; - export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; - export type MethodOptions = _google_protobuf_MethodOptions; - export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; - export type NullValue = _google_protobuf_NullValue; - export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; - export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; - export type OneofOptions = _google_protobuf_OneofOptions; - export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; - export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; - export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; - export type ServiceOptions = _google_protobuf_ServiceOptions; - export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; - export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; - export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; - export type StringValue = _google_protobuf_StringValue; - export type StringValue__Output = _google_protobuf_StringValue__Output; - export type Struct = _google_protobuf_Struct; - export type Struct__Output = _google_protobuf_Struct__Output; - export type Timestamp = _google_protobuf_Timestamp; - export type Timestamp__Output = _google_protobuf_Timestamp__Output; - export type UInt32Value = _google_protobuf_UInt32Value; - export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; - export type UInt64Value = _google_protobuf_UInt64Value; - export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; - export type UninterpretedOption = _google_protobuf_UninterpretedOption; - export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; - export type Value = _google_protobuf_Value; - export type Value__Output = _google_protobuf_Value__Output; - } - } - export namespace udpa { - export namespace annotations { - export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; - export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; - export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; - export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; - export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; - export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; - export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; - export type StatusAnnotation = _udpa_annotations_StatusAnnotation; - export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; - } - } - export namespace validate { - /** - * AnyRules describe constraints applied exclusively to the - * `google.protobuf.Any` well-known type - */ - export type AnyRules = _validate_AnyRules; - /** - * AnyRules describe constraints applied exclusively to the - * `google.protobuf.Any` well-known type - */ - export type AnyRules__Output = _validate_AnyRules__Output; - /** - * BoolRules describes the constraints applied to `bool` values - */ - export type BoolRules = _validate_BoolRules; - /** - * BoolRules describes the constraints applied to `bool` values - */ - export type BoolRules__Output = _validate_BoolRules__Output; - /** - * BytesRules describe the constraints applied to `bytes` values - */ - export type BytesRules = _validate_BytesRules; - /** - * BytesRules describe the constraints applied to `bytes` values - */ - export type BytesRules__Output = _validate_BytesRules__Output; - /** - * DoubleRules describes the constraints applied to `double` values - */ - export type DoubleRules = _validate_DoubleRules; - /** - * DoubleRules describes the constraints applied to `double` values - */ - export type DoubleRules__Output = _validate_DoubleRules__Output; - /** - * DurationRules describe the constraints applied exclusively to the - * `google.protobuf.Duration` well-known type - */ - export type DurationRules = _validate_DurationRules; - /** - * DurationRules describe the constraints applied exclusively to the - * `google.protobuf.Duration` well-known type - */ - export type DurationRules__Output = _validate_DurationRules__Output; - /** - * EnumRules describe the constraints applied to enum values - */ - export type EnumRules = _validate_EnumRules; - /** - * EnumRules describe the constraints applied to enum values - */ - export type EnumRules__Output = _validate_EnumRules__Output; - /** - * FieldRules encapsulates the rules for each type of field. Depending on the - * field, the correct set should be used to ensure proper validations. - */ - export type FieldRules = _validate_FieldRules; - /** - * FieldRules encapsulates the rules for each type of field. Depending on the - * field, the correct set should be used to ensure proper validations. - */ - export type FieldRules__Output = _validate_FieldRules__Output; - /** - * Fixed32Rules describes the constraints applied to `fixed32` values - */ - export type Fixed32Rules = _validate_Fixed32Rules; - /** - * Fixed32Rules describes the constraints applied to `fixed32` values - */ - export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; - /** - * Fixed64Rules describes the constraints applied to `fixed64` values - */ - export type Fixed64Rules = _validate_Fixed64Rules; - /** - * Fixed64Rules describes the constraints applied to `fixed64` values - */ - export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; - /** - * FloatRules describes the constraints applied to `float` values - */ - export type FloatRules = _validate_FloatRules; - /** - * FloatRules describes the constraints applied to `float` values - */ - export type FloatRules__Output = _validate_FloatRules__Output; - /** - * Int32Rules describes the constraints applied to `int32` values - */ - export type Int32Rules = _validate_Int32Rules; - /** - * Int32Rules describes the constraints applied to `int32` values - */ - export type Int32Rules__Output = _validate_Int32Rules__Output; - /** - * Int64Rules describes the constraints applied to `int64` values - */ - export type Int64Rules = _validate_Int64Rules; - /** - * Int64Rules describes the constraints applied to `int64` values - */ - export type Int64Rules__Output = _validate_Int64Rules__Output; - /** - * WellKnownRegex contain some well-known patterns. - */ - export type KnownRegex = _validate_KnownRegex; - /** - * MapRules describe the constraints applied to `map` values - */ - export type MapRules = _validate_MapRules; - /** - * MapRules describe the constraints applied to `map` values - */ - export type MapRules__Output = _validate_MapRules__Output; - /** - * MessageRules describe the constraints applied to embedded message values. - * For message-type fields, validation is performed recursively. - */ - export type MessageRules = _validate_MessageRules; - /** - * MessageRules describe the constraints applied to embedded message values. - * For message-type fields, validation is performed recursively. - */ - export type MessageRules__Output = _validate_MessageRules__Output; - /** - * RepeatedRules describe the constraints applied to `repeated` values - */ - export type RepeatedRules = _validate_RepeatedRules; - /** - * RepeatedRules describe the constraints applied to `repeated` values - */ - export type RepeatedRules__Output = _validate_RepeatedRules__Output; - /** - * SFixed32Rules describes the constraints applied to `sfixed32` values - */ - export type SFixed32Rules = _validate_SFixed32Rules; - /** - * SFixed32Rules describes the constraints applied to `sfixed32` values - */ - export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; - /** - * SFixed64Rules describes the constraints applied to `sfixed64` values - */ - export type SFixed64Rules = _validate_SFixed64Rules; - /** - * SFixed64Rules describes the constraints applied to `sfixed64` values - */ - export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; - /** - * SInt32Rules describes the constraints applied to `sint32` values - */ - export type SInt32Rules = _validate_SInt32Rules; - /** - * SInt32Rules describes the constraints applied to `sint32` values - */ - export type SInt32Rules__Output = _validate_SInt32Rules__Output; - /** - * SInt64Rules describes the constraints applied to `sint64` values - */ - export type SInt64Rules = _validate_SInt64Rules; - /** - * SInt64Rules describes the constraints applied to `sint64` values - */ - export type SInt64Rules__Output = _validate_SInt64Rules__Output; - /** - * StringRules describe the constraints applied to `string` values - */ - export type StringRules = _validate_StringRules; - /** - * StringRules describe the constraints applied to `string` values - */ - export type StringRules__Output = _validate_StringRules__Output; - /** - * TimestampRules describe the constraints applied exclusively to the - * `google.protobuf.Timestamp` well-known type - */ - export type TimestampRules = _validate_TimestampRules; - /** - * TimestampRules describe the constraints applied exclusively to the - * `google.protobuf.Timestamp` well-known type - */ - export type TimestampRules__Output = _validate_TimestampRules__Output; - /** - * UInt32Rules describes the constraints applied to `uint32` values - */ - export type UInt32Rules = _validate_UInt32Rules; - /** - * UInt32Rules describes the constraints applied to `uint32` values - */ - export type UInt32Rules__Output = _validate_UInt32Rules__Output; - /** - * UInt64Rules describes the constraints applied to `uint64` values - */ - export type UInt64Rules = _validate_UInt64Rules; - /** - * UInt64Rules describes the constraints applied to `uint64` values - */ - export type UInt64Rules__Output = _validate_UInt64Rules__Output; - } -} - -export namespace ClientInterfaces { - export namespace envoy { - export namespace annotations { - } - export namespace api { - export namespace v2 { - export namespace Listener { - export namespace ConnectionBalanceConfig { - export namespace ExactBalance { - } - } - export namespace DeprecatedV1 { - } - } - export namespace auth { - export namespace CertificateValidationContext { - } - export namespace CommonTlsContext { - export namespace CombinedCertificateValidationContext { - } - } - export namespace DownstreamTlsContext { - } - export namespace GenericSecret { - } - export namespace PrivateKeyProvider { - } - export namespace SdsSecretConfig { - } - export namespace Secret { - } - export namespace TlsCertificate { - } - export namespace TlsParameters { - } - export namespace TlsSessionTicketKeys { - } - export namespace UpstreamTlsContext { - } - } - export namespace core { - export namespace Address { - } - export namespace AggregatedConfigSource { - } - export namespace ApiConfigSource { - } - export namespace AsyncDataSource { - } - export namespace BackoffStrategy { - } - export namespace BindConfig { - } - export namespace BuildVersion { - } - export namespace CidrRange { - } - export namespace ConfigSource { - } - export namespace ControlPlane { - } - export namespace DataSource { - } - export namespace Extension { - } - export namespace GrpcService { - export namespace EnvoyGrpc { - } - export namespace GoogleGrpc { - export namespace CallCredentials { - export namespace GoogleIAMCredentials { - } - export namespace MetadataCredentialsFromPlugin { - } - export namespace ServiceAccountJWTAccessCredentials { - } - export namespace StsService { - } - } - export namespace ChannelCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace SslCredentials { - } - } - } - export namespace HeaderMap { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { - } - export namespace HttpUri { - } - export namespace Locality { - } - export namespace Metadata { - } - export namespace Node { - } - export namespace Pipe { - } - export namespace RateLimitSettings { - } - export namespace RemoteDataSource { - } - export namespace RetryPolicy { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace RuntimeFractionalPercent { - } - export namespace RuntimeUInt32 { - } - export namespace SelfConfigSource { - } - export namespace SocketAddress { - } - export namespace SocketOption { - } - export namespace TcpKeepalive { - } - export namespace TransportSocket { - } - } - export namespace listener { - export namespace ActiveRawUdpListenerConfig { - } - export namespace Filter { - } - export namespace FilterChain { - } - export namespace FilterChainMatch { - } - export namespace ListenerFilter { - } - export namespace ListenerFilterChainMatchPredicate { - export namespace MatchSet { - } - } - export namespace UdpListenerConfig { - } - } - export namespace route { - export namespace CorsPolicy { - } - export namespace Decorator { - } - export namespace DirectResponseAction { - } - export namespace FilterAction { - } - export namespace HeaderMatcher { - } - export namespace HedgePolicy { - } - export namespace QueryParameterMatcher { - } - export namespace RateLimit { - export namespace Action { - export namespace DestinationCluster { - } - export namespace GenericKey { - } - export namespace HeaderValueMatch { - } - export namespace RemoteAddress { - } - export namespace RequestHeaders { - } - export namespace SourceCluster { - } - } - } - export namespace RedirectAction { - } - export namespace RetryPolicy { - export namespace RetryBackOff { - } - export namespace RetryHostPredicate { - } - export namespace RetryPriority { - } - } - export namespace Route { - } - export namespace RouteAction { - export namespace HashPolicy { - export namespace ConnectionProperties { - } - export namespace Cookie { - } - export namespace FilterState { - } - export namespace Header { - } - export namespace QueryParameter { - } - } - export namespace RequestMirrorPolicy { - } - export namespace UpgradeConfig { - } - } - export namespace RouteMatch { - export namespace GrpcRouteMatchOptions { - } - export namespace TlsContextMatchOptions { - } - } - export namespace Tracing { - } - export namespace VirtualCluster { - } - export namespace VirtualHost { - } - export namespace WeightedCluster { - export namespace ClusterWeight { - } - } - } - } - } - export namespace config { - export namespace filter { - export namespace accesslog { - export namespace v2 { - export namespace AccessLog { - } - export namespace AccessLogFilter { - } - export namespace AndFilter { - } - export namespace ComparisonFilter { - } - export namespace DurationFilter { - } - export namespace ExtensionFilter { - } - export namespace GrpcStatusFilter { - } - export namespace HeaderFilter { - } - export namespace NotHealthCheckFilter { - } - export namespace OrFilter { - } - export namespace ResponseFlagFilter { - } - export namespace RuntimeFilter { - } - export namespace StatusCodeFilter { - } - export namespace TraceableFilter { - } - } - } - } - export namespace listener { - export namespace v2 { - export namespace ApiListener { - } - } - } - } - export namespace type { - export namespace DoubleRange { - } - export namespace FractionalPercent { - } - export namespace Int32Range { - } - export namespace Int64Range { - } - export namespace Percent { - } - export namespace SemanticVersion { - } - export namespace matcher { - export namespace ListStringMatcher { - } - export namespace RegexMatchAndSubstitute { - } - export namespace RegexMatcher { - export namespace GoogleRE2 { - } - } - export namespace StringMatcher { - } - } - export namespace metadata { - export namespace v2 { - export namespace MetadataKey { - export namespace PathSegment { - } - } - export namespace MetadataKind { - export namespace Cluster { - } - export namespace Host { - } - export namespace Request { - } - export namespace Route { - } - } - } - } - export namespace tracing { - export namespace v2 { - export namespace CustomTag { - export namespace Environment { - } - export namespace Header { - } - export namespace Literal { - } - export namespace Metadata { - } - } - } - } - } - } - export namespace google { - export namespace api { - export namespace CustomHttpPattern { - } - export namespace Http { - } - export namespace HttpRule { - } - } - export namespace protobuf { - export namespace Any { - } - export namespace BoolValue { - } - export namespace BytesValue { - } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } - } - export namespace DoubleValue { - } - export namespace Duration { - } - export namespace Empty { - } - export namespace EnumDescriptorProto { - } - export namespace EnumOptions { - } - export namespace EnumValueDescriptorProto { - } - export namespace EnumValueOptions { - } - export namespace FieldDescriptorProto { - } - export namespace FieldOptions { - } - export namespace FileDescriptorProto { - } - export namespace FileDescriptorSet { - } - export namespace FileOptions { - } - export namespace FloatValue { - } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } - } - export namespace Int32Value { - } - export namespace Int64Value { - } - export namespace ListValue { - } - export namespace MessageOptions { - } - export namespace MethodDescriptorProto { - } - export namespace MethodOptions { - } - export namespace OneofDescriptorProto { - } - export namespace OneofOptions { - } - export namespace ServiceDescriptorProto { - } - export namespace ServiceOptions { - } - export namespace SourceCodeInfo { - export namespace Location { - } - } - export namespace StringValue { - } - export namespace Struct { - } - export namespace Timestamp { - } - export namespace UInt32Value { - } - export namespace UInt64Value { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } - export namespace Value { - } - } - } - export namespace udpa { - export namespace annotations { - export namespace FieldMigrateAnnotation { - } - export namespace FileMigrateAnnotation { - } - export namespace MigrateAnnotation { - } - export namespace StatusAnnotation { - } - } - } - export namespace validate { - export namespace AnyRules { - } - export namespace BoolRules { - } - export namespace BytesRules { - } - export namespace DoubleRules { - } - export namespace DurationRules { - } - export namespace EnumRules { - } - export namespace FieldRules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace FloatRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace MapRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace StringRules { - } - export namespace TimestampRules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - } -} type ConstructorArguments = Constructor extends new (...args: infer Args) => any ? Args: never; type SubtypeConstructor = { @@ -2929,485 +232,3 @@ export interface ProtoGrpcType { } } -export namespace ServiceHandlers { - export namespace envoy { - export namespace annotations { - } - export namespace api { - export namespace v2 { - export namespace Listener { - export namespace ConnectionBalanceConfig { - export namespace ExactBalance { - } - } - export namespace DeprecatedV1 { - } - } - export namespace auth { - export namespace CertificateValidationContext { - } - export namespace CommonTlsContext { - export namespace CombinedCertificateValidationContext { - } - } - export namespace DownstreamTlsContext { - } - export namespace GenericSecret { - } - export namespace PrivateKeyProvider { - } - export namespace SdsSecretConfig { - } - export namespace Secret { - } - export namespace TlsCertificate { - } - export namespace TlsParameters { - } - export namespace TlsSessionTicketKeys { - } - export namespace UpstreamTlsContext { - } - } - export namespace core { - export namespace Address { - } - export namespace AggregatedConfigSource { - } - export namespace ApiConfigSource { - } - export namespace AsyncDataSource { - } - export namespace BackoffStrategy { - } - export namespace BindConfig { - } - export namespace BuildVersion { - } - export namespace CidrRange { - } - export namespace ConfigSource { - } - export namespace ControlPlane { - } - export namespace DataSource { - } - export namespace Extension { - } - export namespace GrpcService { - export namespace EnvoyGrpc { - } - export namespace GoogleGrpc { - export namespace CallCredentials { - export namespace GoogleIAMCredentials { - } - export namespace MetadataCredentialsFromPlugin { - } - export namespace ServiceAccountJWTAccessCredentials { - } - export namespace StsService { - } - } - export namespace ChannelCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace SslCredentials { - } - } - } - export namespace HeaderMap { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { - } - export namespace HttpUri { - } - export namespace Locality { - } - export namespace Metadata { - } - export namespace Node { - } - export namespace Pipe { - } - export namespace RateLimitSettings { - } - export namespace RemoteDataSource { - } - export namespace RetryPolicy { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace RuntimeFractionalPercent { - } - export namespace RuntimeUInt32 { - } - export namespace SelfConfigSource { - } - export namespace SocketAddress { - } - export namespace SocketOption { - } - export namespace TcpKeepalive { - } - export namespace TransportSocket { - } - } - export namespace listener { - export namespace ActiveRawUdpListenerConfig { - } - export namespace Filter { - } - export namespace FilterChain { - } - export namespace FilterChainMatch { - } - export namespace ListenerFilter { - } - export namespace ListenerFilterChainMatchPredicate { - export namespace MatchSet { - } - } - export namespace UdpListenerConfig { - } - } - export namespace route { - export namespace CorsPolicy { - } - export namespace Decorator { - } - export namespace DirectResponseAction { - } - export namespace FilterAction { - } - export namespace HeaderMatcher { - } - export namespace HedgePolicy { - } - export namespace QueryParameterMatcher { - } - export namespace RateLimit { - export namespace Action { - export namespace DestinationCluster { - } - export namespace GenericKey { - } - export namespace HeaderValueMatch { - } - export namespace RemoteAddress { - } - export namespace RequestHeaders { - } - export namespace SourceCluster { - } - } - } - export namespace RedirectAction { - } - export namespace RetryPolicy { - export namespace RetryBackOff { - } - export namespace RetryHostPredicate { - } - export namespace RetryPriority { - } - } - export namespace Route { - } - export namespace RouteAction { - export namespace HashPolicy { - export namespace ConnectionProperties { - } - export namespace Cookie { - } - export namespace FilterState { - } - export namespace Header { - } - export namespace QueryParameter { - } - } - export namespace RequestMirrorPolicy { - } - export namespace UpgradeConfig { - } - } - export namespace RouteMatch { - export namespace GrpcRouteMatchOptions { - } - export namespace TlsContextMatchOptions { - } - } - export namespace Tracing { - } - export namespace VirtualCluster { - } - export namespace VirtualHost { - } - export namespace WeightedCluster { - export namespace ClusterWeight { - } - } - } - } - } - export namespace config { - export namespace filter { - export namespace accesslog { - export namespace v2 { - export namespace AccessLog { - } - export namespace AccessLogFilter { - } - export namespace AndFilter { - } - export namespace ComparisonFilter { - } - export namespace DurationFilter { - } - export namespace ExtensionFilter { - } - export namespace GrpcStatusFilter { - } - export namespace HeaderFilter { - } - export namespace NotHealthCheckFilter { - } - export namespace OrFilter { - } - export namespace ResponseFlagFilter { - } - export namespace RuntimeFilter { - } - export namespace StatusCodeFilter { - } - export namespace TraceableFilter { - } - } - } - } - export namespace listener { - export namespace v2 { - export namespace ApiListener { - } - } - } - } - export namespace type { - export namespace DoubleRange { - } - export namespace FractionalPercent { - } - export namespace Int32Range { - } - export namespace Int64Range { - } - export namespace Percent { - } - export namespace SemanticVersion { - } - export namespace matcher { - export namespace ListStringMatcher { - } - export namespace RegexMatchAndSubstitute { - } - export namespace RegexMatcher { - export namespace GoogleRE2 { - } - } - export namespace StringMatcher { - } - } - export namespace metadata { - export namespace v2 { - export namespace MetadataKey { - export namespace PathSegment { - } - } - export namespace MetadataKind { - export namespace Cluster { - } - export namespace Host { - } - export namespace Request { - } - export namespace Route { - } - } - } - } - export namespace tracing { - export namespace v2 { - export namespace CustomTag { - export namespace Environment { - } - export namespace Header { - } - export namespace Literal { - } - export namespace Metadata { - } - } - } - } - } - } - export namespace google { - export namespace api { - export namespace CustomHttpPattern { - } - export namespace Http { - } - export namespace HttpRule { - } - } - export namespace protobuf { - export namespace Any { - } - export namespace BoolValue { - } - export namespace BytesValue { - } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } - } - export namespace DoubleValue { - } - export namespace Duration { - } - export namespace Empty { - } - export namespace EnumDescriptorProto { - } - export namespace EnumOptions { - } - export namespace EnumValueDescriptorProto { - } - export namespace EnumValueOptions { - } - export namespace FieldDescriptorProto { - } - export namespace FieldOptions { - } - export namespace FileDescriptorProto { - } - export namespace FileDescriptorSet { - } - export namespace FileOptions { - } - export namespace FloatValue { - } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } - } - export namespace Int32Value { - } - export namespace Int64Value { - } - export namespace ListValue { - } - export namespace MessageOptions { - } - export namespace MethodDescriptorProto { - } - export namespace MethodOptions { - } - export namespace OneofDescriptorProto { - } - export namespace OneofOptions { - } - export namespace ServiceDescriptorProto { - } - export namespace ServiceOptions { - } - export namespace SourceCodeInfo { - export namespace Location { - } - } - export namespace StringValue { - } - export namespace Struct { - } - export namespace Timestamp { - } - export namespace UInt32Value { - } - export namespace UInt64Value { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } - export namespace Value { - } - } - } - export namespace udpa { - export namespace annotations { - export namespace FieldMigrateAnnotation { - } - export namespace FileMigrateAnnotation { - } - export namespace MigrateAnnotation { - } - export namespace StatusAnnotation { - } - } - } - export namespace validate { - export namespace AnyRules { - } - export namespace BoolRules { - } - export namespace BytesRules { - } - export namespace DoubleRules { - } - export namespace DurationRules { - } - export namespace EnumRules { - } - export namespace FieldRules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace FloatRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace MapRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace StringRules { - } - export namespace TimestampRules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - } -} diff --git a/packages/grpc-js/src/generated/route.ts b/packages/grpc-js/src/generated/route.ts index 2a676be88..5b251477a 100644 --- a/packages/grpc-js/src/generated/route.ts +++ b/packages/grpc-js/src/generated/route.ts @@ -1,1648 +1,6 @@ import * as grpc from '../index'; import { ServiceDefinition, EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; -import { RouteConfiguration as _envoy_api_v2_RouteConfiguration, RouteConfiguration__Output as _envoy_api_v2_RouteConfiguration__Output } from './envoy/api/v2/RouteConfiguration'; -import { Vhds as _envoy_api_v2_Vhds, Vhds__Output as _envoy_api_v2_Vhds__Output } from './envoy/api/v2/Vhds'; -import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from './envoy/api/v2/core/Address'; -import { AggregatedConfigSource as _envoy_api_v2_core_AggregatedConfigSource, AggregatedConfigSource__Output as _envoy_api_v2_core_AggregatedConfigSource__Output } from './envoy/api/v2/core/AggregatedConfigSource'; -import { ApiConfigSource as _envoy_api_v2_core_ApiConfigSource, ApiConfigSource__Output as _envoy_api_v2_core_ApiConfigSource__Output } from './envoy/api/v2/core/ApiConfigSource'; -import { ApiVersion as _envoy_api_v2_core_ApiVersion } from './envoy/api/v2/core/ApiVersion'; -import { AsyncDataSource as _envoy_api_v2_core_AsyncDataSource, AsyncDataSource__Output as _envoy_api_v2_core_AsyncDataSource__Output } from './envoy/api/v2/core/AsyncDataSource'; -import { BackoffStrategy as _envoy_api_v2_core_BackoffStrategy, BackoffStrategy__Output as _envoy_api_v2_core_BackoffStrategy__Output } from './envoy/api/v2/core/BackoffStrategy'; -import { BindConfig as _envoy_api_v2_core_BindConfig, BindConfig__Output as _envoy_api_v2_core_BindConfig__Output } from './envoy/api/v2/core/BindConfig'; -import { BuildVersion as _envoy_api_v2_core_BuildVersion, BuildVersion__Output as _envoy_api_v2_core_BuildVersion__Output } from './envoy/api/v2/core/BuildVersion'; -import { CidrRange as _envoy_api_v2_core_CidrRange, CidrRange__Output as _envoy_api_v2_core_CidrRange__Output } from './envoy/api/v2/core/CidrRange'; -import { ConfigSource as _envoy_api_v2_core_ConfigSource, ConfigSource__Output as _envoy_api_v2_core_ConfigSource__Output } from './envoy/api/v2/core/ConfigSource'; -import { ControlPlane as _envoy_api_v2_core_ControlPlane, ControlPlane__Output as _envoy_api_v2_core_ControlPlane__Output } from './envoy/api/v2/core/ControlPlane'; -import { DataSource as _envoy_api_v2_core_DataSource, DataSource__Output as _envoy_api_v2_core_DataSource__Output } from './envoy/api/v2/core/DataSource'; -import { Extension as _envoy_api_v2_core_Extension, Extension__Output as _envoy_api_v2_core_Extension__Output } from './envoy/api/v2/core/Extension'; -import { GrpcService as _envoy_api_v2_core_GrpcService, GrpcService__Output as _envoy_api_v2_core_GrpcService__Output } from './envoy/api/v2/core/GrpcService'; -import { HeaderMap as _envoy_api_v2_core_HeaderMap, HeaderMap__Output as _envoy_api_v2_core_HeaderMap__Output } from './envoy/api/v2/core/HeaderMap'; -import { HeaderValue as _envoy_api_v2_core_HeaderValue, HeaderValue__Output as _envoy_api_v2_core_HeaderValue__Output } from './envoy/api/v2/core/HeaderValue'; -import { HeaderValueOption as _envoy_api_v2_core_HeaderValueOption, HeaderValueOption__Output as _envoy_api_v2_core_HeaderValueOption__Output } from './envoy/api/v2/core/HeaderValueOption'; -import { HttpUri as _envoy_api_v2_core_HttpUri, HttpUri__Output as _envoy_api_v2_core_HttpUri__Output } from './envoy/api/v2/core/HttpUri'; -import { Locality as _envoy_api_v2_core_Locality, Locality__Output as _envoy_api_v2_core_Locality__Output } from './envoy/api/v2/core/Locality'; -import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from './envoy/api/v2/core/Metadata'; -import { Node as _envoy_api_v2_core_Node, Node__Output as _envoy_api_v2_core_Node__Output } from './envoy/api/v2/core/Node'; -import { Pipe as _envoy_api_v2_core_Pipe, Pipe__Output as _envoy_api_v2_core_Pipe__Output } from './envoy/api/v2/core/Pipe'; -import { RateLimitSettings as _envoy_api_v2_core_RateLimitSettings, RateLimitSettings__Output as _envoy_api_v2_core_RateLimitSettings__Output } from './envoy/api/v2/core/RateLimitSettings'; -import { RemoteDataSource as _envoy_api_v2_core_RemoteDataSource, RemoteDataSource__Output as _envoy_api_v2_core_RemoteDataSource__Output } from './envoy/api/v2/core/RemoteDataSource'; -import { RequestMethod as _envoy_api_v2_core_RequestMethod } from './envoy/api/v2/core/RequestMethod'; -import { RetryPolicy as _envoy_api_v2_core_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_core_RetryPolicy__Output } from './envoy/api/v2/core/RetryPolicy'; -import { RoutingPriority as _envoy_api_v2_core_RoutingPriority } from './envoy/api/v2/core/RoutingPriority'; -import { RuntimeDouble as _envoy_api_v2_core_RuntimeDouble, RuntimeDouble__Output as _envoy_api_v2_core_RuntimeDouble__Output } from './envoy/api/v2/core/RuntimeDouble'; -import { RuntimeFeatureFlag as _envoy_api_v2_core_RuntimeFeatureFlag, RuntimeFeatureFlag__Output as _envoy_api_v2_core_RuntimeFeatureFlag__Output } from './envoy/api/v2/core/RuntimeFeatureFlag'; -import { RuntimeFractionalPercent as _envoy_api_v2_core_RuntimeFractionalPercent, RuntimeFractionalPercent__Output as _envoy_api_v2_core_RuntimeFractionalPercent__Output } from './envoy/api/v2/core/RuntimeFractionalPercent'; -import { RuntimeUInt32 as _envoy_api_v2_core_RuntimeUInt32, RuntimeUInt32__Output as _envoy_api_v2_core_RuntimeUInt32__Output } from './envoy/api/v2/core/RuntimeUInt32'; -import { SelfConfigSource as _envoy_api_v2_core_SelfConfigSource, SelfConfigSource__Output as _envoy_api_v2_core_SelfConfigSource__Output } from './envoy/api/v2/core/SelfConfigSource'; -import { SocketAddress as _envoy_api_v2_core_SocketAddress, SocketAddress__Output as _envoy_api_v2_core_SocketAddress__Output } from './envoy/api/v2/core/SocketAddress'; -import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from './envoy/api/v2/core/SocketOption'; -import { TcpKeepalive as _envoy_api_v2_core_TcpKeepalive, TcpKeepalive__Output as _envoy_api_v2_core_TcpKeepalive__Output } from './envoy/api/v2/core/TcpKeepalive'; -import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from './envoy/api/v2/core/TrafficDirection'; -import { TransportSocket as _envoy_api_v2_core_TransportSocket, TransportSocket__Output as _envoy_api_v2_core_TransportSocket__Output } from './envoy/api/v2/core/TransportSocket'; -import { CorsPolicy as _envoy_api_v2_route_CorsPolicy, CorsPolicy__Output as _envoy_api_v2_route_CorsPolicy__Output } from './envoy/api/v2/route/CorsPolicy'; -import { Decorator as _envoy_api_v2_route_Decorator, Decorator__Output as _envoy_api_v2_route_Decorator__Output } from './envoy/api/v2/route/Decorator'; -import { DirectResponseAction as _envoy_api_v2_route_DirectResponseAction, DirectResponseAction__Output as _envoy_api_v2_route_DirectResponseAction__Output } from './envoy/api/v2/route/DirectResponseAction'; -import { FilterAction as _envoy_api_v2_route_FilterAction, FilterAction__Output as _envoy_api_v2_route_FilterAction__Output } from './envoy/api/v2/route/FilterAction'; -import { HeaderMatcher as _envoy_api_v2_route_HeaderMatcher, HeaderMatcher__Output as _envoy_api_v2_route_HeaderMatcher__Output } from './envoy/api/v2/route/HeaderMatcher'; -import { HedgePolicy as _envoy_api_v2_route_HedgePolicy, HedgePolicy__Output as _envoy_api_v2_route_HedgePolicy__Output } from './envoy/api/v2/route/HedgePolicy'; -import { QueryParameterMatcher as _envoy_api_v2_route_QueryParameterMatcher, QueryParameterMatcher__Output as _envoy_api_v2_route_QueryParameterMatcher__Output } from './envoy/api/v2/route/QueryParameterMatcher'; -import { RateLimit as _envoy_api_v2_route_RateLimit, RateLimit__Output as _envoy_api_v2_route_RateLimit__Output } from './envoy/api/v2/route/RateLimit'; -import { RedirectAction as _envoy_api_v2_route_RedirectAction, RedirectAction__Output as _envoy_api_v2_route_RedirectAction__Output } from './envoy/api/v2/route/RedirectAction'; -import { RetryPolicy as _envoy_api_v2_route_RetryPolicy, RetryPolicy__Output as _envoy_api_v2_route_RetryPolicy__Output } from './envoy/api/v2/route/RetryPolicy'; -import { Route as _envoy_api_v2_route_Route, Route__Output as _envoy_api_v2_route_Route__Output } from './envoy/api/v2/route/Route'; -import { RouteAction as _envoy_api_v2_route_RouteAction, RouteAction__Output as _envoy_api_v2_route_RouteAction__Output } from './envoy/api/v2/route/RouteAction'; -import { RouteMatch as _envoy_api_v2_route_RouteMatch, RouteMatch__Output as _envoy_api_v2_route_RouteMatch__Output } from './envoy/api/v2/route/RouteMatch'; -import { Tracing as _envoy_api_v2_route_Tracing, Tracing__Output as _envoy_api_v2_route_Tracing__Output } from './envoy/api/v2/route/Tracing'; -import { VirtualCluster as _envoy_api_v2_route_VirtualCluster, VirtualCluster__Output as _envoy_api_v2_route_VirtualCluster__Output } from './envoy/api/v2/route/VirtualCluster'; -import { VirtualHost as _envoy_api_v2_route_VirtualHost, VirtualHost__Output as _envoy_api_v2_route_VirtualHost__Output } from './envoy/api/v2/route/VirtualHost'; -import { WeightedCluster as _envoy_api_v2_route_WeightedCluster, WeightedCluster__Output as _envoy_api_v2_route_WeightedCluster__Output } from './envoy/api/v2/route/WeightedCluster'; -import { DoubleRange as _envoy_type_DoubleRange, DoubleRange__Output as _envoy_type_DoubleRange__Output } from './envoy/type/DoubleRange'; -import { FractionalPercent as _envoy_type_FractionalPercent, FractionalPercent__Output as _envoy_type_FractionalPercent__Output } from './envoy/type/FractionalPercent'; -import { Int32Range as _envoy_type_Int32Range, Int32Range__Output as _envoy_type_Int32Range__Output } from './envoy/type/Int32Range'; -import { Int64Range as _envoy_type_Int64Range, Int64Range__Output as _envoy_type_Int64Range__Output } from './envoy/type/Int64Range'; -import { Percent as _envoy_type_Percent, Percent__Output as _envoy_type_Percent__Output } from './envoy/type/Percent'; -import { SemanticVersion as _envoy_type_SemanticVersion, SemanticVersion__Output as _envoy_type_SemanticVersion__Output } from './envoy/type/SemanticVersion'; -import { ListStringMatcher as _envoy_type_matcher_ListStringMatcher, ListStringMatcher__Output as _envoy_type_matcher_ListStringMatcher__Output } from './envoy/type/matcher/ListStringMatcher'; -import { RegexMatchAndSubstitute as _envoy_type_matcher_RegexMatchAndSubstitute, RegexMatchAndSubstitute__Output as _envoy_type_matcher_RegexMatchAndSubstitute__Output } from './envoy/type/matcher/RegexMatchAndSubstitute'; -import { RegexMatcher as _envoy_type_matcher_RegexMatcher, RegexMatcher__Output as _envoy_type_matcher_RegexMatcher__Output } from './envoy/type/matcher/RegexMatcher'; -import { StringMatcher as _envoy_type_matcher_StringMatcher, StringMatcher__Output as _envoy_type_matcher_StringMatcher__Output } from './envoy/type/matcher/StringMatcher'; -import { MetadataKey as _envoy_type_metadata_v2_MetadataKey, MetadataKey__Output as _envoy_type_metadata_v2_MetadataKey__Output } from './envoy/type/metadata/v2/MetadataKey'; -import { MetadataKind as _envoy_type_metadata_v2_MetadataKind, MetadataKind__Output as _envoy_type_metadata_v2_MetadataKind__Output } from './envoy/type/metadata/v2/MetadataKind'; -import { CustomTag as _envoy_type_tracing_v2_CustomTag, CustomTag__Output as _envoy_type_tracing_v2_CustomTag__Output } from './envoy/type/tracing/v2/CustomTag'; -import { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any'; -import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue'; -import { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue'; -import { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto'; -import { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue'; -import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration'; -import { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from './google/protobuf/Empty'; -import { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto'; -import { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions'; -import { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto'; -import { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions'; -import { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto'; -import { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions'; -import { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto'; -import { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet'; -import { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions'; -import { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue'; -import { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo'; -import { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value'; -import { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value'; -import { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from './google/protobuf/ListValue'; -import { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions'; -import { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto'; -import { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions'; -import { NullValue as _google_protobuf_NullValue } from './google/protobuf/NullValue'; -import { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto'; -import { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions'; -import { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto'; -import { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions'; -import { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo'; -import { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue'; -import { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from './google/protobuf/Struct'; -import { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp'; -import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value'; -import { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value'; -import { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption'; -import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from './google/protobuf/Value'; -import { FieldMigrateAnnotation as _udpa_annotations_FieldMigrateAnnotation, FieldMigrateAnnotation__Output as _udpa_annotations_FieldMigrateAnnotation__Output } from './udpa/annotations/FieldMigrateAnnotation'; -import { FileMigrateAnnotation as _udpa_annotations_FileMigrateAnnotation, FileMigrateAnnotation__Output as _udpa_annotations_FileMigrateAnnotation__Output } from './udpa/annotations/FileMigrateAnnotation'; -import { MigrateAnnotation as _udpa_annotations_MigrateAnnotation, MigrateAnnotation__Output as _udpa_annotations_MigrateAnnotation__Output } from './udpa/annotations/MigrateAnnotation'; -import { PackageVersionStatus as _udpa_annotations_PackageVersionStatus } from './udpa/annotations/PackageVersionStatus'; -import { StatusAnnotation as _udpa_annotations_StatusAnnotation, StatusAnnotation__Output as _udpa_annotations_StatusAnnotation__Output } from './udpa/annotations/StatusAnnotation'; -import { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules'; -import { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules'; -import { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules'; -import { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules'; -import { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules'; -import { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules'; -import { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules'; -import { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules'; -import { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules'; -import { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules'; -import { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules'; -import { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules'; -import { KnownRegex as _validate_KnownRegex } from './validate/KnownRegex'; -import { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules'; -import { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules'; -import { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules'; -import { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules'; -import { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules'; -import { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules'; -import { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules'; -import { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules'; -import { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules'; -import { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules'; -import { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules'; - -export namespace messages { - export namespace envoy { - export namespace annotations { - } - export namespace api { - export namespace v2 { - /** - * [#next-free-field: 11] - */ - export type RouteConfiguration = _envoy_api_v2_RouteConfiguration; - /** - * [#next-free-field: 11] - */ - export type RouteConfiguration__Output = _envoy_api_v2_RouteConfiguration__Output; - export type Vhds = _envoy_api_v2_Vhds; - export type Vhds__Output = _envoy_api_v2_Vhds__Output; - export namespace core { - /** - * Addresses specify either a logical or physical address and port, which are - * used to tell Envoy where to bind/listen, connect to upstream and find - * management servers. - */ - export type Address = _envoy_api_v2_core_Address; - /** - * Addresses specify either a logical or physical address and port, which are - * used to tell Envoy where to bind/listen, connect to upstream and find - * management servers. - */ - export type Address__Output = _envoy_api_v2_core_Address__Output; - /** - * Aggregated Discovery Service (ADS) options. This is currently empty, but when - * set in :ref:`ConfigSource ` can be used to - * specify that ADS is to be used. - */ - export type AggregatedConfigSource = _envoy_api_v2_core_AggregatedConfigSource; - /** - * Aggregated Discovery Service (ADS) options. This is currently empty, but when - * set in :ref:`ConfigSource ` can be used to - * specify that ADS is to be used. - */ - export type AggregatedConfigSource__Output = _envoy_api_v2_core_AggregatedConfigSource__Output; - /** - * API configuration source. This identifies the API type and cluster that Envoy - * will use to fetch an xDS API. - * [#next-free-field: 9] - */ - export type ApiConfigSource = _envoy_api_v2_core_ApiConfigSource; - /** - * API configuration source. This identifies the API type and cluster that Envoy - * will use to fetch an xDS API. - * [#next-free-field: 9] - */ - export type ApiConfigSource__Output = _envoy_api_v2_core_ApiConfigSource__Output; - /** - * xDS API version. This is used to describe both resource and transport - * protocol versions (in distinct configuration fields). - */ - export type ApiVersion = _envoy_api_v2_core_ApiVersion; - /** - * Async data source which support async data fetch. - */ - export type AsyncDataSource = _envoy_api_v2_core_AsyncDataSource; - /** - * Async data source which support async data fetch. - */ - export type AsyncDataSource__Output = _envoy_api_v2_core_AsyncDataSource__Output; - /** - * Configuration defining a jittered exponential back off strategy. - */ - export type BackoffStrategy = _envoy_api_v2_core_BackoffStrategy; - /** - * Configuration defining a jittered exponential back off strategy. - */ - export type BackoffStrategy__Output = _envoy_api_v2_core_BackoffStrategy__Output; - export type BindConfig = _envoy_api_v2_core_BindConfig; - export type BindConfig__Output = _envoy_api_v2_core_BindConfig__Output; - /** - * BuildVersion combines SemVer version of extension with free-form build information - * (i.e. 'alpha', 'private-build') as a set of strings. - */ - export type BuildVersion = _envoy_api_v2_core_BuildVersion; - /** - * BuildVersion combines SemVer version of extension with free-form build information - * (i.e. 'alpha', 'private-build') as a set of strings. - */ - export type BuildVersion__Output = _envoy_api_v2_core_BuildVersion__Output; - /** - * CidrRange specifies an IP Address and a prefix length to construct - * the subnet mask for a `CIDR `_ range. - */ - export type CidrRange = _envoy_api_v2_core_CidrRange; - /** - * CidrRange specifies an IP Address and a prefix length to construct - * the subnet mask for a `CIDR `_ range. - */ - export type CidrRange__Output = _envoy_api_v2_core_CidrRange__Output; - /** - * Configuration for :ref:`listeners `, :ref:`clusters - * `, :ref:`routes - * `, :ref:`endpoints - * ` etc. may either be sourced from the - * filesystem or from an xDS API source. Filesystem configs are watched with - * inotify for updates. - * [#next-free-field: 7] - */ - export type ConfigSource = _envoy_api_v2_core_ConfigSource; - /** - * Configuration for :ref:`listeners `, :ref:`clusters - * `, :ref:`routes - * `, :ref:`endpoints - * ` etc. may either be sourced from the - * filesystem or from an xDS API source. Filesystem configs are watched with - * inotify for updates. - * [#next-free-field: 7] - */ - export type ConfigSource__Output = _envoy_api_v2_core_ConfigSource__Output; - /** - * Identifies a specific ControlPlane instance that Envoy is connected to. - */ - export type ControlPlane = _envoy_api_v2_core_ControlPlane; - /** - * Identifies a specific ControlPlane instance that Envoy is connected to. - */ - export type ControlPlane__Output = _envoy_api_v2_core_ControlPlane__Output; - /** - * Data source consisting of either a file or an inline value. - */ - export type DataSource = _envoy_api_v2_core_DataSource; - /** - * Data source consisting of either a file or an inline value. - */ - export type DataSource__Output = _envoy_api_v2_core_DataSource__Output; - /** - * Version and identification for an Envoy extension. - * [#next-free-field: 6] - */ - export type Extension = _envoy_api_v2_core_Extension; - /** - * Version and identification for an Envoy extension. - * [#next-free-field: 6] - */ - export type Extension__Output = _envoy_api_v2_core_Extension__Output; - /** - * gRPC service configuration. This is used by :ref:`ApiConfigSource - * ` and filter configurations. - * [#next-free-field: 6] - */ - export type GrpcService = _envoy_api_v2_core_GrpcService; - /** - * gRPC service configuration. This is used by :ref:`ApiConfigSource - * ` and filter configurations. - * [#next-free-field: 6] - */ - export type GrpcService__Output = _envoy_api_v2_core_GrpcService__Output; - /** - * Wrapper for a set of headers. - */ - export type HeaderMap = _envoy_api_v2_core_HeaderMap; - /** - * Wrapper for a set of headers. - */ - export type HeaderMap__Output = _envoy_api_v2_core_HeaderMap__Output; - /** - * Header name/value pair. - */ - export type HeaderValue = _envoy_api_v2_core_HeaderValue; - /** - * Header name/value pair. - */ - export type HeaderValue__Output = _envoy_api_v2_core_HeaderValue__Output; - /** - * Header name/value pair plus option to control append behavior. - */ - export type HeaderValueOption = _envoy_api_v2_core_HeaderValueOption; - /** - * Header name/value pair plus option to control append behavior. - */ - export type HeaderValueOption__Output = _envoy_api_v2_core_HeaderValueOption__Output; - /** - * Envoy external URI descriptor - */ - export type HttpUri = _envoy_api_v2_core_HttpUri; - /** - * Envoy external URI descriptor - */ - export type HttpUri__Output = _envoy_api_v2_core_HttpUri__Output; - /** - * Identifies location of where either Envoy runs or where upstream hosts run. - */ - export type Locality = _envoy_api_v2_core_Locality; - /** - * Identifies location of where either Envoy runs or where upstream hosts run. - */ - export type Locality__Output = _envoy_api_v2_core_Locality__Output; - /** - * Metadata provides additional inputs to filters based on matched listeners, - * filter chains, routes and endpoints. It is structured as a map, usually from - * filter name (in reverse DNS format) to metadata specific to the filter. Metadata - * key-values for a filter are merged as connection and request handling occurs, - * with later values for the same key overriding earlier values. - * - * An example use of metadata is providing additional values to - * http_connection_manager in the envoy.http_connection_manager.access_log - * namespace. - * - * Another example use of metadata is to per service config info in cluster metadata, which may get - * consumed by multiple filters. - * - * For load balancing, Metadata provides a means to subset cluster endpoints. - * Endpoints have a Metadata object associated and routes contain a Metadata - * object to match against. There are some well defined metadata used today for - * this purpose: - * - * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an - * endpoint and is also used during header processing - * (x-envoy-upstream-canary) and for stats purposes. - * [#next-major-version: move to type/metadata/v2] - */ - export type Metadata = _envoy_api_v2_core_Metadata; - /** - * Metadata provides additional inputs to filters based on matched listeners, - * filter chains, routes and endpoints. It is structured as a map, usually from - * filter name (in reverse DNS format) to metadata specific to the filter. Metadata - * key-values for a filter are merged as connection and request handling occurs, - * with later values for the same key overriding earlier values. - * - * An example use of metadata is providing additional values to - * http_connection_manager in the envoy.http_connection_manager.access_log - * namespace. - * - * Another example use of metadata is to per service config info in cluster metadata, which may get - * consumed by multiple filters. - * - * For load balancing, Metadata provides a means to subset cluster endpoints. - * Endpoints have a Metadata object associated and routes contain a Metadata - * object to match against. There are some well defined metadata used today for - * this purpose: - * - * * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an - * endpoint and is also used during header processing - * (x-envoy-upstream-canary) and for stats purposes. - * [#next-major-version: move to type/metadata/v2] - */ - export type Metadata__Output = _envoy_api_v2_core_Metadata__Output; - /** - * Identifies a specific Envoy instance. The node identifier is presented to the - * management server, which may use this identifier to distinguish per Envoy - * configuration for serving. - * [#next-free-field: 12] - */ - export type Node = _envoy_api_v2_core_Node; - /** - * Identifies a specific Envoy instance. The node identifier is presented to the - * management server, which may use this identifier to distinguish per Envoy - * configuration for serving. - * [#next-free-field: 12] - */ - export type Node__Output = _envoy_api_v2_core_Node__Output; - export type Pipe = _envoy_api_v2_core_Pipe; - export type Pipe__Output = _envoy_api_v2_core_Pipe__Output; - /** - * Rate Limit settings to be applied for discovery requests made by Envoy. - */ - export type RateLimitSettings = _envoy_api_v2_core_RateLimitSettings; - /** - * Rate Limit settings to be applied for discovery requests made by Envoy. - */ - export type RateLimitSettings__Output = _envoy_api_v2_core_RateLimitSettings__Output; - /** - * The message specifies how to fetch data from remote and how to verify it. - */ - export type RemoteDataSource = _envoy_api_v2_core_RemoteDataSource; - /** - * The message specifies how to fetch data from remote and how to verify it. - */ - export type RemoteDataSource__Output = _envoy_api_v2_core_RemoteDataSource__Output; - /** - * HTTP request method. - */ - export type RequestMethod = _envoy_api_v2_core_RequestMethod; - /** - * The message specifies the retry policy of remote data source when fetching fails. - */ - export type RetryPolicy = _envoy_api_v2_core_RetryPolicy; - /** - * The message specifies the retry policy of remote data source when fetching fails. - */ - export type RetryPolicy__Output = _envoy_api_v2_core_RetryPolicy__Output; - /** - * Envoy supports :ref:`upstream priority routing - * ` both at the route and the virtual - * cluster level. The current priority implementation uses different connection - * pool and circuit breaking settings for each priority level. This means that - * even for HTTP/2 requests, two physical connections will be used to an - * upstream host. In the future Envoy will likely support true HTTP/2 priority - * over a single upstream connection. - */ - export type RoutingPriority = _envoy_api_v2_core_RoutingPriority; - /** - * Runtime derived double with a default when not specified. - */ - export type RuntimeDouble = _envoy_api_v2_core_RuntimeDouble; - /** - * Runtime derived double with a default when not specified. - */ - export type RuntimeDouble__Output = _envoy_api_v2_core_RuntimeDouble__Output; - /** - * Runtime derived bool with a default when not specified. - */ - export type RuntimeFeatureFlag = _envoy_api_v2_core_RuntimeFeatureFlag; - /** - * Runtime derived bool with a default when not specified. - */ - export type RuntimeFeatureFlag__Output = _envoy_api_v2_core_RuntimeFeatureFlag__Output; - /** - * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not - * specified via a runtime key. - * - * .. note:: - * - * Parsing of the runtime key's data is implemented such that it may be represented as a - * :ref:`FractionalPercent ` proto represented as JSON/YAML - * and may also be represented as an integer with the assumption that the value is an integral - * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse - * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. - */ - export type RuntimeFractionalPercent = _envoy_api_v2_core_RuntimeFractionalPercent; - /** - * Runtime derived FractionalPercent with defaults for when the numerator or denominator is not - * specified via a runtime key. - * - * .. note:: - * - * Parsing of the runtime key's data is implemented such that it may be represented as a - * :ref:`FractionalPercent ` proto represented as JSON/YAML - * and may also be represented as an integer with the assumption that the value is an integral - * percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse - * as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED. - */ - export type RuntimeFractionalPercent__Output = _envoy_api_v2_core_RuntimeFractionalPercent__Output; - /** - * Runtime derived uint32 with a default when not specified. - */ - export type RuntimeUInt32 = _envoy_api_v2_core_RuntimeUInt32; - /** - * Runtime derived uint32 with a default when not specified. - */ - export type RuntimeUInt32__Output = _envoy_api_v2_core_RuntimeUInt32__Output; - /** - * [#not-implemented-hide:] - * Self-referencing config source options. This is currently empty, but when - * set in :ref:`ConfigSource ` can be used to - * specify that other data can be obtained from the same server. - */ - export type SelfConfigSource = _envoy_api_v2_core_SelfConfigSource; - /** - * [#not-implemented-hide:] - * Self-referencing config source options. This is currently empty, but when - * set in :ref:`ConfigSource ` can be used to - * specify that other data can be obtained from the same server. - */ - export type SelfConfigSource__Output = _envoy_api_v2_core_SelfConfigSource__Output; - /** - * [#next-free-field: 7] - */ - export type SocketAddress = _envoy_api_v2_core_SocketAddress; - /** - * [#next-free-field: 7] - */ - export type SocketAddress__Output = _envoy_api_v2_core_SocketAddress__Output; - /** - * Generic socket option message. This would be used to set socket options that - * might not exist in upstream kernels or precompiled Envoy binaries. - * [#next-free-field: 7] - */ - export type SocketOption = _envoy_api_v2_core_SocketOption; - /** - * Generic socket option message. This would be used to set socket options that - * might not exist in upstream kernels or precompiled Envoy binaries. - * [#next-free-field: 7] - */ - export type SocketOption__Output = _envoy_api_v2_core_SocketOption__Output; - export type TcpKeepalive = _envoy_api_v2_core_TcpKeepalive; - export type TcpKeepalive__Output = _envoy_api_v2_core_TcpKeepalive__Output; - /** - * Identifies the direction of the traffic relative to the local Envoy. - */ - export type TrafficDirection = _envoy_api_v2_core_TrafficDirection; - /** - * Configuration for transport socket in :ref:`listeners ` and - * :ref:`clusters `. If the configuration is - * empty, a default transport socket implementation and configuration will be - * chosen based on the platform and existence of tls_context. - */ - export type TransportSocket = _envoy_api_v2_core_TransportSocket; - /** - * Configuration for transport socket in :ref:`listeners ` and - * :ref:`clusters `. If the configuration is - * empty, a default transport socket implementation and configuration will be - * chosen based on the platform and existence of tls_context. - */ - export type TransportSocket__Output = _envoy_api_v2_core_TransportSocket__Output; - } - export namespace route { - /** - * [#next-free-field: 12] - */ - export type CorsPolicy = _envoy_api_v2_route_CorsPolicy; - /** - * [#next-free-field: 12] - */ - export type CorsPolicy__Output = _envoy_api_v2_route_CorsPolicy__Output; - export type Decorator = _envoy_api_v2_route_Decorator; - export type Decorator__Output = _envoy_api_v2_route_Decorator__Output; - export type DirectResponseAction = _envoy_api_v2_route_DirectResponseAction; - export type DirectResponseAction__Output = _envoy_api_v2_route_DirectResponseAction__Output; - /** - * A filter-defined action type. - */ - export type FilterAction = _envoy_api_v2_route_FilterAction; - /** - * A filter-defined action type. - */ - export type FilterAction__Output = _envoy_api_v2_route_FilterAction__Output; - /** - * .. attention:: - * - * Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* - * header. Thus, if attempting to match on *Host*, match on *:authority* instead. - * - * .. attention:: - * - * To route on HTTP method, use the special HTTP/2 *:method* header. This works for both - * HTTP/1 and HTTP/2 as Envoy normalizes headers. E.g., - * - * .. code-block:: json - * - * { - * "name": ":method", - * "exact_match": "POST" - * } - * - * .. attention:: - * In the absence of any header match specifier, match will default to :ref:`present_match - * `. i.e, a request that has the :ref:`name - * ` header will match, regardless of the header's - * value. - * - * [#next-major-version: HeaderMatcher should be refactored to use StringMatcher.] - * [#next-free-field: 12] - */ - export type HeaderMatcher = _envoy_api_v2_route_HeaderMatcher; - /** - * .. attention:: - * - * Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* - * header. Thus, if attempting to match on *Host*, match on *:authority* instead. - * - * .. attention:: - * - * To route on HTTP method, use the special HTTP/2 *:method* header. This works for both - * HTTP/1 and HTTP/2 as Envoy normalizes headers. E.g., - * - * .. code-block:: json - * - * { - * "name": ":method", - * "exact_match": "POST" - * } - * - * .. attention:: - * In the absence of any header match specifier, match will default to :ref:`present_match - * `. i.e, a request that has the :ref:`name - * ` header will match, regardless of the header's - * value. - * - * [#next-major-version: HeaderMatcher should be refactored to use StringMatcher.] - * [#next-free-field: 12] - */ - export type HeaderMatcher__Output = _envoy_api_v2_route_HeaderMatcher__Output; - /** - * HTTP request hedging :ref:`architecture overview `. - */ - export type HedgePolicy = _envoy_api_v2_route_HedgePolicy; - /** - * HTTP request hedging :ref:`architecture overview `. - */ - export type HedgePolicy__Output = _envoy_api_v2_route_HedgePolicy__Output; - /** - * Query parameter matching treats the query string of a request's :path header - * as an ampersand-separated list of keys and/or key=value elements. - * [#next-free-field: 7] - */ - export type QueryParameterMatcher = _envoy_api_v2_route_QueryParameterMatcher; - /** - * Query parameter matching treats the query string of a request's :path header - * as an ampersand-separated list of keys and/or key=value elements. - * [#next-free-field: 7] - */ - export type QueryParameterMatcher__Output = _envoy_api_v2_route_QueryParameterMatcher__Output; - /** - * Global rate limiting :ref:`architecture overview `. - */ - export type RateLimit = _envoy_api_v2_route_RateLimit; - /** - * Global rate limiting :ref:`architecture overview `. - */ - export type RateLimit__Output = _envoy_api_v2_route_RateLimit__Output; - /** - * [#next-free-field: 9] - */ - export type RedirectAction = _envoy_api_v2_route_RedirectAction; - /** - * [#next-free-field: 9] - */ - export type RedirectAction__Output = _envoy_api_v2_route_RedirectAction__Output; - /** - * HTTP retry :ref:`architecture overview `. - * [#next-free-field: 11] - */ - export type RetryPolicy = _envoy_api_v2_route_RetryPolicy; - /** - * HTTP retry :ref:`architecture overview `. - * [#next-free-field: 11] - */ - export type RetryPolicy__Output = _envoy_api_v2_route_RetryPolicy__Output; - /** - * A route is both a specification of how to match a request as well as an indication of what to do - * next (e.g., redirect, forward, rewrite, etc.). - * - * .. attention:: - * - * Envoy supports routing on HTTP method via :ref:`header matching - * `. - * [#next-free-field: 18] - */ - export type Route = _envoy_api_v2_route_Route; - /** - * A route is both a specification of how to match a request as well as an indication of what to do - * next (e.g., redirect, forward, rewrite, etc.). - * - * .. attention:: - * - * Envoy supports routing on HTTP method via :ref:`header matching - * `. - * [#next-free-field: 18] - */ - export type Route__Output = _envoy_api_v2_route_Route__Output; - /** - * [#next-free-field: 34] - */ - export type RouteAction = _envoy_api_v2_route_RouteAction; - /** - * [#next-free-field: 34] - */ - export type RouteAction__Output = _envoy_api_v2_route_RouteAction__Output; - /** - * [#next-free-field: 12] - */ - export type RouteMatch = _envoy_api_v2_route_RouteMatch; - /** - * [#next-free-field: 12] - */ - export type RouteMatch__Output = _envoy_api_v2_route_RouteMatch__Output; - export type Tracing = _envoy_api_v2_route_Tracing; - export type Tracing__Output = _envoy_api_v2_route_Tracing__Output; - /** - * A virtual cluster is a way of specifying a regex matching rule against - * certain important endpoints such that statistics are generated explicitly for - * the matched requests. The reason this is useful is that when doing - * prefix/path matching Envoy does not always know what the application - * considers to be an endpoint. Thus, it’s impossible for Envoy to generically - * emit per endpoint statistics. However, often systems have highly critical - * endpoints that they wish to get “perfect” statistics on. Virtual cluster - * statistics are perfect in the sense that they are emitted on the downstream - * side such that they include network level failures. - * - * Documentation for :ref:`virtual cluster statistics `. - * - * .. note:: - * - * Virtual clusters are a useful tool, but we do not recommend setting up a virtual cluster for - * every application endpoint. This is both not easily maintainable and as well the matching and - * statistics output are not free. - */ - export type VirtualCluster = _envoy_api_v2_route_VirtualCluster; - /** - * A virtual cluster is a way of specifying a regex matching rule against - * certain important endpoints such that statistics are generated explicitly for - * the matched requests. The reason this is useful is that when doing - * prefix/path matching Envoy does not always know what the application - * considers to be an endpoint. Thus, it’s impossible for Envoy to generically - * emit per endpoint statistics. However, often systems have highly critical - * endpoints that they wish to get “perfect” statistics on. Virtual cluster - * statistics are perfect in the sense that they are emitted on the downstream - * side such that they include network level failures. - * - * Documentation for :ref:`virtual cluster statistics `. - * - * .. note:: - * - * Virtual clusters are a useful tool, but we do not recommend setting up a virtual cluster for - * every application endpoint. This is both not easily maintainable and as well the matching and - * statistics output are not free. - */ - export type VirtualCluster__Output = _envoy_api_v2_route_VirtualCluster__Output; - /** - * The top level element in the routing configuration is a virtual host. Each virtual host has - * a logical name as well as a set of domains that get routed to it based on the incoming request's - * host header. This allows a single listener to service multiple top level domain path trees. Once - * a virtual host is selected based on the domain, the routes are processed in order to see which - * upstream cluster to route to or whether to perform a redirect. - * [#next-free-field: 21] - */ - export type VirtualHost = _envoy_api_v2_route_VirtualHost; - /** - * The top level element in the routing configuration is a virtual host. Each virtual host has - * a logical name as well as a set of domains that get routed to it based on the incoming request's - * host header. This allows a single listener to service multiple top level domain path trees. Once - * a virtual host is selected based on the domain, the routes are processed in order to see which - * upstream cluster to route to or whether to perform a redirect. - * [#next-free-field: 21] - */ - export type VirtualHost__Output = _envoy_api_v2_route_VirtualHost__Output; - /** - * Compared to the :ref:`cluster ` field that specifies a - * single upstream cluster as the target of a request, the :ref:`weighted_clusters - * ` option allows for specification of - * multiple upstream clusters along with weights that indicate the percentage of - * traffic to be forwarded to each cluster. The router selects an upstream cluster based on the - * weights. - */ - export type WeightedCluster = _envoy_api_v2_route_WeightedCluster; - /** - * Compared to the :ref:`cluster ` field that specifies a - * single upstream cluster as the target of a request, the :ref:`weighted_clusters - * ` option allows for specification of - * multiple upstream clusters along with weights that indicate the percentage of - * traffic to be forwarded to each cluster. The router selects an upstream cluster based on the - * weights. - */ - export type WeightedCluster__Output = _envoy_api_v2_route_WeightedCluster__Output; - } - } - } - export namespace type { - /** - * Specifies the double start and end of the range using half-open interval semantics [start, - * end). - */ - export type DoubleRange = _envoy_type_DoubleRange; - /** - * Specifies the double start and end of the range using half-open interval semantics [start, - * end). - */ - export type DoubleRange__Output = _envoy_type_DoubleRange__Output; - /** - * A fractional percentage is used in cases in which for performance reasons performing floating - * point to integer conversions during randomness calculations is undesirable. The message includes - * both a numerator and denominator that together determine the final fractional value. - * - * * **Example**: 1/100 = 1%. - * * **Example**: 3/10000 = 0.03%. - */ - export type FractionalPercent = _envoy_type_FractionalPercent; - /** - * A fractional percentage is used in cases in which for performance reasons performing floating - * point to integer conversions during randomness calculations is undesirable. The message includes - * both a numerator and denominator that together determine the final fractional value. - * - * * **Example**: 1/100 = 1%. - * * **Example**: 3/10000 = 0.03%. - */ - export type FractionalPercent__Output = _envoy_type_FractionalPercent__Output; - /** - * Specifies the int32 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int32Range = _envoy_type_Int32Range; - /** - * Specifies the int32 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int32Range__Output = _envoy_type_Int32Range__Output; - /** - * Specifies the int64 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int64Range = _envoy_type_Int64Range; - /** - * Specifies the int64 start and end of the range using half-open interval semantics [start, - * end). - */ - export type Int64Range__Output = _envoy_type_Int64Range__Output; - /** - * Identifies a percentage, in the range [0.0, 100.0]. - */ - export type Percent = _envoy_type_Percent; - /** - * Identifies a percentage, in the range [0.0, 100.0]. - */ - export type Percent__Output = _envoy_type_Percent__Output; - /** - * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate - * expected behaviors and APIs, the patch version field is used only - * for security fixes and can be generally ignored. - */ - export type SemanticVersion = _envoy_type_SemanticVersion; - /** - * Envoy uses SemVer (https://semver.org/). Major/minor versions indicate - * expected behaviors and APIs, the patch version field is used only - * for security fixes and can be generally ignored. - */ - export type SemanticVersion__Output = _envoy_type_SemanticVersion__Output; - export namespace matcher { - /** - * Specifies a list of ways to match a string. - */ - export type ListStringMatcher = _envoy_type_matcher_ListStringMatcher; - /** - * Specifies a list of ways to match a string. - */ - export type ListStringMatcher__Output = _envoy_type_matcher_ListStringMatcher__Output; - /** - * Describes how to match a string and then produce a new string using a regular - * expression and a substitution string. - */ - export type RegexMatchAndSubstitute = _envoy_type_matcher_RegexMatchAndSubstitute; - /** - * Describes how to match a string and then produce a new string using a regular - * expression and a substitution string. - */ - export type RegexMatchAndSubstitute__Output = _envoy_type_matcher_RegexMatchAndSubstitute__Output; - /** - * A regex matcher designed for safety when used with untrusted input. - */ - export type RegexMatcher = _envoy_type_matcher_RegexMatcher; - /** - * A regex matcher designed for safety when used with untrusted input. - */ - export type RegexMatcher__Output = _envoy_type_matcher_RegexMatcher__Output; - /** - * Specifies the way to match a string. - * [#next-free-field: 7] - */ - export type StringMatcher = _envoy_type_matcher_StringMatcher; - /** - * Specifies the way to match a string. - * [#next-free-field: 7] - */ - export type StringMatcher__Output = _envoy_type_matcher_StringMatcher__Output; - } - export namespace metadata { - export namespace v2 { - /** - * MetadataKey provides a general interface using `key` and `path` to retrieve value from - * :ref:`Metadata `. - * - * For example, for the following Metadata: - * - * .. code-block:: yaml - * - * filter_metadata: - * envoy.xxx: - * prop: - * foo: bar - * xyz: - * hello: envoy - * - * The following MetadataKey will retrieve a string value "bar" from the Metadata. - * - * .. code-block:: yaml - * - * key: envoy.xxx - * path: - * - key: prop - * - key: foo - */ - export type MetadataKey = _envoy_type_metadata_v2_MetadataKey; - /** - * MetadataKey provides a general interface using `key` and `path` to retrieve value from - * :ref:`Metadata `. - * - * For example, for the following Metadata: - * - * .. code-block:: yaml - * - * filter_metadata: - * envoy.xxx: - * prop: - * foo: bar - * xyz: - * hello: envoy - * - * The following MetadataKey will retrieve a string value "bar" from the Metadata. - * - * .. code-block:: yaml - * - * key: envoy.xxx - * path: - * - key: prop - * - key: foo - */ - export type MetadataKey__Output = _envoy_type_metadata_v2_MetadataKey__Output; - /** - * Describes what kind of metadata. - */ - export type MetadataKind = _envoy_type_metadata_v2_MetadataKind; - /** - * Describes what kind of metadata. - */ - export type MetadataKind__Output = _envoy_type_metadata_v2_MetadataKind__Output; - } - } - export namespace tracing { - export namespace v2 { - /** - * Describes custom tags for the active span. - * [#next-free-field: 6] - */ - export type CustomTag = _envoy_type_tracing_v2_CustomTag; - /** - * Describes custom tags for the active span. - * [#next-free-field: 6] - */ - export type CustomTag__Output = _envoy_type_tracing_v2_CustomTag__Output; - } - } - } - } - export namespace google { - export namespace protobuf { - export type Any = _google_protobuf_Any; - export type Any__Output = _google_protobuf_Any__Output; - export type BoolValue = _google_protobuf_BoolValue; - export type BoolValue__Output = _google_protobuf_BoolValue__Output; - export type BytesValue = _google_protobuf_BytesValue; - export type BytesValue__Output = _google_protobuf_BytesValue__Output; - export type DescriptorProto = _google_protobuf_DescriptorProto; - export type DescriptorProto__Output = _google_protobuf_DescriptorProto__Output; - export type DoubleValue = _google_protobuf_DoubleValue; - export type DoubleValue__Output = _google_protobuf_DoubleValue__Output; - export type Duration = _google_protobuf_Duration; - export type Duration__Output = _google_protobuf_Duration__Output; - export type Empty = _google_protobuf_Empty; - export type Empty__Output = _google_protobuf_Empty__Output; - export type EnumDescriptorProto = _google_protobuf_EnumDescriptorProto; - export type EnumDescriptorProto__Output = _google_protobuf_EnumDescriptorProto__Output; - export type EnumOptions = _google_protobuf_EnumOptions; - export type EnumOptions__Output = _google_protobuf_EnumOptions__Output; - export type EnumValueDescriptorProto = _google_protobuf_EnumValueDescriptorProto; - export type EnumValueDescriptorProto__Output = _google_protobuf_EnumValueDescriptorProto__Output; - export type EnumValueOptions = _google_protobuf_EnumValueOptions; - export type EnumValueOptions__Output = _google_protobuf_EnumValueOptions__Output; - export type FieldDescriptorProto = _google_protobuf_FieldDescriptorProto; - export type FieldDescriptorProto__Output = _google_protobuf_FieldDescriptorProto__Output; - export type FieldOptions = _google_protobuf_FieldOptions; - export type FieldOptions__Output = _google_protobuf_FieldOptions__Output; - export type FileDescriptorProto = _google_protobuf_FileDescriptorProto; - export type FileDescriptorProto__Output = _google_protobuf_FileDescriptorProto__Output; - export type FileDescriptorSet = _google_protobuf_FileDescriptorSet; - export type FileDescriptorSet__Output = _google_protobuf_FileDescriptorSet__Output; - export type FileOptions = _google_protobuf_FileOptions; - export type FileOptions__Output = _google_protobuf_FileOptions__Output; - export type FloatValue = _google_protobuf_FloatValue; - export type FloatValue__Output = _google_protobuf_FloatValue__Output; - export type GeneratedCodeInfo = _google_protobuf_GeneratedCodeInfo; - export type GeneratedCodeInfo__Output = _google_protobuf_GeneratedCodeInfo__Output; - export type Int32Value = _google_protobuf_Int32Value; - export type Int32Value__Output = _google_protobuf_Int32Value__Output; - export type Int64Value = _google_protobuf_Int64Value; - export type Int64Value__Output = _google_protobuf_Int64Value__Output; - export type ListValue = _google_protobuf_ListValue; - export type ListValue__Output = _google_protobuf_ListValue__Output; - export type MessageOptions = _google_protobuf_MessageOptions; - export type MessageOptions__Output = _google_protobuf_MessageOptions__Output; - export type MethodDescriptorProto = _google_protobuf_MethodDescriptorProto; - export type MethodDescriptorProto__Output = _google_protobuf_MethodDescriptorProto__Output; - export type MethodOptions = _google_protobuf_MethodOptions; - export type MethodOptions__Output = _google_protobuf_MethodOptions__Output; - export type NullValue = _google_protobuf_NullValue; - export type OneofDescriptorProto = _google_protobuf_OneofDescriptorProto; - export type OneofDescriptorProto__Output = _google_protobuf_OneofDescriptorProto__Output; - export type OneofOptions = _google_protobuf_OneofOptions; - export type OneofOptions__Output = _google_protobuf_OneofOptions__Output; - export type ServiceDescriptorProto = _google_protobuf_ServiceDescriptorProto; - export type ServiceDescriptorProto__Output = _google_protobuf_ServiceDescriptorProto__Output; - export type ServiceOptions = _google_protobuf_ServiceOptions; - export type ServiceOptions__Output = _google_protobuf_ServiceOptions__Output; - export type SourceCodeInfo = _google_protobuf_SourceCodeInfo; - export type SourceCodeInfo__Output = _google_protobuf_SourceCodeInfo__Output; - export type StringValue = _google_protobuf_StringValue; - export type StringValue__Output = _google_protobuf_StringValue__Output; - export type Struct = _google_protobuf_Struct; - export type Struct__Output = _google_protobuf_Struct__Output; - export type Timestamp = _google_protobuf_Timestamp; - export type Timestamp__Output = _google_protobuf_Timestamp__Output; - export type UInt32Value = _google_protobuf_UInt32Value; - export type UInt32Value__Output = _google_protobuf_UInt32Value__Output; - export type UInt64Value = _google_protobuf_UInt64Value; - export type UInt64Value__Output = _google_protobuf_UInt64Value__Output; - export type UninterpretedOption = _google_protobuf_UninterpretedOption; - export type UninterpretedOption__Output = _google_protobuf_UninterpretedOption__Output; - export type Value = _google_protobuf_Value; - export type Value__Output = _google_protobuf_Value__Output; - } - } - export namespace udpa { - export namespace annotations { - export type FieldMigrateAnnotation = _udpa_annotations_FieldMigrateAnnotation; - export type FieldMigrateAnnotation__Output = _udpa_annotations_FieldMigrateAnnotation__Output; - export type FileMigrateAnnotation = _udpa_annotations_FileMigrateAnnotation; - export type FileMigrateAnnotation__Output = _udpa_annotations_FileMigrateAnnotation__Output; - export type MigrateAnnotation = _udpa_annotations_MigrateAnnotation; - export type MigrateAnnotation__Output = _udpa_annotations_MigrateAnnotation__Output; - export type PackageVersionStatus = _udpa_annotations_PackageVersionStatus; - export type StatusAnnotation = _udpa_annotations_StatusAnnotation; - export type StatusAnnotation__Output = _udpa_annotations_StatusAnnotation__Output; - } - } - export namespace validate { - /** - * AnyRules describe constraints applied exclusively to the - * `google.protobuf.Any` well-known type - */ - export type AnyRules = _validate_AnyRules; - /** - * AnyRules describe constraints applied exclusively to the - * `google.protobuf.Any` well-known type - */ - export type AnyRules__Output = _validate_AnyRules__Output; - /** - * BoolRules describes the constraints applied to `bool` values - */ - export type BoolRules = _validate_BoolRules; - /** - * BoolRules describes the constraints applied to `bool` values - */ - export type BoolRules__Output = _validate_BoolRules__Output; - /** - * BytesRules describe the constraints applied to `bytes` values - */ - export type BytesRules = _validate_BytesRules; - /** - * BytesRules describe the constraints applied to `bytes` values - */ - export type BytesRules__Output = _validate_BytesRules__Output; - /** - * DoubleRules describes the constraints applied to `double` values - */ - export type DoubleRules = _validate_DoubleRules; - /** - * DoubleRules describes the constraints applied to `double` values - */ - export type DoubleRules__Output = _validate_DoubleRules__Output; - /** - * DurationRules describe the constraints applied exclusively to the - * `google.protobuf.Duration` well-known type - */ - export type DurationRules = _validate_DurationRules; - /** - * DurationRules describe the constraints applied exclusively to the - * `google.protobuf.Duration` well-known type - */ - export type DurationRules__Output = _validate_DurationRules__Output; - /** - * EnumRules describe the constraints applied to enum values - */ - export type EnumRules = _validate_EnumRules; - /** - * EnumRules describe the constraints applied to enum values - */ - export type EnumRules__Output = _validate_EnumRules__Output; - /** - * FieldRules encapsulates the rules for each type of field. Depending on the - * field, the correct set should be used to ensure proper validations. - */ - export type FieldRules = _validate_FieldRules; - /** - * FieldRules encapsulates the rules for each type of field. Depending on the - * field, the correct set should be used to ensure proper validations. - */ - export type FieldRules__Output = _validate_FieldRules__Output; - /** - * Fixed32Rules describes the constraints applied to `fixed32` values - */ - export type Fixed32Rules = _validate_Fixed32Rules; - /** - * Fixed32Rules describes the constraints applied to `fixed32` values - */ - export type Fixed32Rules__Output = _validate_Fixed32Rules__Output; - /** - * Fixed64Rules describes the constraints applied to `fixed64` values - */ - export type Fixed64Rules = _validate_Fixed64Rules; - /** - * Fixed64Rules describes the constraints applied to `fixed64` values - */ - export type Fixed64Rules__Output = _validate_Fixed64Rules__Output; - /** - * FloatRules describes the constraints applied to `float` values - */ - export type FloatRules = _validate_FloatRules; - /** - * FloatRules describes the constraints applied to `float` values - */ - export type FloatRules__Output = _validate_FloatRules__Output; - /** - * Int32Rules describes the constraints applied to `int32` values - */ - export type Int32Rules = _validate_Int32Rules; - /** - * Int32Rules describes the constraints applied to `int32` values - */ - export type Int32Rules__Output = _validate_Int32Rules__Output; - /** - * Int64Rules describes the constraints applied to `int64` values - */ - export type Int64Rules = _validate_Int64Rules; - /** - * Int64Rules describes the constraints applied to `int64` values - */ - export type Int64Rules__Output = _validate_Int64Rules__Output; - /** - * WellKnownRegex contain some well-known patterns. - */ - export type KnownRegex = _validate_KnownRegex; - /** - * MapRules describe the constraints applied to `map` values - */ - export type MapRules = _validate_MapRules; - /** - * MapRules describe the constraints applied to `map` values - */ - export type MapRules__Output = _validate_MapRules__Output; - /** - * MessageRules describe the constraints applied to embedded message values. - * For message-type fields, validation is performed recursively. - */ - export type MessageRules = _validate_MessageRules; - /** - * MessageRules describe the constraints applied to embedded message values. - * For message-type fields, validation is performed recursively. - */ - export type MessageRules__Output = _validate_MessageRules__Output; - /** - * RepeatedRules describe the constraints applied to `repeated` values - */ - export type RepeatedRules = _validate_RepeatedRules; - /** - * RepeatedRules describe the constraints applied to `repeated` values - */ - export type RepeatedRules__Output = _validate_RepeatedRules__Output; - /** - * SFixed32Rules describes the constraints applied to `sfixed32` values - */ - export type SFixed32Rules = _validate_SFixed32Rules; - /** - * SFixed32Rules describes the constraints applied to `sfixed32` values - */ - export type SFixed32Rules__Output = _validate_SFixed32Rules__Output; - /** - * SFixed64Rules describes the constraints applied to `sfixed64` values - */ - export type SFixed64Rules = _validate_SFixed64Rules; - /** - * SFixed64Rules describes the constraints applied to `sfixed64` values - */ - export type SFixed64Rules__Output = _validate_SFixed64Rules__Output; - /** - * SInt32Rules describes the constraints applied to `sint32` values - */ - export type SInt32Rules = _validate_SInt32Rules; - /** - * SInt32Rules describes the constraints applied to `sint32` values - */ - export type SInt32Rules__Output = _validate_SInt32Rules__Output; - /** - * SInt64Rules describes the constraints applied to `sint64` values - */ - export type SInt64Rules = _validate_SInt64Rules; - /** - * SInt64Rules describes the constraints applied to `sint64` values - */ - export type SInt64Rules__Output = _validate_SInt64Rules__Output; - /** - * StringRules describe the constraints applied to `string` values - */ - export type StringRules = _validate_StringRules; - /** - * StringRules describe the constraints applied to `string` values - */ - export type StringRules__Output = _validate_StringRules__Output; - /** - * TimestampRules describe the constraints applied exclusively to the - * `google.protobuf.Timestamp` well-known type - */ - export type TimestampRules = _validate_TimestampRules; - /** - * TimestampRules describe the constraints applied exclusively to the - * `google.protobuf.Timestamp` well-known type - */ - export type TimestampRules__Output = _validate_TimestampRules__Output; - /** - * UInt32Rules describes the constraints applied to `uint32` values - */ - export type UInt32Rules = _validate_UInt32Rules; - /** - * UInt32Rules describes the constraints applied to `uint32` values - */ - export type UInt32Rules__Output = _validate_UInt32Rules__Output; - /** - * UInt64Rules describes the constraints applied to `uint64` values - */ - export type UInt64Rules = _validate_UInt64Rules; - /** - * UInt64Rules describes the constraints applied to `uint64` values - */ - export type UInt64Rules__Output = _validate_UInt64Rules__Output; - } -} - -export namespace ClientInterfaces { - export namespace envoy { - export namespace annotations { - } - export namespace api { - export namespace v2 { - export namespace RouteConfiguration { - } - export namespace Vhds { - } - export namespace core { - export namespace Address { - } - export namespace AggregatedConfigSource { - } - export namespace ApiConfigSource { - } - export namespace AsyncDataSource { - } - export namespace BackoffStrategy { - } - export namespace BindConfig { - } - export namespace BuildVersion { - } - export namespace CidrRange { - } - export namespace ConfigSource { - } - export namespace ControlPlane { - } - export namespace DataSource { - } - export namespace Extension { - } - export namespace GrpcService { - export namespace EnvoyGrpc { - } - export namespace GoogleGrpc { - export namespace CallCredentials { - export namespace GoogleIAMCredentials { - } - export namespace MetadataCredentialsFromPlugin { - } - export namespace ServiceAccountJWTAccessCredentials { - } - export namespace StsService { - } - } - export namespace ChannelCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace SslCredentials { - } - } - } - export namespace HeaderMap { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { - } - export namespace HttpUri { - } - export namespace Locality { - } - export namespace Metadata { - } - export namespace Node { - } - export namespace Pipe { - } - export namespace RateLimitSettings { - } - export namespace RemoteDataSource { - } - export namespace RetryPolicy { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace RuntimeFractionalPercent { - } - export namespace RuntimeUInt32 { - } - export namespace SelfConfigSource { - } - export namespace SocketAddress { - } - export namespace SocketOption { - } - export namespace TcpKeepalive { - } - export namespace TransportSocket { - } - } - export namespace route { - export namespace CorsPolicy { - } - export namespace Decorator { - } - export namespace DirectResponseAction { - } - export namespace FilterAction { - } - export namespace HeaderMatcher { - } - export namespace HedgePolicy { - } - export namespace QueryParameterMatcher { - } - export namespace RateLimit { - export namespace Action { - export namespace DestinationCluster { - } - export namespace GenericKey { - } - export namespace HeaderValueMatch { - } - export namespace RemoteAddress { - } - export namespace RequestHeaders { - } - export namespace SourceCluster { - } - } - } - export namespace RedirectAction { - } - export namespace RetryPolicy { - export namespace RetryBackOff { - } - export namespace RetryHostPredicate { - } - export namespace RetryPriority { - } - } - export namespace Route { - } - export namespace RouteAction { - export namespace HashPolicy { - export namespace ConnectionProperties { - } - export namespace Cookie { - } - export namespace FilterState { - } - export namespace Header { - } - export namespace QueryParameter { - } - } - export namespace RequestMirrorPolicy { - } - export namespace UpgradeConfig { - } - } - export namespace RouteMatch { - export namespace GrpcRouteMatchOptions { - } - export namespace TlsContextMatchOptions { - } - } - export namespace Tracing { - } - export namespace VirtualCluster { - } - export namespace VirtualHost { - } - export namespace WeightedCluster { - export namespace ClusterWeight { - } - } - } - } - } - export namespace type { - export namespace DoubleRange { - } - export namespace FractionalPercent { - } - export namespace Int32Range { - } - export namespace Int64Range { - } - export namespace Percent { - } - export namespace SemanticVersion { - } - export namespace matcher { - export namespace ListStringMatcher { - } - export namespace RegexMatchAndSubstitute { - } - export namespace RegexMatcher { - export namespace GoogleRE2 { - } - } - export namespace StringMatcher { - } - } - export namespace metadata { - export namespace v2 { - export namespace MetadataKey { - export namespace PathSegment { - } - } - export namespace MetadataKind { - export namespace Cluster { - } - export namespace Host { - } - export namespace Request { - } - export namespace Route { - } - } - } - } - export namespace tracing { - export namespace v2 { - export namespace CustomTag { - export namespace Environment { - } - export namespace Header { - } - export namespace Literal { - } - export namespace Metadata { - } - } - } - } - } - } - export namespace google { - export namespace protobuf { - export namespace Any { - } - export namespace BoolValue { - } - export namespace BytesValue { - } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } - } - export namespace DoubleValue { - } - export namespace Duration { - } - export namespace Empty { - } - export namespace EnumDescriptorProto { - } - export namespace EnumOptions { - } - export namespace EnumValueDescriptorProto { - } - export namespace EnumValueOptions { - } - export namespace FieldDescriptorProto { - } - export namespace FieldOptions { - } - export namespace FileDescriptorProto { - } - export namespace FileDescriptorSet { - } - export namespace FileOptions { - } - export namespace FloatValue { - } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } - } - export namespace Int32Value { - } - export namespace Int64Value { - } - export namespace ListValue { - } - export namespace MessageOptions { - } - export namespace MethodDescriptorProto { - } - export namespace MethodOptions { - } - export namespace OneofDescriptorProto { - } - export namespace OneofOptions { - } - export namespace ServiceDescriptorProto { - } - export namespace ServiceOptions { - } - export namespace SourceCodeInfo { - export namespace Location { - } - } - export namespace StringValue { - } - export namespace Struct { - } - export namespace Timestamp { - } - export namespace UInt32Value { - } - export namespace UInt64Value { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } - export namespace Value { - } - } - } - export namespace udpa { - export namespace annotations { - export namespace FieldMigrateAnnotation { - } - export namespace FileMigrateAnnotation { - } - export namespace MigrateAnnotation { - } - export namespace StatusAnnotation { - } - } - } - export namespace validate { - export namespace AnyRules { - } - export namespace BoolRules { - } - export namespace BytesRules { - } - export namespace DoubleRules { - } - export namespace DurationRules { - } - export namespace EnumRules { - } - export namespace FieldRules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace FloatRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace MapRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace StringRules { - } - export namespace TimestampRules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - } -} type ConstructorArguments = Constructor extends new (...args: infer Args) => any ? Args: never; type SubtypeConstructor = { @@ -1821,387 +179,3 @@ export interface ProtoGrpcType { } } -export namespace ServiceHandlers { - export namespace envoy { - export namespace annotations { - } - export namespace api { - export namespace v2 { - export namespace RouteConfiguration { - } - export namespace Vhds { - } - export namespace core { - export namespace Address { - } - export namespace AggregatedConfigSource { - } - export namespace ApiConfigSource { - } - export namespace AsyncDataSource { - } - export namespace BackoffStrategy { - } - export namespace BindConfig { - } - export namespace BuildVersion { - } - export namespace CidrRange { - } - export namespace ConfigSource { - } - export namespace ControlPlane { - } - export namespace DataSource { - } - export namespace Extension { - } - export namespace GrpcService { - export namespace EnvoyGrpc { - } - export namespace GoogleGrpc { - export namespace CallCredentials { - export namespace GoogleIAMCredentials { - } - export namespace MetadataCredentialsFromPlugin { - } - export namespace ServiceAccountJWTAccessCredentials { - } - export namespace StsService { - } - } - export namespace ChannelCredentials { - } - export namespace GoogleLocalCredentials { - } - export namespace SslCredentials { - } - } - } - export namespace HeaderMap { - } - export namespace HeaderValue { - } - export namespace HeaderValueOption { - } - export namespace HttpUri { - } - export namespace Locality { - } - export namespace Metadata { - } - export namespace Node { - } - export namespace Pipe { - } - export namespace RateLimitSettings { - } - export namespace RemoteDataSource { - } - export namespace RetryPolicy { - } - export namespace RuntimeDouble { - } - export namespace RuntimeFeatureFlag { - } - export namespace RuntimeFractionalPercent { - } - export namespace RuntimeUInt32 { - } - export namespace SelfConfigSource { - } - export namespace SocketAddress { - } - export namespace SocketOption { - } - export namespace TcpKeepalive { - } - export namespace TransportSocket { - } - } - export namespace route { - export namespace CorsPolicy { - } - export namespace Decorator { - } - export namespace DirectResponseAction { - } - export namespace FilterAction { - } - export namespace HeaderMatcher { - } - export namespace HedgePolicy { - } - export namespace QueryParameterMatcher { - } - export namespace RateLimit { - export namespace Action { - export namespace DestinationCluster { - } - export namespace GenericKey { - } - export namespace HeaderValueMatch { - } - export namespace RemoteAddress { - } - export namespace RequestHeaders { - } - export namespace SourceCluster { - } - } - } - export namespace RedirectAction { - } - export namespace RetryPolicy { - export namespace RetryBackOff { - } - export namespace RetryHostPredicate { - } - export namespace RetryPriority { - } - } - export namespace Route { - } - export namespace RouteAction { - export namespace HashPolicy { - export namespace ConnectionProperties { - } - export namespace Cookie { - } - export namespace FilterState { - } - export namespace Header { - } - export namespace QueryParameter { - } - } - export namespace RequestMirrorPolicy { - } - export namespace UpgradeConfig { - } - } - export namespace RouteMatch { - export namespace GrpcRouteMatchOptions { - } - export namespace TlsContextMatchOptions { - } - } - export namespace Tracing { - } - export namespace VirtualCluster { - } - export namespace VirtualHost { - } - export namespace WeightedCluster { - export namespace ClusterWeight { - } - } - } - } - } - export namespace type { - export namespace DoubleRange { - } - export namespace FractionalPercent { - } - export namespace Int32Range { - } - export namespace Int64Range { - } - export namespace Percent { - } - export namespace SemanticVersion { - } - export namespace matcher { - export namespace ListStringMatcher { - } - export namespace RegexMatchAndSubstitute { - } - export namespace RegexMatcher { - export namespace GoogleRE2 { - } - } - export namespace StringMatcher { - } - } - export namespace metadata { - export namespace v2 { - export namespace MetadataKey { - export namespace PathSegment { - } - } - export namespace MetadataKind { - export namespace Cluster { - } - export namespace Host { - } - export namespace Request { - } - export namespace Route { - } - } - } - } - export namespace tracing { - export namespace v2 { - export namespace CustomTag { - export namespace Environment { - } - export namespace Header { - } - export namespace Literal { - } - export namespace Metadata { - } - } - } - } - } - } - export namespace google { - export namespace protobuf { - export namespace Any { - } - export namespace BoolValue { - } - export namespace BytesValue { - } - export namespace DescriptorProto { - export namespace ExtensionRange { - } - export namespace ReservedRange { - } - } - export namespace DoubleValue { - } - export namespace Duration { - } - export namespace Empty { - } - export namespace EnumDescriptorProto { - } - export namespace EnumOptions { - } - export namespace EnumValueDescriptorProto { - } - export namespace EnumValueOptions { - } - export namespace FieldDescriptorProto { - } - export namespace FieldOptions { - } - export namespace FileDescriptorProto { - } - export namespace FileDescriptorSet { - } - export namespace FileOptions { - } - export namespace FloatValue { - } - export namespace GeneratedCodeInfo { - export namespace Annotation { - } - } - export namespace Int32Value { - } - export namespace Int64Value { - } - export namespace ListValue { - } - export namespace MessageOptions { - } - export namespace MethodDescriptorProto { - } - export namespace MethodOptions { - } - export namespace OneofDescriptorProto { - } - export namespace OneofOptions { - } - export namespace ServiceDescriptorProto { - } - export namespace ServiceOptions { - } - export namespace SourceCodeInfo { - export namespace Location { - } - } - export namespace StringValue { - } - export namespace Struct { - } - export namespace Timestamp { - } - export namespace UInt32Value { - } - export namespace UInt64Value { - } - export namespace UninterpretedOption { - export namespace NamePart { - } - } - export namespace Value { - } - } - } - export namespace udpa { - export namespace annotations { - export namespace FieldMigrateAnnotation { - } - export namespace FileMigrateAnnotation { - } - export namespace MigrateAnnotation { - } - export namespace StatusAnnotation { - } - } - } - export namespace validate { - export namespace AnyRules { - } - export namespace BoolRules { - } - export namespace BytesRules { - } - export namespace DoubleRules { - } - export namespace DurationRules { - } - export namespace EnumRules { - } - export namespace FieldRules { - } - export namespace Fixed32Rules { - } - export namespace Fixed64Rules { - } - export namespace FloatRules { - } - export namespace Int32Rules { - } - export namespace Int64Rules { - } - export namespace MapRules { - } - export namespace MessageRules { - } - export namespace RepeatedRules { - } - export namespace SFixed32Rules { - } - export namespace SFixed64Rules { - } - export namespace SInt32Rules { - } - export namespace SInt64Rules { - } - export namespace StringRules { - } - export namespace TimestampRules { - } - export namespace UInt32Rules { - } - export namespace UInt64Rules { - } - } -} diff --git a/packages/grpc-js/src/xds-bootstrap.ts b/packages/grpc-js/src/xds-bootstrap.ts index 90cded00a..ca360f483 100644 --- a/packages/grpc-js/src/xds-bootstrap.ts +++ b/packages/grpc-js/src/xds-bootstrap.ts @@ -16,7 +16,9 @@ */ import * as fs from 'fs'; -import * as adsTypes from './generated/ads'; +import { Struct } from './generated/google/protobuf/Struct'; +import { Node } from './generated/envoy/api/v2/core/Node'; +import { Value } from './generated/google/protobuf/Value'; /* eslint-disable @typescript-eslint/no-explicit-any */ @@ -32,7 +34,7 @@ export interface XdsServerConfig { export interface BootstrapInfo { xdsServers: XdsServerConfig[]; - node: adsTypes.messages.envoy.api.v2.core.Node; + node: Node; } function validateChannelCredsConfig(obj: any): ChannelCredsConfig { @@ -85,7 +87,7 @@ function validateXdsServerConfig(obj: any): XdsServerConfig { }; } -function validateValue(obj: any): adsTypes.messages.google.protobuf.Value { +function validateValue(obj: any): Value { if (Array.isArray(obj)) { return { kind: 'listValue', @@ -128,7 +130,7 @@ function validateValue(obj: any): adsTypes.messages.google.protobuf.Value { } } -function getStructFromJson(obj: any): adsTypes.messages.google.protobuf.Struct { +function getStructFromJson(obj: any): Struct { if (typeof obj !== 'object' || obj === null) { throw new Error('Invalid JSON object for Struct field'); } @@ -154,8 +156,8 @@ function getStructFromJson(obj: any): adsTypes.messages.google.protobuf.Struct { * fields we expect to see: id, cluster, locality, and metadata. * @param obj */ -function validateNode(obj: any): adsTypes.messages.envoy.api.v2.core.Node { - const result: adsTypes.messages.envoy.api.v2.core.Node = {}; +function validateNode(obj: any): Node { + const result: Node = {}; if (!('id' in obj)) { throw new Error('id field missing in node element'); } diff --git a/packages/grpc-js/src/xds-client.ts b/packages/grpc-js/src/xds-client.ts index 9fb5279ed..b9275963c 100644 --- a/packages/grpc-js/src/xds-client.ts +++ b/packages/grpc-js/src/xds-client.ts @@ -18,7 +18,6 @@ import * as protoLoader from '@grpc/proto-loader'; import { loadPackageDefinition } from './make-client'; import * as adsTypes from './generated/ads'; -import * as edsTypes from './generated/endpoint'; import { createGoogleDefaultCredentials } from './channel-credentials'; import { loadBootstrapInfo } from './xds-bootstrap'; import { ClientDuplexStream, ServiceError } from './call'; @@ -29,6 +28,11 @@ import { Metadata } from './metadata'; import * as logging from './logging'; import { ServiceConfig } from './service-config'; import { ChannelOptions } from './channel-options'; +import { Node } from './generated/envoy/api/v2/core/Node'; +import { AggregatedDiscoveryServiceClient } from './generated/envoy/service/discovery/v2/AggregatedDiscoveryService'; +import { DiscoveryRequest } from './generated/envoy/api/v2/DiscoveryRequest'; +import { DiscoveryResponse__Output } from './generated/envoy/api/v2/DiscoveryResponse'; +import { ClusterLoadAssignment__Output } from './generated/envoy/api/v2/ClusterLoadAssignment'; const TRACER_NAME = 'xds_client'; @@ -86,21 +90,21 @@ export interface Watcher { } export class XdsClient { - private node: adsTypes.messages.envoy.api.v2.core.Node | null = null; - private client: adsTypes.ClientInterfaces.envoy.service.discovery.v2.AggregatedDiscoveryServiceClient | null = null; + private node: Node | null = null; + private client: AggregatedDiscoveryServiceClient | null = null; private adsCall: ClientDuplexStream< - adsTypes.messages.envoy.api.v2.DiscoveryRequest, - adsTypes.messages.envoy.api.v2.DiscoveryResponse__Output + DiscoveryRequest, + DiscoveryResponse__Output > | null = null; private hasShutdown = false; private endpointWatchers: Map< string, - Watcher[] + Watcher[] > = new Map< string, - Watcher[] + Watcher[] >(); private lastEdsVersionInfo = ''; private lastEdsNonce = ''; @@ -175,17 +179,17 @@ export class XdsClient { this.adsCall = this.client.StreamAggregatedResources(); this.adsCall.on( 'data', - (message: adsTypes.messages.envoy.api.v2.DiscoveryResponse__Output) => { + (message: DiscoveryResponse__Output) => { switch (message.type_url) { case EDS_TYPE_URL: { - const edsResponses: edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output[] = []; + const edsResponses: ClusterLoadAssignment__Output[] = []; for (const resource of message.resources) { if ( protoLoader.isAnyExtension(resource) && resource['@type'] === EDS_TYPE_URL ) { const resp = resource as protoLoader.AnyExtension & - edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output; + ClusterLoadAssignment__Output; if (!this.validateEdsResponse(resp)) { this.nackEds('ClusterLoadAssignment validation failed'); return; @@ -298,7 +302,7 @@ export class XdsClient { * @param message */ private validateEdsResponse( - message: edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output + message: ClusterLoadAssignment__Output ): boolean { for (const endpoint of message.endpoints) { for (const lb of endpoint.lb_endpoints) { @@ -318,7 +322,7 @@ export class XdsClient { } private handleEdsResponse( - message: edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output + message: ClusterLoadAssignment__Output ) { const watchers = this.endpointWatchers.get(message.cluster_name) ?? []; for (const watcher of watchers) { @@ -350,7 +354,7 @@ export class XdsClient { addEndpointWatcher( edsServiceName: string, watcher: Watcher< - edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output + ClusterLoadAssignment__Output > ) { trace('Watcher added for endpoint ' + edsServiceName); @@ -370,7 +374,7 @@ export class XdsClient { removeEndpointWatcher( edsServiceName: string, watcher: Watcher< - edsTypes.messages.envoy.api.v2.ClusterLoadAssignment__Output + ClusterLoadAssignment__Output > ) { trace('Watcher removed for endpoint ' + edsServiceName); From a0b050aa0cba3edc370e49630f0472cce7be3d30 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Mon, 13 Jul 2020 13:11:54 -0700 Subject: [PATCH 14/19] gts fix --- packages/grpc-js/src/xds-client.ts | 98 +++++++++++++----------------- 1 file changed, 42 insertions(+), 56 deletions(-) diff --git a/packages/grpc-js/src/xds-client.ts b/packages/grpc-js/src/xds-client.ts index b9275963c..98454817f 100644 --- a/packages/grpc-js/src/xds-client.ts +++ b/packages/grpc-js/src/xds-client.ts @@ -102,10 +102,7 @@ export class XdsClient { private endpointWatchers: Map< string, Watcher[] - > = new Map< - string, - Watcher[] - >(); + > = new Map[]>(); private lastEdsVersionInfo = ''; private lastEdsNonce = ''; @@ -177,52 +174,49 @@ export class XdsClient { return; } this.adsCall = this.client.StreamAggregatedResources(); - this.adsCall.on( - 'data', - (message: DiscoveryResponse__Output) => { - switch (message.type_url) { - case EDS_TYPE_URL: { - const edsResponses: ClusterLoadAssignment__Output[] = []; - for (const resource of message.resources) { - if ( - protoLoader.isAnyExtension(resource) && - resource['@type'] === EDS_TYPE_URL - ) { - const resp = resource as protoLoader.AnyExtension & - ClusterLoadAssignment__Output; - if (!this.validateEdsResponse(resp)) { - this.nackEds('ClusterLoadAssignment validation failed'); - return; - } - edsResponses.push(resp); - } else { - this.nackEds( - `Invalid resource type ${ - protoLoader.isAnyExtension(resource) - ? resource['@type'] - : resource.type_url - }` - ); + this.adsCall.on('data', (message: DiscoveryResponse__Output) => { + switch (message.type_url) { + case EDS_TYPE_URL: { + const edsResponses: ClusterLoadAssignment__Output[] = []; + for (const resource of message.resources) { + if ( + protoLoader.isAnyExtension(resource) && + resource['@type'] === EDS_TYPE_URL + ) { + const resp = resource as protoLoader.AnyExtension & + ClusterLoadAssignment__Output; + if (!this.validateEdsResponse(resp)) { + this.nackEds('ClusterLoadAssignment validation failed'); return; } + edsResponses.push(resp); + } else { + this.nackEds( + `Invalid resource type ${ + protoLoader.isAnyExtension(resource) + ? resource['@type'] + : resource.type_url + }` + ); + return; } - for (const message of edsResponses) { - this.handleEdsResponse(message); - } - this.lastEdsVersionInfo = message.version_info; - this.lastEdsNonce = message.nonce; - this.ackEds(); - break; } - default: - this.nackUnknown( - message.type_url, - message.version_info, - message.nonce - ); + for (const message of edsResponses) { + this.handleEdsResponse(message); + } + this.lastEdsVersionInfo = message.version_info; + this.lastEdsNonce = message.nonce; + this.ackEds(); + break; } + default: + this.nackUnknown( + message.type_url, + message.version_info, + message.nonce + ); } - ); + }); this.adsCall.on('error', (error: ServiceError) => { trace( 'ADS stream ended. code=' + error.code + ' details= ' + error.details @@ -301,9 +295,7 @@ export class XdsClient { * https://github.com/grpc/proposal/blob/master/A27-xds-global-load-balancing.md#clusterloadassignment-proto * @param message */ - private validateEdsResponse( - message: ClusterLoadAssignment__Output - ): boolean { + private validateEdsResponse(message: ClusterLoadAssignment__Output): boolean { for (const endpoint of message.endpoints) { for (const lb of endpoint.lb_endpoints) { const socketAddress = lb.endpoint?.address?.socket_address; @@ -321,9 +313,7 @@ export class XdsClient { return true; } - private handleEdsResponse( - message: ClusterLoadAssignment__Output - ) { + private handleEdsResponse(message: ClusterLoadAssignment__Output) { const watchers = this.endpointWatchers.get(message.cluster_name) ?? []; for (const watcher of watchers) { watcher.onValidUpdate(message); @@ -353,9 +343,7 @@ export class XdsClient { addEndpointWatcher( edsServiceName: string, - watcher: Watcher< - ClusterLoadAssignment__Output - > + watcher: Watcher ) { trace('Watcher added for endpoint ' + edsServiceName); let watchersEntry = this.endpointWatchers.get(edsServiceName); @@ -373,9 +361,7 @@ export class XdsClient { removeEndpointWatcher( edsServiceName: string, - watcher: Watcher< - ClusterLoadAssignment__Output - > + watcher: Watcher ) { trace('Watcher removed for endpoint ' + edsServiceName); const watchersEntry = this.endpointWatchers.get(edsServiceName); From 25b2a279914fe823c40b35cd04946a26648e6a12 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Tue, 14 Jul 2020 09:39:59 -0700 Subject: [PATCH 15/19] Move proto-loader to dev deps temporarily --- packages/grpc-js/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grpc-js/package.json b/packages/grpc-js/package.json index 7080270e2..310845e76 100644 --- a/packages/grpc-js/package.json +++ b/packages/grpc-js/package.json @@ -15,6 +15,7 @@ "types": "build/src/index.d.ts", "license": "Apache-2.0", "devDependencies": { + "@grpc/proto-loader": "^0.6.0-pre6", "@types/gulp": "^4.0.6", "@types/gulp-mocha": "0.0.32", "@types/lodash": "^4.14.108", @@ -57,7 +58,6 @@ "posttest": "npm run check" }, "dependencies": { - "@grpc/proto-loader": "^0.6.0-pre6", "semver": "^6.2.0" }, "peerDependencies": { From 898ba43c54ae92b7e5209b1f61146fb189037c5a Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Tue, 14 Jul 2020 09:57:56 -0700 Subject: [PATCH 16/19] Update @types/gulp-mocha dependency --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 70a15fbbf..8849300c2 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "devDependencies": { "@types/execa": "^0.8.0", "@types/gulp": "^4.0.5", - "@types/gulp-mocha": "0.0.31", + "@types/gulp-mocha": "0.0.33", "@types/ncp": "^2.0.1", "@types/node": "^8.0.32", "@types/pify": "^3.0.0", From 8eaf7e87254e88feafd13025c27328157d825e3d Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Wed, 15 Jul 2020 11:24:46 -0700 Subject: [PATCH 17/19] Revert "Update @types/gulp-mocha dependency" This reverts commit 898ba43c54ae92b7e5209b1f61146fb189037c5a. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8849300c2..70a15fbbf 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "devDependencies": { "@types/execa": "^0.8.0", "@types/gulp": "^4.0.5", - "@types/gulp-mocha": "0.0.33", + "@types/gulp-mocha": "0.0.31", "@types/ncp": "^2.0.1", "@types/node": "^8.0.32", "@types/pify": "^3.0.0", From a3762259a1cfaee1d97978f9ad813a3cf8ae8583 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Mon, 20 Jul 2020 14:32:19 -0700 Subject: [PATCH 18/19] Fix generated code errors --- .../src/generated/envoy/api/v2/Cluster.ts | 84 +++++++++---------- .../envoy/api/v2/ClusterLoadAssignment.ts | 12 +-- .../envoy/api/v2/DeltaDiscoveryRequest.ts | 8 +- .../envoy/api/v2/DiscoveryRequest.ts | 4 +- .../envoy/api/v2/DiscoveryResponse.ts | 2 +- .../src/generated/envoy/api/v2/Listener.ts | 26 +++--- .../envoy/api/v2/LoadBalancingPolicy.ts | 4 +- .../src/generated/envoy/api/v2/Resource.ts | 2 +- .../envoy/api/v2/RouteConfiguration.ts | 4 +- .../envoy/api/v2/UpstreamBindConfig.ts | 2 +- .../envoy/api/v2/UpstreamConnectionOptions.ts | 2 +- .../src/generated/envoy/api/v2/Vhds.ts | 2 +- .../v2/auth/CertificateValidationContext.ts | 8 +- .../envoy/api/v2/auth/CommonTlsContext.ts | 6 +- .../envoy/api/v2/auth/DownstreamTlsContext.ts | 8 +- .../envoy/api/v2/auth/GenericSecret.ts | 2 +- .../envoy/api/v2/auth/SdsSecretConfig.ts | 2 +- .../envoy/api/v2/auth/TlsCertificate.ts | 10 +-- .../envoy/api/v2/auth/UpstreamTlsContext.ts | 4 +- .../envoy/api/v2/cluster/CircuitBreakers.ts | 16 ++-- .../generated/envoy/api/v2/cluster/Filter.ts | 2 +- .../envoy/api/v2/cluster/OutlierDetection.ts | 38 ++++----- .../envoy/api/v2/core/ApiConfigSource.ts | 6 +- .../envoy/api/v2/core/BackoffStrategy.ts | 4 +- .../generated/envoy/api/v2/core/BindConfig.ts | 4 +- .../envoy/api/v2/core/BuildVersion.ts | 4 +- .../generated/envoy/api/v2/core/CidrRange.ts | 2 +- .../envoy/api/v2/core/ConfigSource.ts | 2 +- .../generated/envoy/api/v2/core/Extension.ts | 2 +- .../envoy/api/v2/core/GrpcProtocolOptions.ts | 2 +- .../envoy/api/v2/core/GrpcService.ts | 12 +-- .../envoy/api/v2/core/HeaderValueOption.ts | 4 +- .../envoy/api/v2/core/HealthCheck.ts | 36 ++++---- .../envoy/api/v2/core/Http1ProtocolOptions.ts | 4 +- .../envoy/api/v2/core/Http2ProtocolOptions.ts | 22 ++--- .../envoy/api/v2/core/HttpProtocolOptions.ts | 8 +- .../generated/envoy/api/v2/core/HttpUri.ts | 2 +- .../generated/envoy/api/v2/core/Metadata.ts | 4 +- .../src/generated/envoy/api/v2/core/Node.ts | 4 +- .../envoy/api/v2/core/RateLimitSettings.ts | 4 +- .../envoy/api/v2/core/RemoteDataSource.ts | 4 +- .../envoy/api/v2/core/RetryPolicy.ts | 4 +- .../envoy/api/v2/core/RuntimeFeatureFlag.ts | 2 +- .../api/v2/core/RuntimeFractionalPercent.ts | 2 +- .../envoy/api/v2/core/TcpKeepalive.ts | 6 +- .../envoy/api/v2/endpoint/Endpoint.ts | 4 +- .../envoy/api/v2/endpoint/LbEndpoint.ts | 4 +- .../api/v2/endpoint/LocalityLbEndpoints.ts | 6 +- .../envoy/api/v2/listener/FilterChain.ts | 10 +-- .../envoy/api/v2/listener/FilterChainMatch.ts | 4 +- .../envoy/api/v2/listener/ListenerFilter.ts | 2 +- .../envoy/api/v2/route/CorsPolicy.ts | 4 +- .../generated/envoy/api/v2/route/Decorator.ts | 2 +- .../api/v2/route/DirectResponseAction.ts | 2 +- .../envoy/api/v2/route/FilterAction.ts | 2 +- .../envoy/api/v2/route/HedgePolicy.ts | 4 +- .../api/v2/route/QueryParameterMatcher.ts | 2 +- .../generated/envoy/api/v2/route/RateLimit.ts | 4 +- .../envoy/api/v2/route/RetryPolicy.ts | 12 +-- .../src/generated/envoy/api/v2/route/Route.ts | 18 ++-- .../envoy/api/v2/route/RouteAction.ts | 34 ++++---- .../envoy/api/v2/route/RouteMatch.ts | 12 +-- .../generated/envoy/api/v2/route/Tracing.ts | 6 +- .../envoy/api/v2/route/VirtualHost.ts | 18 ++-- .../envoy/api/v2/route/WeightedCluster.ts | 14 ++-- .../config/filter/accesslog/v2/AccessLog.ts | 2 +- .../filter/accesslog/v2/ComparisonFilter.ts | 2 +- .../filter/accesslog/v2/DurationFilter.ts | 2 +- .../filter/accesslog/v2/HeaderFilter.ts | 2 +- .../filter/accesslog/v2/RuntimeFilter.ts | 2 +- .../filter/accesslog/v2/StatusCodeFilter.ts | 2 +- .../envoy/config/listener/v2/ApiListener.ts | 2 +- .../type/matcher/RegexMatchAndSubstitute.ts | 2 +- .../envoy/type/matcher/RegexMatcher.ts | 2 +- .../envoy/type/tracing/v2/CustomTag.ts | 4 +- .../google/protobuf/DescriptorProto.ts | 2 +- .../google/protobuf/EnumDescriptorProto.ts | 2 +- .../generated/google/protobuf/EnumOptions.ts | 2 +- .../protobuf/EnumValueDescriptorProto.ts | 2 +- .../google/protobuf/EnumValueOptions.ts | 2 +- .../google/protobuf/FieldDescriptorProto.ts | 2 +- .../generated/google/protobuf/FieldOptions.ts | 4 +- .../google/protobuf/FileDescriptorProto.ts | 4 +- .../generated/google/protobuf/FileOptions.ts | 4 +- .../google/protobuf/MessageOptions.ts | 2 +- .../google/protobuf/MethodDescriptorProto.ts | 2 +- .../google/protobuf/MethodOptions.ts | 2 +- .../google/protobuf/OneofDescriptorProto.ts | 2 +- .../google/protobuf/ServiceDescriptorProto.ts | 2 +- .../src/generated/google/protobuf/Struct.ts | 4 +- .../src/generated/validate/DurationRules.ts | 10 +-- .../src/generated/validate/FieldRules.ts | 2 +- .../src/generated/validate/MapRules.ts | 4 +- .../src/generated/validate/RepeatedRules.ts | 2 +- .../src/generated/validate/TimestampRules.ts | 12 +-- packages/grpc-js/src/xds-bootstrap.ts | 20 ++--- 96 files changed, 329 insertions(+), 337 deletions(-) diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts b/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts index 4f6d10c60..4bda5ec6e 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/Cluster.ts @@ -120,7 +120,7 @@ export interface _envoy_api_v2_Cluster_CommonLbConfig__Output { * .. note:: * The specified percent will be truncated to the nearest 1%. */ - 'healthy_panic_threshold': (_envoy_type_Percent__Output); + 'healthy_panic_threshold'?: (_envoy_type_Percent__Output); 'zone_aware_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__Output); 'locality_weighted_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig__Output); /** @@ -139,7 +139,7 @@ export interface _envoy_api_v2_Cluster_CommonLbConfig__Output { * because merging those updates isn't currently safe. See * https://github.com/envoyproxy/envoy/pull/3941. */ - 'update_merge_window': (_google_protobuf_Duration__Output); + 'update_merge_window'?: (_google_protobuf_Duration__Output); /** * If set to true, Envoy will not consider new hosts when computing load balancing weights until * they have been health checked for the first time. This will have no effect unless @@ -170,7 +170,7 @@ export interface _envoy_api_v2_Cluster_CommonLbConfig__Output { /** * Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.) */ - 'consistent_hashing_lb_config': (_envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig__Output); + 'consistent_hashing_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig_ConsistentHashingLbConfig__Output); 'locality_config_specifier': "zone_aware_lb_config"|"locality_weighted_lb_config"; } @@ -223,7 +223,7 @@ export interface _envoy_api_v2_Cluster_CustomClusterType__Output { * Cluster specific configuration which depends on the cluster being instantiated. * See the supported cluster for further documentation. */ - 'typed_config': (_google_protobuf_Any__Output); + 'typed_config'?: (_google_protobuf_Any__Output); } // Original file: deps/envoy-api/envoy/api/v2/cluster.proto @@ -306,7 +306,7 @@ export interface _envoy_api_v2_Cluster_EdsClusterConfig__Output { /** * Configuration for the source of EDS updates for this Cluster. */ - 'eds_config': (_envoy_api_v2_core_ConfigSource__Output); + 'eds_config'?: (_envoy_api_v2_core_ConfigSource__Output); /** * Optional alternative to cluster name to present to EDS. This does not * have the same restrictions as cluster name, i.e. it may be arbitrary @@ -494,7 +494,7 @@ export interface _envoy_api_v2_Cluster_LbSubsetConfig__Output { * is the same as a fallback_policy of * :ref:`NO_FALLBACK`. */ - 'default_subset': (_google_protobuf_Struct__Output); + 'default_subset'?: (_google_protobuf_Struct__Output); /** * For each entry, LbEndpoint.Metadata's * *envoy.lb* namespace is traversed and a subset is created for each unique @@ -671,7 +671,7 @@ export interface _envoy_api_v2_Cluster_LeastRequestLbConfig__Output { * The number of random healthy hosts from which the host with the fewest active requests will * be chosen. Defaults to 2 so that we perform two-choice selection if the field is not set. */ - 'choice_count': (_google_protobuf_UInt32Value__Output); + 'choice_count'?: (_google_protobuf_UInt32Value__Output); } /** @@ -750,14 +750,14 @@ export interface _envoy_api_v2_Cluster_RefreshRate__Output { * than zero and less than * :ref:`max_interval `. */ - 'base_interval': (_google_protobuf_Duration__Output); + 'base_interval'?: (_google_protobuf_Duration__Output); /** * Specifies the maximum interval between refreshes. This parameter is optional, but must be * greater than or equal to the * :ref:`base_interval ` if set. The default * is 10 times the :ref:`base_interval `. */ - 'max_interval': (_google_protobuf_Duration__Output); + 'max_interval'?: (_google_protobuf_Duration__Output); } /** @@ -796,7 +796,7 @@ export interface _envoy_api_v2_Cluster_RingHashLbConfig__Output { * to 1024 entries, and limited to 8M entries. See also * :ref:`maximum_ring_size`. */ - 'minimum_ring_size': (_google_protobuf_UInt64Value__Output); + 'minimum_ring_size'?: (_google_protobuf_UInt64Value__Output); /** * The hash function used to hash hosts onto the ketama ring. The value defaults to * :ref:`XX_HASH`. @@ -807,7 +807,7 @@ export interface _envoy_api_v2_Cluster_RingHashLbConfig__Output { * to further constrain resource use. See also * :ref:`minimum_ring_size`. */ - 'maximum_ring_size': (_google_protobuf_UInt64Value__Output); + 'maximum_ring_size'?: (_google_protobuf_UInt64Value__Output); } /** @@ -849,11 +849,11 @@ export interface _envoy_api_v2_Cluster_TransportSocketMatch__Output { * The endpoint's metadata entry in *envoy.transport_socket_match* is used to match * against the values specified in this field. */ - 'match': (_google_protobuf_Struct__Output); + 'match'?: (_google_protobuf_Struct__Output); /** * The configuration of the transport socket. */ - 'transport_socket': (_envoy_api_v2_core_TransportSocket__Output); + 'transport_socket'?: (_envoy_api_v2_core_TransportSocket__Output); } /** @@ -896,7 +896,7 @@ export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__Output * * :ref:`runtime values `. * * :ref:`Zone aware routing support `. */ - 'routing_enabled': (_envoy_type_Percent__Output); + 'routing_enabled'?: (_envoy_type_Percent__Output); /** * Configures minimum upstream cluster size required for zone aware routing * If upstream cluster size is less than specified, zone aware routing is not performed @@ -904,7 +904,7 @@ export interface _envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__Output * * :ref:`runtime values `. * * :ref:`Zone aware routing support `. */ - 'min_cluster_size': (_google_protobuf_UInt64Value__Output); + 'min_cluster_size'?: (_google_protobuf_UInt64Value__Output); /** * If set to true, Envoy will not consider any hosts when the cluster is in :ref:`panic * mode`. Instead, the cluster will fail all @@ -1155,14 +1155,14 @@ export interface Cluster { * "envoy.filters.network.thrift_proxy". See the extension's documentation for details on * specific options. */ - 'extension_protocol_options'?: (_google_protobuf_Struct); + 'extension_protocol_options'?: ({[key: string]: _google_protobuf_Struct}); /** * The extension_protocol_options field is used to provide extension-specific protocol options * for upstream connections. The key should match the extension filter name, such as * "envoy.filters.network.thrift_proxy". See the extension's documentation for details on * specific options. */ - 'typed_extension_protocol_options'?: (_google_protobuf_Any); + 'typed_extension_protocol_options'?: ({[key: string]: _google_protobuf_Any}); /** * Optional configuration for the LeastRequest load balancing policy. */ @@ -1317,16 +1317,16 @@ export interface Cluster__Output { /** * Configuration to use for EDS updates for the Cluster. */ - 'eds_cluster_config': (_envoy_api_v2_Cluster_EdsClusterConfig__Output); + 'eds_cluster_config'?: (_envoy_api_v2_Cluster_EdsClusterConfig__Output); /** * The timeout for new network connections to hosts in the cluster. */ - 'connect_timeout': (_google_protobuf_Duration__Output); + 'connect_timeout'?: (_google_protobuf_Duration__Output); /** * Soft limit on size of the cluster’s connections read and write buffers. If * unspecified, an implementation defined default is applied (1MiB). */ - 'per_connection_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); + 'per_connection_buffer_limit_bytes'?: (_google_protobuf_UInt32Value__Output); /** * The :ref:`load balancer type ` to use * when picking a host in the cluster. @@ -1358,11 +1358,11 @@ export interface Cluster__Output { * implementations. If not specified, there is no limit. Setting this * parameter to 1 will effectively disable keep alive. */ - 'max_requests_per_connection': (_google_protobuf_UInt32Value__Output); + 'max_requests_per_connection'?: (_google_protobuf_UInt32Value__Output); /** * Optional :ref:`circuit breaking ` for the cluster. */ - 'circuit_breakers': (_envoy_api_v2_cluster_CircuitBreakers__Output); + 'circuit_breakers'?: (_envoy_api_v2_cluster_CircuitBreakers__Output); /** * The TLS configuration for connections to the upstream cluster. * @@ -1371,11 +1371,11 @@ export interface Cluster__Output { * **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are * set, `transport_socket` takes priority. */ - 'tls_context': (_envoy_api_v2_auth_UpstreamTlsContext__Output); + 'tls_context'?: (_envoy_api_v2_auth_UpstreamTlsContext__Output); /** * Additional options when handling HTTP1 requests. */ - 'http_protocol_options': (_envoy_api_v2_core_Http1ProtocolOptions__Output); + 'http_protocol_options'?: (_envoy_api_v2_core_Http1ProtocolOptions__Output); /** * Even if default HTTP2 protocol options are desired, this field must be * set so that Envoy will assume that the upstream supports HTTP/2 when @@ -1384,7 +1384,7 @@ export interface Cluster__Output { * with ALPN, `http2_protocol_options` must be specified. As an aside this allows HTTP/2 * connections to happen over plain text. */ - 'http2_protocol_options': (_envoy_api_v2_core_Http2ProtocolOptions__Output); + 'http2_protocol_options'?: (_envoy_api_v2_core_Http2ProtocolOptions__Output); /** * If the DNS refresh rate is specified and the cluster type is either * :ref:`STRICT_DNS`, @@ -1396,7 +1396,7 @@ export interface Cluster__Output { * and :ref:`LOGICAL_DNS` * this setting is ignored. */ - 'dns_refresh_rate': (_google_protobuf_Duration__Output); + 'dns_refresh_rate'?: (_google_protobuf_Duration__Output); /** * The DNS IP address resolution policy. If this setting is not specified, the * value defaults to @@ -1421,7 +1421,7 @@ export interface Cluster__Output { * Each of the configuration values can be overridden via * :ref:`runtime values `. */ - 'outlier_detection': (_envoy_api_v2_cluster_OutlierDetection__Output); + 'outlier_detection'?: (_envoy_api_v2_cluster_OutlierDetection__Output); /** * The interval for removing stale hosts from a cluster type * :ref:`ORIGINAL_DST`. @@ -1437,17 +1437,17 @@ export interface Cluster__Output { * :ref:`ORIGINAL_DST` * this setting is ignored. */ - 'cleanup_interval': (_google_protobuf_Duration__Output); + 'cleanup_interval'?: (_google_protobuf_Duration__Output); /** * Optional configuration used to bind newly established upstream connections. * This overrides any bind_config specified in the bootstrap proto. * If the address and port are empty, no bind will be performed. */ - 'upstream_bind_config': (_envoy_api_v2_core_BindConfig__Output); + 'upstream_bind_config'?: (_envoy_api_v2_core_BindConfig__Output); /** * Configuration for load balancing subsetting. */ - 'lb_subset_config': (_envoy_api_v2_Cluster_LbSubsetConfig__Output); + 'lb_subset_config'?: (_envoy_api_v2_Cluster_LbSubsetConfig__Output); /** * Optional configuration for the Ring Hash load balancing policy. */ @@ -1459,7 +1459,7 @@ export interface Cluster__Output { * If no transport socket configuration is specified, new connections * will be set up with plaintext. */ - 'transport_socket': (_envoy_api_v2_core_TransportSocket__Output); + 'transport_socket'?: (_envoy_api_v2_core_TransportSocket__Output); /** * The Metadata field can be used to provide additional information about the * cluster. It can be used for stats, logging, and varying filter behavior. @@ -1467,7 +1467,7 @@ export interface Cluster__Output { * will need the information. For instance, if the metadata is intended for * the Router filter, the filter name should be specified as *envoy.filters.http.router*. */ - 'metadata': (_envoy_api_v2_core_Metadata__Output); + 'metadata'?: (_envoy_api_v2_core_Metadata__Output); /** * Determines how Envoy selects the protocol used to speak to upstream hosts. */ @@ -1475,7 +1475,7 @@ export interface Cluster__Output { /** * Common configuration for all load balancer implementations. */ - 'common_lb_config': (_envoy_api_v2_Cluster_CommonLbConfig__Output); + 'common_lb_config'?: (_envoy_api_v2_Cluster_CommonLbConfig__Output); /** * An optional alternative to the cluster name to be used while emitting stats. * Any ``:`` in the name will be converted to ``_`` when emitting statistics. This should not be @@ -1487,11 +1487,11 @@ export interface Cluster__Output { * Additional options when handling HTTP requests upstream. These options will be applicable to * both HTTP1 and HTTP2 requests. */ - 'common_http_protocol_options': (_envoy_api_v2_core_HttpProtocolOptions__Output); + 'common_http_protocol_options'?: (_envoy_api_v2_core_HttpProtocolOptions__Output); /** * Optional options for upstream connections. */ - 'upstream_connection_options': (_envoy_api_v2_UpstreamConnectionOptions__Output); + 'upstream_connection_options'?: (_envoy_api_v2_UpstreamConnectionOptions__Output); /** * If an upstream host becomes unhealthy (as determined by the configured health checks * or outlier detection), immediately close all connections to the failed host. @@ -1526,7 +1526,7 @@ export interface Cluster__Output { * Setting this allows non-EDS cluster types to contain embedded EDS equivalent * :ref:`endpoint assignments`. */ - 'load_assignment': (_envoy_api_v2_ClusterLoadAssignment__Output); + 'load_assignment'?: (_envoy_api_v2_ClusterLoadAssignment__Output); /** * Optional configuration for the Original Destination load balancing policy. */ @@ -1537,14 +1537,14 @@ export interface Cluster__Output { * "envoy.filters.network.thrift_proxy". See the extension's documentation for details on * specific options. */ - 'extension_protocol_options': (_google_protobuf_Struct__Output); + 'extension_protocol_options'?: ({[key: string]: _google_protobuf_Struct__Output}); /** * The extension_protocol_options field is used to provide extension-specific protocol options * for upstream connections. The key should match the extension filter name, such as * "envoy.filters.network.thrift_proxy". See the extension's documentation for details on * specific options. */ - 'typed_extension_protocol_options': (_google_protobuf_Any__Output); + 'typed_extension_protocol_options'?: ({[key: string]: _google_protobuf_Any__Output}); /** * Optional configuration for the LeastRequest load balancing policy. */ @@ -1570,7 +1570,7 @@ export interface Cluster__Output { * :ref:`lb_policy` field has the value * :ref:`LOAD_BALANCING_POLICY_CONFIG`. */ - 'load_balancing_policy': (_envoy_api_v2_LoadBalancingPolicy__Output); + 'load_balancing_policy'?: (_envoy_api_v2_LoadBalancingPolicy__Output); /** * [#not-implemented-hide:] * If present, tells the client where to send load reports via LRS. If not present, the @@ -1587,7 +1587,7 @@ export interface Cluster__Output { * maybe by allowing LRS to go on the ADS stream, or maybe by moving some of the negotiation * from the LRS stream here.] */ - 'lrs_server': (_envoy_api_v2_core_ConfigSource__Output); + 'lrs_server'?: (_envoy_api_v2_core_ConfigSource__Output); /** * Configuration to use different transport sockets for different endpoints. * The entry of *envoy.transport_socket_match* in the @@ -1646,7 +1646,7 @@ export interface Cluster__Output { * :ref:`LOGICAL_DNS` this setting is * ignored. */ - 'dns_failure_refresh_rate': (_envoy_api_v2_Cluster_RefreshRate__Output); + 'dns_failure_refresh_rate'?: (_envoy_api_v2_Cluster_RefreshRate__Output); /** * [#next-major-version: Reconcile DNS options in a single message.] * Always use TCP queries instead of UDP queries for DNS lookups. @@ -1656,7 +1656,7 @@ export interface Cluster__Output { * HTTP protocol options that are applied only to upstream HTTP connections. * These options apply to all HTTP versions. */ - 'upstream_http_protocol_options': (_envoy_api_v2_core_UpstreamHttpProtocolOptions__Output); + 'upstream_http_protocol_options'?: (_envoy_api_v2_core_UpstreamHttpProtocolOptions__Output); /** * If track_timeout_budgets is true, the :ref:`timeout budget histograms * ` will be published for each diff --git a/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts b/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts index ecb8034ed..bb5ac327d 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/ClusterLoadAssignment.ts @@ -31,7 +31,7 @@ export interface _envoy_api_v2_ClusterLoadAssignment_Policy_DropOverload__Output /** * Percentage of traffic that should be dropped for the category. */ - 'drop_percentage': (_envoy_type_FractionalPercent__Output); + 'drop_percentage'?: (_envoy_type_FractionalPercent__Output); } /** @@ -143,14 +143,14 @@ export interface _envoy_api_v2_ClusterLoadAssignment_Policy__Output { * Read more at :ref:`priority levels ` and * :ref:`localities `. */ - 'overprovisioning_factor': (_google_protobuf_UInt32Value__Output); + 'overprovisioning_factor'?: (_google_protobuf_UInt32Value__Output); /** * The max time until which the endpoints from this assignment can be used. * If no new assignments are received before this time expires the endpoints * are considered stale and should be marked unhealthy. * Defaults to 0 which means endpoints never go stale. */ - 'endpoint_stale_after': (_google_protobuf_Duration__Output); + 'endpoint_stale_after'?: (_google_protobuf_Duration__Output); /** * The flag to disable overprovisioning. If it is set to true, * :ref:`overprovisioning factor @@ -196,7 +196,7 @@ export interface ClusterLoadAssignment { * Map of named endpoints that can be referenced in LocalityLbEndpoints. * [#not-implemented-hide:] */ - 'named_endpoints'?: (_envoy_api_v2_endpoint_Endpoint); + 'named_endpoints'?: ({[key: string]: _envoy_api_v2_endpoint_Endpoint}); } /** @@ -226,10 +226,10 @@ export interface ClusterLoadAssignment__Output { /** * Load balancing policy settings. */ - 'policy': (_envoy_api_v2_ClusterLoadAssignment_Policy__Output); + 'policy'?: (_envoy_api_v2_ClusterLoadAssignment_Policy__Output); /** * Map of named endpoints that can be referenced in LocalityLbEndpoints. * [#not-implemented-hide:] */ - 'named_endpoints': (_envoy_api_v2_endpoint_Endpoint__Output); + 'named_endpoints'?: ({[key: string]: _envoy_api_v2_endpoint_Endpoint__Output}); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.ts b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.ts index 341c9b9a4..4791e30b3 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/DeltaDiscoveryRequest.ts @@ -86,7 +86,7 @@ export interface DeltaDiscoveryRequest { * The map's keys are names of xDS resources known to the xDS client. * The map's values are opaque resource versions. */ - 'initial_resource_versions'?: (string); + 'initial_resource_versions'?: ({[key: string]: string}); /** * When the DeltaDiscoveryRequest is a ACK or NACK message in response * to a previous DeltaDiscoveryResponse, the response_nonce must be the @@ -141,7 +141,7 @@ export interface DeltaDiscoveryRequest__Output { /** * The node making the request. */ - 'node': (_envoy_api_v2_core_Node__Output); + 'node'?: (_envoy_api_v2_core_Node__Output); /** * Type of the resource that is being requested, e.g. * "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". @@ -185,7 +185,7 @@ export interface DeltaDiscoveryRequest__Output { * The map's keys are names of xDS resources known to the xDS client. * The map's values are opaque resource versions. */ - 'initial_resource_versions': (string); + 'initial_resource_versions': ({[key: string]: string}); /** * When the DeltaDiscoveryRequest is a ACK or NACK message in response * to a previous DeltaDiscoveryResponse, the response_nonce must be the @@ -198,5 +198,5 @@ export interface DeltaDiscoveryRequest__Output { * failed to update configuration. The *message* field in *error_details* * provides the Envoy internal exception related to the failure. */ - 'error_detail': (_google_rpc_Status__Output); + 'error_detail'?: (_google_rpc_Status__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.ts b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.ts index 43c926b74..ee24e74fa 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryRequest.ts @@ -75,7 +75,7 @@ export interface DiscoveryRequest__Output { /** * The node making the request. */ - 'node': (_envoy_api_v2_core_Node__Output); + 'node'?: (_envoy_api_v2_core_Node__Output); /** * List of resources to subscribe to, e.g. list of cluster names or a route * configuration name. If this is empty, all resources for the API are @@ -106,5 +106,5 @@ export interface DiscoveryRequest__Output { * internal exception related to the failure. It is only intended for consumption during manual * debugging, the string provided is not guaranteed to be stable across Envoy versions. */ - 'error_detail': (_google_rpc_Status__Output); + 'error_detail'?: (_google_rpc_Status__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.ts b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.ts index db6033ffa..8eb7d42c0 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/DiscoveryResponse.ts @@ -104,5 +104,5 @@ export interface DiscoveryResponse__Output { * [#not-implemented-hide:] * The control plane instance that sent the response. */ - 'control_plane': (_envoy_api_v2_core_ControlPlane__Output); + 'control_plane'?: (_envoy_api_v2_core_ControlPlane__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts b/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts index 9c0368ce7..73bfb6ec6 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/Listener.ts @@ -70,7 +70,7 @@ export interface _envoy_api_v2_Listener_DeprecatedV1__Output { * * [#comment:TODO(PiotrSikora): Remove this once verified that we no longer need it.] */ - 'bind_to_port': (_google_protobuf_BoolValue__Output); + 'bind_to_port'?: (_google_protobuf_BoolValue__Output); } // Original file: deps/envoy-api/envoy/api/v2/listener.proto @@ -322,7 +322,7 @@ export interface Listener__Output { * that is governed by the bind rules of the OS. E.g., multiple listeners can listen on port 0 on * Linux as the actual port will be allocated by the OS. */ - 'address': (_envoy_api_v2_core_Address__Output); + 'address'?: (_envoy_api_v2_core_Address__Output); /** * A list of filter chains to consider for this listener. The * :ref:`FilterChain ` with the most specific @@ -350,20 +350,20 @@ export interface Listener__Output { * will be removed, as filter chain matching can be used to select a filter chain based on the * restored destination address. */ - 'use_original_dst': (_google_protobuf_BoolValue__Output); + 'use_original_dst'?: (_google_protobuf_BoolValue__Output); /** * Soft limit on size of the listener’s new connection read and write buffers. * If unspecified, an implementation defined default is applied (1MiB). */ - 'per_connection_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); + 'per_connection_buffer_limit_bytes'?: (_google_protobuf_UInt32Value__Output); /** * Listener metadata. */ - 'metadata': (_envoy_api_v2_core_Metadata__Output); + 'metadata'?: (_envoy_api_v2_core_Metadata__Output); /** * [#not-implemented-hide:] */ - 'deprecated_v1': (_envoy_api_v2_Listener_DeprecatedV1__Output); + 'deprecated_v1'?: (_envoy_api_v2_Listener_DeprecatedV1__Output); /** * The type of draining to perform at a listener-wide level. */ @@ -396,7 +396,7 @@ export interface Listener__Output { * When this flag is not set (default), the socket is not modified, i.e. the transparent option * is neither set nor reset. */ - 'transparent': (_google_protobuf_BoolValue__Output); + 'transparent'?: (_google_protobuf_BoolValue__Output); /** * Whether the listener should set the *IP_FREEBIND* socket option. When this * flag is set to true, listeners can be bound to an IP address that is not @@ -405,7 +405,7 @@ export interface Listener__Output { * (default), the socket is not modified, i.e. the option is neither enabled * nor disabled. */ - 'freebind': (_google_protobuf_BoolValue__Output); + 'freebind'?: (_google_protobuf_BoolValue__Output); /** * Whether the listener should accept TCP Fast Open (TFO) connections. * When this flag is set to a value greater than 0, the option TCP_FASTOPEN is enabled on @@ -422,7 +422,7 @@ export interface Listener__Output { * On macOS, only values of 0, 1, and unset are valid; other values may result in an error. * To set the queue length on macOS, set the net.inet.tcp.fastopen_backlog kernel parameter. */ - 'tcp_fast_open_queue_length': (_google_protobuf_UInt32Value__Output); + 'tcp_fast_open_queue_length'?: (_google_protobuf_UInt32Value__Output); /** * Additional socket options that may not be present in Envoy source code or * precompiled binaries. @@ -434,7 +434,7 @@ export interface Listener__Output { * `continue_on_listener_filters_timeout` is set to true. Specify 0 to disable the * timeout. If not specified, a default timeout of 15s is used. */ - 'listener_filters_timeout': (_google_protobuf_Duration__Output); + 'listener_filters_timeout'?: (_google_protobuf_Duration__Output); /** * Specifies the intended direction of the traffic relative to the local Envoy. */ @@ -457,7 +457,7 @@ export interface Listener__Output { * ` = "raw_udp_listener" for * creating a packet-oriented UDP listener. If not present, treat it as "raw_udp_listener". */ - 'udp_listener_config': (_envoy_api_v2_listener_UdpListenerConfig__Output); + 'udp_listener_config'?: (_envoy_api_v2_listener_UdpListenerConfig__Output); /** * Used to represent an API listener, which is used in non-proxy clients. The type of API * exposed to the non-proxy application depends on the type of API listener. @@ -476,13 +476,13 @@ export interface Listener__Output { * socket listener and the various types of API listener. That way, a given Listener message * can structurally only contain the fields of the relevant type.] */ - 'api_listener': (_envoy_config_listener_v2_ApiListener__Output); + 'api_listener'?: (_envoy_config_listener_v2_ApiListener__Output); /** * The listener's connection balancer configuration, currently only applicable to TCP listeners. * If no configuration is specified, Envoy will not attempt to balance active connections between * worker threads. */ - 'connection_balance_config': (_envoy_api_v2_Listener_ConnectionBalanceConfig__Output); + 'connection_balance_config'?: (_envoy_api_v2_Listener_ConnectionBalanceConfig__Output); /** * When this flag is set to true, listeners set the *SO_REUSEPORT* socket option and * create one socket for each worker thread. This makes inbound connections diff --git a/packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.ts b/packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.ts index b2653ca03..03c33c853 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/LoadBalancingPolicy.ts @@ -25,8 +25,8 @@ export interface _envoy_api_v2_LoadBalancingPolicy_Policy__Output { * Optional config for the LB policy. * No more than one of these two fields may be populated. */ - 'config': (_google_protobuf_Struct__Output); - 'typed_config': (_google_protobuf_Any__Output); + 'config'?: (_google_protobuf_Struct__Output); + 'typed_config'?: (_google_protobuf_Any__Output); } /** diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Resource.ts b/packages/grpc-js/src/generated/envoy/api/v2/Resource.ts index 11fb70002..88c511cb1 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/Resource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/Resource.ts @@ -31,7 +31,7 @@ export interface Resource__Output { /** * The resource being tracked. */ - 'resource': (_google_protobuf_Any__Output); + 'resource'?: (_google_protobuf_Any__Output); /** * The resource's name, to distinguish it from others of the same type of resource. */ diff --git a/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts b/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts index 538c15b35..495950ff6 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/RouteConfiguration.ts @@ -155,7 +155,7 @@ export interface RouteConfiguration__Output { * option. Users may wish to override the default behavior in certain cases (for example when * using CDS with a static route table). */ - 'validate_clusters': (_google_protobuf_BoolValue__Output); + 'validate_clusters'?: (_google_protobuf_BoolValue__Output); /** * Specifies a list of HTTP headers that should be removed from each request * routed by the HTTP connection manager. @@ -169,7 +169,7 @@ export interface RouteConfiguration__Output { * generate a routing table for a given RouteConfiguration, with *vhds* derived configuration * taking precedence. */ - 'vhds': (_envoy_api_v2_Vhds__Output); + 'vhds'?: (_envoy_api_v2_Vhds__Output); /** * By default, headers that should be added/removed are evaluated from most to least specific: * diff --git a/packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.ts b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.ts index 2b26da489..d90e9ad91 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamBindConfig.ts @@ -21,5 +21,5 @@ export interface UpstreamBindConfig__Output { /** * The address Envoy should bind to when establishing upstream connections. */ - 'source_address': (_envoy_api_v2_core_Address__Output); + 'source_address'?: (_envoy_api_v2_core_Address__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.ts b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.ts index 2fc601530..6a4244741 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/UpstreamConnectionOptions.ts @@ -13,5 +13,5 @@ export interface UpstreamConnectionOptions__Output { /** * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives. */ - 'tcp_keepalive': (_envoy_api_v2_core_TcpKeepalive__Output); + 'tcp_keepalive'?: (_envoy_api_v2_core_TcpKeepalive__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/Vhds.ts b/packages/grpc-js/src/generated/envoy/api/v2/Vhds.ts index f30d4a721..a89f2276b 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/Vhds.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/Vhds.ts @@ -13,5 +13,5 @@ export interface Vhds__Output { /** * Configuration source specifier for VHDS. */ - 'config_source': (_envoy_api_v2_core_ConfigSource__Output); + 'config_source'?: (_envoy_api_v2_core_ConfigSource__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts index e45e0a4a8..fe8637fd3 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/CertificateValidationContext.ts @@ -193,7 +193,7 @@ export interface CertificateValidationContext__Output { * See :ref:`the TLS overview ` for a list of common * system CA locations. */ - 'trusted_ca': (_envoy_api_v2_core_DataSource__Output); + 'trusted_ca'?: (_envoy_api_v2_core_DataSource__Output); /** * An optional list of hex-encoded SHA-256 hashes. If specified, Envoy will verify that * the SHA-256 of the DER-encoded presented certificate matches one of the specified values. @@ -270,11 +270,11 @@ export interface CertificateValidationContext__Output { /** * [#not-implemented-hide:] Must present a signed time-stamped OCSP response. */ - 'require_ocsp_staple': (_google_protobuf_BoolValue__Output); + 'require_ocsp_staple'?: (_google_protobuf_BoolValue__Output); /** * [#not-implemented-hide:] Must present signed certificate time-stamp. */ - 'require_signed_certificate_timestamp': (_google_protobuf_BoolValue__Output); + 'require_signed_certificate_timestamp'?: (_google_protobuf_BoolValue__Output); /** * An optional `certificate revocation list * `_ @@ -282,7 +282,7 @@ export interface CertificateValidationContext__Output { * certificate has not been revoked by this CRL. If this DataSource contains * multiple CRLs, all of them will be used. */ - 'crl': (_envoy_api_v2_core_DataSource__Output); + 'crl'?: (_envoy_api_v2_core_DataSource__Output); /** * If specified, Envoy will not reject expired certificates. */ diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts index b75f3f533..a57288fa5 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/CommonTlsContext.ts @@ -20,11 +20,11 @@ export interface _envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidati /** * How to validate peer certificates. */ - 'default_validation_context': (_envoy_api_v2_auth_CertificateValidationContext__Output); + 'default_validation_context'?: (_envoy_api_v2_auth_CertificateValidationContext__Output); /** * Config for fetching validation context via SDS API. */ - 'validation_context_sds_secret_config': (_envoy_api_v2_auth_SdsSecretConfig__Output); + 'validation_context_sds_secret_config'?: (_envoy_api_v2_auth_SdsSecretConfig__Output); } /** @@ -91,7 +91,7 @@ export interface CommonTlsContext__Output { /** * TLS protocol versions, cipher suites etc. */ - 'tls_params': (_envoy_api_v2_auth_TlsParameters__Output); + 'tls_params'?: (_envoy_api_v2_auth_TlsParameters__Output); /** * :ref:`Multiple TLS certificates ` can be associated with the * same context to allow both RSA and ECDSA certificates. diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts index faf26f180..c63b2a719 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/DownstreamTlsContext.ts @@ -60,17 +60,17 @@ export interface DownstreamTlsContext__Output { /** * Common TLS context settings. */ - 'common_tls_context': (_envoy_api_v2_auth_CommonTlsContext__Output); + 'common_tls_context'?: (_envoy_api_v2_auth_CommonTlsContext__Output); /** * If specified, Envoy will reject connections without a valid client * certificate. */ - 'require_client_certificate': (_google_protobuf_BoolValue__Output); + 'require_client_certificate'?: (_google_protobuf_BoolValue__Output); /** * If specified, Envoy will reject connections without a valid and matching SNI. * [#not-implemented-hide:] */ - 'require_sni': (_google_protobuf_BoolValue__Output); + 'require_sni'?: (_google_protobuf_BoolValue__Output); /** * TLS session ticket key settings. */ @@ -85,7 +85,7 @@ export interface DownstreamTlsContext__Output { * ` * only seconds could be specified (fractional seconds are going to be ignored). */ - 'session_timeout': (_google_protobuf_Duration__Output); + 'session_timeout'?: (_google_protobuf_Duration__Output); /** * Config for controlling stateless TLS session resumption: setting this to true will cause the TLS * server to not issue TLS session tickets for the purposes of stateless TLS session resumption. diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.ts index 761009282..fc57bebb1 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/GenericSecret.ts @@ -13,5 +13,5 @@ export interface GenericSecret__Output { /** * Secret of generic type and is available to filters. */ - 'secret': (_envoy_api_v2_core_DataSource__Output); + 'secret'?: (_envoy_api_v2_core_DataSource__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.ts index bcddbaf09..5a4292951 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/SdsSecretConfig.ts @@ -19,5 +19,5 @@ export interface SdsSecretConfig__Output { * SDS. When only name is specified, then secret will be loaded from static resources. */ 'name': (string); - 'sds_config': (_envoy_api_v2_core_ConfigSource__Output); + 'sds_config'?: (_envoy_api_v2_core_ConfigSource__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts index 243789b23..cdefe7040 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/TlsCertificate.ts @@ -47,20 +47,20 @@ export interface TlsCertificate__Output { /** * The TLS certificate chain. */ - 'certificate_chain': (_envoy_api_v2_core_DataSource__Output); + 'certificate_chain'?: (_envoy_api_v2_core_DataSource__Output); /** * The TLS private key. */ - 'private_key': (_envoy_api_v2_core_DataSource__Output); + 'private_key'?: (_envoy_api_v2_core_DataSource__Output); /** * The password to decrypt the TLS private key. If this field is not set, it is assumed that the * TLS private key is not password encrypted. */ - 'password': (_envoy_api_v2_core_DataSource__Output); + 'password'?: (_envoy_api_v2_core_DataSource__Output); /** * [#not-implemented-hide:] */ - 'ocsp_staple': (_envoy_api_v2_core_DataSource__Output); + 'ocsp_staple'?: (_envoy_api_v2_core_DataSource__Output); /** * [#not-implemented-hide:] */ @@ -74,5 +74,5 @@ export interface TlsCertificate__Output { * ` fields will result in an * error. */ - 'private_key_provider': (_envoy_api_v2_auth_PrivateKeyProvider__Output); + 'private_key_provider'?: (_envoy_api_v2_auth_PrivateKeyProvider__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.ts b/packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.ts index 78c7eaaa2..7a56be3c0 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/auth/UpstreamTlsContext.ts @@ -45,7 +45,7 @@ export interface UpstreamTlsContext__Output { * :ref:`trusted_ca` to enable * verification. */ - 'common_tls_context': (_envoy_api_v2_auth_CommonTlsContext__Output); + 'common_tls_context'?: (_envoy_api_v2_auth_CommonTlsContext__Output); /** * SNI string to use when creating TLS backend connections. */ @@ -64,5 +64,5 @@ export interface UpstreamTlsContext__Output { * * Defaults to 1, setting this to 0 disables session resumption. */ - 'max_session_keys': (_google_protobuf_UInt32Value__Output); + 'max_session_keys'?: (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts b/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts index 0b2f01db6..f9380aec1 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/cluster/CircuitBreakers.ts @@ -30,14 +30,14 @@ export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget__O * * This parameter is optional. Defaults to 20%. */ - 'budget_percent': (_envoy_type_Percent__Output); + 'budget_percent'?: (_envoy_type_Percent__Output); /** * Specifies the minimum retry concurrency allowed for the retry budget. The limit on the * number of active retries may never go below this number. * * This parameter is optional. Defaults to 3. */ - 'min_retry_concurrency': (_google_protobuf_UInt32Value__Output); + 'min_retry_concurrency'?: (_google_protobuf_UInt32Value__Output); } /** @@ -117,22 +117,22 @@ export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds__Output { * The maximum number of connections that Envoy will make to the upstream * cluster. If not specified, the default is 1024. */ - 'max_connections': (_google_protobuf_UInt32Value__Output); + 'max_connections'?: (_google_protobuf_UInt32Value__Output); /** * The maximum number of pending requests that Envoy will allow to the * upstream cluster. If not specified, the default is 1024. */ - 'max_pending_requests': (_google_protobuf_UInt32Value__Output); + 'max_pending_requests'?: (_google_protobuf_UInt32Value__Output); /** * The maximum number of parallel requests that Envoy will make to the * upstream cluster. If not specified, the default is 1024. */ - 'max_requests': (_google_protobuf_UInt32Value__Output); + 'max_requests'?: (_google_protobuf_UInt32Value__Output); /** * The maximum number of parallel retries that Envoy will allow to the * upstream cluster. If not specified, the default is 3. */ - 'max_retries': (_google_protobuf_UInt32Value__Output); + 'max_retries'?: (_google_protobuf_UInt32Value__Output); /** * Specifies a limit on concurrent retries in relation to the number of active requests. This * parameter is optional. @@ -142,7 +142,7 @@ export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds__Output { * If this field is set, the retry budget will override any configured retry circuit * breaker. */ - 'retry_budget': (_envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget__Output); + 'retry_budget'?: (_envoy_api_v2_cluster_CircuitBreakers_Thresholds_RetryBudget__Output); /** * If track_remaining is true, then stats will be published that expose * the number of resources remaining until the circuit breakers open. If @@ -161,7 +161,7 @@ export interface _envoy_api_v2_cluster_CircuitBreakers_Thresholds__Output { * :ref:`Circuit Breaking ` for * more details. */ - 'max_connection_pools': (_google_protobuf_UInt32Value__Output); + 'max_connection_pools'?: (_google_protobuf_UInt32Value__Output); } /** diff --git a/packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.ts b/packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.ts index 9e54a595e..225928629 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/cluster/Filter.ts @@ -25,5 +25,5 @@ export interface Filter__Output { * Filter specific configuration which depends on the filter being * instantiated. See the supported filters for further documentation. */ - 'typed_config': (_google_protobuf_Any__Output); + 'typed_config'?: (_google_protobuf_Any__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.ts b/packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.ts index 6cd429c12..995b01180 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/cluster/OutlierDetection.ts @@ -162,43 +162,43 @@ export interface OutlierDetection__Output { * to 5xx error codes before a consecutive 5xx ejection * occurs. Defaults to 5. */ - 'consecutive_5xx': (_google_protobuf_UInt32Value__Output); + 'consecutive_5xx'?: (_google_protobuf_UInt32Value__Output); /** * The time interval between ejection analysis sweeps. This can result in * both new ejections as well as hosts being returned to service. Defaults * to 10000ms or 10s. */ - 'interval': (_google_protobuf_Duration__Output); + 'interval'?: (_google_protobuf_Duration__Output); /** * The base time that a host is ejected for. The real time is equal to the * base time multiplied by the number of times the host has been ejected. * Defaults to 30000ms or 30s. */ - 'base_ejection_time': (_google_protobuf_Duration__Output); + 'base_ejection_time'?: (_google_protobuf_Duration__Output); /** * The maximum % of an upstream cluster that can be ejected due to outlier * detection. Defaults to 10% but will eject at least one host regardless of the value. */ - 'max_ejection_percent': (_google_protobuf_UInt32Value__Output); + 'max_ejection_percent'?: (_google_protobuf_UInt32Value__Output); /** * The % chance that a host will be actually ejected when an outlier status * is detected through consecutive 5xx. This setting can be used to disable * ejection or to ramp it up slowly. Defaults to 100. */ - 'enforcing_consecutive_5xx': (_google_protobuf_UInt32Value__Output); + 'enforcing_consecutive_5xx'?: (_google_protobuf_UInt32Value__Output); /** * The % chance that a host will be actually ejected when an outlier status * is detected through success rate statistics. This setting can be used to * disable ejection or to ramp it up slowly. Defaults to 100. */ - 'enforcing_success_rate': (_google_protobuf_UInt32Value__Output); + 'enforcing_success_rate'?: (_google_protobuf_UInt32Value__Output); /** * The number of hosts in a cluster that must have enough request volume to * detect success rate outliers. If the number of hosts is less than this * setting, outlier detection via success rate statistics is not performed * for any host in the cluster. Defaults to 5. */ - 'success_rate_minimum_hosts': (_google_protobuf_UInt32Value__Output); + 'success_rate_minimum_hosts'?: (_google_protobuf_UInt32Value__Output); /** * The minimum number of total requests that must be collected in one * interval (as defined by the interval duration above) to include this host @@ -206,7 +206,7 @@ export interface OutlierDetection__Output { * setting, outlier detection via success rate statistics is not performed * for that host. Defaults to 100. */ - 'success_rate_request_volume': (_google_protobuf_UInt32Value__Output); + 'success_rate_request_volume'?: (_google_protobuf_UInt32Value__Output); /** * This factor is used to determine the ejection threshold for success rate * outlier ejection. The ejection threshold is the difference between the @@ -216,18 +216,18 @@ export interface OutlierDetection__Output { * double. That is, if the desired factor is 1.9, the runtime value should * be 1900. Defaults to 1900. */ - 'success_rate_stdev_factor': (_google_protobuf_UInt32Value__Output); + 'success_rate_stdev_factor'?: (_google_protobuf_UInt32Value__Output); /** * The number of consecutive gateway failures (502, 503, 504 status codes) * before a consecutive gateway failure ejection occurs. Defaults to 5. */ - 'consecutive_gateway_failure': (_google_protobuf_UInt32Value__Output); + 'consecutive_gateway_failure'?: (_google_protobuf_UInt32Value__Output); /** * The % chance that a host will be actually ejected when an outlier status * is detected through consecutive gateway failures. This setting can be * used to disable ejection or to ramp it up slowly. Defaults to 0. */ - 'enforcing_consecutive_gateway_failure': (_google_protobuf_UInt32Value__Output); + 'enforcing_consecutive_gateway_failure'?: (_google_protobuf_UInt32Value__Output); /** * Determines whether to distinguish local origin failures from external errors. If set to true * the following configuration parameters are taken into account: @@ -244,7 +244,7 @@ export interface OutlierDetection__Output { * :ref:`split_external_local_origin_errors` * is set to true. */ - 'consecutive_local_origin_failure': (_google_protobuf_UInt32Value__Output); + 'consecutive_local_origin_failure'?: (_google_protobuf_UInt32Value__Output); /** * The % chance that a host will be actually ejected when an outlier status * is detected through consecutive locally originated failures. This setting can be @@ -253,7 +253,7 @@ export interface OutlierDetection__Output { * :ref:`split_external_local_origin_errors` * is set to true. */ - 'enforcing_consecutive_local_origin_failure': (_google_protobuf_UInt32Value__Output); + 'enforcing_consecutive_local_origin_failure'?: (_google_protobuf_UInt32Value__Output); /** * The % chance that a host will be actually ejected when an outlier status * is detected through success rate statistics for locally originated errors. @@ -262,13 +262,13 @@ export interface OutlierDetection__Output { * :ref:`split_external_local_origin_errors` * is set to true. */ - 'enforcing_local_origin_success_rate': (_google_protobuf_UInt32Value__Output); + 'enforcing_local_origin_success_rate'?: (_google_protobuf_UInt32Value__Output); /** * The failure percentage to use when determining failure percentage-based outlier detection. If * the failure percentage of a given host is greater than or equal to this value, it will be * ejected. Defaults to 85. */ - 'failure_percentage_threshold': (_google_protobuf_UInt32Value__Output); + 'failure_percentage_threshold'?: (_google_protobuf_UInt32Value__Output); /** * The % chance that a host will be actually ejected when an outlier status is detected through * failure percentage statistics. This setting can be used to disable ejection or to ramp it up @@ -277,24 +277,24 @@ export interface OutlierDetection__Output { * [#next-major-version: setting this without setting failure_percentage_threshold should be * invalid in v4.] */ - 'enforcing_failure_percentage': (_google_protobuf_UInt32Value__Output); + 'enforcing_failure_percentage'?: (_google_protobuf_UInt32Value__Output); /** * The % chance that a host will be actually ejected when an outlier status is detected through * local-origin failure percentage statistics. This setting can be used to disable ejection or to * ramp it up slowly. Defaults to 0. */ - 'enforcing_failure_percentage_local_origin': (_google_protobuf_UInt32Value__Output); + 'enforcing_failure_percentage_local_origin'?: (_google_protobuf_UInt32Value__Output); /** * The minimum number of hosts in a cluster in order to perform failure percentage-based ejection. * If the total number of hosts in the cluster is less than this value, failure percentage-based * ejection will not be performed. Defaults to 5. */ - 'failure_percentage_minimum_hosts': (_google_protobuf_UInt32Value__Output); + 'failure_percentage_minimum_hosts'?: (_google_protobuf_UInt32Value__Output); /** * The minimum number of total requests that must be collected in one interval (as defined by the * interval duration above) to perform failure percentage-based ejection for this host. If the * volume is lower than this setting, failure percentage-based ejection will not be performed for * this host. Defaults to 50. */ - 'failure_percentage_request_volume': (_google_protobuf_UInt32Value__Output); + 'failure_percentage_request_volume'?: (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts index ecec8d5a5..b6906acd5 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/ApiConfigSource.ts @@ -108,7 +108,7 @@ export interface ApiConfigSource__Output { /** * For REST APIs, the delay between successive polls. */ - 'refresh_delay': (_google_protobuf_Duration__Output); + 'refresh_delay'?: (_google_protobuf_Duration__Output); /** * Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, * services will be cycled through if any kind of failure occurs. @@ -117,12 +117,12 @@ export interface ApiConfigSource__Output { /** * For REST APIs, the request timeout. If not set, a default value of 1s will be used. */ - 'request_timeout': (_google_protobuf_Duration__Output); + 'request_timeout'?: (_google_protobuf_Duration__Output); /** * For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be * rate limited. */ - 'rate_limit_settings': (_envoy_api_v2_core_RateLimitSettings__Output); + 'rate_limit_settings'?: (_envoy_api_v2_core_RateLimitSettings__Output); /** * Skip the node identifier in subsequent discovery requests for streaming gRPC config types. */ diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.ts index 636b768fe..3e8c6dd49 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/BackoffStrategy.ts @@ -31,7 +31,7 @@ export interface BackoffStrategy__Output { * be greater than zero and less than or equal to :ref:`max_interval * `. */ - 'base_interval': (_google_protobuf_Duration__Output); + 'base_interval'?: (_google_protobuf_Duration__Output); /** * Specifies the maximum interval between retries. This parameter is optional, * but must be greater than or equal to the :ref:`base_interval @@ -39,5 +39,5 @@ export interface BackoffStrategy__Output { * is 10 times the :ref:`base_interval * `. */ - 'max_interval': (_google_protobuf_Duration__Output); + 'max_interval'?: (_google_protobuf_Duration__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.ts index af81592bf..8b8451080 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/BindConfig.ts @@ -30,7 +30,7 @@ export interface BindConfig__Output { /** * The address to bind to when creating a socket. */ - 'source_address': (_envoy_api_v2_core_SocketAddress__Output); + 'source_address'?: (_envoy_api_v2_core_SocketAddress__Output); /** * Whether to set the *IP_FREEBIND* option when creating the socket. When this * flag is set to true, allows the :ref:`source_address @@ -40,7 +40,7 @@ export interface BindConfig__Output { * flag is not set (default), the socket is not modified, i.e. the option is * neither enabled nor disabled. */ - 'freebind': (_google_protobuf_BoolValue__Output); + 'freebind'?: (_google_protobuf_BoolValue__Output); /** * Additional socket options that may not be present in Envoy source code or * precompiled binaries. diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.ts index 305ad3c4d..b3b9a808d 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/BuildVersion.ts @@ -27,10 +27,10 @@ export interface BuildVersion__Output { /** * SemVer version of extension. */ - 'version': (_envoy_type_SemanticVersion__Output); + 'version'?: (_envoy_type_SemanticVersion__Output); /** * Free-form build information. * Envoy defines several well known keys in the source/common/common/version.h file */ - 'metadata': (_google_protobuf_Struct__Output); + 'metadata'?: (_google_protobuf_Struct__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.ts index e0c19da92..18b693fcf 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/CidrRange.ts @@ -29,5 +29,5 @@ export interface CidrRange__Output { /** * Length of prefix, e.g. 0, 32. */ - 'prefix_len': (_google_protobuf_UInt32Value__Output); + 'prefix_len'?: (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts index 3ce5cc5d8..1e4bfa4cd 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/ConfigSource.ts @@ -118,7 +118,7 @@ export interface ConfigSource__Output { * means no timeout - Envoy will wait indefinitely for the first xDS config (unless another * timeout applies). The default is 15s. */ - 'initial_fetch_timeout': (_google_protobuf_Duration__Output); + 'initial_fetch_timeout'?: (_google_protobuf_Duration__Output); /** * [#not-implemented-hide:] * When set, the client will access the resources from the same server it got the diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Extension.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Extension.ts index 3d17d6225..3656f1f9a 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/Extension.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Extension.ts @@ -67,7 +67,7 @@ export interface Extension__Output { * of other extensions and the Envoy API. * This field is not set when extension did not provide version information. */ - 'version': (_envoy_api_v2_core_BuildVersion__Output); + 'version'?: (_envoy_api_v2_core_BuildVersion__Output); /** * Indicates that the extension is present but was disabled via dynamic configuration. */ diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.ts index 65148f419..038245239 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcProtocolOptions.ts @@ -13,5 +13,5 @@ export interface GrpcProtocolOptions { * [#not-implemented-hide:] */ export interface GrpcProtocolOptions__Output { - 'http2_protocol_options': (_envoy_api_v2_core_Http2ProtocolOptions__Output); + 'http2_protocol_options'?: (_envoy_api_v2_core_Http2ProtocolOptions__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts index b67f63e45..567da12bc 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/GrpcService.ts @@ -193,7 +193,7 @@ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc__Output { * :ref:`channel_credentials `. */ 'target_uri': (string); - 'channel_credentials': (_envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials__Output); + 'channel_credentials'?: (_envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials__Output); /** * A set of call credentials that can be composed with `channel credentials * `_. @@ -221,7 +221,7 @@ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc__Output { * Additional configuration for site-specific customizations of the Google * gRPC library. */ - 'config': (_google_protobuf_Struct__Output); + 'config'?: (_google_protobuf_Struct__Output); } export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials { @@ -297,15 +297,15 @@ export interface _envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__Outpu /** * PEM encoded server root certificates. */ - 'root_certs': (_envoy_api_v2_core_DataSource__Output); + 'root_certs'?: (_envoy_api_v2_core_DataSource__Output); /** * PEM encoded client private key. */ - 'private_key': (_envoy_api_v2_core_DataSource__Output); + 'private_key'?: (_envoy_api_v2_core_DataSource__Output); /** * PEM encoded client certificate chain. */ - 'cert_chain': (_envoy_api_v2_core_DataSource__Output); + 'cert_chain'?: (_envoy_api_v2_core_DataSource__Output); } /** @@ -470,7 +470,7 @@ export interface GrpcService__Output { * The timeout for the gRPC request. This is the timeout for a specific * request. */ - 'timeout': (_google_protobuf_Duration__Output); + 'timeout'?: (_google_protobuf_Duration__Output); /** * Additional metadata to include in streams initiated to the GrpcService. * This can be used for scenarios in which additional ad hoc authorization diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.ts index 96350736b..c66ce9aad 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HeaderValueOption.ts @@ -25,10 +25,10 @@ export interface HeaderValueOption__Output { /** * Header name/value pair that this option applies to. */ - 'header': (_envoy_api_v2_core_HeaderValue__Output); + 'header'?: (_envoy_api_v2_core_HeaderValue__Output); /** * Should the value be appended? If true (default), the value is appended to * existing values. */ - 'append': (_google_protobuf_BoolValue__Output); + 'append'?: (_google_protobuf_BoolValue__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts index 972560cd5..a9a3e3310 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HealthCheck.ts @@ -186,11 +186,11 @@ export interface _envoy_api_v2_core_HealthCheck_HttpHealthCheck__Output { /** * [#not-implemented-hide:] HTTP specific payload. */ - 'send': (_envoy_api_v2_core_HealthCheck_Payload__Output); + 'send'?: (_envoy_api_v2_core_HealthCheck_Payload__Output); /** * [#not-implemented-hide:] HTTP specific response. */ - 'receive': (_envoy_api_v2_core_HealthCheck_Payload__Output); + 'receive'?: (_envoy_api_v2_core_HealthCheck_Payload__Output); /** * An optional service name parameter which is used to validate the identity of * the health checked cluster. See the :ref:`architecture overview @@ -237,7 +237,7 @@ export interface _envoy_api_v2_core_HealthCheck_HttpHealthCheck__Output { * `. See the :ref:`architecture overview * ` for more information. */ - 'service_name_matcher': (_envoy_type_matcher_StringMatcher__Output); + 'service_name_matcher'?: (_envoy_type_matcher_StringMatcher__Output); } /** @@ -307,7 +307,7 @@ export interface _envoy_api_v2_core_HealthCheck_TcpHealthCheck__Output { /** * Empty payloads imply a connect-only health check. */ - 'send': (_envoy_api_v2_core_HealthCheck_Payload__Output); + 'send'?: (_envoy_api_v2_core_HealthCheck_Payload__Output); /** * When checking the response, “fuzzy” matching is performed such that each * binary block must be found, and in the order specified, but not @@ -485,36 +485,36 @@ export interface HealthCheck__Output { * The time to wait for a health check response. If the timeout is reached the * health check attempt will be considered a failure. */ - 'timeout': (_google_protobuf_Duration__Output); + 'timeout'?: (_google_protobuf_Duration__Output); /** * The interval between health checks. */ - 'interval': (_google_protobuf_Duration__Output); + 'interval'?: (_google_protobuf_Duration__Output); /** * An optional jitter amount in milliseconds. If specified, during every * interval Envoy will add interval_jitter to the wait time. */ - 'interval_jitter': (_google_protobuf_Duration__Output); + 'interval_jitter'?: (_google_protobuf_Duration__Output); /** * The number of unhealthy health checks required before a host is marked * unhealthy. Note that for *http* health checking if a host responds with 503 * this threshold is ignored and the host is considered unhealthy immediately. */ - 'unhealthy_threshold': (_google_protobuf_UInt32Value__Output); + 'unhealthy_threshold'?: (_google_protobuf_UInt32Value__Output); /** * The number of healthy health checks required before a host is marked * healthy. Note that during startup, only a single successful health check is * required to mark a host healthy. */ - 'healthy_threshold': (_google_protobuf_UInt32Value__Output); + 'healthy_threshold'?: (_google_protobuf_UInt32Value__Output); /** * [#not-implemented-hide:] Non-serving port for health checking. */ - 'alt_port': (_google_protobuf_UInt32Value__Output); + 'alt_port'?: (_google_protobuf_UInt32Value__Output); /** * Reuse health check connection between health checks. Default is true. */ - 'reuse_connection': (_google_protobuf_BoolValue__Output); + 'reuse_connection'?: (_google_protobuf_BoolValue__Output); /** * HTTP health check. */ @@ -537,7 +537,7 @@ export interface HealthCheck__Output { * * The default value for "no traffic interval" is 60 seconds. */ - 'no_traffic_interval': (_google_protobuf_Duration__Output); + 'no_traffic_interval'?: (_google_protobuf_Duration__Output); /** * Custom health check. */ @@ -549,7 +549,7 @@ export interface HealthCheck__Output { * * The default value for "unhealthy interval" is the same as "interval". */ - 'unhealthy_interval': (_google_protobuf_Duration__Output); + 'unhealthy_interval'?: (_google_protobuf_Duration__Output); /** * The "unhealthy edge interval" is a special health check interval that is used for the first * health check right after a host is marked as unhealthy. For subsequent health checks @@ -558,7 +558,7 @@ export interface HealthCheck__Output { * * The default value for "unhealthy edge interval" is the same as "unhealthy interval". */ - 'unhealthy_edge_interval': (_google_protobuf_Duration__Output); + 'unhealthy_edge_interval'?: (_google_protobuf_Duration__Output); /** * The "healthy edge interval" is a special health check interval that is used for the first * health check right after a host is marked as healthy. For subsequent health checks @@ -566,7 +566,7 @@ export interface HealthCheck__Output { * * The default value for "healthy edge interval" is the same as the default interval. */ - 'healthy_edge_interval': (_google_protobuf_Duration__Output); + 'healthy_edge_interval'?: (_google_protobuf_Duration__Output); /** * Specifies the path to the :ref:`health check event log `. * If empty, no event log will be written. @@ -592,16 +592,16 @@ export interface HealthCheck__Output { * checking after for a random time in ms between 0 and initial_jitter. This only * applies to the first health check. */ - 'initial_jitter': (_google_protobuf_Duration__Output); + 'initial_jitter'?: (_google_protobuf_Duration__Output); /** * This allows overriding the cluster TLS settings, just for health check connections. */ - 'tls_options': (_envoy_api_v2_core_HealthCheck_TlsOptions__Output); + 'tls_options'?: (_envoy_api_v2_core_HealthCheck_TlsOptions__Output); /** * [#not-implemented-hide:] * The gRPC service for the health check event service. * If empty, health check events won't be sent to a remote endpoint. */ - 'event_service': (_envoy_api_v2_core_EventServiceConfig__Output); + 'event_service'?: (_envoy_api_v2_core_EventServiceConfig__Output); 'health_checker': "http_health_check"|"tcp_health_check"|"grpc_health_check"|"custom_health_check"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.ts index 13abc9ec4..7feca246a 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Http1ProtocolOptions.ts @@ -85,7 +85,7 @@ export interface Http1ProtocolOptions__Output { * envoy as their HTTP proxy. In Unix, for example, this is typically done by setting the * *http_proxy* environment variable. */ - 'allow_absolute_url': (_google_protobuf_BoolValue__Output); + 'allow_absolute_url'?: (_google_protobuf_BoolValue__Output); /** * Handle incoming HTTP/1.0 and HTTP 0.9 requests. * This is off by default, and not fully standards compliant. There is support for pre-HTTP/1.1 @@ -103,7 +103,7 @@ export interface Http1ProtocolOptions__Output { * Describes how the keys for response headers should be formatted. By default, all header keys * are lower cased. */ - 'header_key_format': (_envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat__Output); + 'header_key_format'?: (_envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat__Output); /** * Enables trailers for HTTP/1. By default the HTTP/1 codec drops proxied trailers. * diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.ts index 97208657d..d24c38a55 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Http2ProtocolOptions.ts @@ -25,11 +25,11 @@ export interface _envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter__Outp /** * The 16 bit parameter identifier. */ - 'identifier': (_google_protobuf_UInt32Value__Output); + 'identifier'?: (_google_protobuf_UInt32Value__Output); /** * The 32 bit parameter value. */ - 'value': (_google_protobuf_UInt32Value__Output); + 'value'?: (_google_protobuf_UInt32Value__Output); } /** @@ -188,7 +188,7 @@ export interface Http2ProtocolOptions__Output { * range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header * compression. */ - 'hpack_table_size': (_google_protobuf_UInt32Value__Output); + 'hpack_table_size'?: (_google_protobuf_UInt32Value__Output); /** * `Maximum concurrent streams `_ * allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1) @@ -198,7 +198,7 @@ export interface Http2ProtocolOptions__Output { * on a single connection. If the limit is reached, Envoy may queue requests or establish * additional connections (as allowed per circuit breaker limits). */ - 'max_concurrent_streams': (_google_protobuf_UInt32Value__Output); + 'max_concurrent_streams'?: (_google_protobuf_UInt32Value__Output); /** * `Initial stream-level flow-control window * `_ size. Valid values range from 65535 @@ -212,12 +212,12 @@ export interface Http2ProtocolOptions__Output { * HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to * stop the flow of data to the codec buffers. */ - 'initial_stream_window_size': (_google_protobuf_UInt32Value__Output); + 'initial_stream_window_size'?: (_google_protobuf_UInt32Value__Output); /** * Similar to *initial_stream_window_size*, but for connection-level flow-control * window. Currently, this has the same minimum/maximum/default as *initial_stream_window_size*. */ - 'initial_connection_window_size': (_google_protobuf_UInt32Value__Output); + 'initial_connection_window_size'?: (_google_protobuf_UInt32Value__Output); /** * Allows proxying Websocket and other upgrades over H2 connect. */ @@ -238,7 +238,7 @@ export interface Http2ProtocolOptions__Output { * to flood mitigation. The default limit is 10000. * [#comment:TODO: implement same limits for upstream outbound frames as well.] */ - 'max_outbound_frames': (_google_protobuf_UInt32Value__Output); + 'max_outbound_frames'?: (_google_protobuf_UInt32Value__Output); /** * Limit the number of pending outbound downstream frames of types PING, SETTINGS and RST_STREAM, * preventing high memory utilization when receiving continuous stream of these frames. Exceeding @@ -247,7 +247,7 @@ export interface Http2ProtocolOptions__Output { * mitigation. The default limit is 1000. * [#comment:TODO: implement same limits for upstream outbound frames as well.] */ - 'max_outbound_control_frames': (_google_protobuf_UInt32Value__Output); + 'max_outbound_control_frames'?: (_google_protobuf_UInt32Value__Output); /** * Limit the number of consecutive inbound frames of types HEADERS, CONTINUATION and DATA with an * empty payload and no end stream flag. Those frames have no legitimate use and are abusive, but @@ -257,7 +257,7 @@ export interface Http2ProtocolOptions__Output { * and no end stream flag. The default limit is 1. * [#comment:TODO: implement same limits for upstream inbound frames as well.] */ - 'max_consecutive_inbound_frames_with_empty_payload': (_google_protobuf_UInt32Value__Output); + 'max_consecutive_inbound_frames_with_empty_payload'?: (_google_protobuf_UInt32Value__Output); /** * Limit the number of inbound PRIORITY frames allowed per each opened stream. If the number * of PRIORITY frames received over the lifetime of connection exceeds the value calculated @@ -269,7 +269,7 @@ export interface Http2ProtocolOptions__Output { * the number of connections terminated due to flood mitigation. The default limit is 100. * [#comment:TODO: implement same limits for upstream inbound frames as well.] */ - 'max_inbound_priority_frames_per_stream': (_google_protobuf_UInt32Value__Output); + 'max_inbound_priority_frames_per_stream'?: (_google_protobuf_UInt32Value__Output); /** * Limit the number of inbound WINDOW_UPDATE frames allowed per DATA frame sent. If the number * of WINDOW_UPDATE frames received over the lifetime of connection exceeds the value calculated @@ -284,7 +284,7 @@ export interface Http2ProtocolOptions__Output { * but more complex implementations that try to estimate available bandwidth require at least 2. * [#comment:TODO: implement same limits for upstream inbound frames as well.] */ - 'max_inbound_window_update_frames_per_data_frame_sent': (_google_protobuf_UInt32Value__Output); + 'max_inbound_window_update_frames_per_data_frame_sent'?: (_google_protobuf_UInt32Value__Output); /** * Allows invalid HTTP messaging and headers. When this option is disabled (default), then * the whole HTTP/2 connection is terminated upon receiving invalid HEADERS frame. However, diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts index 026e236e7..964645696 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpProtocolOptions.ts @@ -96,13 +96,13 @@ export interface HttpProtocolOptions__Output { * Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP * FIN packets, etc. */ - 'idle_timeout': (_google_protobuf_Duration__Output); + 'idle_timeout'?: (_google_protobuf_Duration__Output); /** * The maximum number of headers. If unconfigured, the default * maximum number of request headers allowed is 100. Requests that exceed this limit will receive * a 431 response for HTTP/1.x and cause a stream reset for HTTP/2. */ - 'max_headers_count': (_google_protobuf_UInt32Value__Output); + 'max_headers_count'?: (_google_protobuf_UInt32Value__Output); /** * The maximum duration of a connection. The duration is defined as a period since a connection * was established. If not set, there is no max duration. When max_connection_duration is reached @@ -111,12 +111,12 @@ export interface HttpProtocolOptions__Output { * `. * Note: not implemented for upstream connections. */ - 'max_connection_duration': (_google_protobuf_Duration__Output); + 'max_connection_duration'?: (_google_protobuf_Duration__Output); /** * Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be * reset independent of any other timeouts. If not specified, this value is not set. */ - 'max_stream_duration': (_google_protobuf_Duration__Output); + 'max_stream_duration'?: (_google_protobuf_Duration__Output); /** * Action to take when a client request with a header name containing underscore characters is received. * If this setting is not specified, the value defaults to ALLOW. diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.ts index 998f8816c..b01489a64 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/HttpUri.ts @@ -68,7 +68,7 @@ export interface HttpUri__Output { /** * Sets the maximum duration in milliseconds that a response can take to arrive upon request. */ - 'timeout': (_google_protobuf_Duration__Output); + 'timeout'?: (_google_protobuf_Duration__Output); /** * Specify how `uri` is to be fetched. Today, this requires an explicit * cluster, but in the future we may support dynamic cluster creation or diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.ts index 1774252e5..2a3c8f996 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Metadata.ts @@ -31,7 +31,7 @@ export interface Metadata { * Key is the reverse DNS filter name, e.g. com.acme.widget. The envoy.* * namespace is reserved for Envoy's built-in filters. */ - 'filter_metadata'?: (_google_protobuf_Struct); + 'filter_metadata'?: ({[key: string]: _google_protobuf_Struct}); } /** @@ -63,5 +63,5 @@ export interface Metadata__Output { * Key is the reverse DNS filter name, e.g. com.acme.widget. The envoy.* * namespace is reserved for Envoy's built-in filters. */ - 'filter_metadata': (_google_protobuf_Struct__Output); + 'filter_metadata'?: ({[key: string]: _google_protobuf_Struct__Output}); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/Node.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/Node.ts index 27a156c66..5a8842482 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/Node.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/Node.ts @@ -124,11 +124,11 @@ export interface Node__Output { * Opaque metadata extending the node identifier. Envoy will pass this * directly to the management server. */ - 'metadata': (_google_protobuf_Struct__Output); + 'metadata'?: (_google_protobuf_Struct__Output); /** * Locality specifying where the Envoy instance is running. */ - 'locality': (_envoy_api_v2_core_Locality__Output); + 'locality'?: (_envoy_api_v2_core_Locality__Output); /** * This is motivated by informing a management server during canary which * version of Envoy is being tested in a heterogeneous fleet. This will be set diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.ts index bf52aaaf3..05cb819c9 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RateLimitSettings.ts @@ -27,10 +27,10 @@ export interface RateLimitSettings__Output { * Maximum number of tokens to be used for rate limiting discovery request calls. If not set, a * default value of 100 will be used. */ - 'max_tokens': (_google_protobuf_UInt32Value__Output); + 'max_tokens'?: (_google_protobuf_UInt32Value__Output); /** * Rate at which tokens will be filled per second. If not set, a default fill rate of 10 tokens * per second will be used. */ - 'fill_rate': (_google_protobuf_DoubleValue__Output); + 'fill_rate'?: (_google_protobuf_DoubleValue__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.ts index c0ec51d75..603cc258c 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RemoteDataSource.ts @@ -28,7 +28,7 @@ export interface RemoteDataSource__Output { /** * The HTTP URI to fetch the remote data. */ - 'http_uri': (_envoy_api_v2_core_HttpUri__Output); + 'http_uri'?: (_envoy_api_v2_core_HttpUri__Output); /** * SHA256 string for verifying data. */ @@ -36,5 +36,5 @@ export interface RemoteDataSource__Output { /** * Retry policy for fetching remote data. */ - 'retry_policy': (_envoy_api_v2_core_RetryPolicy__Output); + 'retry_policy'?: (_envoy_api_v2_core_RetryPolicy__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.ts index f3dc4bac1..4df63c53e 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RetryPolicy.ts @@ -29,10 +29,10 @@ export interface RetryPolicy__Output { * This parameter is optional, in which case the default base interval is 1000 milliseconds. The * default maximum interval is 10 times the base interval. */ - 'retry_back_off': (_envoy_api_v2_core_BackoffStrategy__Output); + 'retry_back_off'?: (_envoy_api_v2_core_BackoffStrategy__Output); /** * Specifies the allowed number of retries. This parameter is optional and * defaults to 1. */ - 'num_retries': (_google_protobuf_UInt32Value__Output); + 'num_retries'?: (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.ts index fd88cf9df..6994218d1 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFeatureFlag.ts @@ -25,7 +25,7 @@ export interface RuntimeFeatureFlag__Output { /** * Default value if runtime value is not available. */ - 'default_value': (_google_protobuf_BoolValue__Output); + 'default_value'?: (_google_protobuf_BoolValue__Output); /** * Runtime key to get value for comparison. This value is used if defined. The boolean value must * be represented via its diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.ts index 222c1b9d7..78eeb3257 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/RuntimeFractionalPercent.ts @@ -41,7 +41,7 @@ export interface RuntimeFractionalPercent__Output { /** * Default value if the runtime value's for the numerator/denominator keys are not available. */ - 'default_value': (_envoy_type_FractionalPercent__Output); + 'default_value'?: (_envoy_type_FractionalPercent__Output); /** * Runtime key for a YAML representation of a FractionalPercent. */ diff --git a/packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.ts b/packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.ts index 9318af4e5..e6c85ba44 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/core/TcpKeepalive.ts @@ -28,16 +28,16 @@ export interface TcpKeepalive__Output { * the connection is dead. Default is to use the OS level configuration (unless * overridden, Linux defaults to 9.) */ - 'keepalive_probes': (_google_protobuf_UInt32Value__Output); + 'keepalive_probes'?: (_google_protobuf_UInt32Value__Output); /** * The number of seconds a connection needs to be idle before keep-alive probes * start being sent. Default is to use the OS level configuration (unless * overridden, Linux defaults to 7200s (i.e., 2 hours.) */ - 'keepalive_time': (_google_protobuf_UInt32Value__Output); + 'keepalive_time'?: (_google_protobuf_UInt32Value__Output); /** * The number of seconds between keep-alive probes. Default is to use the OS * level configuration (unless overridden, Linux defaults to 75s.) */ - 'keepalive_interval': (_google_protobuf_UInt32Value__Output); + 'keepalive_interval'?: (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.ts b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.ts index e66fb182b..f9a69142a 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/Endpoint.ts @@ -98,7 +98,7 @@ export interface Endpoint__Output { * in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, * and will be resolved via DNS. */ - 'address': (_envoy_api_v2_core_Address__Output); + 'address'?: (_envoy_api_v2_core_Address__Output); /** * The optional health check configuration is used as configuration for the * health checker to contact the health checked host. @@ -108,7 +108,7 @@ export interface Endpoint__Output { * This takes into effect only for upstream clusters with * :ref:`active health checking ` enabled. */ - 'health_check_config': (_envoy_api_v2_endpoint_Endpoint_HealthCheckConfig__Output); + 'health_check_config'?: (_envoy_api_v2_endpoint_Endpoint_HealthCheckConfig__Output); /** * The hostname associated with this endpoint. This hostname is not used for routing or address * resolution. If provided, it will be associated with the endpoint, and can be used for features diff --git a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts index 84883c8a2..fa8e64999 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LbEndpoint.ts @@ -66,7 +66,7 @@ export interface LbEndpoint__Output { * :ref:`RouteAction ` metadata_match field * to subset the endpoints considered in cluster load balancing. */ - 'metadata': (_envoy_api_v2_core_Metadata__Output); + 'metadata'?: (_envoy_api_v2_core_Metadata__Output); /** * The optional load balancing weight of the upstream host; at least 1. * Envoy uses the load balancing weight in some of the built in load @@ -78,7 +78,7 @@ export interface LbEndpoint__Output { * weight in a locality. The sum of the weights of all endpoints in the * endpoint's locality must not exceed uint32_t maximal value (4294967295). */ - 'load_balancing_weight': (_google_protobuf_UInt32Value__Output); + 'load_balancing_weight'?: (_google_protobuf_UInt32Value__Output); /** * [#not-implemented-hide:] */ diff --git a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.ts b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.ts index 6565a34f1..401ea7313 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/endpoint/LocalityLbEndpoints.ts @@ -68,7 +68,7 @@ export interface LocalityLbEndpoints__Output { /** * Identifies location of where the upstream hosts run. */ - 'locality': (_envoy_api_v2_core_Locality__Output); + 'locality'?: (_envoy_api_v2_core_Locality__Output); /** * The group of endpoints belonging to the locality specified. */ @@ -86,7 +86,7 @@ export interface LocalityLbEndpoints__Output { * specified when locality weighted load balancing is enabled, the locality is * assigned no load. */ - 'load_balancing_weight': (_google_protobuf_UInt32Value__Output); + 'load_balancing_weight'?: (_google_protobuf_UInt32Value__Output); /** * Optional: the priority for this LocalityLbEndpoints. If unspecified this will * default to the highest priority (0). @@ -107,5 +107,5 @@ export interface LocalityLbEndpoints__Output { * to determine where to route the requests. * [#not-implemented-hide:] */ - 'proximity': (_google_protobuf_UInt32Value__Output); + 'proximity'?: (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.ts index 585836f15..fa2c8ddbe 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChain.ts @@ -71,7 +71,7 @@ export interface FilterChain__Output { /** * The criteria to use when matching a connection to this filter chain. */ - 'filter_chain_match': (_envoy_api_v2_listener_FilterChainMatch__Output); + 'filter_chain_match'?: (_envoy_api_v2_listener_FilterChainMatch__Output); /** * The TLS context for this filter chain. * @@ -80,7 +80,7 @@ export interface FilterChain__Output { * **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are * set, `transport_socket` takes priority. */ - 'tls_context': (_envoy_api_v2_auth_DownstreamTlsContext__Output); + 'tls_context'?: (_envoy_api_v2_auth_DownstreamTlsContext__Output); /** * A list of individual network filters that make up the filter chain for * connections established with the listener. Order matters as the filters are @@ -96,11 +96,11 @@ export interface FilterChain__Output { * absent or set to false, Envoy will use the physical peer address of the * connection as the remote address. */ - 'use_proxy_proto': (_google_protobuf_BoolValue__Output); + 'use_proxy_proto'?: (_google_protobuf_BoolValue__Output); /** * [#not-implemented-hide:] filter chain metadata. */ - 'metadata': (_envoy_api_v2_core_Metadata__Output); + 'metadata'?: (_envoy_api_v2_core_Metadata__Output); /** * Optional custom transport socket implementation to use for downstream connections. * To setup TLS, set a transport socket with name `tls` and @@ -108,7 +108,7 @@ export interface FilterChain__Output { * If no transport socket configuration is specified, new connections * will be set up with plaintext. */ - 'transport_socket': (_envoy_api_v2_core_TransportSocket__Output); + 'transport_socket'?: (_envoy_api_v2_core_TransportSocket__Output); /** * [#not-implemented-hide:] The unique name (or empty) by which this filter chain is known. If no * name is provided, Envoy will allocate an internal UUID for the filter chain. If the filter diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts index 67f03a928..cdf49bf0a 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/FilterChainMatch.ts @@ -187,7 +187,7 @@ export interface FilterChainMatch__Output { /** * [#not-implemented-hide:] */ - 'suffix_len': (_google_protobuf_UInt32Value__Output); + 'suffix_len'?: (_google_protobuf_UInt32Value__Output); /** * The criteria is satisfied if the source IP address of the downstream * connection is contained in at least one of the specified subnets. If the @@ -205,7 +205,7 @@ export interface FilterChainMatch__Output { * Optional destination port to consider when use_original_dst is set on the * listener in determining a filter chain match. */ - 'destination_port': (_google_protobuf_UInt32Value__Output); + 'destination_port'?: (_google_protobuf_UInt32Value__Output); /** * If non-empty, a transport protocol to consider when determining a filter chain match. * This value will be compared against the transport protocol of a new connection, when diff --git a/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.ts b/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.ts index 5949135da..75fc917e5 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/listener/ListenerFilter.ts @@ -38,7 +38,7 @@ export interface ListenerFilter__Output { * See :ref:`ListenerFilterChainMatchPredicate ` * for further examples. */ - 'filter_disabled': (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output); + 'filter_disabled'?: (_envoy_api_v2_listener_ListenerFilterChainMatchPredicate__Output); /** * Filter specific configuration which depends on the filter being instantiated. * See the supported filters for further documentation. diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts index cb48b5eec..b2429e5e2 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/CorsPolicy.ts @@ -118,7 +118,7 @@ export interface CorsPolicy__Output { /** * Specifies whether the resource allows credentials. */ - 'allow_credentials': (_google_protobuf_BoolValue__Output); + 'allow_credentials'?: (_google_protobuf_BoolValue__Output); /** * Specifies if the CORS filter is enabled. Defaults to true. Only effective on route. * @@ -159,7 +159,7 @@ export interface CorsPolicy__Output { * Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate * and track the request's *Origin* to determine if it's valid but will not enforce any policies. */ - 'shadow_enabled': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + 'shadow_enabled'?: (_envoy_api_v2_core_RuntimeFractionalPercent__Output); /** * Specifies string patterns that match allowed origins. An origin is allowed if any of the * string matchers match. diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.ts index 43bc7408c..d1a2fa25f 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/Decorator.ts @@ -35,5 +35,5 @@ export interface Decorator__Output { /** * Whether the decorated details should be propagated to the other party. The default is true. */ - 'propagate': (_google_protobuf_BoolValue__Output); + 'propagate'?: (_google_protobuf_BoolValue__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.ts index 7585f376c..6e9ed7cae 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/DirectResponseAction.ts @@ -35,5 +35,5 @@ export interface DirectResponseAction__Output { * :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_RouteConfiguration` or * :ref:`envoy_api_msg_route.VirtualHost`. */ - 'body': (_envoy_api_v2_core_DataSource__Output); + 'body'?: (_envoy_api_v2_core_DataSource__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.ts index 8e0985e12..ca626cfaf 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/FilterAction.ts @@ -13,5 +13,5 @@ export interface FilterAction { * A filter-defined action type. */ export interface FilterAction__Output { - 'action': (_google_protobuf_Any__Output); + 'action'?: (_google_protobuf_Any__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.ts index a1c641711..c362bdc52 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/HedgePolicy.ts @@ -44,14 +44,14 @@ export interface HedgePolicy__Output { * Defaults to 1. * [#not-implemented-hide:] */ - 'initial_requests': (_google_protobuf_UInt32Value__Output); + 'initial_requests'?: (_google_protobuf_UInt32Value__Output); /** * Specifies a probability that an additional upstream request should be sent * on top of what is specified by initial_requests. * Defaults to 0. * [#not-implemented-hide:] */ - 'additional_request_chance': (_envoy_type_FractionalPercent__Output); + 'additional_request_chance'?: (_envoy_type_FractionalPercent__Output); /** * Indicates that a hedged request should be sent when the per-try timeout * is hit. This will only occur if the retry policy also indicates that a diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.ts index 8f0041ce6..eeed23abe 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/QueryParameterMatcher.ts @@ -73,7 +73,7 @@ export interface QueryParameterMatcher__Output { * ..attention:: * This field is deprecated. Use a `safe_regex` match inside the `string_match` field. */ - 'regex': (_google_protobuf_BoolValue__Output); + 'regex'?: (_google_protobuf_BoolValue__Output); /** * Specifies whether a query parameter value should match against a string. */ diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts index 6361f5032..385dad6f6 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RateLimit.ts @@ -183,7 +183,7 @@ export interface _envoy_api_v2_route_RateLimit_Action_HeaderValueMatch__Output { * descriptor entry when the request does not match the headers. The * default value is true. */ - 'expect_match': (_google_protobuf_BoolValue__Output); + 'expect_match'?: (_google_protobuf_BoolValue__Output); /** * Specifies a set of headers that the rate limit action should match * on. The action will check the request’s headers against all the @@ -324,7 +324,7 @@ export interface RateLimit__Output { * * The filter supports a range of 0 - 10 inclusively for stage numbers. */ - 'stage': (_google_protobuf_UInt32Value__Output); + 'stage'?: (_google_protobuf_UInt32Value__Output); /** * The key to be set in runtime to disable this rate limit configuration. */ diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts index 48df89fdb..24bdd2814 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RetryPolicy.ts @@ -31,14 +31,14 @@ export interface _envoy_api_v2_route_RetryPolicy_RetryBackOff__Output { * See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's * back-off algorithm. */ - 'base_interval': (_google_protobuf_Duration__Output); + 'base_interval'?: (_google_protobuf_Duration__Output); /** * Specifies the maximum interval between retries. This parameter is optional, but must be * greater than or equal to the `base_interval` if set. The default is 10 times the * `base_interval`. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion * of Envoy's back-off algorithm. */ - 'max_interval': (_google_protobuf_Duration__Output); + 'max_interval'?: (_google_protobuf_Duration__Output); } export interface _envoy_api_v2_route_RetryPolicy_RetryHostPredicate { @@ -159,7 +159,7 @@ export interface RetryPolicy__Output { * defaults to 1. These are the same conditions documented for * :ref:`config_http_filters_router_x-envoy-max-retries`. */ - 'num_retries': (_google_protobuf_UInt32Value__Output); + 'num_retries'?: (_google_protobuf_UInt32Value__Output); /** * Specifies a non-zero upstream timeout per retry attempt. This parameter is optional. The * same conditions documented for @@ -173,13 +173,13 @@ export interface RetryPolicy__Output { * retry policy, a request that times out will not be retried as the total timeout budget * would have been exhausted. */ - 'per_try_timeout': (_google_protobuf_Duration__Output); + 'per_try_timeout'?: (_google_protobuf_Duration__Output); /** * Specifies an implementation of a RetryPriority which is used to determine the * distribution of load across priorities used for retries. Refer to * :ref:`retry plugin configuration ` for more details. */ - 'retry_priority': (_envoy_api_v2_route_RetryPolicy_RetryPriority__Output); + 'retry_priority'?: (_envoy_api_v2_route_RetryPolicy_RetryPriority__Output); /** * Specifies a collection of RetryHostPredicates that will be consulted when selecting a host * for retries. If any of the predicates reject the host, host selection will be reattempted. @@ -204,7 +204,7 @@ export interface RetryPolicy__Output { * the base interval. The documentation for :ref:`config_http_filters_router_x-envoy-max-retries` * describes Envoy's back-off algorithm. */ - 'retry_back_off': (_envoy_api_v2_route_RetryPolicy_RetryBackOff__Output); + 'retry_back_off'?: (_envoy_api_v2_route_RetryPolicy_RetryBackOff__Output); /** * HTTP response headers that trigger a retry if present in the response. A retry will be * triggered if any of the header matches match the upstream response headers. diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts index 32c4786e0..7d0ff8bd8 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/Route.ts @@ -59,7 +59,7 @@ export interface Route { * specific; see the :ref:`HTTP filter documentation ` for * if and how it is utilized. */ - 'per_filter_config'?: (_google_protobuf_Struct); + 'per_filter_config'?: ({[key: string]: _google_protobuf_Struct}); /** * Specifies a set of headers that will be added to requests matching this * route. Headers specified at this level are applied before headers from the @@ -95,7 +95,7 @@ export interface Route { * specific; see the :ref:`HTTP filter documentation ` for * if and how it is utilized. */ - 'typed_per_filter_config'?: (_google_protobuf_Any); + 'typed_per_filter_config'?: ({[key: string]: _google_protobuf_Any}); /** * Name for the route. */ @@ -134,7 +134,7 @@ export interface Route__Output { /** * Route matching parameters. */ - 'match': (_envoy_api_v2_route_RouteMatch__Output); + 'match'?: (_envoy_api_v2_route_RouteMatch__Output); /** * Route request to some upstream cluster. */ @@ -150,11 +150,11 @@ export interface Route__Output { * For instance, if the metadata is intended for the Router filter, * the filter name should be specified as *envoy.filters.http.router*. */ - 'metadata': (_envoy_api_v2_core_Metadata__Output); + 'metadata'?: (_envoy_api_v2_core_Metadata__Output); /** * Decorator for the matched route. */ - 'decorator': (_envoy_api_v2_route_Decorator__Output); + 'decorator'?: (_envoy_api_v2_route_Decorator__Output); /** * Return an arbitrary HTTP response directly, without proxying. */ @@ -166,7 +166,7 @@ export interface Route__Output { * specific; see the :ref:`HTTP filter documentation ` for * if and how it is utilized. */ - 'per_filter_config': (_google_protobuf_Struct__Output); + 'per_filter_config'?: ({[key: string]: _google_protobuf_Struct__Output}); /** * Specifies a set of headers that will be added to requests matching this * route. Headers specified at this level are applied before headers from the @@ -202,7 +202,7 @@ export interface Route__Output { * specific; see the :ref:`HTTP filter documentation ` for * if and how it is utilized. */ - 'typed_per_filter_config': (_google_protobuf_Any__Output); + 'typed_per_filter_config'?: ({[key: string]: _google_protobuf_Any__Output}); /** * Name for the route. */ @@ -211,13 +211,13 @@ export interface Route__Output { * Presence of the object defines whether the connection manager's tracing configuration * is overridden by this route specific instance. */ - 'tracing': (_envoy_api_v2_route_Tracing__Output); + 'tracing'?: (_envoy_api_v2_route_Tracing__Output); /** * The maximum bytes which will be buffered for retries and shadowing. * If set, the bytes actually buffered will be the minimum value of this and the * listener per_connection_buffer_limit_bytes. */ - 'per_request_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); + 'per_request_buffer_limit_bytes'?: (_google_protobuf_UInt32Value__Output); /** * [#not-implemented-hide:] * If true, a filter will define the action (e.g., it could dynamically generate the diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts index 490718e80..94e769deb 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteAction.ts @@ -105,7 +105,7 @@ export interface _envoy_api_v2_route_RouteAction_HashPolicy_Cookie__Output { * not present. If the TTL is present and zero, the generated cookie will * be a session cookie. */ - 'ttl': (_google_protobuf_Duration__Output); + 'ttl'?: (_google_protobuf_Duration__Output); /** * The name of the path for the cookie. If no path is specified here, no path * will be set for the cookie. @@ -378,11 +378,11 @@ export interface _envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output { * number is <= the value of the numerator N, or if the key is not present, the default * value, the request will be mirrored. */ - 'runtime_fraction': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + 'runtime_fraction'?: (_envoy_api_v2_core_RuntimeFractionalPercent__Output); /** * Determines if the trace span should be sampled. Defaults to true. */ - 'trace_sampled': (_google_protobuf_BoolValue__Output); + 'trace_sampled'?: (_google_protobuf_BoolValue__Output); } /** @@ -424,7 +424,7 @@ export interface _envoy_api_v2_route_RouteAction_UpgradeConfig__Output { /** * Determines if upgrades are available on this route. Defaults to true. */ - 'enabled': (_google_protobuf_BoolValue__Output); + 'enabled'?: (_google_protobuf_BoolValue__Output); } /** @@ -751,7 +751,7 @@ export interface RouteAction__Output { * `, metadata will be merged, with values * provided there taking precedence. The filter name should be specified as *envoy.lb*. */ - 'metadata_match': (_envoy_api_v2_core_Metadata__Output); + 'metadata_match'?: (_envoy_api_v2_core_Metadata__Output); /** * Indicates that during forwarding, the matched prefix (or path) should be * swapped with this value. This option allows application URLs to be rooted @@ -812,13 +812,13 @@ export interface RouteAction__Output { * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the * :ref:`retry overview `. */ - 'timeout': (_google_protobuf_Duration__Output); + 'timeout'?: (_google_protobuf_Duration__Output); /** * Indicates that the route has a retry policy. Note that if this is set, * it'll take precedence over the virtual host level retry policy entirely * (e.g.: policies are not merged, most internal one becomes the enforced policy). */ - 'retry_policy': (_envoy_api_v2_route_RetryPolicy__Output); + 'retry_policy'?: (_envoy_api_v2_route_RetryPolicy__Output); /** * Indicates that the route has a request mirroring policy. * @@ -826,7 +826,7 @@ export interface RouteAction__Output { * This field has been deprecated in favor of `request_mirror_policies` which supports one or * more mirroring policies. */ - 'request_mirror_policy': (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output); + 'request_mirror_policy'?: (_envoy_api_v2_route_RouteAction_RequestMirrorPolicy__Output); /** * Optionally specifies the :ref:`routing priority `. */ @@ -842,7 +842,7 @@ export interface RouteAction__Output { * :ref:`rate_limits ` are not applied to the * request. */ - 'include_vh_rate_limits': (_google_protobuf_BoolValue__Output); + 'include_vh_rate_limits'?: (_google_protobuf_BoolValue__Output); /** * Specifies a list of hash policies to use for ring hash load balancing. Each * hash policy is evaluated individually and the combined result is used to @@ -861,7 +861,7 @@ export interface RouteAction__Output { /** * Indicates that the route has a CORS policy. */ - 'cors': (_envoy_api_v2_route_CorsPolicy__Output); + 'cors'?: (_envoy_api_v2_route_CorsPolicy__Output); /** * The HTTP status code to use when configured cluster is not found. * The default response code is 503 Service Unavailable. @@ -888,7 +888,7 @@ export interface RouteAction__Output { * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the * :ref:`retry overview `. */ - 'max_grpc_timeout': (_google_protobuf_Duration__Output); + 'max_grpc_timeout'?: (_google_protobuf_Duration__Output); /** * Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout, * although the connection manager wide :ref:`stream_idle_timeout @@ -909,7 +909,7 @@ export interface RouteAction__Output { * upstream response header has been received, otherwise a stream reset * occurs. */ - 'idle_timeout': (_google_protobuf_Duration__Output); + 'idle_timeout'?: (_google_protobuf_Duration__Output); 'upgrade_configs': (_envoy_api_v2_route_RouteAction_UpgradeConfig__Output)[]; 'internal_redirect_action': (keyof typeof _envoy_api_v2_route_RouteAction_InternalRedirectAction); /** @@ -917,7 +917,7 @@ export interface RouteAction__Output { * it'll take precedence over the virtual host level hedge policy entirely * (e.g.: policies are not merged, most internal one becomes the enforced policy). */ - 'hedge_policy': (_envoy_api_v2_route_HedgePolicy__Output); + 'hedge_policy'?: (_envoy_api_v2_route_HedgePolicy__Output); /** * If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting * the provided duration from the header. This is useful in allowing Envoy to set its global @@ -927,7 +927,7 @@ export interface RouteAction__Output { * ensures that the offset will only ever decrease the timeout and never set it to 0 (meaning * infinity). */ - 'grpc_timeout_offset': (_google_protobuf_Duration__Output); + 'grpc_timeout_offset'?: (_google_protobuf_Duration__Output); /** * Indicates that during forwarding, the host header will be swapped with the content of given * downstream or :ref:`custom ` header. @@ -959,7 +959,7 @@ export interface RouteAction__Output { * * If not specified, at most one redirect will be followed. */ - 'max_internal_redirects': (_google_protobuf_UInt32Value__Output); + 'max_internal_redirects'?: (_google_protobuf_UInt32Value__Output); /** * Indicates that during forwarding, portions of the path that match the * pattern should be rewritten, even allowing the substitution of capture @@ -990,7 +990,7 @@ export interface RouteAction__Output { * would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to * ``/aaa/yyy/bbb``. */ - 'regex_rewrite': (_envoy_type_matcher_RegexMatchAndSubstitute__Output); + 'regex_rewrite'?: (_envoy_type_matcher_RegexMatchAndSubstitute__Output); /** * [#not-implemented-hide:] * Specifies the configuration for retry policy extension. Note that if this is set, it'll take @@ -998,7 +998,7 @@ export interface RouteAction__Output { * most internal one becomes the enforced policy). :ref:`Retry policy ` * should not be set if this field is used. */ - 'retry_policy_typed_config': (_google_protobuf_Any__Output); + 'retry_policy_typed_config'?: (_google_protobuf_Any__Output); 'cluster_specifier': "cluster"|"cluster_header"|"weighted_clusters"; 'host_rewrite_specifier': "host_rewrite"|"auto_host_rewrite"|"auto_host_rewrite_header"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts index c60c956fe..b4af4adf2 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/RouteMatch.ts @@ -30,12 +30,12 @@ export interface _envoy_api_v2_route_RouteMatch_TlsContextMatchOptions__Output { * If specified, the route will match against whether or not a certificate is presented. * If not specified, certificate presentation status (true or false) will not be considered when route matching. */ - 'presented': (_google_protobuf_BoolValue__Output); + 'presented'?: (_google_protobuf_BoolValue__Output); /** * If specified, the route will match against whether or not a certificate is validated. * If not specified, certificate validation status (true or false) will not be considered when route matching. */ - 'validated': (_google_protobuf_BoolValue__Output); + 'validated'?: (_google_protobuf_BoolValue__Output); } /** @@ -179,7 +179,7 @@ export interface RouteMatch__Output { * Indicates that prefix/path matching should be case insensitive. The default * is true. */ - 'case_sensitive': (_google_protobuf_BoolValue__Output); + 'case_sensitive'?: (_google_protobuf_BoolValue__Output); /** * Specifies a set of headers that the route should match on. The router will * check the request’s headers against all the specified headers in the route @@ -201,7 +201,7 @@ export interface RouteMatch__Output { * that the content-type header has a application/grpc or one of the various * application/grpc+ values. */ - 'grpc': (_envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions__Output); + 'grpc'?: (_envoy_api_v2_route_RouteMatch_GrpcRouteMatchOptions__Output); /** * Indicates that the route should additionally match on a runtime key. Every time the route * is considered for a match, it must also fall under the percentage of matches indicated by @@ -220,7 +220,7 @@ export interface RouteMatch__Output { * instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent * whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics. */ - 'runtime_fraction': (_envoy_api_v2_core_RuntimeFractionalPercent__Output); + 'runtime_fraction'?: (_envoy_api_v2_core_RuntimeFractionalPercent__Output); /** * If specified, the route is a regular expression rule meaning that the * regex must match the *:path* header once the query string is removed. The entire path @@ -242,6 +242,6 @@ export interface RouteMatch__Output { * * [#next-major-version: unify with RBAC] */ - 'tls_context': (_envoy_api_v2_route_RouteMatch_TlsContextMatchOptions__Output); + 'tls_context'?: (_envoy_api_v2_route_RouteMatch_TlsContextMatchOptions__Output); 'path_specifier': "prefix"|"path"|"regex"|"safe_regex"; } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.ts index f69211c43..d60486314 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/Tracing.ts @@ -52,7 +52,7 @@ export interface Tracing__Output { * `. * Default: 100% */ - 'client_sampling': (_envoy_type_FractionalPercent__Output); + 'client_sampling'?: (_envoy_type_FractionalPercent__Output); /** * Target percentage of requests managed by this HTTP connection manager that will be randomly * selected for trace generation, if not requested by the client or not forced. This field is @@ -60,7 +60,7 @@ export interface Tracing__Output { * :ref:`HTTP Connection Manager `. * Default: 100% */ - 'random_sampling': (_envoy_type_FractionalPercent__Output); + 'random_sampling'?: (_envoy_type_FractionalPercent__Output); /** * Target percentage of requests managed by this HTTP connection manager that will be traced * after all other sampling checks have been applied (client-directed, force tracing, random @@ -71,7 +71,7 @@ export interface Tracing__Output { * :ref:`HTTP Connection Manager `. * Default: 100% */ - 'overall_sampling': (_envoy_type_FractionalPercent__Output); + 'overall_sampling'?: (_envoy_type_FractionalPercent__Output); /** * A list of custom tags with unique tag name to create tags for the active span. * It will take effect after merging with the :ref:`corresponding configuration diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts index ebb926f16..5c8c6cfa6 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/VirtualHost.ts @@ -119,7 +119,7 @@ export interface VirtualHost { * specific; see the :ref:`HTTP filter documentation ` * for if and how it is utilized. */ - 'per_filter_config'?: (_google_protobuf_Struct); + 'per_filter_config'?: ({[key: string]: _google_protobuf_Struct}); /** * Specifies a list of HTTP headers that should be removed from each request * handled by this virtual host. @@ -145,7 +145,7 @@ export interface VirtualHost { * specific; see the :ref:`HTTP filter documentation ` * for if and how it is utilized. */ - 'typed_per_filter_config'?: (_google_protobuf_Any); + 'typed_per_filter_config'?: ({[key: string]: _google_protobuf_Any}); /** * Indicates the retry policy for all routes in this virtual host. Note that setting a * route level entry will take precedence over this config and it'll be treated @@ -252,7 +252,7 @@ export interface VirtualHost__Output { /** * Indicates that the virtual host has a CORS policy. */ - 'cors': (_envoy_api_v2_route_CorsPolicy__Output); + 'cors'?: (_envoy_api_v2_route_CorsPolicy__Output); /** * Specifies a list of HTTP headers that should be added to each response * handled by this virtual host. Headers specified at this level are applied @@ -274,7 +274,7 @@ export interface VirtualHost__Output { * specific; see the :ref:`HTTP filter documentation ` * for if and how it is utilized. */ - 'per_filter_config': (_google_protobuf_Struct__Output); + 'per_filter_config'?: ({[key: string]: _google_protobuf_Struct__Output}); /** * Specifies a list of HTTP headers that should be removed from each request * handled by this virtual host. @@ -300,25 +300,25 @@ export interface VirtualHost__Output { * specific; see the :ref:`HTTP filter documentation ` * for if and how it is utilized. */ - 'typed_per_filter_config': (_google_protobuf_Any__Output); + 'typed_per_filter_config'?: ({[key: string]: _google_protobuf_Any__Output}); /** * Indicates the retry policy for all routes in this virtual host. Note that setting a * route level entry will take precedence over this config and it'll be treated * independently (e.g.: values are not inherited). */ - 'retry_policy': (_envoy_api_v2_route_RetryPolicy__Output); + 'retry_policy'?: (_envoy_api_v2_route_RetryPolicy__Output); /** * Indicates the hedge policy for all routes in this virtual host. Note that setting a * route level entry will take precedence over this config and it'll be treated * independently (e.g.: values are not inherited). */ - 'hedge_policy': (_envoy_api_v2_route_HedgePolicy__Output); + 'hedge_policy'?: (_envoy_api_v2_route_HedgePolicy__Output); /** * The maximum bytes which will be buffered for retries and shadowing. * If set and a route-specific limit is not set, the bytes actually buffered will be the minimum * value of this and the listener per_connection_buffer_limit_bytes. */ - 'per_request_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); + 'per_request_buffer_limit_bytes'?: (_google_protobuf_UInt32Value__Output); /** * Decides whether the :ref:`x-envoy-attempt-count * ` header should be included @@ -337,5 +337,5 @@ export interface VirtualHost__Output { * inherited). :ref:`Retry policy ` should not be * set if this field is used. */ - 'retry_policy_typed_config': (_google_protobuf_Any__Output); + 'retry_policy_typed_config'?: (_google_protobuf_Any__Output); } diff --git a/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts b/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts index fb0c260b3..512c06b4d 100644 --- a/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts +++ b/packages/grpc-js/src/generated/envoy/api/v2/route/WeightedCluster.ts @@ -67,7 +67,7 @@ export interface _envoy_api_v2_route_WeightedCluster_ClusterWeight { * specific; see the :ref:`HTTP filter documentation ` * for if and how it is utilized. */ - 'per_filter_config'?: (_google_protobuf_Struct); + 'per_filter_config'?: ({[key: string]: _google_protobuf_Struct}); /** * The per_filter_config field can be used to provide weighted cluster-specific * configurations for filters. The key should match the filter name, such as @@ -75,7 +75,7 @@ export interface _envoy_api_v2_route_WeightedCluster_ClusterWeight { * specific; see the :ref:`HTTP filter documentation ` * for if and how it is utilized. */ - 'typed_per_filter_config'?: (_google_protobuf_Any); + 'typed_per_filter_config'?: ({[key: string]: _google_protobuf_Any}); } /** @@ -93,7 +93,7 @@ export interface _envoy_api_v2_route_WeightedCluster_ClusterWeight__Output { * the choice of an upstream cluster is determined by its weight. The sum of weights across all * entries in the clusters array must add up to the total_weight, which defaults to 100. */ - 'weight': (_google_protobuf_UInt32Value__Output); + 'weight'?: (_google_protobuf_UInt32Value__Output); /** * Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in * the upstream cluster with metadata matching what is set in this field will be considered for @@ -101,7 +101,7 @@ export interface _envoy_api_v2_route_WeightedCluster_ClusterWeight__Output { * :ref:`RouteAction.metadata_match `, with * values here taking precedence. The filter name should be specified as *envoy.lb*. */ - 'metadata_match': (_envoy_api_v2_core_Metadata__Output); + 'metadata_match'?: (_envoy_api_v2_core_Metadata__Output); /** * Specifies a list of headers to be added to requests when this cluster is selected * through the enclosing :ref:`envoy_api_msg_route.RouteAction`. @@ -139,7 +139,7 @@ export interface _envoy_api_v2_route_WeightedCluster_ClusterWeight__Output { * specific; see the :ref:`HTTP filter documentation ` * for if and how it is utilized. */ - 'per_filter_config': (_google_protobuf_Struct__Output); + 'per_filter_config'?: ({[key: string]: _google_protobuf_Struct__Output}); /** * The per_filter_config field can be used to provide weighted cluster-specific * configurations for filters. The key should match the filter name, such as @@ -147,7 +147,7 @@ export interface _envoy_api_v2_route_WeightedCluster_ClusterWeight__Output { * specific; see the :ref:`HTTP filter documentation ` * for if and how it is utilized. */ - 'typed_per_filter_config': (_google_protobuf_Any__Output); + 'typed_per_filter_config'?: ({[key: string]: _google_protobuf_Any__Output}); } /** @@ -209,5 +209,5 @@ export interface WeightedCluster__Output { * Specifies the total weight across all clusters. The sum of all cluster weights must equal this * value, which must be greater than 0. Defaults to 100. */ - 'total_weight': (_google_protobuf_UInt32Value__Output); + 'total_weight'?: (_google_protobuf_UInt32Value__Output); } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.ts index 7a1b23f0d..7ff4a751c 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/AccessLog.ts @@ -47,7 +47,7 @@ export interface AccessLog__Output { /** * Filter which is used to determine if the access log needs to be written. */ - 'filter': (_envoy_config_filter_accesslog_v2_AccessLogFilter__Output); + 'filter'?: (_envoy_config_filter_accesslog_v2_AccessLogFilter__Output); 'config'?: (_google_protobuf_Struct__Output); 'typed_config'?: (_google_protobuf_Any__Output); /** diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.ts index dc4e88872..9e264d7a4 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/ComparisonFilter.ts @@ -44,5 +44,5 @@ export interface ComparisonFilter__Output { /** * Value to compare against. */ - 'value': (_envoy_api_v2_core_RuntimeUInt32__Output); + 'value'?: (_envoy_api_v2_core_RuntimeUInt32__Output); } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.ts index 9a2162efb..e8756385a 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/DurationFilter.ts @@ -19,5 +19,5 @@ export interface DurationFilter__Output { /** * Comparison. */ - 'comparison': (_envoy_config_filter_accesslog_v2_ComparisonFilter__Output); + 'comparison'?: (_envoy_config_filter_accesslog_v2_ComparisonFilter__Output); } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.ts index 56c4df1ea..2b4e6275d 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/HeaderFilter.ts @@ -21,5 +21,5 @@ export interface HeaderFilter__Output { * Only requests with a header which matches the specified HeaderMatcher will pass the filter * check. */ - 'header': (_envoy_api_v2_route_HeaderMatcher__Output); + 'header'?: (_envoy_api_v2_route_HeaderMatcher__Output); } diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.ts index f11e4bc2b..9548b5a16 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/RuntimeFilter.ts @@ -44,7 +44,7 @@ export interface RuntimeFilter__Output { /** * The default sampling percentage. If not specified, defaults to 0% with denominator of 100. */ - 'percent_sampled': (_envoy_type_FractionalPercent__Output); + 'percent_sampled'?: (_envoy_type_FractionalPercent__Output); /** * By default, sampling pivots on the header * :ref:`x-request-id` being present. If diff --git a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.ts b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.ts index 950bd696a..d51d42b49 100644 --- a/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.ts +++ b/packages/grpc-js/src/generated/envoy/config/filter/accesslog/v2/StatusCodeFilter.ts @@ -19,5 +19,5 @@ export interface StatusCodeFilter__Output { /** * Comparison. */ - 'comparison': (_envoy_config_filter_accesslog_v2_ComparisonFilter__Output); + 'comparison'?: (_envoy_config_filter_accesslog_v2_ComparisonFilter__Output); } diff --git a/packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.ts b/packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.ts index 095bc2c53..be4d2415e 100644 --- a/packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.ts +++ b/packages/grpc-js/src/generated/envoy/config/listener/v2/ApiListener.ts @@ -35,5 +35,5 @@ export interface ApiListener__Output { * and http_connection_manager.proto depends on rds.proto, which is in the same directory as * lds.proto, so lds.proto cannot depend on this file.] */ - 'api_listener': (_google_protobuf_Any__Output); + 'api_listener'?: (_google_protobuf_Any__Output); } diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.ts b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.ts index 55c8c8644..390bae053 100644 --- a/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.ts +++ b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatchAndSubstitute.ts @@ -49,7 +49,7 @@ export interface RegexMatchAndSubstitute__Output { * used in the pattern to extract portions of the subject string, and then * referenced in the substitution string. */ - 'pattern': (_envoy_type_matcher_RegexMatcher__Output); + 'pattern'?: (_envoy_type_matcher_RegexMatcher__Output); /** * The string that should be substituted into matching portions of the * subject string during a substitution operation to produce a new string. diff --git a/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.ts b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.ts index 674fef3f5..697b9d6a9 100644 --- a/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.ts +++ b/packages/grpc-js/src/generated/envoy/type/matcher/RegexMatcher.ts @@ -35,7 +35,7 @@ export interface _envoy_type_matcher_RegexMatcher_GoogleRE2__Output { * This field is deprecated; regexp validation should be performed on the management server * instead of being done by each individual client. */ - 'max_program_size': (_google_protobuf_UInt32Value__Output); + 'max_program_size'?: (_google_protobuf_UInt32Value__Output); } /** diff --git a/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts b/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts index 0b5874d97..75d33cf4a 100644 --- a/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts +++ b/packages/grpc-js/src/generated/envoy/type/tracing/v2/CustomTag.ts @@ -122,11 +122,11 @@ export interface _envoy_type_tracing_v2_CustomTag_Metadata__Output { /** * Specify what kind of metadata to obtain tag value from. */ - 'kind': (_envoy_type_metadata_v2_MetadataKind__Output); + 'kind'?: (_envoy_type_metadata_v2_MetadataKind__Output); /** * Metadata key to define the path to retrieve the tag value. */ - 'metadata_key': (_envoy_type_metadata_v2_MetadataKey__Output); + 'metadata_key'?: (_envoy_type_metadata_v2_MetadataKey__Output); /** * When no valid metadata is found, * the tag value would be populated with this default value if specified, diff --git a/packages/grpc-js/src/generated/google/protobuf/DescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/DescriptorProto.ts index 423ec0f03..8ab286897 100644 --- a/packages/grpc-js/src/generated/google/protobuf/DescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/DescriptorProto.ts @@ -46,7 +46,7 @@ export interface DescriptorProto__Output { 'enumType': (_google_protobuf_EnumDescriptorProto__Output)[]; 'extensionRange': (_google_protobuf_DescriptorProto_ExtensionRange__Output)[]; 'extension': (_google_protobuf_FieldDescriptorProto__Output)[]; - 'options': (_google_protobuf_MessageOptions__Output); + 'options'?: (_google_protobuf_MessageOptions__Output); 'oneofDecl': (_google_protobuf_OneofDescriptorProto__Output)[]; 'reservedRange': (_google_protobuf_DescriptorProto_ReservedRange__Output)[]; 'reservedName': (string)[]; diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.ts index 5c5f2b7bb..1971fccb0 100644 --- a/packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/EnumDescriptorProto.ts @@ -12,5 +12,5 @@ export interface EnumDescriptorProto { export interface EnumDescriptorProto__Output { 'name': (string); 'value': (_google_protobuf_EnumValueDescriptorProto__Output)[]; - 'options': (_google_protobuf_EnumOptions__Output); + 'options'?: (_google_protobuf_EnumOptions__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumOptions.ts b/packages/grpc-js/src/generated/google/protobuf/EnumOptions.ts index 9671ecc31..a4f3b7a45 100644 --- a/packages/grpc-js/src/generated/google/protobuf/EnumOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/EnumOptions.ts @@ -14,5 +14,5 @@ export interface EnumOptions__Output { 'allowAlias': (boolean); 'deprecated': (boolean); 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; - '.udpa.annotations.enum_migrate': (_udpa_annotations_MigrateAnnotation__Output); + '.udpa.annotations.enum_migrate'?: (_udpa_annotations_MigrateAnnotation__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.ts index 042c82ff9..919b7aa38 100644 --- a/packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/EnumValueDescriptorProto.ts @@ -11,5 +11,5 @@ export interface EnumValueDescriptorProto { export interface EnumValueDescriptorProto__Output { 'name': (string); 'number': (number); - 'options': (_google_protobuf_EnumValueOptions__Output); + 'options'?: (_google_protobuf_EnumValueOptions__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.ts b/packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.ts index 2d4036158..0fac2df8f 100644 --- a/packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/EnumValueOptions.ts @@ -14,5 +14,5 @@ export interface EnumValueOptions__Output { 'deprecated': (boolean); 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; '.envoy.annotations.disallowed_by_default_enum': (boolean); - '.udpa.annotations.enum_value_migrate': (_udpa_annotations_MigrateAnnotation__Output); + '.udpa.annotations.enum_value_migrate'?: (_udpa_annotations_MigrateAnnotation__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.ts index f9c52a7e1..e0a1f4580 100644 --- a/packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/FieldDescriptorProto.ts @@ -54,7 +54,7 @@ export interface FieldDescriptorProto__Output { 'type': (keyof typeof _google_protobuf_FieldDescriptorProto_Type); 'typeName': (string); 'defaultValue': (string); - 'options': (_google_protobuf_FieldOptions__Output); + 'options'?: (_google_protobuf_FieldOptions__Output); 'oneofIndex': (number); 'jsonName': (string); } diff --git a/packages/grpc-js/src/generated/google/protobuf/FieldOptions.ts b/packages/grpc-js/src/generated/google/protobuf/FieldOptions.ts index dcba8be7c..12a2661a3 100644 --- a/packages/grpc-js/src/generated/google/protobuf/FieldOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/FieldOptions.ts @@ -42,8 +42,8 @@ export interface FieldOptions__Output { 'jstype': (keyof typeof _google_protobuf_FieldOptions_JSType); 'weak': (boolean); 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; - '.validate.rules': (_validate_FieldRules__Output); + '.validate.rules'?: (_validate_FieldRules__Output); '.udpa.annotations.sensitive': (boolean); - '.udpa.annotations.field_migrate': (_udpa_annotations_FieldMigrateAnnotation__Output); + '.udpa.annotations.field_migrate'?: (_udpa_annotations_FieldMigrateAnnotation__Output); '.envoy.annotations.disallowed_by_default': (boolean); } diff --git a/packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.ts index fd69f164e..65315a644 100644 --- a/packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/FileDescriptorProto.ts @@ -30,8 +30,8 @@ export interface FileDescriptorProto__Output { 'enumType': (_google_protobuf_EnumDescriptorProto__Output)[]; 'service': (_google_protobuf_ServiceDescriptorProto__Output)[]; 'extension': (_google_protobuf_FieldDescriptorProto__Output)[]; - 'options': (_google_protobuf_FileOptions__Output); - 'sourceCodeInfo': (_google_protobuf_SourceCodeInfo__Output); + 'options'?: (_google_protobuf_FileOptions__Output); + 'sourceCodeInfo'?: (_google_protobuf_SourceCodeInfo__Output); 'publicDependency': (number)[]; 'weakDependency': (number)[]; 'syntax': (string); diff --git a/packages/grpc-js/src/generated/google/protobuf/FileOptions.ts b/packages/grpc-js/src/generated/google/protobuf/FileOptions.ts index ac556b3be..b11540d27 100644 --- a/packages/grpc-js/src/generated/google/protobuf/FileOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/FileOptions.ts @@ -48,6 +48,6 @@ export interface FileOptions__Output { 'objcClassPrefix': (string); 'csharpNamespace': (string); 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; - '.udpa.annotations.file_migrate': (_udpa_annotations_FileMigrateAnnotation__Output); - '.udpa.annotations.file_status': (_udpa_annotations_StatusAnnotation__Output); + '.udpa.annotations.file_migrate'?: (_udpa_annotations_FileMigrateAnnotation__Output); + '.udpa.annotations.file_status'?: (_udpa_annotations_StatusAnnotation__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/MessageOptions.ts b/packages/grpc-js/src/generated/google/protobuf/MessageOptions.ts index 4bdb411ec..88f654828 100644 --- a/packages/grpc-js/src/generated/google/protobuf/MessageOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/MessageOptions.ts @@ -20,5 +20,5 @@ export interface MessageOptions__Output { 'mapEntry': (boolean); 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; '.validate.disabled': (boolean); - '.udpa.annotations.message_migrate': (_udpa_annotations_MigrateAnnotation__Output); + '.udpa.annotations.message_migrate'?: (_udpa_annotations_MigrateAnnotation__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.ts index 2457567b0..b62d45731 100644 --- a/packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/MethodDescriptorProto.ts @@ -15,7 +15,7 @@ export interface MethodDescriptorProto__Output { 'name': (string); 'inputType': (string); 'outputType': (string); - 'options': (_google_protobuf_MethodOptions__Output); + 'options'?: (_google_protobuf_MethodOptions__Output); 'clientStreaming': (boolean); 'serverStreaming': (boolean); } diff --git a/packages/grpc-js/src/generated/google/protobuf/MethodOptions.ts b/packages/grpc-js/src/generated/google/protobuf/MethodOptions.ts index d2bbd8516..a5edbd8bb 100644 --- a/packages/grpc-js/src/generated/google/protobuf/MethodOptions.ts +++ b/packages/grpc-js/src/generated/google/protobuf/MethodOptions.ts @@ -12,5 +12,5 @@ export interface MethodOptions { export interface MethodOptions__Output { 'deprecated': (boolean); 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; - '.google.api.http': (_google_api_HttpRule__Output); + '.google.api.http'?: (_google_api_HttpRule__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.ts index ab1f85e6e..5d1512003 100644 --- a/packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/OneofDescriptorProto.ts @@ -9,5 +9,5 @@ export interface OneofDescriptorProto { export interface OneofDescriptorProto__Output { 'name': (string); - 'options': (_google_protobuf_OneofOptions__Output); + 'options'?: (_google_protobuf_OneofOptions__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.ts b/packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.ts index 0e0bd5bab..fe5cab5b4 100644 --- a/packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.ts +++ b/packages/grpc-js/src/generated/google/protobuf/ServiceDescriptorProto.ts @@ -12,5 +12,5 @@ export interface ServiceDescriptorProto { export interface ServiceDescriptorProto__Output { 'name': (string); 'method': (_google_protobuf_MethodDescriptorProto__Output)[]; - 'options': (_google_protobuf_ServiceOptions__Output); + 'options'?: (_google_protobuf_ServiceOptions__Output); } diff --git a/packages/grpc-js/src/generated/google/protobuf/Struct.ts b/packages/grpc-js/src/generated/google/protobuf/Struct.ts index 436a251a3..4b4c3be78 100644 --- a/packages/grpc-js/src/generated/google/protobuf/Struct.ts +++ b/packages/grpc-js/src/generated/google/protobuf/Struct.ts @@ -3,9 +3,9 @@ import { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from '../../google/protobuf/Value'; export interface Struct { - 'fields'?: (_google_protobuf_Value); + 'fields'?: ({[key: string]: _google_protobuf_Value}); } export interface Struct__Output { - 'fields': (_google_protobuf_Value__Output); + 'fields'?: ({[key: string]: _google_protobuf_Value__Output}); } diff --git a/packages/grpc-js/src/generated/validate/DurationRules.ts b/packages/grpc-js/src/generated/validate/DurationRules.ts index ed249bc8d..8a74651c8 100644 --- a/packages/grpc-js/src/generated/validate/DurationRules.ts +++ b/packages/grpc-js/src/generated/validate/DurationRules.ts @@ -59,27 +59,27 @@ export interface DurationRules__Output { /** * Const specifies that this field must be exactly the specified value */ - 'const': (_google_protobuf_Duration__Output); + 'const'?: (_google_protobuf_Duration__Output); /** * Lt specifies that this field must be less than the specified value, * exclusive */ - 'lt': (_google_protobuf_Duration__Output); + 'lt'?: (_google_protobuf_Duration__Output); /** * Lt specifies that this field must be less than the specified value, * inclusive */ - 'lte': (_google_protobuf_Duration__Output); + 'lte'?: (_google_protobuf_Duration__Output); /** * Gt specifies that this field must be greater than the specified value, * exclusive */ - 'gt': (_google_protobuf_Duration__Output); + 'gt'?: (_google_protobuf_Duration__Output); /** * Gte specifies that this field must be greater than the specified value, * inclusive */ - 'gte': (_google_protobuf_Duration__Output); + 'gte'?: (_google_protobuf_Duration__Output); /** * In specifies that this field must be equal to one of the specified * values diff --git a/packages/grpc-js/src/generated/validate/FieldRules.ts b/packages/grpc-js/src/generated/validate/FieldRules.ts index 3601f0dad..09cd9d9ee 100644 --- a/packages/grpc-js/src/generated/validate/FieldRules.ts +++ b/packages/grpc-js/src/generated/validate/FieldRules.ts @@ -90,7 +90,7 @@ export interface FieldRules__Output { * Complex Field Types */ 'enum'?: (_validate_EnumRules__Output); - 'message': (_validate_MessageRules__Output); + 'message'?: (_validate_MessageRules__Output); 'repeated'?: (_validate_RepeatedRules__Output); 'map'?: (_validate_MapRules__Output); /** diff --git a/packages/grpc-js/src/generated/validate/MapRules.ts b/packages/grpc-js/src/generated/validate/MapRules.ts index 5ebe1836d..1be003f65 100644 --- a/packages/grpc-js/src/generated/validate/MapRules.ts +++ b/packages/grpc-js/src/generated/validate/MapRules.ts @@ -56,11 +56,11 @@ export interface MapRules__Output { /** * Keys specifies the constraints to be applied to each key in the field. */ - 'keys': (_validate_FieldRules__Output); + 'keys'?: (_validate_FieldRules__Output); /** * Values specifies the constraints to be applied to the value of each key * in the field. Message values will still have their validations evaluated * unless skip is specified here. */ - 'values': (_validate_FieldRules__Output); + 'values'?: (_validate_FieldRules__Output); } diff --git a/packages/grpc-js/src/generated/validate/RepeatedRules.ts b/packages/grpc-js/src/generated/validate/RepeatedRules.ts index 921c80dba..b3b690684 100644 --- a/packages/grpc-js/src/generated/validate/RepeatedRules.ts +++ b/packages/grpc-js/src/generated/validate/RepeatedRules.ts @@ -56,5 +56,5 @@ export interface RepeatedRules__Output { * Repeated message fields will still execute validation against each item * unless skip is specified here. */ - 'items': (_validate_FieldRules__Output); + 'items'?: (_validate_FieldRules__Output); } diff --git a/packages/grpc-js/src/generated/validate/TimestampRules.ts b/packages/grpc-js/src/generated/validate/TimestampRules.ts index 598e05770..7fd9b0ce4 100644 --- a/packages/grpc-js/src/generated/validate/TimestampRules.ts +++ b/packages/grpc-js/src/generated/validate/TimestampRules.ts @@ -66,27 +66,27 @@ export interface TimestampRules__Output { /** * Const specifies that this field must be exactly the specified value */ - 'const': (_google_protobuf_Timestamp__Output); + 'const'?: (_google_protobuf_Timestamp__Output); /** * Lt specifies that this field must be less than the specified value, * exclusive */ - 'lt': (_google_protobuf_Timestamp__Output); + 'lt'?: (_google_protobuf_Timestamp__Output); /** * Lte specifies that this field must be less than the specified value, * inclusive */ - 'lte': (_google_protobuf_Timestamp__Output); + 'lte'?: (_google_protobuf_Timestamp__Output); /** * Gt specifies that this field must be greater than the specified value, * exclusive */ - 'gt': (_google_protobuf_Timestamp__Output); + 'gt'?: (_google_protobuf_Timestamp__Output); /** * Gte specifies that this field must be greater than the specified value, * inclusive */ - 'gte': (_google_protobuf_Timestamp__Output); + 'gte'?: (_google_protobuf_Timestamp__Output); /** * LtNow specifies that this must be less than the current time. LtNow * can only be used with the Within rule. @@ -102,5 +102,5 @@ export interface TimestampRules__Output { * current time. This constraint can be used alone or with the LtNow and * GtNow rules. */ - 'within': (_google_protobuf_Duration__Output); + 'within'?: (_google_protobuf_Duration__Output); } diff --git a/packages/grpc-js/src/xds-bootstrap.ts b/packages/grpc-js/src/xds-bootstrap.ts index ca360f483..4bf6245d3 100644 --- a/packages/grpc-js/src/xds-bootstrap.ts +++ b/packages/grpc-js/src/xds-bootstrap.ts @@ -134,21 +134,13 @@ function getStructFromJson(obj: any): Struct { if (typeof obj !== 'object' || obj === null) { throw new Error('Invalid JSON object for Struct field'); } - const result = Object.keys(obj).map((key) => validateValue(key)); - if (result.length === 1) { - return { - fields: result[0], - }; - } else { - return { - fields: { - kind: 'listValue', - listValue: { - values: result, - }, - }, - }; + const fields: {[key: string]: Value} = {}; + for (const [fieldName, value] of Object.entries(obj)) { + fields[fieldName] = validateValue(value); } + return { + fields + }; } /** From 6b03311475488cf0a642a4f42e75019c893485b1 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Tue, 21 Jul 2020 10:10:51 -0700 Subject: [PATCH 19/19] gts fix --- packages/grpc-js/src/xds-bootstrap.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/grpc-js/src/xds-bootstrap.ts b/packages/grpc-js/src/xds-bootstrap.ts index 4bf6245d3..b8e446b25 100644 --- a/packages/grpc-js/src/xds-bootstrap.ts +++ b/packages/grpc-js/src/xds-bootstrap.ts @@ -134,12 +134,12 @@ function getStructFromJson(obj: any): Struct { if (typeof obj !== 'object' || obj === null) { throw new Error('Invalid JSON object for Struct field'); } - const fields: {[key: string]: Value} = {}; + const fields: { [key: string]: Value } = {}; for (const [fieldName, value] of Object.entries(obj)) { fields[fieldName] = validateValue(value); } return { - fields + fields, }; }