gitee.com/zhaochuninhefei/gmgo@v0.0.31-0.20240209061119-069254a02979/go-control-plane/envoy/extensions/transport_sockets/s2a/v3alpha/s2a.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/s2a/v3alpha/s2a.proto 6 7 package envoy_extensions_transport_sockets_s2a_v3alpha 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "github.com/envoyproxy/protoc-gen-validate/validate" 12 proto "github.com/golang/protobuf/proto" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 // This is a compile-time assertion that a sufficiently up-to-date version 27 // of the legacy proto package is being used. 28 const _ = proto.ProtoPackageIsVersion4 29 30 // [#not-implemented-hide:] 31 // Configuration for S2A transport socket. This allows Envoy clients to 32 // configure how to offload mTLS handshakes to the S2A service. 33 // https://github.com/google/s2a-core#readme 34 type S2AConfiguration struct { 35 state protoimpl.MessageState 36 sizeCache protoimpl.SizeCache 37 unknownFields protoimpl.UnknownFields 38 39 // The address of the S2A. This can be an IP address or a hostname, 40 // followed by a port number. 41 S2AAddress string `protobuf:"bytes,1,opt,name=s2a_address,json=s2aAddress,proto3" json:"s2a_address,omitempty"` 42 } 43 44 func (x *S2AConfiguration) Reset() { 45 *x = S2AConfiguration{} 46 if protoimpl.UnsafeEnabled { 47 mi := &file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_msgTypes[0] 48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 49 ms.StoreMessageInfo(mi) 50 } 51 } 52 53 func (x *S2AConfiguration) String() string { 54 return protoimpl.X.MessageStringOf(x) 55 } 56 57 func (*S2AConfiguration) ProtoMessage() {} 58 59 func (x *S2AConfiguration) ProtoReflect() protoreflect.Message { 60 mi := &file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_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 S2AConfiguration.ProtoReflect.Descriptor instead. 72 func (*S2AConfiguration) Descriptor() ([]byte, []int) { 73 return file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_rawDescGZIP(), []int{0} 74 } 75 76 func (x *S2AConfiguration) GetS2AAddress() string { 77 if x != nil { 78 return x.S2AAddress 79 } 80 return "" 81 } 82 83 var File_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto protoreflect.FileDescriptor 84 85 var file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_rawDesc = []byte{ 86 0x0a, 0x38, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 87 0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 88 0x6b, 0x65, 0x74, 0x73, 0x2f, 0x73, 0x32, 0x61, 0x2f, 0x76, 0x33, 0x61, 0x6c, 0x70, 0x68, 0x61, 89 0x2f, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 90 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 91 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x73, 92 0x32, 0x61, 0x2e, 0x76, 0x33, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 93 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 94 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 95 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 96 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x10, 0x53, 0x32, 0x41, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 97 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x0b, 0x73, 0x32, 0x61, 0x5f, 0x61, 0x64, 98 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 99 0x72, 0x02, 0x10, 0x01, 0x52, 0x0a, 0x73, 0x32, 0x61, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 100 0x42, 0x5a, 0x0a, 0x3c, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 101 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 102 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 103 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x76, 0x33, 0x61, 0x6c, 0x70, 0x68, 0x61, 104 0x42, 0x08, 0x53, 0x32, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 105 0x06, 0x02, 0x08, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 106 0x6f, 0x74, 0x6f, 0x33, 107 } 108 109 var ( 110 file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_rawDescOnce sync.Once 111 file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_rawDescData = file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_rawDesc 112 ) 113 114 func file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_rawDescGZIP() []byte { 115 file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_rawDescOnce.Do(func() { 116 file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_rawDescData) 117 }) 118 return file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_rawDescData 119 } 120 121 var file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 122 var file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_goTypes = []interface{}{ 123 (*S2AConfiguration)(nil), // 0: envoy.extensions.transport_sockets.s2a.v3alpha.S2AConfiguration 124 } 125 var file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_depIdxs = []int32{ 126 0, // [0:0] is the sub-list for method output_type 127 0, // [0:0] is the sub-list for method input_type 128 0, // [0:0] is the sub-list for extension type_name 129 0, // [0:0] is the sub-list for extension extendee 130 0, // [0:0] is the sub-list for field type_name 131 } 132 133 func init() { file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_init() } 134 func file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_init() { 135 if File_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto != nil { 136 return 137 } 138 if !protoimpl.UnsafeEnabled { 139 file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 140 switch v := v.(*S2AConfiguration); i { 141 case 0: 142 return &v.state 143 case 1: 144 return &v.sizeCache 145 case 2: 146 return &v.unknownFields 147 default: 148 return nil 149 } 150 } 151 } 152 type x struct{} 153 out := protoimpl.TypeBuilder{ 154 File: protoimpl.DescBuilder{ 155 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 156 RawDescriptor: file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_rawDesc, 157 NumEnums: 0, 158 NumMessages: 1, 159 NumExtensions: 0, 160 NumServices: 0, 161 }, 162 GoTypes: file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_goTypes, 163 DependencyIndexes: file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_depIdxs, 164 MessageInfos: file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_msgTypes, 165 }.Build() 166 File_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto = out.File 167 file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_rawDesc = nil 168 file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_goTypes = nil 169 file_envoy_extensions_transport_sockets_s2a_v3alpha_s2a_proto_depIdxs = nil 170 }