1syntax = "proto3"; 2 3package envoy.type.v3; 4 5import "udpa/annotations/status.proto"; 6import "udpa/annotations/versioning.proto"; 7 8option java_package = "io.envoyproxy.envoy.type.v3"; 9option java_outer_classname = "RangeProto"; 10option java_multiple_files = true; 11option go_package = "github.com/envoyproxy/go-control-plane/envoy/type/v3;typev3"; 12option (udpa.annotations.file_status).package_version_status = ACTIVE; 13 14// [#protodoc-title: Range] 15 16// Specifies the int64 start and end of the range using half-open interval semantics [start, 17// end). 18message Int64Range { 19 option (udpa.annotations.versioning).previous_message_type = "envoy.type.Int64Range"; 20 21 // start of the range (inclusive) 22 int64 start = 1; 23 24 // end of the range (exclusive) 25 int64 end = 2; 26} 27 28// Specifies the int32 start and end of the range using half-open interval semantics [start, 29// end). 30message Int32Range { 31 option (udpa.annotations.versioning).previous_message_type = "envoy.type.Int32Range"; 32 33 // start of the range (inclusive) 34 int32 start = 1; 35 36 // end of the range (exclusive) 37 int32 end = 2; 38} 39 40// Specifies the double start and end of the range using half-open interval semantics [start, 41// end). 42message DoubleRange { 43 option (udpa.annotations.versioning).previous_message_type = "envoy.type.DoubleRange"; 44 45 // start of the range (inclusive) 46 double start = 1; 47 48 // end of the range (exclusive) 49 double end = 2; 50} 51