github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/type/v3/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/v3/range.proto
     6  
     7  package envoy_type_v3
     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_v3_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_v3_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_v3_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_v3_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_v3_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_v3_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_v3_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_v3_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_v3_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_v3_range_proto protoreflect.FileDescriptor
   207  
   208  var file_envoy_type_v3_range_proto_rawDesc = []byte{
   209  	0x0a, 0x19, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f,
   210  	0x72, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x65, 0x6e, 0x76,
   211  	0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61,
   212  	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61,
   213  	0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f,
   214  	0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73,
   215  	0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x0a,
   216  	0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74,
   217  	0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74,
   218  	0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x65,
   219  	0x6e, 0x64, 0x3a, 0x1c, 0x9a, 0xc5, 0x88, 0x1e, 0x17, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79,
   220  	0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x61, 0x6e, 0x67, 0x65,
   221  	0x22, 0x52, 0x0a, 0x0a, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14,
   222  	0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73,
   223  	0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
   224  	0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x3a, 0x1c, 0x9a, 0xc5, 0x88, 0x1e, 0x17, 0x0a, 0x15, 0x65,
   225  	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x52,
   226  	0x61, 0x6e, 0x67, 0x65, 0x22, 0x54, 0x0a, 0x0b, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x61,
   227  	0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01,
   228  	0x28, 0x01, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64,
   229  	0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x3a, 0x1d, 0x9a, 0xc5, 0x88,
   230  	0x1e, 0x18, 0x0a, 0x16, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44,
   231  	0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x33, 0x0a, 0x1b, 0x69, 0x6f,
   232  	0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
   233  	0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x52, 0x61, 0x6e, 0x67, 0x65,
   234  	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62,
   235  	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   236  }
   237  
   238  var (
   239  	file_envoy_type_v3_range_proto_rawDescOnce sync.Once
   240  	file_envoy_type_v3_range_proto_rawDescData = file_envoy_type_v3_range_proto_rawDesc
   241  )
   242  
   243  func file_envoy_type_v3_range_proto_rawDescGZIP() []byte {
   244  	file_envoy_type_v3_range_proto_rawDescOnce.Do(func() {
   245  		file_envoy_type_v3_range_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_type_v3_range_proto_rawDescData)
   246  	})
   247  	return file_envoy_type_v3_range_proto_rawDescData
   248  }
   249  
   250  var file_envoy_type_v3_range_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   251  var file_envoy_type_v3_range_proto_goTypes = []interface{}{
   252  	(*Int64Range)(nil),  // 0: envoy.type.v3.Int64Range
   253  	(*Int32Range)(nil),  // 1: envoy.type.v3.Int32Range
   254  	(*DoubleRange)(nil), // 2: envoy.type.v3.DoubleRange
   255  }
   256  var file_envoy_type_v3_range_proto_depIdxs = []int32{
   257  	0, // [0:0] is the sub-list for method output_type
   258  	0, // [0:0] is the sub-list for method input_type
   259  	0, // [0:0] is the sub-list for extension type_name
   260  	0, // [0:0] is the sub-list for extension extendee
   261  	0, // [0:0] is the sub-list for field type_name
   262  }
   263  
   264  func init() { file_envoy_type_v3_range_proto_init() }
   265  func file_envoy_type_v3_range_proto_init() {
   266  	if File_envoy_type_v3_range_proto != nil {
   267  		return
   268  	}
   269  	if !protoimpl.UnsafeEnabled {
   270  		file_envoy_type_v3_range_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   271  			switch v := v.(*Int64Range); i {
   272  			case 0:
   273  				return &v.state
   274  			case 1:
   275  				return &v.sizeCache
   276  			case 2:
   277  				return &v.unknownFields
   278  			default:
   279  				return nil
   280  			}
   281  		}
   282  		file_envoy_type_v3_range_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   283  			switch v := v.(*Int32Range); i {
   284  			case 0:
   285  				return &v.state
   286  			case 1:
   287  				return &v.sizeCache
   288  			case 2:
   289  				return &v.unknownFields
   290  			default:
   291  				return nil
   292  			}
   293  		}
   294  		file_envoy_type_v3_range_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   295  			switch v := v.(*DoubleRange); i {
   296  			case 0:
   297  				return &v.state
   298  			case 1:
   299  				return &v.sizeCache
   300  			case 2:
   301  				return &v.unknownFields
   302  			default:
   303  				return nil
   304  			}
   305  		}
   306  	}
   307  	type x struct{}
   308  	out := protoimpl.TypeBuilder{
   309  		File: protoimpl.DescBuilder{
   310  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   311  			RawDescriptor: file_envoy_type_v3_range_proto_rawDesc,
   312  			NumEnums:      0,
   313  			NumMessages:   3,
   314  			NumExtensions: 0,
   315  			NumServices:   0,
   316  		},
   317  		GoTypes:           file_envoy_type_v3_range_proto_goTypes,
   318  		DependencyIndexes: file_envoy_type_v3_range_proto_depIdxs,
   319  		MessageInfos:      file_envoy_type_v3_range_proto_msgTypes,
   320  	}.Build()
   321  	File_envoy_type_v3_range_proto = out.File
   322  	file_envoy_type_v3_range_proto_rawDesc = nil
   323  	file_envoy_type_v3_range_proto_goTypes = nil
   324  	file_envoy_type_v3_range_proto_depIdxs = nil
   325  }