github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/type/range.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/type/range.proto 6 7 package envoy_type 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 proto "github.com/golang/protobuf/proto" 12 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 13 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 14 reflect "reflect" 15 sync "sync" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 // This is a compile-time assertion that a sufficiently up-to-date version 26 // of the legacy proto package is being used. 27 const _ = proto.ProtoPackageIsVersion4 28 29 // Specifies the int64 start and end of the range using half-open interval semantics [start, 30 // end). 31 type Int64Range struct { 32 state protoimpl.MessageState 33 sizeCache protoimpl.SizeCache 34 unknownFields protoimpl.UnknownFields 35 36 // start of the range (inclusive) 37 Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` 38 // end of the range (exclusive) 39 End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` 40 } 41 42 func (x *Int64Range) Reset() { 43 *x = Int64Range{} 44 if protoimpl.UnsafeEnabled { 45 mi := &file_envoy_type_range_proto_msgTypes[0] 46 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 47 ms.StoreMessageInfo(mi) 48 } 49 } 50 51 func (x *Int64Range) String() string { 52 return protoimpl.X.MessageStringOf(x) 53 } 54 55 func (*Int64Range) ProtoMessage() {} 56 57 func (x *Int64Range) ProtoReflect() protoreflect.Message { 58 mi := &file_envoy_type_range_proto_msgTypes[0] 59 if protoimpl.UnsafeEnabled && x != nil { 60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 61 if ms.LoadMessageInfo() == nil { 62 ms.StoreMessageInfo(mi) 63 } 64 return ms 65 } 66 return mi.MessageOf(x) 67 } 68 69 // Deprecated: Use Int64Range.ProtoReflect.Descriptor instead. 70 func (*Int64Range) Descriptor() ([]byte, []int) { 71 return file_envoy_type_range_proto_rawDescGZIP(), []int{0} 72 } 73 74 func (x *Int64Range) GetStart() int64 { 75 if x != nil { 76 return x.Start 77 } 78 return 0 79 } 80 81 func (x *Int64Range) GetEnd() int64 { 82 if x != nil { 83 return x.End 84 } 85 return 0 86 } 87 88 // Specifies the int32 start and end of the range using half-open interval semantics [start, 89 // end). 90 type Int32Range struct { 91 state protoimpl.MessageState 92 sizeCache protoimpl.SizeCache 93 unknownFields protoimpl.UnknownFields 94 95 // start of the range (inclusive) 96 Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` 97 // end of the range (exclusive) 98 End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` 99 } 100 101 func (x *Int32Range) Reset() { 102 *x = Int32Range{} 103 if protoimpl.UnsafeEnabled { 104 mi := &file_envoy_type_range_proto_msgTypes[1] 105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 106 ms.StoreMessageInfo(mi) 107 } 108 } 109 110 func (x *Int32Range) String() string { 111 return protoimpl.X.MessageStringOf(x) 112 } 113 114 func (*Int32Range) ProtoMessage() {} 115 116 func (x *Int32Range) ProtoReflect() protoreflect.Message { 117 mi := &file_envoy_type_range_proto_msgTypes[1] 118 if protoimpl.UnsafeEnabled && x != nil { 119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 120 if ms.LoadMessageInfo() == nil { 121 ms.StoreMessageInfo(mi) 122 } 123 return ms 124 } 125 return mi.MessageOf(x) 126 } 127 128 // Deprecated: Use Int32Range.ProtoReflect.Descriptor instead. 129 func (*Int32Range) Descriptor() ([]byte, []int) { 130 return file_envoy_type_range_proto_rawDescGZIP(), []int{1} 131 } 132 133 func (x *Int32Range) GetStart() int32 { 134 if x != nil { 135 return x.Start 136 } 137 return 0 138 } 139 140 func (x *Int32Range) GetEnd() int32 { 141 if x != nil { 142 return x.End 143 } 144 return 0 145 } 146 147 // Specifies the double start and end of the range using half-open interval semantics [start, 148 // end). 149 type DoubleRange struct { 150 state protoimpl.MessageState 151 sizeCache protoimpl.SizeCache 152 unknownFields protoimpl.UnknownFields 153 154 // start of the range (inclusive) 155 Start float64 `protobuf:"fixed64,1,opt,name=start,proto3" json:"start,omitempty"` 156 // end of the range (exclusive) 157 End float64 `protobuf:"fixed64,2,opt,name=end,proto3" json:"end,omitempty"` 158 } 159 160 func (x *DoubleRange) Reset() { 161 *x = DoubleRange{} 162 if protoimpl.UnsafeEnabled { 163 mi := &file_envoy_type_range_proto_msgTypes[2] 164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 165 ms.StoreMessageInfo(mi) 166 } 167 } 168 169 func (x *DoubleRange) String() string { 170 return protoimpl.X.MessageStringOf(x) 171 } 172 173 func (*DoubleRange) ProtoMessage() {} 174 175 func (x *DoubleRange) ProtoReflect() protoreflect.Message { 176 mi := &file_envoy_type_range_proto_msgTypes[2] 177 if protoimpl.UnsafeEnabled && x != nil { 178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 179 if ms.LoadMessageInfo() == nil { 180 ms.StoreMessageInfo(mi) 181 } 182 return ms 183 } 184 return mi.MessageOf(x) 185 } 186 187 // Deprecated: Use DoubleRange.ProtoReflect.Descriptor instead. 188 func (*DoubleRange) Descriptor() ([]byte, []int) { 189 return file_envoy_type_range_proto_rawDescGZIP(), []int{2} 190 } 191 192 func (x *DoubleRange) GetStart() float64 { 193 if x != nil { 194 return x.Start 195 } 196 return 0 197 } 198 199 func (x *DoubleRange) GetEnd() float64 { 200 if x != nil { 201 return x.End 202 } 203 return 0 204 } 205 206 var File_envoy_type_range_proto protoreflect.FileDescriptor 207 208 var file_envoy_type_range_proto_rawDesc = []byte{ 209 0x0a, 0x16, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x72, 0x61, 0x6e, 210 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 211 0x74, 0x79, 0x70, 0x65, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 212 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 213 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x0a, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x61, 0x6e, 0x67, 214 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 215 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 216 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0x34, 0x0a, 0x0a, 0x49, 0x6e, 0x74, 217 0x33, 0x32, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 218 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 219 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 220 0x35, 0x0a, 0x0b, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 221 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x73, 222 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 223 0x01, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x42, 0x30, 0x0a, 0x18, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 224 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 225 0x70, 0x65, 0x42, 0x0a, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 226 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 227 } 228 229 var ( 230 file_envoy_type_range_proto_rawDescOnce sync.Once 231 file_envoy_type_range_proto_rawDescData = file_envoy_type_range_proto_rawDesc 232 ) 233 234 func file_envoy_type_range_proto_rawDescGZIP() []byte { 235 file_envoy_type_range_proto_rawDescOnce.Do(func() { 236 file_envoy_type_range_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_type_range_proto_rawDescData) 237 }) 238 return file_envoy_type_range_proto_rawDescData 239 } 240 241 var file_envoy_type_range_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 242 var file_envoy_type_range_proto_goTypes = []interface{}{ 243 (*Int64Range)(nil), // 0: envoy.type.Int64Range 244 (*Int32Range)(nil), // 1: envoy.type.Int32Range 245 (*DoubleRange)(nil), // 2: envoy.type.DoubleRange 246 } 247 var file_envoy_type_range_proto_depIdxs = []int32{ 248 0, // [0:0] is the sub-list for method output_type 249 0, // [0:0] is the sub-list for method input_type 250 0, // [0:0] is the sub-list for extension type_name 251 0, // [0:0] is the sub-list for extension extendee 252 0, // [0:0] is the sub-list for field type_name 253 } 254 255 func init() { file_envoy_type_range_proto_init() } 256 func file_envoy_type_range_proto_init() { 257 if File_envoy_type_range_proto != nil { 258 return 259 } 260 if !protoimpl.UnsafeEnabled { 261 file_envoy_type_range_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 262 switch v := v.(*Int64Range); i { 263 case 0: 264 return &v.state 265 case 1: 266 return &v.sizeCache 267 case 2: 268 return &v.unknownFields 269 default: 270 return nil 271 } 272 } 273 file_envoy_type_range_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 274 switch v := v.(*Int32Range); i { 275 case 0: 276 return &v.state 277 case 1: 278 return &v.sizeCache 279 case 2: 280 return &v.unknownFields 281 default: 282 return nil 283 } 284 } 285 file_envoy_type_range_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 286 switch v := v.(*DoubleRange); i { 287 case 0: 288 return &v.state 289 case 1: 290 return &v.sizeCache 291 case 2: 292 return &v.unknownFields 293 default: 294 return nil 295 } 296 } 297 } 298 type x struct{} 299 out := protoimpl.TypeBuilder{ 300 File: protoimpl.DescBuilder{ 301 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 302 RawDescriptor: file_envoy_type_range_proto_rawDesc, 303 NumEnums: 0, 304 NumMessages: 3, 305 NumExtensions: 0, 306 NumServices: 0, 307 }, 308 GoTypes: file_envoy_type_range_proto_goTypes, 309 DependencyIndexes: file_envoy_type_range_proto_depIdxs, 310 MessageInfos: file_envoy_type_range_proto_msgTypes, 311 }.Build() 312 File_envoy_type_range_proto = out.File 313 file_envoy_type_range_proto_rawDesc = nil 314 file_envoy_type_range_proto_goTypes = nil 315 file_envoy_type_range_proto_depIdxs = nil 316 }