github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/type/v3/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/v3/http.proto
     6  
     7  package envoy_type_v3
     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_v3_http_proto_enumTypes[0].Descriptor()
    66  }
    67  
    68  func (CodecClientType) Type() protoreflect.EnumType {
    69  	return &file_envoy_type_v3_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_v3_http_proto_rawDescGZIP(), []int{0}
    79  }
    80  
    81  var File_envoy_type_v3_http_proto protoreflect.FileDescriptor
    82  
    83  var file_envoy_type_v3_http_proto_rawDesc = []byte{
    84  	0x0a, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f,
    85  	0x68, 0x74, 0x74, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x65, 0x6e, 0x76, 0x6f,
    86  	0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f,
    87  	0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74,
    88  	0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x32, 0x0a, 0x0f, 0x43, 0x6f, 0x64, 0x65,
    89  	0x63, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x48,
    90  	0x54, 0x54, 0x50, 0x31, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x54, 0x54, 0x50, 0x32, 0x10,
    91  	0x01, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x54, 0x54, 0x50, 0x33, 0x10, 0x02, 0x42, 0x32, 0x0a, 0x1b,
    92  	0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e,
    93  	0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x48, 0x74, 0x74,
    94  	0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02,
    95  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
    96  }
    97  
    98  var (
    99  	file_envoy_type_v3_http_proto_rawDescOnce sync.Once
   100  	file_envoy_type_v3_http_proto_rawDescData = file_envoy_type_v3_http_proto_rawDesc
   101  )
   102  
   103  func file_envoy_type_v3_http_proto_rawDescGZIP() []byte {
   104  	file_envoy_type_v3_http_proto_rawDescOnce.Do(func() {
   105  		file_envoy_type_v3_http_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_type_v3_http_proto_rawDescData)
   106  	})
   107  	return file_envoy_type_v3_http_proto_rawDescData
   108  }
   109  
   110  var file_envoy_type_v3_http_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   111  var file_envoy_type_v3_http_proto_goTypes = []interface{}{
   112  	(CodecClientType)(0), // 0: envoy.type.v3.CodecClientType
   113  }
   114  var file_envoy_type_v3_http_proto_depIdxs = []int32{
   115  	0, // [0:0] is the sub-list for method output_type
   116  	0, // [0:0] is the sub-list for method input_type
   117  	0, // [0:0] is the sub-list for extension type_name
   118  	0, // [0:0] is the sub-list for extension extendee
   119  	0, // [0:0] is the sub-list for field type_name
   120  }
   121  
   122  func init() { file_envoy_type_v3_http_proto_init() }
   123  func file_envoy_type_v3_http_proto_init() {
   124  	if File_envoy_type_v3_http_proto != nil {
   125  		return
   126  	}
   127  	type x struct{}
   128  	out := protoimpl.TypeBuilder{
   129  		File: protoimpl.DescBuilder{
   130  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   131  			RawDescriptor: file_envoy_type_v3_http_proto_rawDesc,
   132  			NumEnums:      1,
   133  			NumMessages:   0,
   134  			NumExtensions: 0,
   135  			NumServices:   0,
   136  		},
   137  		GoTypes:           file_envoy_type_v3_http_proto_goTypes,
   138  		DependencyIndexes: file_envoy_type_v3_http_proto_depIdxs,
   139  		EnumInfos:         file_envoy_type_v3_http_proto_enumTypes,
   140  	}.Build()
   141  	File_envoy_type_v3_http_proto = out.File
   142  	file_envoy_type_v3_http_proto_rawDesc = nil
   143  	file_envoy_type_v3_http_proto_goTypes = nil
   144  	file_envoy_type_v3_http_proto_depIdxs = nil
   145  }