github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/extensions/transport_sockets/quic/v3/quic_transport.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/quic/v3/quic_transport.proto
     6  
     7  package envoy_extensions_transport_sockets_quic_v3
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	v3 "github.com/hxx258456/ccgo/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    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  // Configuration for Downstream QUIC transport socket. This provides Google's implementation of Google QUIC and IETF QUIC to Envoy.
    32  type QuicDownstreamTransport struct {
    33  	state         protoimpl.MessageState
    34  	sizeCache     protoimpl.SizeCache
    35  	unknownFields protoimpl.UnknownFields
    36  
    37  	DownstreamTlsContext *v3.DownstreamTlsContext `protobuf:"bytes,1,opt,name=downstream_tls_context,json=downstreamTlsContext,proto3" json:"downstream_tls_context,omitempty"`
    38  }
    39  
    40  func (x *QuicDownstreamTransport) Reset() {
    41  	*x = QuicDownstreamTransport{}
    42  	if protoimpl.UnsafeEnabled {
    43  		mi := &file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes[0]
    44  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    45  		ms.StoreMessageInfo(mi)
    46  	}
    47  }
    48  
    49  func (x *QuicDownstreamTransport) String() string {
    50  	return protoimpl.X.MessageStringOf(x)
    51  }
    52  
    53  func (*QuicDownstreamTransport) ProtoMessage() {}
    54  
    55  func (x *QuicDownstreamTransport) ProtoReflect() protoreflect.Message {
    56  	mi := &file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes[0]
    57  	if protoimpl.UnsafeEnabled && x != nil {
    58  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    59  		if ms.LoadMessageInfo() == nil {
    60  			ms.StoreMessageInfo(mi)
    61  		}
    62  		return ms
    63  	}
    64  	return mi.MessageOf(x)
    65  }
    66  
    67  // Deprecated: Use QuicDownstreamTransport.ProtoReflect.Descriptor instead.
    68  func (*QuicDownstreamTransport) Descriptor() ([]byte, []int) {
    69  	return file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescGZIP(), []int{0}
    70  }
    71  
    72  func (x *QuicDownstreamTransport) GetDownstreamTlsContext() *v3.DownstreamTlsContext {
    73  	if x != nil {
    74  		return x.DownstreamTlsContext
    75  	}
    76  	return nil
    77  }
    78  
    79  // Configuration for Upstream QUIC transport socket. This provides Google's implementation of Google QUIC and IETF QUIC to Envoy.
    80  type QuicUpstreamTransport struct {
    81  	state         protoimpl.MessageState
    82  	sizeCache     protoimpl.SizeCache
    83  	unknownFields protoimpl.UnknownFields
    84  
    85  	UpstreamTlsContext *v3.UpstreamTlsContext `protobuf:"bytes,1,opt,name=upstream_tls_context,json=upstreamTlsContext,proto3" json:"upstream_tls_context,omitempty"`
    86  }
    87  
    88  func (x *QuicUpstreamTransport) Reset() {
    89  	*x = QuicUpstreamTransport{}
    90  	if protoimpl.UnsafeEnabled {
    91  		mi := &file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes[1]
    92  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    93  		ms.StoreMessageInfo(mi)
    94  	}
    95  }
    96  
    97  func (x *QuicUpstreamTransport) String() string {
    98  	return protoimpl.X.MessageStringOf(x)
    99  }
   100  
   101  func (*QuicUpstreamTransport) ProtoMessage() {}
   102  
   103  func (x *QuicUpstreamTransport) ProtoReflect() protoreflect.Message {
   104  	mi := &file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes[1]
   105  	if protoimpl.UnsafeEnabled && x != nil {
   106  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   107  		if ms.LoadMessageInfo() == nil {
   108  			ms.StoreMessageInfo(mi)
   109  		}
   110  		return ms
   111  	}
   112  	return mi.MessageOf(x)
   113  }
   114  
   115  // Deprecated: Use QuicUpstreamTransport.ProtoReflect.Descriptor instead.
   116  func (*QuicUpstreamTransport) Descriptor() ([]byte, []int) {
   117  	return file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescGZIP(), []int{1}
   118  }
   119  
   120  func (x *QuicUpstreamTransport) GetUpstreamTlsContext() *v3.UpstreamTlsContext {
   121  	if x != nil {
   122  		return x.UpstreamTlsContext
   123  	}
   124  	return nil
   125  }
   126  
   127  var File_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto protoreflect.FileDescriptor
   128  
   129  var file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDesc = []byte{
   130  	0x0a, 0x3f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
   131  	0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63,
   132  	0x6b, 0x65, 0x74, 0x73, 0x2f, 0x71, 0x75, 0x69, 0x63, 0x2f, 0x76, 0x33, 0x2f, 0x71, 0x75, 0x69,
   133  	0x63, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   134  	0x6f, 0x12, 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
   135  	0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f,
   136  	0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x71, 0x75, 0x69, 0x63, 0x2e, 0x76, 0x33, 0x1a, 0x33, 0x65,
   137  	0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
   138  	0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
   139  	0x73, 0x2f, 0x74, 0x6c, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f,
   140  	0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
   141  	0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   142  	0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69,
   143  	0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x17, 0x51,
   144  	0x75, 0x69, 0x63, 0x44, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61,
   145  	0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x7f, 0x0a, 0x16, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74,
   146  	0x72, 0x65, 0x61, 0x6d, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
   147  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65,
   148  	0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
   149  	0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x6c, 0x73, 0x2e,
   150  	0x76, 0x33, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x6c, 0x73,
   151  	0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10,
   152  	0x01, 0x52, 0x14, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x6c, 0x73,
   153  	0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x92, 0x01, 0x0a, 0x15, 0x51, 0x75, 0x69, 0x63,
   154  	0x55, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
   155  	0x74, 0x12, 0x79, 0x0a, 0x14, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x74, 0x6c,
   156  	0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
   157  	0x3d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
   158  	0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63,
   159  	0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x6c, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x73, 0x74,
   160  	0x72, 0x65, 0x61, 0x6d, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x08,
   161  	0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x12, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65,
   162  	0x61, 0x6d, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x58, 0x0a, 0x38,
   163  	0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e,
   164  	0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74,
   165  	0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73,
   166  	0x2e, 0x71, 0x75, 0x69, 0x63, 0x2e, 0x76, 0x33, 0x42, 0x12, 0x51, 0x75, 0x69, 0x63, 0x54, 0x72,
   167  	0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80,
   168  	0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   169  }
   170  
   171  var (
   172  	file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescOnce sync.Once
   173  	file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescData = file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDesc
   174  )
   175  
   176  func file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescGZIP() []byte {
   177  	file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescOnce.Do(func() {
   178  		file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescData)
   179  	})
   180  	return file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescData
   181  }
   182  
   183  var file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   184  var file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_goTypes = []interface{}{
   185  	(*QuicDownstreamTransport)(nil), // 0: envoy.extensions.transport_sockets.quic.v3.QuicDownstreamTransport
   186  	(*QuicUpstreamTransport)(nil),   // 1: envoy.extensions.transport_sockets.quic.v3.QuicUpstreamTransport
   187  	(*v3.DownstreamTlsContext)(nil), // 2: envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext
   188  	(*v3.UpstreamTlsContext)(nil),   // 3: envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
   189  }
   190  var file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_depIdxs = []int32{
   191  	2, // 0: envoy.extensions.transport_sockets.quic.v3.QuicDownstreamTransport.downstream_tls_context:type_name -> envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext
   192  	3, // 1: envoy.extensions.transport_sockets.quic.v3.QuicUpstreamTransport.upstream_tls_context:type_name -> envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
   193  	2, // [2:2] is the sub-list for method output_type
   194  	2, // [2:2] is the sub-list for method input_type
   195  	2, // [2:2] is the sub-list for extension type_name
   196  	2, // [2:2] is the sub-list for extension extendee
   197  	0, // [0:2] is the sub-list for field type_name
   198  }
   199  
   200  func init() { file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_init() }
   201  func file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_init() {
   202  	if File_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto != nil {
   203  		return
   204  	}
   205  	if !protoimpl.UnsafeEnabled {
   206  		file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   207  			switch v := v.(*QuicDownstreamTransport); i {
   208  			case 0:
   209  				return &v.state
   210  			case 1:
   211  				return &v.sizeCache
   212  			case 2:
   213  				return &v.unknownFields
   214  			default:
   215  				return nil
   216  			}
   217  		}
   218  		file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   219  			switch v := v.(*QuicUpstreamTransport); i {
   220  			case 0:
   221  				return &v.state
   222  			case 1:
   223  				return &v.sizeCache
   224  			case 2:
   225  				return &v.unknownFields
   226  			default:
   227  				return nil
   228  			}
   229  		}
   230  	}
   231  	type x struct{}
   232  	out := protoimpl.TypeBuilder{
   233  		File: protoimpl.DescBuilder{
   234  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   235  			RawDescriptor: file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDesc,
   236  			NumEnums:      0,
   237  			NumMessages:   2,
   238  			NumExtensions: 0,
   239  			NumServices:   0,
   240  		},
   241  		GoTypes:           file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_goTypes,
   242  		DependencyIndexes: file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_depIdxs,
   243  		MessageInfos:      file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes,
   244  	}.Build()
   245  	File_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto = out.File
   246  	file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDesc = nil
   247  	file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_goTypes = nil
   248  	file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_depIdxs = nil
   249  }