github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/config/transport_socket/tap/v2alpha/tap.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/config/transport_socket/tap/v2alpha/tap.proto
     6  
     7  package envoy_config_transport_socket_tap_v2alpha
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	core "github.com/hxx258456/ccgo/go-control-plane/envoy/api/v2/core"
    12  	v2alpha "github.com/hxx258456/ccgo/go-control-plane/envoy/config/common/tap/v2alpha"
    13  	_ "github.com/envoyproxy/protoc-gen-validate/validate"
    14  	proto "github.com/golang/protobuf/proto"
    15  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    16  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    17  	reflect "reflect"
    18  	sync "sync"
    19  )
    20  
    21  const (
    22  	// Verify that this generated code is sufficiently up-to-date.
    23  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    24  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    25  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    26  )
    27  
    28  // This is a compile-time assertion that a sufficiently up-to-date version
    29  // of the legacy proto package is being used.
    30  const _ = proto.ProtoPackageIsVersion4
    31  
    32  // Configuration for tap transport socket. This wraps another transport socket, providing the
    33  // ability to interpose and record in plain text any traffic that is surfaced to Envoy.
    34  type Tap struct {
    35  	state         protoimpl.MessageState
    36  	sizeCache     protoimpl.SizeCache
    37  	unknownFields protoimpl.UnknownFields
    38  
    39  	// Common configuration for the tap transport socket.
    40  	CommonConfig *v2alpha.CommonExtensionConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"`
    41  	// The underlying transport socket being wrapped.
    42  	TransportSocket *core.TransportSocket `protobuf:"bytes,2,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"`
    43  }
    44  
    45  func (x *Tap) Reset() {
    46  	*x = Tap{}
    47  	if protoimpl.UnsafeEnabled {
    48  		mi := &file_envoy_config_transport_socket_tap_v2alpha_tap_proto_msgTypes[0]
    49  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    50  		ms.StoreMessageInfo(mi)
    51  	}
    52  }
    53  
    54  func (x *Tap) String() string {
    55  	return protoimpl.X.MessageStringOf(x)
    56  }
    57  
    58  func (*Tap) ProtoMessage() {}
    59  
    60  func (x *Tap) ProtoReflect() protoreflect.Message {
    61  	mi := &file_envoy_config_transport_socket_tap_v2alpha_tap_proto_msgTypes[0]
    62  	if protoimpl.UnsafeEnabled && x != nil {
    63  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    64  		if ms.LoadMessageInfo() == nil {
    65  			ms.StoreMessageInfo(mi)
    66  		}
    67  		return ms
    68  	}
    69  	return mi.MessageOf(x)
    70  }
    71  
    72  // Deprecated: Use Tap.ProtoReflect.Descriptor instead.
    73  func (*Tap) Descriptor() ([]byte, []int) {
    74  	return file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescGZIP(), []int{0}
    75  }
    76  
    77  func (x *Tap) GetCommonConfig() *v2alpha.CommonExtensionConfig {
    78  	if x != nil {
    79  		return x.CommonConfig
    80  	}
    81  	return nil
    82  }
    83  
    84  func (x *Tap) GetTransportSocket() *core.TransportSocket {
    85  	if x != nil {
    86  		return x.TransportSocket
    87  	}
    88  	return nil
    89  }
    90  
    91  var File_envoy_config_transport_socket_tap_v2alpha_tap_proto protoreflect.FileDescriptor
    92  
    93  var file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDesc = []byte{
    94  	0x0a, 0x33, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
    95  	0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2f,
    96  	0x74, 0x61, 0x70, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x70, 0x2e,
    97  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
    98  	0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f,
    99  	0x63, 0x6b, 0x65, 0x74, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61,
   100  	0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
   101  	0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c,
   102  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x6d,
   103  	0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f,
   104  	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64,
   105  	0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d,
   106  	0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64,
   107  	0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
   108  	0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c,
   109  	0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70,
   110  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x01, 0x0a, 0x03, 0x54, 0x61, 0x70, 0x12, 0x65, 0x0a, 0x0d,
   111  	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20,
   112  	0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
   113  	0x69, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32,
   114  	0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65,
   115  	0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x08, 0xfa, 0x42, 0x05,
   116  	0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x43, 0x6f, 0x6e,
   117  	0x66, 0x69, 0x67, 0x12, 0x57, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
   118  	0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e,
   119  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72,
   120  	0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x6f, 0x63, 0x6b, 0x65,
   121  	0x74, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0f, 0x74, 0x72, 0x61,
   122  	0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x42, 0x86, 0x01, 0x0a,
   123  	0x37, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65,
   124  	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x6e,
   125  	0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x74, 0x61, 0x70,
   126  	0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x08, 0x54, 0x61, 0x70, 0x50, 0x72, 0x6f,
   127  	0x74, 0x6f, 0x50, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x2b, 0x12, 0x29, 0x65, 0x6e, 0x76, 0x6f,
   128  	0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61,
   129  	0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74,
   130  	0x61, 0x70, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x08, 0x01, 0xba, 0x80, 0xc8,
   131  	0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   132  }
   133  
   134  var (
   135  	file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescOnce sync.Once
   136  	file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescData = file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDesc
   137  )
   138  
   139  func file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescGZIP() []byte {
   140  	file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescOnce.Do(func() {
   141  		file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescData)
   142  	})
   143  	return file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDescData
   144  }
   145  
   146  var file_envoy_config_transport_socket_tap_v2alpha_tap_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   147  var file_envoy_config_transport_socket_tap_v2alpha_tap_proto_goTypes = []interface{}{
   148  	(*Tap)(nil),                           // 0: envoy.config.transport_socket.tap.v2alpha.Tap
   149  	(*v2alpha.CommonExtensionConfig)(nil), // 1: envoy.config.common.tap.v2alpha.CommonExtensionConfig
   150  	(*core.TransportSocket)(nil),          // 2: envoy.api.v2.core.TransportSocket
   151  }
   152  var file_envoy_config_transport_socket_tap_v2alpha_tap_proto_depIdxs = []int32{
   153  	1, // 0: envoy.config.transport_socket.tap.v2alpha.Tap.common_config:type_name -> envoy.config.common.tap.v2alpha.CommonExtensionConfig
   154  	2, // 1: envoy.config.transport_socket.tap.v2alpha.Tap.transport_socket:type_name -> envoy.api.v2.core.TransportSocket
   155  	2, // [2:2] is the sub-list for method output_type
   156  	2, // [2:2] is the sub-list for method input_type
   157  	2, // [2:2] is the sub-list for extension type_name
   158  	2, // [2:2] is the sub-list for extension extendee
   159  	0, // [0:2] is the sub-list for field type_name
   160  }
   161  
   162  func init() { file_envoy_config_transport_socket_tap_v2alpha_tap_proto_init() }
   163  func file_envoy_config_transport_socket_tap_v2alpha_tap_proto_init() {
   164  	if File_envoy_config_transport_socket_tap_v2alpha_tap_proto != nil {
   165  		return
   166  	}
   167  	if !protoimpl.UnsafeEnabled {
   168  		file_envoy_config_transport_socket_tap_v2alpha_tap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   169  			switch v := v.(*Tap); i {
   170  			case 0:
   171  				return &v.state
   172  			case 1:
   173  				return &v.sizeCache
   174  			case 2:
   175  				return &v.unknownFields
   176  			default:
   177  				return nil
   178  			}
   179  		}
   180  	}
   181  	type x struct{}
   182  	out := protoimpl.TypeBuilder{
   183  		File: protoimpl.DescBuilder{
   184  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   185  			RawDescriptor: file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDesc,
   186  			NumEnums:      0,
   187  			NumMessages:   1,
   188  			NumExtensions: 0,
   189  			NumServices:   0,
   190  		},
   191  		GoTypes:           file_envoy_config_transport_socket_tap_v2alpha_tap_proto_goTypes,
   192  		DependencyIndexes: file_envoy_config_transport_socket_tap_v2alpha_tap_proto_depIdxs,
   193  		MessageInfos:      file_envoy_config_transport_socket_tap_v2alpha_tap_proto_msgTypes,
   194  	}.Build()
   195  	File_envoy_config_transport_socket_tap_v2alpha_tap_proto = out.File
   196  	file_envoy_config_transport_socket_tap_v2alpha_tap_proto_rawDesc = nil
   197  	file_envoy_config_transport_socket_tap_v2alpha_tap_proto_goTypes = nil
   198  	file_envoy_config_transport_socket_tap_v2alpha_tap_proto_depIdxs = nil
   199  }