gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/admin/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/admin/v2alpha/tap.proto
     6  
     7  package envoy_admin_v2alpha
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	v2alpha "gitee.com/ks-custle/core-gm/go-control-plane/envoy/service/tap/v2alpha"
    12  	_ "github.com/envoyproxy/protoc-gen-validate/validate"
    13  	proto "github.com/golang/protobuf/proto"
    14  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    15  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    16  	reflect "reflect"
    17  	sync "sync"
    18  )
    19  
    20  const (
    21  	// Verify that this generated code is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    23  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    24  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    25  )
    26  
    27  // This is a compile-time assertion that a sufficiently up-to-date version
    28  // of the legacy proto package is being used.
    29  const _ = proto.ProtoPackageIsVersion4
    30  
    31  // The /tap admin request body that is used to configure an active tap session.
    32  type TapRequest struct {
    33  	state         protoimpl.MessageState
    34  	sizeCache     protoimpl.SizeCache
    35  	unknownFields protoimpl.UnknownFields
    36  
    37  	// The opaque configuration ID used to match the configuration to a loaded extension.
    38  	// A tap extension configures a similar opaque ID that is used to match.
    39  	ConfigId string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
    40  	// The tap configuration to load.
    41  	TapConfig *v2alpha.TapConfig `protobuf:"bytes,2,opt,name=tap_config,json=tapConfig,proto3" json:"tap_config,omitempty"`
    42  }
    43  
    44  func (x *TapRequest) Reset() {
    45  	*x = TapRequest{}
    46  	if protoimpl.UnsafeEnabled {
    47  		mi := &file_envoy_admin_v2alpha_tap_proto_msgTypes[0]
    48  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    49  		ms.StoreMessageInfo(mi)
    50  	}
    51  }
    52  
    53  func (x *TapRequest) String() string {
    54  	return protoimpl.X.MessageStringOf(x)
    55  }
    56  
    57  func (*TapRequest) ProtoMessage() {}
    58  
    59  func (x *TapRequest) ProtoReflect() protoreflect.Message {
    60  	mi := &file_envoy_admin_v2alpha_tap_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 TapRequest.ProtoReflect.Descriptor instead.
    72  func (*TapRequest) Descriptor() ([]byte, []int) {
    73  	return file_envoy_admin_v2alpha_tap_proto_rawDescGZIP(), []int{0}
    74  }
    75  
    76  func (x *TapRequest) GetConfigId() string {
    77  	if x != nil {
    78  		return x.ConfigId
    79  	}
    80  	return ""
    81  }
    82  
    83  func (x *TapRequest) GetTapConfig() *v2alpha.TapConfig {
    84  	if x != nil {
    85  		return x.TapConfig
    86  	}
    87  	return nil
    88  }
    89  
    90  var File_envoy_admin_v2alpha_tap_proto protoreflect.FileDescriptor
    91  
    92  var file_envoy_admin_v2alpha_tap_proto_rawDesc = []byte{
    93  	0x0a, 0x1d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x32,
    94  	0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
    95  	0x13, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61,
    96  	0x6c, 0x70, 0x68, 0x61, 0x1a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76,
    97  	0x69, 0x63, 0x65, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f,
    98  	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64,
    99  	0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
   100  	0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c,
   101  	0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70,
   102  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x0a, 0x54, 0x61, 0x70, 0x52, 0x65, 0x71, 0x75,
   103  	0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64,
   104  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52,
   105  	0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x0a, 0x74, 0x61, 0x70,
   106  	0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e,
   107  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61,
   108  	0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x70, 0x43, 0x6f, 0x6e,
   109  	0x66, 0x69, 0x67, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x09, 0x74,
   110  	0x61, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x37, 0x0a, 0x21, 0x69, 0x6f, 0x2e, 0x65,
   111  	0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
   112  	0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x08, 0x54,
   113  	0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10,
   114  	0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   115  }
   116  
   117  var (
   118  	file_envoy_admin_v2alpha_tap_proto_rawDescOnce sync.Once
   119  	file_envoy_admin_v2alpha_tap_proto_rawDescData = file_envoy_admin_v2alpha_tap_proto_rawDesc
   120  )
   121  
   122  func file_envoy_admin_v2alpha_tap_proto_rawDescGZIP() []byte {
   123  	file_envoy_admin_v2alpha_tap_proto_rawDescOnce.Do(func() {
   124  		file_envoy_admin_v2alpha_tap_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v2alpha_tap_proto_rawDescData)
   125  	})
   126  	return file_envoy_admin_v2alpha_tap_proto_rawDescData
   127  }
   128  
   129  var file_envoy_admin_v2alpha_tap_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   130  var file_envoy_admin_v2alpha_tap_proto_goTypes = []interface{}{
   131  	(*TapRequest)(nil),        // 0: envoy.admin.v2alpha.TapRequest
   132  	(*v2alpha.TapConfig)(nil), // 1: envoy.service.tap.v2alpha.TapConfig
   133  }
   134  var file_envoy_admin_v2alpha_tap_proto_depIdxs = []int32{
   135  	1, // 0: envoy.admin.v2alpha.TapRequest.tap_config:type_name -> envoy.service.tap.v2alpha.TapConfig
   136  	1, // [1:1] is the sub-list for method output_type
   137  	1, // [1:1] is the sub-list for method input_type
   138  	1, // [1:1] is the sub-list for extension type_name
   139  	1, // [1:1] is the sub-list for extension extendee
   140  	0, // [0:1] is the sub-list for field type_name
   141  }
   142  
   143  func init() { file_envoy_admin_v2alpha_tap_proto_init() }
   144  func file_envoy_admin_v2alpha_tap_proto_init() {
   145  	if File_envoy_admin_v2alpha_tap_proto != nil {
   146  		return
   147  	}
   148  	if !protoimpl.UnsafeEnabled {
   149  		file_envoy_admin_v2alpha_tap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   150  			switch v := v.(*TapRequest); i {
   151  			case 0:
   152  				return &v.state
   153  			case 1:
   154  				return &v.sizeCache
   155  			case 2:
   156  				return &v.unknownFields
   157  			default:
   158  				return nil
   159  			}
   160  		}
   161  	}
   162  	type x struct{}
   163  	out := protoimpl.TypeBuilder{
   164  		File: protoimpl.DescBuilder{
   165  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   166  			RawDescriptor: file_envoy_admin_v2alpha_tap_proto_rawDesc,
   167  			NumEnums:      0,
   168  			NumMessages:   1,
   169  			NumExtensions: 0,
   170  			NumServices:   0,
   171  		},
   172  		GoTypes:           file_envoy_admin_v2alpha_tap_proto_goTypes,
   173  		DependencyIndexes: file_envoy_admin_v2alpha_tap_proto_depIdxs,
   174  		MessageInfos:      file_envoy_admin_v2alpha_tap_proto_msgTypes,
   175  	}.Build()
   176  	File_envoy_admin_v2alpha_tap_proto = out.File
   177  	file_envoy_admin_v2alpha_tap_proto_rawDesc = nil
   178  	file_envoy_admin_v2alpha_tap_proto_goTypes = nil
   179  	file_envoy_admin_v2alpha_tap_proto_depIdxs = nil
   180  }