github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/service/event_reporting/v3/event_reporting_service.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/event_reporting/v3/event_reporting_service.proto
     6  
     7  package envoy_service_event_reporting_v3
     8  
     9  import (
    10  	context "context"
    11  	_ "github.com/cncf/xds/go/udpa/annotations"
    12  	v3 "github.com/hxx258456/ccgo/go-control-plane/envoy/config/core/v3"
    13  	_ "github.com/envoyproxy/protoc-gen-validate/validate"
    14  	proto "github.com/golang/protobuf/proto"
    15  	any "github.com/golang/protobuf/ptypes/any"
    16  	grpc "github.com/hxx258456/ccgo/grpc"
    17  	codes "github.com/hxx258456/ccgo/grpc/codes"
    18  	status "github.com/hxx258456/ccgo/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:]
    37  // An events envoy sends to the management server.
    38  type StreamEventsRequest struct {
    39  	state         protoimpl.MessageState
    40  	sizeCache     protoimpl.SizeCache
    41  	unknownFields protoimpl.UnknownFields
    42  
    43  	// Identifier data that will only be sent in the first message on the stream. This is effectively
    44  	// structured metadata and is a performance optimization.
    45  	Identifier *StreamEventsRequest_Identifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
    46  	// Batch of events. When the stream is already active, it will be the events occurred
    47  	// since the last message had been sent. If the server receives unknown event type, it should
    48  	// silently ignore it.
    49  	//
    50  	// The following events are supported:
    51  	//
    52  	// * :ref:`HealthCheckEvent <envoy_v3_api_msg_data.core.v3.HealthCheckEvent>`
    53  	// * :ref:`OutlierDetectionEvent <envoy_v3_api_msg_data.cluster.v3.OutlierDetectionEvent>`
    54  	Events []*any.Any `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"`
    55  }
    56  
    57  func (x *StreamEventsRequest) Reset() {
    58  	*x = StreamEventsRequest{}
    59  	if protoimpl.UnsafeEnabled {
    60  		mi := &file_envoy_service_event_reporting_v3_event_reporting_service_proto_msgTypes[0]
    61  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    62  		ms.StoreMessageInfo(mi)
    63  	}
    64  }
    65  
    66  func (x *StreamEventsRequest) String() string {
    67  	return protoimpl.X.MessageStringOf(x)
    68  }
    69  
    70  func (*StreamEventsRequest) ProtoMessage() {}
    71  
    72  func (x *StreamEventsRequest) ProtoReflect() protoreflect.Message {
    73  	mi := &file_envoy_service_event_reporting_v3_event_reporting_service_proto_msgTypes[0]
    74  	if protoimpl.UnsafeEnabled && x != nil {
    75  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    76  		if ms.LoadMessageInfo() == nil {
    77  			ms.StoreMessageInfo(mi)
    78  		}
    79  		return ms
    80  	}
    81  	return mi.MessageOf(x)
    82  }
    83  
    84  // Deprecated: Use StreamEventsRequest.ProtoReflect.Descriptor instead.
    85  func (*StreamEventsRequest) Descriptor() ([]byte, []int) {
    86  	return file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDescGZIP(), []int{0}
    87  }
    88  
    89  func (x *StreamEventsRequest) GetIdentifier() *StreamEventsRequest_Identifier {
    90  	if x != nil {
    91  		return x.Identifier
    92  	}
    93  	return nil
    94  }
    95  
    96  func (x *StreamEventsRequest) GetEvents() []*any.Any {
    97  	if x != nil {
    98  		return x.Events
    99  	}
   100  	return nil
   101  }
   102  
   103  // [#not-implemented-hide:]
   104  // The management server may send envoy a StreamEventsResponse to tell which events the server
   105  // is interested in. In future, with aggregated event reporting service, this message will
   106  // contain, for example, clusters the envoy should send events for, or event types the server
   107  // wants to process.
   108  type StreamEventsResponse struct {
   109  	state         protoimpl.MessageState
   110  	sizeCache     protoimpl.SizeCache
   111  	unknownFields protoimpl.UnknownFields
   112  }
   113  
   114  func (x *StreamEventsResponse) Reset() {
   115  	*x = StreamEventsResponse{}
   116  	if protoimpl.UnsafeEnabled {
   117  		mi := &file_envoy_service_event_reporting_v3_event_reporting_service_proto_msgTypes[1]
   118  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   119  		ms.StoreMessageInfo(mi)
   120  	}
   121  }
   122  
   123  func (x *StreamEventsResponse) String() string {
   124  	return protoimpl.X.MessageStringOf(x)
   125  }
   126  
   127  func (*StreamEventsResponse) ProtoMessage() {}
   128  
   129  func (x *StreamEventsResponse) ProtoReflect() protoreflect.Message {
   130  	mi := &file_envoy_service_event_reporting_v3_event_reporting_service_proto_msgTypes[1]
   131  	if protoimpl.UnsafeEnabled && x != nil {
   132  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   133  		if ms.LoadMessageInfo() == nil {
   134  			ms.StoreMessageInfo(mi)
   135  		}
   136  		return ms
   137  	}
   138  	return mi.MessageOf(x)
   139  }
   140  
   141  // Deprecated: Use StreamEventsResponse.ProtoReflect.Descriptor instead.
   142  func (*StreamEventsResponse) Descriptor() ([]byte, []int) {
   143  	return file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDescGZIP(), []int{1}
   144  }
   145  
   146  type StreamEventsRequest_Identifier struct {
   147  	state         protoimpl.MessageState
   148  	sizeCache     protoimpl.SizeCache
   149  	unknownFields protoimpl.UnknownFields
   150  
   151  	// The node sending the event messages over the stream.
   152  	Node *v3.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
   153  }
   154  
   155  func (x *StreamEventsRequest_Identifier) Reset() {
   156  	*x = StreamEventsRequest_Identifier{}
   157  	if protoimpl.UnsafeEnabled {
   158  		mi := &file_envoy_service_event_reporting_v3_event_reporting_service_proto_msgTypes[2]
   159  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   160  		ms.StoreMessageInfo(mi)
   161  	}
   162  }
   163  
   164  func (x *StreamEventsRequest_Identifier) String() string {
   165  	return protoimpl.X.MessageStringOf(x)
   166  }
   167  
   168  func (*StreamEventsRequest_Identifier) ProtoMessage() {}
   169  
   170  func (x *StreamEventsRequest_Identifier) ProtoReflect() protoreflect.Message {
   171  	mi := &file_envoy_service_event_reporting_v3_event_reporting_service_proto_msgTypes[2]
   172  	if protoimpl.UnsafeEnabled && x != nil {
   173  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   174  		if ms.LoadMessageInfo() == nil {
   175  			ms.StoreMessageInfo(mi)
   176  		}
   177  		return ms
   178  	}
   179  	return mi.MessageOf(x)
   180  }
   181  
   182  // Deprecated: Use StreamEventsRequest_Identifier.ProtoReflect.Descriptor instead.
   183  func (*StreamEventsRequest_Identifier) Descriptor() ([]byte, []int) {
   184  	return file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDescGZIP(), []int{0, 0}
   185  }
   186  
   187  func (x *StreamEventsRequest_Identifier) GetNode() *v3.Node {
   188  	if x != nil {
   189  		return x.Node
   190  	}
   191  	return nil
   192  }
   193  
   194  var File_envoy_service_event_reporting_v3_event_reporting_service_proto protoreflect.FileDescriptor
   195  
   196  var file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDesc = []byte{
   197  	0x0a, 0x3e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
   198  	0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f,
   199  	0x76, 0x33, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69,
   200  	0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   201  	0x12, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
   202  	0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e,
   203  	0x76, 0x33, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   204  	0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72,
   205  	0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   206  	0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
   207  	0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   208  	0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75,
   209  	0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
   210  	0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   211  	0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64,
   212  	0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x03, 0x0a, 0x13, 0x53, 0x74,
   213  	0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   214  	0x74, 0x12, 0x60, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18,
   215  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65,
   216  	0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f,
   217  	0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45,
   218  	0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x64, 0x65,
   219  	0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66,
   220  	0x69, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20,
   221  	0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   222  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01,
   223  	0x02, 0x08, 0x01, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x93, 0x01, 0x0a, 0x0a,
   224  	0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x6f,
   225  	0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
   226  	0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e,
   227  	0x4e, 0x6f, 0x64, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04,
   228  	0x6e, 0x6f, 0x64, 0x65, 0x3a, 0x4b, 0x9a, 0xc5, 0x88, 0x1e, 0x46, 0x0a, 0x44, 0x65, 0x6e, 0x76,
   229  	0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74,
   230  	0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
   231  	0x68, 0x61, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52,
   232  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65,
   233  	0x72, 0x3a, 0x40, 0x9a, 0xc5, 0x88, 0x1e, 0x3b, 0x0a, 0x39, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
   234  	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65,
   235  	0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
   236  	0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
   237  	0x65, 0x73, 0x74, 0x22, 0x59, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65,
   238  	0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x3a, 0x41, 0x9a, 0xc5, 0x88,
   239  	0x1e, 0x3c, 0x0a, 0x3a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
   240  	0x65, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e,
   241  	0x67, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
   242  	0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x9d,
   243  	0x01, 0x0a, 0x15, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e,
   244  	0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x72,
   245  	0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x35, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
   246  	0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f,
   247  	0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x72,
   248  	0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   249  	0x1a, 0x36, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
   250  	0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67,
   251  	0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73,
   252  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x59,
   253  	0x0a, 0x2e, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
   254  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x76,
   255  	0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33,
   256  	0x42, 0x1a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67,
   257  	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x88, 0x01,
   258  	0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   259  	0x33,
   260  }
   261  
   262  var (
   263  	file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDescOnce sync.Once
   264  	file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDescData = file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDesc
   265  )
   266  
   267  func file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDescGZIP() []byte {
   268  	file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDescOnce.Do(func() {
   269  		file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDescData)
   270  	})
   271  	return file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDescData
   272  }
   273  
   274  var file_envoy_service_event_reporting_v3_event_reporting_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   275  var file_envoy_service_event_reporting_v3_event_reporting_service_proto_goTypes = []interface{}{
   276  	(*StreamEventsRequest)(nil),            // 0: envoy.service.event_reporting.v3.StreamEventsRequest
   277  	(*StreamEventsResponse)(nil),           // 1: envoy.service.event_reporting.v3.StreamEventsResponse
   278  	(*StreamEventsRequest_Identifier)(nil), // 2: envoy.service.event_reporting.v3.StreamEventsRequest.Identifier
   279  	(*any.Any)(nil),                        // 3: google.protobuf.Any
   280  	(*v3.Node)(nil),                        // 4: envoy.config.core.v3.Node
   281  }
   282  var file_envoy_service_event_reporting_v3_event_reporting_service_proto_depIdxs = []int32{
   283  	2, // 0: envoy.service.event_reporting.v3.StreamEventsRequest.identifier:type_name -> envoy.service.event_reporting.v3.StreamEventsRequest.Identifier
   284  	3, // 1: envoy.service.event_reporting.v3.StreamEventsRequest.events:type_name -> google.protobuf.Any
   285  	4, // 2: envoy.service.event_reporting.v3.StreamEventsRequest.Identifier.node:type_name -> envoy.config.core.v3.Node
   286  	0, // 3: envoy.service.event_reporting.v3.EventReportingService.StreamEvents:input_type -> envoy.service.event_reporting.v3.StreamEventsRequest
   287  	1, // 4: envoy.service.event_reporting.v3.EventReportingService.StreamEvents:output_type -> envoy.service.event_reporting.v3.StreamEventsResponse
   288  	4, // [4:5] is the sub-list for method output_type
   289  	3, // [3:4] is the sub-list for method input_type
   290  	3, // [3:3] is the sub-list for extension type_name
   291  	3, // [3:3] is the sub-list for extension extendee
   292  	0, // [0:3] is the sub-list for field type_name
   293  }
   294  
   295  func init() { file_envoy_service_event_reporting_v3_event_reporting_service_proto_init() }
   296  func file_envoy_service_event_reporting_v3_event_reporting_service_proto_init() {
   297  	if File_envoy_service_event_reporting_v3_event_reporting_service_proto != nil {
   298  		return
   299  	}
   300  	if !protoimpl.UnsafeEnabled {
   301  		file_envoy_service_event_reporting_v3_event_reporting_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   302  			switch v := v.(*StreamEventsRequest); i {
   303  			case 0:
   304  				return &v.state
   305  			case 1:
   306  				return &v.sizeCache
   307  			case 2:
   308  				return &v.unknownFields
   309  			default:
   310  				return nil
   311  			}
   312  		}
   313  		file_envoy_service_event_reporting_v3_event_reporting_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   314  			switch v := v.(*StreamEventsResponse); i {
   315  			case 0:
   316  				return &v.state
   317  			case 1:
   318  				return &v.sizeCache
   319  			case 2:
   320  				return &v.unknownFields
   321  			default:
   322  				return nil
   323  			}
   324  		}
   325  		file_envoy_service_event_reporting_v3_event_reporting_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   326  			switch v := v.(*StreamEventsRequest_Identifier); i {
   327  			case 0:
   328  				return &v.state
   329  			case 1:
   330  				return &v.sizeCache
   331  			case 2:
   332  				return &v.unknownFields
   333  			default:
   334  				return nil
   335  			}
   336  		}
   337  	}
   338  	type x struct{}
   339  	out := protoimpl.TypeBuilder{
   340  		File: protoimpl.DescBuilder{
   341  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   342  			RawDescriptor: file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDesc,
   343  			NumEnums:      0,
   344  			NumMessages:   3,
   345  			NumExtensions: 0,
   346  			NumServices:   1,
   347  		},
   348  		GoTypes:           file_envoy_service_event_reporting_v3_event_reporting_service_proto_goTypes,
   349  		DependencyIndexes: file_envoy_service_event_reporting_v3_event_reporting_service_proto_depIdxs,
   350  		MessageInfos:      file_envoy_service_event_reporting_v3_event_reporting_service_proto_msgTypes,
   351  	}.Build()
   352  	File_envoy_service_event_reporting_v3_event_reporting_service_proto = out.File
   353  	file_envoy_service_event_reporting_v3_event_reporting_service_proto_rawDesc = nil
   354  	file_envoy_service_event_reporting_v3_event_reporting_service_proto_goTypes = nil
   355  	file_envoy_service_event_reporting_v3_event_reporting_service_proto_depIdxs = nil
   356  }
   357  
   358  // Reference imports to suppress errors if they are not otherwise used.
   359  var _ context.Context
   360  var _ grpc.ClientConnInterface
   361  
   362  // This is a compile-time assertion to ensure that this generated file
   363  // is compatible with the grpc package it is being compiled against.
   364  const _ = grpc.SupportPackageIsVersion6
   365  
   366  // EventReportingServiceClient is the client API for EventReportingService service.
   367  //
   368  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   369  type EventReportingServiceClient interface {
   370  	// Envoy will connect and send StreamEventsRequest messages forever.
   371  	// The management server may send StreamEventsResponse to configure event stream. See below.
   372  	// This API is designed for high throughput with the expectation that it might be lossy.
   373  	StreamEvents(ctx context.Context, opts ...grpc.CallOption) (EventReportingService_StreamEventsClient, error)
   374  }
   375  
   376  type eventReportingServiceClient struct {
   377  	cc grpc.ClientConnInterface
   378  }
   379  
   380  func NewEventReportingServiceClient(cc grpc.ClientConnInterface) EventReportingServiceClient {
   381  	return &eventReportingServiceClient{cc}
   382  }
   383  
   384  func (c *eventReportingServiceClient) StreamEvents(ctx context.Context, opts ...grpc.CallOption) (EventReportingService_StreamEventsClient, error) {
   385  	stream, err := c.cc.NewStream(ctx, &_EventReportingService_serviceDesc.Streams[0], "/envoy.service.event_reporting.v3.EventReportingService/StreamEvents", opts...)
   386  	if err != nil {
   387  		return nil, err
   388  	}
   389  	x := &eventReportingServiceStreamEventsClient{stream}
   390  	return x, nil
   391  }
   392  
   393  type EventReportingService_StreamEventsClient interface {
   394  	Send(*StreamEventsRequest) error
   395  	Recv() (*StreamEventsResponse, error)
   396  	grpc.ClientStream
   397  }
   398  
   399  type eventReportingServiceStreamEventsClient struct {
   400  	grpc.ClientStream
   401  }
   402  
   403  func (x *eventReportingServiceStreamEventsClient) Send(m *StreamEventsRequest) error {
   404  	return x.ClientStream.SendMsg(m)
   405  }
   406  
   407  func (x *eventReportingServiceStreamEventsClient) Recv() (*StreamEventsResponse, error) {
   408  	m := new(StreamEventsResponse)
   409  	if err := x.ClientStream.RecvMsg(m); err != nil {
   410  		return nil, err
   411  	}
   412  	return m, nil
   413  }
   414  
   415  // EventReportingServiceServer is the server API for EventReportingService service.
   416  type EventReportingServiceServer interface {
   417  	// Envoy will connect and send StreamEventsRequest messages forever.
   418  	// The management server may send StreamEventsResponse to configure event stream. See below.
   419  	// This API is designed for high throughput with the expectation that it might be lossy.
   420  	StreamEvents(EventReportingService_StreamEventsServer) error
   421  }
   422  
   423  // UnimplementedEventReportingServiceServer can be embedded to have forward compatible implementations.
   424  type UnimplementedEventReportingServiceServer struct {
   425  }
   426  
   427  func (*UnimplementedEventReportingServiceServer) StreamEvents(EventReportingService_StreamEventsServer) error {
   428  	return status.Errorf(codes.Unimplemented, "method StreamEvents not implemented")
   429  }
   430  
   431  func RegisterEventReportingServiceServer(s *grpc.Server, srv EventReportingServiceServer) {
   432  	s.RegisterService(&_EventReportingService_serviceDesc, srv)
   433  }
   434  
   435  func _EventReportingService_StreamEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
   436  	return srv.(EventReportingServiceServer).StreamEvents(&eventReportingServiceStreamEventsServer{stream})
   437  }
   438  
   439  type EventReportingService_StreamEventsServer interface {
   440  	Send(*StreamEventsResponse) error
   441  	Recv() (*StreamEventsRequest, error)
   442  	grpc.ServerStream
   443  }
   444  
   445  type eventReportingServiceStreamEventsServer struct {
   446  	grpc.ServerStream
   447  }
   448  
   449  func (x *eventReportingServiceStreamEventsServer) Send(m *StreamEventsResponse) error {
   450  	return x.ServerStream.SendMsg(m)
   451  }
   452  
   453  func (x *eventReportingServiceStreamEventsServer) Recv() (*StreamEventsRequest, error) {
   454  	m := new(StreamEventsRequest)
   455  	if err := x.ServerStream.RecvMsg(m); err != nil {
   456  		return nil, err
   457  	}
   458  	return m, nil
   459  }
   460  
   461  var _EventReportingService_serviceDesc = grpc.ServiceDesc{
   462  	ServiceName: "envoy.service.event_reporting.v3.EventReportingService",
   463  	HandlerType: (*EventReportingServiceServer)(nil),
   464  	Methods:     []grpc.MethodDesc{},
   465  	Streams: []grpc.StreamDesc{
   466  		{
   467  			StreamName:    "StreamEvents",
   468  			Handler:       _EventReportingService_StreamEvents_Handler,
   469  			ServerStreams: true,
   470  			ClientStreams: true,
   471  		},
   472  	},
   473  	Metadata: "envoy/service/event_reporting/v3/event_reporting_service.proto",
   474  }