github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/extensions/transport_sockets/tap/v3/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/extensions/transport_sockets/tap/v3/tap.proto
     6  
     7  package envoy_extensions_transport_sockets_tap_v3
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	v31 "github.com/hxx258456/ccgo/go-control-plane/envoy/config/core/v3"
    12  	v3 "github.com/hxx258456/ccgo/go-control-plane/envoy/extensions/common/tap/v3"
    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 *v3.CommonExtensionConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"`
    41  	// The underlying transport socket being wrapped.
    42  	TransportSocket *v31.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_extensions_transport_sockets_tap_v3_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_extensions_transport_sockets_tap_v3_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_extensions_transport_sockets_tap_v3_tap_proto_rawDescGZIP(), []int{0}
    75  }
    76  
    77  func (x *Tap) GetCommonConfig() *v3.CommonExtensionConfig {
    78  	if x != nil {
    79  		return x.CommonConfig
    80  	}
    81  	return nil
    82  }
    83  
    84  func (x *Tap) GetTransportSocket() *v31.TransportSocket {
    85  	if x != nil {
    86  		return x.TransportSocket
    87  	}
    88  	return nil
    89  }
    90  
    91  var File_envoy_extensions_transport_sockets_tap_v3_tap_proto protoreflect.FileDescriptor
    92  
    93  var file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDesc = []byte{
    94  	0x0a, 0x33, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
    95  	0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63,
    96  	0x6b, 0x65, 0x74, 0x73, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x61, 0x70, 0x2e,
    97  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74,
    98  	0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
    99  	0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x33,
   100  	0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
   101  	0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   102  	0x6f, 0x1a, 0x2b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
   103  	0x6f, 0x6e, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76,
   104  	0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
   105  	0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   106  	0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75,
   107  	0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
   108  	0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   109  	0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64,
   110  	0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfd, 0x01, 0x0a, 0x03, 0x54, 0x61,
   111  	0x70, 0x12, 0x64, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
   112  	0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
   113  	0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
   114  	0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
   115  	0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42,
   116  	0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
   117  	0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5a, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73,
   118  	0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
   119  	0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   120  	0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
   121  	0x72, 0x74, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02,
   122  	0x10, 0x01, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x6f, 0x63,
   123  	0x6b, 0x65, 0x74, 0x3a, 0x34, 0x9a, 0xc5, 0x88, 0x1e, 0x2f, 0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f,
   124  	0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
   125  	0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32,
   126  	0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x70, 0x42, 0x4d, 0x0a, 0x37, 0x69, 0x6f, 0x2e,
   127  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
   128  	0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e,
   129  	0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x61,
   130  	0x70, 0x2e, 0x76, 0x33, 0x42, 0x08, 0x54, 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
   131  	0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   132  }
   133  
   134  var (
   135  	file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescOnce sync.Once
   136  	file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescData = file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDesc
   137  )
   138  
   139  func file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescGZIP() []byte {
   140  	file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescOnce.Do(func() {
   141  		file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescData)
   142  	})
   143  	return file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDescData
   144  }
   145  
   146  var file_envoy_extensions_transport_sockets_tap_v3_tap_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   147  var file_envoy_extensions_transport_sockets_tap_v3_tap_proto_goTypes = []interface{}{
   148  	(*Tap)(nil),                      // 0: envoy.extensions.transport_sockets.tap.v3.Tap
   149  	(*v3.CommonExtensionConfig)(nil), // 1: envoy.extensions.common.tap.v3.CommonExtensionConfig
   150  	(*v31.TransportSocket)(nil),      // 2: envoy.config.core.v3.TransportSocket
   151  }
   152  var file_envoy_extensions_transport_sockets_tap_v3_tap_proto_depIdxs = []int32{
   153  	1, // 0: envoy.extensions.transport_sockets.tap.v3.Tap.common_config:type_name -> envoy.extensions.common.tap.v3.CommonExtensionConfig
   154  	2, // 1: envoy.extensions.transport_sockets.tap.v3.Tap.transport_socket:type_name -> envoy.config.core.v3.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_extensions_transport_sockets_tap_v3_tap_proto_init() }
   163  func file_envoy_extensions_transport_sockets_tap_v3_tap_proto_init() {
   164  	if File_envoy_extensions_transport_sockets_tap_v3_tap_proto != nil {
   165  		return
   166  	}
   167  	if !protoimpl.UnsafeEnabled {
   168  		file_envoy_extensions_transport_sockets_tap_v3_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_extensions_transport_sockets_tap_v3_tap_proto_rawDesc,
   186  			NumEnums:      0,
   187  			NumMessages:   1,
   188  			NumExtensions: 0,
   189  			NumServices:   0,
   190  		},
   191  		GoTypes:           file_envoy_extensions_transport_sockets_tap_v3_tap_proto_goTypes,
   192  		DependencyIndexes: file_envoy_extensions_transport_sockets_tap_v3_tap_proto_depIdxs,
   193  		MessageInfos:      file_envoy_extensions_transport_sockets_tap_v3_tap_proto_msgTypes,
   194  	}.Build()
   195  	File_envoy_extensions_transport_sockets_tap_v3_tap_proto = out.File
   196  	file_envoy_extensions_transport_sockets_tap_v3_tap_proto_rawDesc = nil
   197  	file_envoy_extensions_transport_sockets_tap_v3_tap_proto_goTypes = nil
   198  	file_envoy_extensions_transport_sockets_tap_v3_tap_proto_depIdxs = nil
   199  }