gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/service/route/v3/rds.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/service/route/v3/rds.proto
     6  
     7  package envoy_service_route_v3
     8  
     9  import (
    10  	context "context"
    11  	_ "github.com/cncf/xds/go/udpa/annotations"
    12  	_ "gitee.com/ks-custle/core-gm/go-control-plane/envoy/annotations"
    13  	v3 "gitee.com/ks-custle/core-gm/go-control-plane/envoy/service/discovery/v3"
    14  	proto "github.com/golang/protobuf/proto"
    15  	_ "google.golang.org/genproto/googleapis/api/annotations"
    16  	grpc "gitee.com/ks-custle/core-gm/grpc"
    17  	codes "gitee.com/ks-custle/core-gm/grpc/codes"
    18  	status "gitee.com/ks-custle/core-gm/grpc/status"
    19  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    20  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    21  	reflect "reflect"
    22  	sync "sync"
    23  )
    24  
    25  const (
    26  	// Verify that this generated code is sufficiently up-to-date.
    27  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    28  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    29  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    30  )
    31  
    32  // This is a compile-time assertion that a sufficiently up-to-date version
    33  // of the legacy proto package is being used.
    34  const _ = proto.ProtoPackageIsVersion4
    35  
    36  // [#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing
    37  // services: https://github.com/google/protobuf/issues/4221 and protoxform to upgrade the file.
    38  type RdsDummy struct {
    39  	state         protoimpl.MessageState
    40  	sizeCache     protoimpl.SizeCache
    41  	unknownFields protoimpl.UnknownFields
    42  }
    43  
    44  func (x *RdsDummy) Reset() {
    45  	*x = RdsDummy{}
    46  	if protoimpl.UnsafeEnabled {
    47  		mi := &file_envoy_service_route_v3_rds_proto_msgTypes[0]
    48  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    49  		ms.StoreMessageInfo(mi)
    50  	}
    51  }
    52  
    53  func (x *RdsDummy) String() string {
    54  	return protoimpl.X.MessageStringOf(x)
    55  }
    56  
    57  func (*RdsDummy) ProtoMessage() {}
    58  
    59  func (x *RdsDummy) ProtoReflect() protoreflect.Message {
    60  	mi := &file_envoy_service_route_v3_rds_proto_msgTypes[0]
    61  	if protoimpl.UnsafeEnabled && x != nil {
    62  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    63  		if ms.LoadMessageInfo() == nil {
    64  			ms.StoreMessageInfo(mi)
    65  		}
    66  		return ms
    67  	}
    68  	return mi.MessageOf(x)
    69  }
    70  
    71  // Deprecated: Use RdsDummy.ProtoReflect.Descriptor instead.
    72  func (*RdsDummy) Descriptor() ([]byte, []int) {
    73  	return file_envoy_service_route_v3_rds_proto_rawDescGZIP(), []int{0}
    74  }
    75  
    76  var File_envoy_service_route_v3_rds_proto protoreflect.FileDescriptor
    77  
    78  var file_envoy_service_route_v3_rds_proto_rawDesc = []byte{
    79  	0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
    80  	0x72, 0x6f, 0x75, 0x74, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f,
    81  	0x74, 0x6f, 0x12, 0x16, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
    82  	0x65, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x2a, 0x65, 0x6e, 0x76, 0x6f,
    83  	0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76,
    84  	0x65, 0x72, 0x79, 0x2f, 0x76, 0x33, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79,
    85  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
    86  	0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
    87  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
    88  	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
    89  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
    90  	0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
    91  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
    92  	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69,
    93  	0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x28, 0x0a, 0x08, 0x52, 0x64, 0x73, 0x44,
    94  	0x75, 0x6d, 0x6d, 0x79, 0x3a, 0x1c, 0x9a, 0xc5, 0x88, 0x1e, 0x17, 0x0a, 0x15, 0x65, 0x6e, 0x76,
    95  	0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x64, 0x73, 0x44, 0x75, 0x6d,
    96  	0x6d, 0x79, 0x32, 0xcc, 0x03, 0x0a, 0x15, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x44, 0x69, 0x73, 0x63,
    97  	0x6f, 0x76, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x71, 0x0a, 0x0c,
    98  	0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x2e, 0x65,
    99  	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73,
   100  	0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76,
   101  	0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, 0x6e, 0x76,
   102  	0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f,
   103  	0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72,
   104  	0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12,
   105  	0x7a, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x31,
   106  	0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64,
   107  	0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x74,
   108  	0x61, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   109  	0x74, 0x1a, 0x32, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
   110  	0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x2e, 0x44,
   111  	0x65, 0x6c, 0x74, 0x61, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73,
   112  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x91, 0x01, 0x0a, 0x0b,
   113  	0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x2e, 0x65, 0x6e,
   114  	0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63,
   115  	0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65,
   116  	0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
   117  	0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76,
   118  	0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79,
   119  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16,
   120  	0x22, 0x14, 0x2f, 0x76, 0x33, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x3a,
   121  	0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x03, 0x3a, 0x01, 0x2a, 0x1a,
   122  	0x30, 0x8a, 0xa4, 0x96, 0xf3, 0x07, 0x2a, 0x0a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
   123  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52,
   124  	0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
   125  	0x6e, 0x32, 0xcb, 0x01, 0x0a, 0x1b, 0x56, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x48, 0x6f, 0x73,
   126  	0x74, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
   127  	0x65, 0x12, 0x80, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x56, 0x69, 0x72, 0x74, 0x75,
   128  	0x61, 0x6c, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x31, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
   129  	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72,
   130  	0x79, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76,
   131  	0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x65, 0x6e, 0x76,
   132  	0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f,
   133  	0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x44, 0x69, 0x73,
   134  	0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
   135  	0x28, 0x01, 0x30, 0x01, 0x1a, 0x29, 0x8a, 0xa4, 0x96, 0xf3, 0x07, 0x23, 0x0a, 0x21, 0x65, 0x6e,
   136  	0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
   137  	0x2e, 0x76, 0x33, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x48, 0x6f, 0x73, 0x74, 0x42,
   138  	0x3d, 0x0a, 0x24, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79,
   139  	0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x72,
   140  	0x6f, 0x75, 0x74, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x08, 0x52, 0x64, 0x73, 0x50, 0x72, 0x6f, 0x74,
   141  	0x6f, 0x50, 0x01, 0x88, 0x01, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06,
   142  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   143  }
   144  
   145  var (
   146  	file_envoy_service_route_v3_rds_proto_rawDescOnce sync.Once
   147  	file_envoy_service_route_v3_rds_proto_rawDescData = file_envoy_service_route_v3_rds_proto_rawDesc
   148  )
   149  
   150  func file_envoy_service_route_v3_rds_proto_rawDescGZIP() []byte {
   151  	file_envoy_service_route_v3_rds_proto_rawDescOnce.Do(func() {
   152  		file_envoy_service_route_v3_rds_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_route_v3_rds_proto_rawDescData)
   153  	})
   154  	return file_envoy_service_route_v3_rds_proto_rawDescData
   155  }
   156  
   157  var file_envoy_service_route_v3_rds_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   158  var file_envoy_service_route_v3_rds_proto_goTypes = []interface{}{
   159  	(*RdsDummy)(nil),                  // 0: envoy.service.route.v3.RdsDummy
   160  	(*v3.DiscoveryRequest)(nil),       // 1: envoy.service.discovery.v3.DiscoveryRequest
   161  	(*v3.DeltaDiscoveryRequest)(nil),  // 2: envoy.service.discovery.v3.DeltaDiscoveryRequest
   162  	(*v3.DiscoveryResponse)(nil),      // 3: envoy.service.discovery.v3.DiscoveryResponse
   163  	(*v3.DeltaDiscoveryResponse)(nil), // 4: envoy.service.discovery.v3.DeltaDiscoveryResponse
   164  }
   165  var file_envoy_service_route_v3_rds_proto_depIdxs = []int32{
   166  	1, // 0: envoy.service.route.v3.RouteDiscoveryService.StreamRoutes:input_type -> envoy.service.discovery.v3.DiscoveryRequest
   167  	2, // 1: envoy.service.route.v3.RouteDiscoveryService.DeltaRoutes:input_type -> envoy.service.discovery.v3.DeltaDiscoveryRequest
   168  	1, // 2: envoy.service.route.v3.RouteDiscoveryService.FetchRoutes:input_type -> envoy.service.discovery.v3.DiscoveryRequest
   169  	2, // 3: envoy.service.route.v3.VirtualHostDiscoveryService.DeltaVirtualHosts:input_type -> envoy.service.discovery.v3.DeltaDiscoveryRequest
   170  	3, // 4: envoy.service.route.v3.RouteDiscoveryService.StreamRoutes:output_type -> envoy.service.discovery.v3.DiscoveryResponse
   171  	4, // 5: envoy.service.route.v3.RouteDiscoveryService.DeltaRoutes:output_type -> envoy.service.discovery.v3.DeltaDiscoveryResponse
   172  	3, // 6: envoy.service.route.v3.RouteDiscoveryService.FetchRoutes:output_type -> envoy.service.discovery.v3.DiscoveryResponse
   173  	4, // 7: envoy.service.route.v3.VirtualHostDiscoveryService.DeltaVirtualHosts:output_type -> envoy.service.discovery.v3.DeltaDiscoveryResponse
   174  	4, // [4:8] is the sub-list for method output_type
   175  	0, // [0:4] is the sub-list for method input_type
   176  	0, // [0:0] is the sub-list for extension type_name
   177  	0, // [0:0] is the sub-list for extension extendee
   178  	0, // [0:0] is the sub-list for field type_name
   179  }
   180  
   181  func init() { file_envoy_service_route_v3_rds_proto_init() }
   182  func file_envoy_service_route_v3_rds_proto_init() {
   183  	if File_envoy_service_route_v3_rds_proto != nil {
   184  		return
   185  	}
   186  	if !protoimpl.UnsafeEnabled {
   187  		file_envoy_service_route_v3_rds_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   188  			switch v := v.(*RdsDummy); i {
   189  			case 0:
   190  				return &v.state
   191  			case 1:
   192  				return &v.sizeCache
   193  			case 2:
   194  				return &v.unknownFields
   195  			default:
   196  				return nil
   197  			}
   198  		}
   199  	}
   200  	type x struct{}
   201  	out := protoimpl.TypeBuilder{
   202  		File: protoimpl.DescBuilder{
   203  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   204  			RawDescriptor: file_envoy_service_route_v3_rds_proto_rawDesc,
   205  			NumEnums:      0,
   206  			NumMessages:   1,
   207  			NumExtensions: 0,
   208  			NumServices:   2,
   209  		},
   210  		GoTypes:           file_envoy_service_route_v3_rds_proto_goTypes,
   211  		DependencyIndexes: file_envoy_service_route_v3_rds_proto_depIdxs,
   212  		MessageInfos:      file_envoy_service_route_v3_rds_proto_msgTypes,
   213  	}.Build()
   214  	File_envoy_service_route_v3_rds_proto = out.File
   215  	file_envoy_service_route_v3_rds_proto_rawDesc = nil
   216  	file_envoy_service_route_v3_rds_proto_goTypes = nil
   217  	file_envoy_service_route_v3_rds_proto_depIdxs = nil
   218  }
   219  
   220  // Reference imports to suppress errors if they are not otherwise used.
   221  var _ context.Context
   222  var _ grpc.ClientConnInterface
   223  
   224  // This is a compile-time assertion to ensure that this generated file
   225  // is compatible with the grpc package it is being compiled against.
   226  const _ = grpc.SupportPackageIsVersion6
   227  
   228  // RouteDiscoveryServiceClient is the client API for RouteDiscoveryService service.
   229  //
   230  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   231  type RouteDiscoveryServiceClient interface {
   232  	StreamRoutes(ctx context.Context, opts ...grpc.CallOption) (RouteDiscoveryService_StreamRoutesClient, error)
   233  	DeltaRoutes(ctx context.Context, opts ...grpc.CallOption) (RouteDiscoveryService_DeltaRoutesClient, error)
   234  	FetchRoutes(ctx context.Context, in *v3.DiscoveryRequest, opts ...grpc.CallOption) (*v3.DiscoveryResponse, error)
   235  }
   236  
   237  type routeDiscoveryServiceClient struct {
   238  	cc grpc.ClientConnInterface
   239  }
   240  
   241  func NewRouteDiscoveryServiceClient(cc grpc.ClientConnInterface) RouteDiscoveryServiceClient {
   242  	return &routeDiscoveryServiceClient{cc}
   243  }
   244  
   245  func (c *routeDiscoveryServiceClient) StreamRoutes(ctx context.Context, opts ...grpc.CallOption) (RouteDiscoveryService_StreamRoutesClient, error) {
   246  	stream, err := c.cc.NewStream(ctx, &_RouteDiscoveryService_serviceDesc.Streams[0], "/envoy.service.route.v3.RouteDiscoveryService/StreamRoutes", opts...)
   247  	if err != nil {
   248  		return nil, err
   249  	}
   250  	x := &routeDiscoveryServiceStreamRoutesClient{stream}
   251  	return x, nil
   252  }
   253  
   254  type RouteDiscoveryService_StreamRoutesClient interface {
   255  	Send(*v3.DiscoveryRequest) error
   256  	Recv() (*v3.DiscoveryResponse, error)
   257  	grpc.ClientStream
   258  }
   259  
   260  type routeDiscoveryServiceStreamRoutesClient struct {
   261  	grpc.ClientStream
   262  }
   263  
   264  func (x *routeDiscoveryServiceStreamRoutesClient) Send(m *v3.DiscoveryRequest) error {
   265  	return x.ClientStream.SendMsg(m)
   266  }
   267  
   268  func (x *routeDiscoveryServiceStreamRoutesClient) Recv() (*v3.DiscoveryResponse, error) {
   269  	m := new(v3.DiscoveryResponse)
   270  	if err := x.ClientStream.RecvMsg(m); err != nil {
   271  		return nil, err
   272  	}
   273  	return m, nil
   274  }
   275  
   276  func (c *routeDiscoveryServiceClient) DeltaRoutes(ctx context.Context, opts ...grpc.CallOption) (RouteDiscoveryService_DeltaRoutesClient, error) {
   277  	stream, err := c.cc.NewStream(ctx, &_RouteDiscoveryService_serviceDesc.Streams[1], "/envoy.service.route.v3.RouteDiscoveryService/DeltaRoutes", opts...)
   278  	if err != nil {
   279  		return nil, err
   280  	}
   281  	x := &routeDiscoveryServiceDeltaRoutesClient{stream}
   282  	return x, nil
   283  }
   284  
   285  type RouteDiscoveryService_DeltaRoutesClient interface {
   286  	Send(*v3.DeltaDiscoveryRequest) error
   287  	Recv() (*v3.DeltaDiscoveryResponse, error)
   288  	grpc.ClientStream
   289  }
   290  
   291  type routeDiscoveryServiceDeltaRoutesClient struct {
   292  	grpc.ClientStream
   293  }
   294  
   295  func (x *routeDiscoveryServiceDeltaRoutesClient) Send(m *v3.DeltaDiscoveryRequest) error {
   296  	return x.ClientStream.SendMsg(m)
   297  }
   298  
   299  func (x *routeDiscoveryServiceDeltaRoutesClient) Recv() (*v3.DeltaDiscoveryResponse, error) {
   300  	m := new(v3.DeltaDiscoveryResponse)
   301  	if err := x.ClientStream.RecvMsg(m); err != nil {
   302  		return nil, err
   303  	}
   304  	return m, nil
   305  }
   306  
   307  func (c *routeDiscoveryServiceClient) FetchRoutes(ctx context.Context, in *v3.DiscoveryRequest, opts ...grpc.CallOption) (*v3.DiscoveryResponse, error) {
   308  	out := new(v3.DiscoveryResponse)
   309  	err := c.cc.Invoke(ctx, "/envoy.service.route.v3.RouteDiscoveryService/FetchRoutes", in, out, opts...)
   310  	if err != nil {
   311  		return nil, err
   312  	}
   313  	return out, nil
   314  }
   315  
   316  // RouteDiscoveryServiceServer is the server API for RouteDiscoveryService service.
   317  type RouteDiscoveryServiceServer interface {
   318  	StreamRoutes(RouteDiscoveryService_StreamRoutesServer) error
   319  	DeltaRoutes(RouteDiscoveryService_DeltaRoutesServer) error
   320  	FetchRoutes(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
   321  }
   322  
   323  // UnimplementedRouteDiscoveryServiceServer can be embedded to have forward compatible implementations.
   324  type UnimplementedRouteDiscoveryServiceServer struct {
   325  }
   326  
   327  func (*UnimplementedRouteDiscoveryServiceServer) StreamRoutes(RouteDiscoveryService_StreamRoutesServer) error {
   328  	return status.Errorf(codes.Unimplemented, "method StreamRoutes not implemented")
   329  }
   330  func (*UnimplementedRouteDiscoveryServiceServer) DeltaRoutes(RouteDiscoveryService_DeltaRoutesServer) error {
   331  	return status.Errorf(codes.Unimplemented, "method DeltaRoutes not implemented")
   332  }
   333  func (*UnimplementedRouteDiscoveryServiceServer) FetchRoutes(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error) {
   334  	return nil, status.Errorf(codes.Unimplemented, "method FetchRoutes not implemented")
   335  }
   336  
   337  func RegisterRouteDiscoveryServiceServer(s *grpc.Server, srv RouteDiscoveryServiceServer) {
   338  	s.RegisterService(&_RouteDiscoveryService_serviceDesc, srv)
   339  }
   340  
   341  func _RouteDiscoveryService_StreamRoutes_Handler(srv interface{}, stream grpc.ServerStream) error {
   342  	return srv.(RouteDiscoveryServiceServer).StreamRoutes(&routeDiscoveryServiceStreamRoutesServer{stream})
   343  }
   344  
   345  type RouteDiscoveryService_StreamRoutesServer interface {
   346  	Send(*v3.DiscoveryResponse) error
   347  	Recv() (*v3.DiscoveryRequest, error)
   348  	grpc.ServerStream
   349  }
   350  
   351  type routeDiscoveryServiceStreamRoutesServer struct {
   352  	grpc.ServerStream
   353  }
   354  
   355  func (x *routeDiscoveryServiceStreamRoutesServer) Send(m *v3.DiscoveryResponse) error {
   356  	return x.ServerStream.SendMsg(m)
   357  }
   358  
   359  func (x *routeDiscoveryServiceStreamRoutesServer) Recv() (*v3.DiscoveryRequest, error) {
   360  	m := new(v3.DiscoveryRequest)
   361  	if err := x.ServerStream.RecvMsg(m); err != nil {
   362  		return nil, err
   363  	}
   364  	return m, nil
   365  }
   366  
   367  func _RouteDiscoveryService_DeltaRoutes_Handler(srv interface{}, stream grpc.ServerStream) error {
   368  	return srv.(RouteDiscoveryServiceServer).DeltaRoutes(&routeDiscoveryServiceDeltaRoutesServer{stream})
   369  }
   370  
   371  type RouteDiscoveryService_DeltaRoutesServer interface {
   372  	Send(*v3.DeltaDiscoveryResponse) error
   373  	Recv() (*v3.DeltaDiscoveryRequest, error)
   374  	grpc.ServerStream
   375  }
   376  
   377  type routeDiscoveryServiceDeltaRoutesServer struct {
   378  	grpc.ServerStream
   379  }
   380  
   381  func (x *routeDiscoveryServiceDeltaRoutesServer) Send(m *v3.DeltaDiscoveryResponse) error {
   382  	return x.ServerStream.SendMsg(m)
   383  }
   384  
   385  func (x *routeDiscoveryServiceDeltaRoutesServer) Recv() (*v3.DeltaDiscoveryRequest, error) {
   386  	m := new(v3.DeltaDiscoveryRequest)
   387  	if err := x.ServerStream.RecvMsg(m); err != nil {
   388  		return nil, err
   389  	}
   390  	return m, nil
   391  }
   392  
   393  func _RouteDiscoveryService_FetchRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   394  	in := new(v3.DiscoveryRequest)
   395  	if err := dec(in); err != nil {
   396  		return nil, err
   397  	}
   398  	if interceptor == nil {
   399  		return srv.(RouteDiscoveryServiceServer).FetchRoutes(ctx, in)
   400  	}
   401  	info := &grpc.UnaryServerInfo{
   402  		Server:     srv,
   403  		FullMethod: "/envoy.service.route.v3.RouteDiscoveryService/FetchRoutes",
   404  	}
   405  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   406  		return srv.(RouteDiscoveryServiceServer).FetchRoutes(ctx, req.(*v3.DiscoveryRequest))
   407  	}
   408  	return interceptor(ctx, in, info, handler)
   409  }
   410  
   411  var _RouteDiscoveryService_serviceDesc = grpc.ServiceDesc{
   412  	ServiceName: "envoy.service.route.v3.RouteDiscoveryService",
   413  	HandlerType: (*RouteDiscoveryServiceServer)(nil),
   414  	Methods: []grpc.MethodDesc{
   415  		{
   416  			MethodName: "FetchRoutes",
   417  			Handler:    _RouteDiscoveryService_FetchRoutes_Handler,
   418  		},
   419  	},
   420  	Streams: []grpc.StreamDesc{
   421  		{
   422  			StreamName:    "StreamRoutes",
   423  			Handler:       _RouteDiscoveryService_StreamRoutes_Handler,
   424  			ServerStreams: true,
   425  			ClientStreams: true,
   426  		},
   427  		{
   428  			StreamName:    "DeltaRoutes",
   429  			Handler:       _RouteDiscoveryService_DeltaRoutes_Handler,
   430  			ServerStreams: true,
   431  			ClientStreams: true,
   432  		},
   433  	},
   434  	Metadata: "envoy/service/route/v3/rds.proto",
   435  }
   436  
   437  // VirtualHostDiscoveryServiceClient is the client API for VirtualHostDiscoveryService service.
   438  //
   439  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   440  type VirtualHostDiscoveryServiceClient interface {
   441  	DeltaVirtualHosts(ctx context.Context, opts ...grpc.CallOption) (VirtualHostDiscoveryService_DeltaVirtualHostsClient, error)
   442  }
   443  
   444  type virtualHostDiscoveryServiceClient struct {
   445  	cc grpc.ClientConnInterface
   446  }
   447  
   448  func NewVirtualHostDiscoveryServiceClient(cc grpc.ClientConnInterface) VirtualHostDiscoveryServiceClient {
   449  	return &virtualHostDiscoveryServiceClient{cc}
   450  }
   451  
   452  func (c *virtualHostDiscoveryServiceClient) DeltaVirtualHosts(ctx context.Context, opts ...grpc.CallOption) (VirtualHostDiscoveryService_DeltaVirtualHostsClient, error) {
   453  	stream, err := c.cc.NewStream(ctx, &_VirtualHostDiscoveryService_serviceDesc.Streams[0], "/envoy.service.route.v3.VirtualHostDiscoveryService/DeltaVirtualHosts", opts...)
   454  	if err != nil {
   455  		return nil, err
   456  	}
   457  	x := &virtualHostDiscoveryServiceDeltaVirtualHostsClient{stream}
   458  	return x, nil
   459  }
   460  
   461  type VirtualHostDiscoveryService_DeltaVirtualHostsClient interface {
   462  	Send(*v3.DeltaDiscoveryRequest) error
   463  	Recv() (*v3.DeltaDiscoveryResponse, error)
   464  	grpc.ClientStream
   465  }
   466  
   467  type virtualHostDiscoveryServiceDeltaVirtualHostsClient struct {
   468  	grpc.ClientStream
   469  }
   470  
   471  func (x *virtualHostDiscoveryServiceDeltaVirtualHostsClient) Send(m *v3.DeltaDiscoveryRequest) error {
   472  	return x.ClientStream.SendMsg(m)
   473  }
   474  
   475  func (x *virtualHostDiscoveryServiceDeltaVirtualHostsClient) Recv() (*v3.DeltaDiscoveryResponse, error) {
   476  	m := new(v3.DeltaDiscoveryResponse)
   477  	if err := x.ClientStream.RecvMsg(m); err != nil {
   478  		return nil, err
   479  	}
   480  	return m, nil
   481  }
   482  
   483  // VirtualHostDiscoveryServiceServer is the server API for VirtualHostDiscoveryService service.
   484  type VirtualHostDiscoveryServiceServer interface {
   485  	DeltaVirtualHosts(VirtualHostDiscoveryService_DeltaVirtualHostsServer) error
   486  }
   487  
   488  // UnimplementedVirtualHostDiscoveryServiceServer can be embedded to have forward compatible implementations.
   489  type UnimplementedVirtualHostDiscoveryServiceServer struct {
   490  }
   491  
   492  func (*UnimplementedVirtualHostDiscoveryServiceServer) DeltaVirtualHosts(VirtualHostDiscoveryService_DeltaVirtualHostsServer) error {
   493  	return status.Errorf(codes.Unimplemented, "method DeltaVirtualHosts not implemented")
   494  }
   495  
   496  func RegisterVirtualHostDiscoveryServiceServer(s *grpc.Server, srv VirtualHostDiscoveryServiceServer) {
   497  	s.RegisterService(&_VirtualHostDiscoveryService_serviceDesc, srv)
   498  }
   499  
   500  func _VirtualHostDiscoveryService_DeltaVirtualHosts_Handler(srv interface{}, stream grpc.ServerStream) error {
   501  	return srv.(VirtualHostDiscoveryServiceServer).DeltaVirtualHosts(&virtualHostDiscoveryServiceDeltaVirtualHostsServer{stream})
   502  }
   503  
   504  type VirtualHostDiscoveryService_DeltaVirtualHostsServer interface {
   505  	Send(*v3.DeltaDiscoveryResponse) error
   506  	Recv() (*v3.DeltaDiscoveryRequest, error)
   507  	grpc.ServerStream
   508  }
   509  
   510  type virtualHostDiscoveryServiceDeltaVirtualHostsServer struct {
   511  	grpc.ServerStream
   512  }
   513  
   514  func (x *virtualHostDiscoveryServiceDeltaVirtualHostsServer) Send(m *v3.DeltaDiscoveryResponse) error {
   515  	return x.ServerStream.SendMsg(m)
   516  }
   517  
   518  func (x *virtualHostDiscoveryServiceDeltaVirtualHostsServer) Recv() (*v3.DeltaDiscoveryRequest, error) {
   519  	m := new(v3.DeltaDiscoveryRequest)
   520  	if err := x.ServerStream.RecvMsg(m); err != nil {
   521  		return nil, err
   522  	}
   523  	return m, nil
   524  }
   525  
   526  var _VirtualHostDiscoveryService_serviceDesc = grpc.ServiceDesc{
   527  	ServiceName: "envoy.service.route.v3.VirtualHostDiscoveryService",
   528  	HandlerType: (*VirtualHostDiscoveryServiceServer)(nil),
   529  	Methods:     []grpc.MethodDesc{},
   530  	Streams: []grpc.StreamDesc{
   531  		{
   532  			StreamName:    "DeltaVirtualHosts",
   533  			Handler:       _VirtualHostDiscoveryService_DeltaVirtualHosts_Handler,
   534  			ServerStreams: true,
   535  			ClientStreams: true,
   536  		},
   537  	},
   538  	Metadata: "envoy/service/route/v3/rds.proto",
   539  }