protoxform: remove blank line spacing in any enum with no comments. (#8335)

Part of #8082.

Signed-off-by: Harvey Tuch <htuch@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ 55180343016588b0ac56a7518396a78958362cbb
pull/620/head
data-plane-api(CircleCI) 5 years ago
parent 8c096d2317
commit 13a3fb0b9a
  1. 1
      envoy/admin/v2alpha/metrics.proto
  2. 1
      envoy/admin/v2alpha/server_info.proto
  3. 4
      envoy/api/v2/cds.proto
  4. 10
      envoy/api/v2/core/base.proto
  5. 1
      envoy/api/v2/route/route.proto
  6. 16
      envoy/config/filter/accesslog/v2/accesslog.proto
  7. 5
      envoy/config/filter/http/gzip/v2/gzip.proto
  8. 7
      envoy/data/accesslog/v2/accesslog.proto
  9. 5
      envoy/data/core/v2alpha/health_check_event.proto

@ -12,7 +12,6 @@ option java_package = "io.envoyproxy.envoy.admin.v2alpha";
message SimpleMetric {
enum Type {
COUNTER = 0;
GAUGE = 1;
}

@ -49,7 +49,6 @@ message ServerInfo {
message CommandLineOptions {
enum IpVersion {
v4 = 0;
v6 = 1;
}

@ -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;
}

@ -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;
}

@ -499,7 +499,6 @@ message RouteAction {
// Configures :ref:`internal redirect <arch_overview_internal_redirects>` behavior.
enum InternalRedirectAction {
PASS_THROUGH_INTERNAL_REDIRECT = 0;
HANDLE_INTERNAL_REDIRECT = 1;
}

@ -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;
}

@ -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;
}
}

@ -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;
}

@ -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;
}

Loading…
Cancel
Save