Skip to content

Commit c3d7df6

Browse files
committed
Revert "[xds] Update protobuf definitions to v1.37.0 (#6591)"
This reverts commit 1b7aee1.
1 parent 1b7aee1 commit c3d7df6

File tree

94 files changed

+688
-3221
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+688
-3221
lines changed

xds-api/src/main/proto/envoy/admin/v3/server_info.proto

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ message ServerInfo {
5959
config.core.v3.Node node = 7;
6060
}
6161

62-
// [#next-free-field: 43]
62+
// [#next-free-field: 42]
6363
message CommandLineOptions {
6464
option (udpa.annotations.versioning).previous_message_type =
6565
"envoy.admin.v2alpha.CommandLineOptions";
@@ -161,9 +161,6 @@ message CommandLineOptions {
161161
// See :option:`--file-flush-interval-msec` for details.
162162
google.protobuf.Duration file_flush_interval = 16;
163163

164-
// See :option:`--file-flush-min-size-kb` for details.
165-
uint32 file_flush_min_size = 42;
166-
167164
// See :option:`--drain-time-s` for details.
168165
google.protobuf.Duration drain_time = 17;
169166

xds-api/src/main/proto/envoy/config/accesslog/v3/accesslog.proto

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ message ComparisonFilter {
108108

109109
// <=
110110
LE = 2;
111-
112-
// !=
113-
NE = 3;
114111
}
115112

116113
// Comparison operator.

xds-api/src/main/proto/envoy/config/bootstrap/v3/bootstrap.proto

Lines changed: 79 additions & 108 deletions
Large diffs are not rendered by default.

xds-api/src/main/proto/envoy/config/cluster/v3/cluster.proto

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import "google/protobuf/struct.proto";
2222
import "google/protobuf/wrappers.proto";
2323

2424
import "xds/core/v3/collection_entry.proto";
25-
import "xds/type/matcher/v3/matcher.proto";
2625

2726
import "envoy/annotations/deprecation.proto";
2827
import "udpa/annotations/migrate.proto";
@@ -46,7 +45,7 @@ message ClusterCollection {
4645
}
4746

4847
// Configuration for a single upstream cluster.
49-
// [#next-free-field: 60]
48+
// [#next-free-field: 59]
5049
message Cluster {
5150
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.Cluster";
5251

@@ -748,9 +747,6 @@ message Cluster {
748747
// If both this and preconnect_ratio are set, Envoy will make sure both predicted needs are met,
749748
// basically preconnecting max(predictive-preconnect, per-upstream-preconnect), for each
750749
// upstream.
751-
//
752-
// This is limited somewhat arbitrarily to 3 because preconnecting too aggressively can
753-
// harm latency more than the preconnecting helps.
754750
google.protobuf.DoubleValue predictive_preconnect_ratio = 2
755751
[(validate.rules).double = {lte: 3.0 gte: 1.0}];
756752
}
@@ -813,41 +809,6 @@ message Cluster {
813809
// [#comment:TODO(incfly): add a detailed architecture doc on intended usage.]
814810
repeated TransportSocketMatch transport_socket_matches = 43;
815811

816-
// Optional matcher that selects a transport socket from
817-
// :ref:`transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
818-
//
819-
// This matcher uses the generic xDS matcher framework to select a named transport socket
820-
// based on various inputs available at transport socket selection time.
821-
//
822-
// Supported matching inputs:
823-
//
824-
// * ``endpoint_metadata``: Extract values from the selected endpoint's metadata.
825-
// * ``locality_metadata``: Extract values from the endpoint's locality metadata.
826-
// * ``transport_socket_filter_state``: Extract values from filter state that was explicitly shared from
827-
// downstream to upstream via ``TransportSocketOptions``. This enables flexible
828-
// downstream-connection-based matching, such as:
829-
//
830-
// - Network namespace matching.
831-
// - Custom connection attributes.
832-
// - Any data explicitly passed via filter state.
833-
//
834-
// .. note::
835-
// Filter state sharing follows the same pattern as tunneling in Envoy. Filters must explicitly
836-
// share data by setting filter state with the appropriate sharing mode. The filter state is
837-
// then accessible via the ``transport_socket_filter_state`` input during transport socket selection.
838-
//
839-
// If this field is set, it takes precedence over legacy metadata-based selection
840-
// performed by :ref:`transport_socket_matches
841-
// <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>` alone.
842-
// If the matcher does not yield a match, Envoy uses the default transport socket
843-
// configured for the cluster.
844-
//
845-
// When using this field, each entry in
846-
// :ref:`transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`
847-
// must have a unique ``name``. The matcher outcome is expected to reference one of
848-
// these names.
849-
xds.type.matcher.v3.Matcher transport_socket_matcher = 59;
850-
851812
// Supplies the name of the cluster which must be unique across all clusters.
852813
// The cluster name is used when emitting
853814
// :ref:`statistics <config_cluster_manager_cluster_stats>` if :ref:`alt_stat_name

xds-api/src/main/proto/envoy/config/core/v3/address.proto

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,18 +115,16 @@ message TcpKeepalive {
115115

116116
// Maximum number of keepalive probes to send without response before deciding
117117
// the connection is dead. Default is to use the OS level configuration (unless
118-
// overridden, Linux defaults to 9.) Setting this to ``0`` disables TCP keepalive.
118+
// overridden, Linux defaults to 9.)
119119
google.protobuf.UInt32Value keepalive_probes = 1;
120120

121121
// The number of seconds a connection needs to be idle before keep-alive probes
122122
// start being sent. Default is to use the OS level configuration (unless
123-
// overridden, Linux defaults to 7200s (i.e., 2 hours.) Setting this to ``0`` disables
124-
// TCP keepalive.
123+
// overridden, Linux defaults to 7200s (i.e., 2 hours.)
125124
google.protobuf.UInt32Value keepalive_time = 2;
126125

127126
// The number of seconds between keep-alive probes. Default is to use the OS
128-
// level configuration (unless overridden, Linux defaults to 75s.) Setting this to
129-
// ``0`` disables TCP keepalive.
127+
// level configuration (unless overridden, Linux defaults to 75s.)
130128
google.protobuf.UInt32Value keepalive_interval = 3;
131129
}
132130

xds-api/src/main/proto/envoy/config/core/v3/cel.proto

Lines changed: 0 additions & 63 deletions
This file was deleted.

xds-api/src/main/proto/envoy/config/core/v3/grpc_service.proto

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,10 @@ message GrpcService {
4545
[(validate.rules).string =
4646
{min_len: 0 max_bytes: 16384 well_known_regex: HTTP_HEADER_VALUE strict: false}];
4747

48-
// Specifies the retry backoff policy for re-establishing long‑lived xDS gRPC streams.
49-
//
50-
// This field is optional. If ``retry_back_off.max_interval`` is not provided, it will be set to
51-
// ten times the configured ``retry_back_off.base_interval``.
52-
//
53-
// .. note::
54-
//
55-
// This field is only honored for management‑plane xDS gRPC streams created from
56-
// :ref:`ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>` that use
57-
// ``envoy_grpc``. Data‑plane gRPC clients (for example external authorization or external
58-
// processing filters) must use :ref:`GrpcService.retry_policy
59-
// <envoy_v3_api_field_config.core.v3.GrpcService.retry_policy>` instead.
60-
//
61-
// If not set, xDS gRPC streams default to a base interval of 500ms and a maximum interval of 30s.
48+
// Indicates the retry policy for re-establishing the gRPC stream
49+
// This field is optional. If max interval is not provided, it will be set to ten times the provided base interval.
50+
// Currently only supported for xDS gRPC streams.
51+
// If not set, xDS gRPC streams default base interval:500ms, maximum interval:30s will be applied.
6252
RetryPolicy retry_policy = 3;
6353

6454
// Maximum gRPC message size that is allowed to be received.
@@ -339,17 +329,7 @@ message GrpcService {
339329
// <config_http_conn_man_headers_custom_request_headers>`.
340330
repeated HeaderValue initial_metadata = 5;
341331

342-
// Optional default retry policy for RPCs or streams initiated toward this gRPC service.
343-
//
344-
// If an async stream does not have a retry policy configured in its per‑stream options, this
345-
// policy is used as the default.
346-
//
347-
// .. note::
348-
//
349-
// This field is only applied by Envoy gRPC (``envoy_grpc``) clients. Google gRPC
350-
// (``google_grpc``) clients currently ignore this field.
351-
//
352-
// If not specified, no default retry policy is applied at the client level and retries only occur
353-
// when explicitly configured in per‑stream options.
332+
// Optional default retry policy for streams toward the service.
333+
// If an async stream doesn't have retry policy configured in its stream options, this retry policy is used.
354334
RetryPolicy retry_policy = 6;
355335
}

0 commit comments

Comments
 (0)