From 13a3fb0b9a6846c7931a0e658ccc112d628cd3b2 Mon Sep 17 00:00:00 2001 From: "data-plane-api(CircleCI)" Date: Mon, 23 Sep 2019 23:13:04 +0000 Subject: [PATCH] protoxform: remove blank line spacing in any enum with no comments. (#8335) Part of #8082. Signed-off-by: Harvey Tuch Mirrored from https://github.com/envoyproxy/envoy @ 55180343016588b0ac56a7518396a78958362cbb --- envoy/admin/v2alpha/metrics.proto | 1 - envoy/admin/v2alpha/server_info.proto | 1 - envoy/api/v2/cds.proto | 4 ---- envoy/api/v2/core/base.proto | 10 ---------- envoy/api/v2/route/route.proto | 1 - envoy/config/filter/accesslog/v2/accesslog.proto | 16 ---------------- envoy/config/filter/http/gzip/v2/gzip.proto | 5 ----- envoy/data/accesslog/v2/accesslog.proto | 7 ------- envoy/data/core/v2alpha/health_check_event.proto | 5 ----- 9 files changed, 50 deletions(-) diff --git a/envoy/admin/v2alpha/metrics.proto b/envoy/admin/v2alpha/metrics.proto index c0b489f4..9a91c747 100644 --- a/envoy/admin/v2alpha/metrics.proto +++ b/envoy/admin/v2alpha/metrics.proto @@ -12,7 +12,6 @@ option java_package = "io.envoyproxy.envoy.admin.v2alpha"; message SimpleMetric { enum Type { COUNTER = 0; - GAUGE = 1; } diff --git a/envoy/admin/v2alpha/server_info.proto b/envoy/admin/v2alpha/server_info.proto index b43a6b23..c2b44c06 100644 --- a/envoy/admin/v2alpha/server_info.proto +++ b/envoy/admin/v2alpha/server_info.proto @@ -49,7 +49,6 @@ message ServerInfo { message CommandLineOptions { enum IpVersion { v4 = 0; - v6 = 1; } diff --git a/envoy/api/v2/cds.proto b/envoy/api/v2/cds.proto index 884e94de..bca54c91 100644 --- a/envoy/api/v2/cds.proto +++ b/envoy/api/v2/cds.proto @@ -138,9 +138,7 @@ message Cluster { // ignored. enum DnsLookupFamily { AUTO = 0; - V4_ONLY = 1; - V6_ONLY = 2; } @@ -185,9 +183,7 @@ message Cluster { // endpoints matching the values from the default_subset field. enum LbSubsetFallbackPolicy { NO_FALLBACK = 0; - ANY_ENDPOINT = 1; - DEFAULT_SUBSET = 2; } diff --git a/envoy/api/v2/core/base.proto b/envoy/api/v2/core/base.proto index 3388d31f..eca00760 100644 --- a/envoy/api/v2/core/base.proto +++ b/envoy/api/v2/core/base.proto @@ -26,30 +26,20 @@ import "validate/validate.proto"; // over a single upstream connection. enum RoutingPriority { DEFAULT = 0; - HIGH = 1; } // HTTP request method. 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/envoy/api/v2/route/route.proto b/envoy/api/v2/route/route.proto index aafcfcb0..1678c0ef 100644 --- a/envoy/api/v2/route/route.proto +++ b/envoy/api/v2/route/route.proto @@ -499,7 +499,6 @@ message RouteAction { // Configures :ref:`internal redirect ` behavior. enum InternalRedirectAction { PASS_THROUGH_INTERNAL_REDIRECT = 0; - HANDLE_INTERNAL_REDIRECT = 1; } diff --git a/envoy/config/filter/accesslog/v2/accesslog.proto b/envoy/config/filter/accesslog/v2/accesslog.proto index 7464094f..8810e050 100644 --- a/envoy/config/filter/accesslog/v2/accesslog.proto +++ b/envoy/config/filter/accesslog/v2/accesslog.proto @@ -209,37 +209,21 @@ message ResponseFlagFilter { message GrpcStatusFilter { enum 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; } diff --git a/envoy/config/filter/http/gzip/v2/gzip.proto b/envoy/config/filter/http/gzip/v2/gzip.proto index ac903b69..6b391475 100644 --- a/envoy/config/filter/http/gzip/v2/gzip.proto +++ b/envoy/config/filter/http/gzip/v2/gzip.proto @@ -16,20 +16,15 @@ import "validate/validate.proto"; message Gzip { enum CompressionStrategy { DEFAULT = 0; - FILTERED = 1; - HUFFMAN = 2; - RLE = 3; } message CompressionLevel { enum Enum { DEFAULT = 0; - BEST = 1; - SPEED = 2; } } diff --git a/envoy/data/accesslog/v2/accesslog.proto b/envoy/data/accesslog/v2/accesslog.proto index 0daebb63..1cb7d131 100644 --- a/envoy/data/accesslog/v2/accesslog.proto +++ b/envoy/data/accesslog/v2/accesslog.proto @@ -38,11 +38,8 @@ message HTTPAccessLogEntry { // HTTP version enum HTTPVersion { PROTOCOL_UNSPECIFIED = 0; - HTTP10 = 1; - HTTP11 = 2; - HTTP2 = 3; } @@ -239,13 +236,9 @@ message ResponseFlags { message TLSProperties { enum TLSVersion { VERSION_UNSPECIFIED = 0; - TLSv1 = 1; - TLSv1_1 = 2; - TLSv1_2 = 3; - TLSv1_3 = 4; } diff --git a/envoy/data/core/v2alpha/health_check_event.proto b/envoy/data/core/v2alpha/health_check_event.proto index 454461b2..29c66421 100644 --- a/envoy/data/core/v2alpha/health_check_event.proto +++ b/envoy/data/core/v2alpha/health_check_event.proto @@ -17,19 +17,14 @@ import "validate/validate.proto"; enum HealthCheckFailureType { ACTIVE = 0; - PASSIVE = 1; - NETWORK = 2; } enum HealthCheckerType { HTTP = 0; - TCP = 1; - GRPC = 2; - REDIS = 3; }