github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/type/http.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/type/http.proto
     6  
     7  package envoy_type
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	proto "github.com/golang/protobuf/proto"
    12  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    13  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    14  	reflect "reflect"
    15  	sync "sync"
    16  )
    17  
    18  const (
    19  	// Verify that this generated code is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    21  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    23  )
    24  
    25  // This is a compile-time assertion that a sufficiently up-to-date version
    26  // of the legacy proto package is being used.
    27  const _ = proto.ProtoPackageIsVersion4
    28  
    29  type CodecClientType int32
    30  
    31  const (
    32  	CodecClientType_HTTP1 CodecClientType = 0
    33  	CodecClientType_HTTP2 CodecClientType = 1
    34  	// [#not-implemented-hide:] QUIC implementation is not production ready yet. Use this enum with
    35  	// caution to prevent accidental execution of QUIC code. I.e. `!= HTTP2` is no longer sufficient
    36  	// to distinguish HTTP1 and HTTP2 traffic.
    37  	CodecClientType_HTTP3 CodecClientType = 2
    38  )
    39  
    40  // Enum value maps for CodecClientType.
    41  var (
    42  	CodecClientType_name = map[int32]string{
    43  		0: "HTTP1",
    44  		1: "HTTP2",
    45  		2: "HTTP3",
    46  	}
    47  	CodecClientType_value = map[string]int32{
    48  		"HTTP1": 0,
    49  		"HTTP2": 1,
    50  		"HTTP3": 2,
    51  	}
    52  )
    53  
    54  func (x CodecClientType) Enum() *CodecClientType {
    55  	p := new(CodecClientType)
    56  	*p = x
    57  	return p
    58  }
    59  
    60  func (x CodecClientType) String() string {
    61  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    62  }
    63  
    64  func (CodecClientType) Descriptor() protoreflect.EnumDescriptor {
    65  	return file_envoy_type_http_proto_enumTypes[0].Descriptor()
    66  }
    67  
    68  func (CodecClientType) Type() protoreflect.EnumType {
    69  	return &file_envoy_type_http_proto_enumTypes[0]
    70  }
    71  
    72  func (x CodecClientType) Number() protoreflect.EnumNumber {
    73  	return protoreflect.EnumNumber(x)
    74  }
    75  
    76  // Deprecated: Use CodecClientType.Descriptor instead.
    77  func (CodecClientType) EnumDescriptor() ([]byte, []int) {
    78  	return file_envoy_type_http_proto_rawDescGZIP(), []int{0}
    79  }
    80  
    81  var File_envoy_type_http_proto protoreflect.FileDescriptor
    82  
    83  var file_envoy_type_http_proto_rawDesc = []byte{
    84  	0x0a, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x68, 0x74, 0x74,
    85  	0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74,
    86  	0x79, 0x70, 0x65, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
    87  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
    88  	0x74, 0x6f, 0x2a, 0x32, 0x0a, 0x0f, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x43, 0x6c, 0x69, 0x65, 0x6e,
    89  	0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x54, 0x54, 0x50, 0x31, 0x10, 0x00,
    90  	0x12, 0x09, 0x0a, 0x05, 0x48, 0x54, 0x54, 0x50, 0x32, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x48,
    91  	0x54, 0x54, 0x50, 0x33, 0x10, 0x02, 0x42, 0x2f, 0x0a, 0x18, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76,
    92  	0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79,
    93  	0x70, 0x65, 0x42, 0x09, 0x48, 0x74, 0x74, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba,
    94  	0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
    95  }
    96  
    97  var (
    98  	file_envoy_type_http_proto_rawDescOnce sync.Once
    99  	file_envoy_type_http_proto_rawDescData = file_envoy_type_http_proto_rawDesc
   100  )
   101  
   102  func file_envoy_type_http_proto_rawDescGZIP() []byte {
   103  	file_envoy_type_http_proto_rawDescOnce.Do(func() {
   104  		file_envoy_type_http_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_type_http_proto_rawDescData)
   105  	})
   106  	return file_envoy_type_http_proto_rawDescData
   107  }
   108  
   109  var file_envoy_type_http_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   110  var file_envoy_type_http_proto_goTypes = []interface{}{
   111  	(CodecClientType)(0), // 0: envoy.type.CodecClientType
   112  }
   113  var file_envoy_type_http_proto_depIdxs = []int32{
   114  	0, // [0:0] is the sub-list for method output_type
   115  	0, // [0:0] is the sub-list for method input_type
   116  	0, // [0:0] is the sub-list for extension type_name
   117  	0, // [0:0] is the sub-list for extension extendee
   118  	0, // [0:0] is the sub-list for field type_name
   119  }
   120  
   121  func init() { file_envoy_type_http_proto_init() }
   122  func file_envoy_type_http_proto_init() {
   123  	if File_envoy_type_http_proto != nil {
   124  		return
   125  	}
   126  	type x struct{}
   127  	out := protoimpl.TypeBuilder{
   128  		File: protoimpl.DescBuilder{
   129  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   130  			RawDescriptor: file_envoy_type_http_proto_rawDesc,
   131  			NumEnums:      1,
   132  			NumMessages:   0,
   133  			NumExtensions: 0,
   134  			NumServices:   0,
   135  		},
   136  		GoTypes:           file_envoy_type_http_proto_goTypes,
   137  		DependencyIndexes: file_envoy_type_http_proto_depIdxs,
   138  		EnumInfos:         file_envoy_type_http_proto_enumTypes,
   139  	}.Build()
   140  	File_envoy_type_http_proto = out.File
   141  	file_envoy_type_http_proto_rawDesc = nil
   142  	file_envoy_type_http_proto_goTypes = nil
   143  	file_envoy_type_http_proto_depIdxs = nil
   144  }