github.com/whoyao/protocol@v0.0.0-20230519045905-2d8ace718ca5/rpc/ingress.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.21.12 5 // source: rpc/ingress.proto 6 7 package rpc 8 9 import ( 10 livekit "github.com/whoyao/protocol/livekit" 11 _ "github.com/livekit/psrpc/protoc-gen-psrpc/options" 12 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 13 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 14 emptypb "google.golang.org/protobuf/types/known/emptypb" 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 type ListActiveIngressRequest struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 } 31 32 func (x *ListActiveIngressRequest) Reset() { 33 *x = ListActiveIngressRequest{} 34 if protoimpl.UnsafeEnabled { 35 mi := &file_rpc_ingress_proto_msgTypes[0] 36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 37 ms.StoreMessageInfo(mi) 38 } 39 } 40 41 func (x *ListActiveIngressRequest) String() string { 42 return protoimpl.X.MessageStringOf(x) 43 } 44 45 func (*ListActiveIngressRequest) ProtoMessage() {} 46 47 func (x *ListActiveIngressRequest) ProtoReflect() protoreflect.Message { 48 mi := &file_rpc_ingress_proto_msgTypes[0] 49 if protoimpl.UnsafeEnabled && x != nil { 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 if ms.LoadMessageInfo() == nil { 52 ms.StoreMessageInfo(mi) 53 } 54 return ms 55 } 56 return mi.MessageOf(x) 57 } 58 59 // Deprecated: Use ListActiveIngressRequest.ProtoReflect.Descriptor instead. 60 func (*ListActiveIngressRequest) Descriptor() ([]byte, []int) { 61 return file_rpc_ingress_proto_rawDescGZIP(), []int{0} 62 } 63 64 type ListActiveIngressResponse struct { 65 state protoimpl.MessageState 66 sizeCache protoimpl.SizeCache 67 unknownFields protoimpl.UnknownFields 68 69 IngressIds []string `protobuf:"bytes,1,rep,name=ingress_ids,json=ingressIds,proto3" json:"ingress_ids,omitempty"` 70 } 71 72 func (x *ListActiveIngressResponse) Reset() { 73 *x = ListActiveIngressResponse{} 74 if protoimpl.UnsafeEnabled { 75 mi := &file_rpc_ingress_proto_msgTypes[1] 76 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 77 ms.StoreMessageInfo(mi) 78 } 79 } 80 81 func (x *ListActiveIngressResponse) String() string { 82 return protoimpl.X.MessageStringOf(x) 83 } 84 85 func (*ListActiveIngressResponse) ProtoMessage() {} 86 87 func (x *ListActiveIngressResponse) ProtoReflect() protoreflect.Message { 88 mi := &file_rpc_ingress_proto_msgTypes[1] 89 if protoimpl.UnsafeEnabled && x != nil { 90 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 91 if ms.LoadMessageInfo() == nil { 92 ms.StoreMessageInfo(mi) 93 } 94 return ms 95 } 96 return mi.MessageOf(x) 97 } 98 99 // Deprecated: Use ListActiveIngressResponse.ProtoReflect.Descriptor instead. 100 func (*ListActiveIngressResponse) Descriptor() ([]byte, []int) { 101 return file_rpc_ingress_proto_rawDescGZIP(), []int{1} 102 } 103 104 func (x *ListActiveIngressResponse) GetIngressIds() []string { 105 if x != nil { 106 return x.IngressIds 107 } 108 return nil 109 } 110 111 type DeleteWHIPResourceRequest struct { 112 state protoimpl.MessageState 113 sizeCache protoimpl.SizeCache 114 unknownFields protoimpl.UnknownFields 115 116 ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` 117 } 118 119 func (x *DeleteWHIPResourceRequest) Reset() { 120 *x = DeleteWHIPResourceRequest{} 121 if protoimpl.UnsafeEnabled { 122 mi := &file_rpc_ingress_proto_msgTypes[2] 123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 124 ms.StoreMessageInfo(mi) 125 } 126 } 127 128 func (x *DeleteWHIPResourceRequest) String() string { 129 return protoimpl.X.MessageStringOf(x) 130 } 131 132 func (*DeleteWHIPResourceRequest) ProtoMessage() {} 133 134 func (x *DeleteWHIPResourceRequest) ProtoReflect() protoreflect.Message { 135 mi := &file_rpc_ingress_proto_msgTypes[2] 136 if protoimpl.UnsafeEnabled && x != nil { 137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 138 if ms.LoadMessageInfo() == nil { 139 ms.StoreMessageInfo(mi) 140 } 141 return ms 142 } 143 return mi.MessageOf(x) 144 } 145 146 // Deprecated: Use DeleteWHIPResourceRequest.ProtoReflect.Descriptor instead. 147 func (*DeleteWHIPResourceRequest) Descriptor() ([]byte, []int) { 148 return file_rpc_ingress_proto_rawDescGZIP(), []int{2} 149 } 150 151 func (x *DeleteWHIPResourceRequest) GetResourceId() string { 152 if x != nil { 153 return x.ResourceId 154 } 155 return "" 156 } 157 158 var File_rpc_ingress_proto protoreflect.FileDescriptor 159 160 var file_rpc_ingress_proto_rawDesc = []byte{ 161 0x0a, 0x11, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 162 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 163 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 164 0x5f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 165 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 166 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 167 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 168 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x41, 169 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 170 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 171 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x67, 0x72, 0x65, 172 0x73, 0x73, 0x49, 0x64, 0x73, 0x22, 0x3c, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 173 0x48, 0x49, 0x50, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 174 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 175 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 176 0x65, 0x49, 0x64, 0x32, 0x6d, 0x0a, 0x0f, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 177 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x5a, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 178 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x2e, 0x72, 0x70, 179 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x67, 0x72, 180 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x72, 0x70, 0x63, 181 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 182 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xb2, 0x89, 0x01, 0x02, 183 0x08, 0x01, 0x32, 0x84, 0x02, 0x0a, 0x0e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x48, 0x61, 184 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x4d, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 185 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 186 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 187 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 188 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x06, 0xb2, 0x89, 189 0x01, 0x02, 0x18, 0x01, 0x12, 0x4d, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 190 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 191 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 192 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, 193 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x06, 0xb2, 0x89, 0x01, 194 0x02, 0x18, 0x01, 0x12, 0x54, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x48, 0x49, 195 0x50, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x72, 0x70, 0x63, 0x2e, 196 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x48, 0x49, 0x50, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 197 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 198 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 199 0x79, 0x22, 0x06, 0xb2, 0x89, 0x01, 0x02, 0x18, 0x01, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 200 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 201 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x72, 0x76, 202 0x69, 0x63, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 203 } 204 205 var ( 206 file_rpc_ingress_proto_rawDescOnce sync.Once 207 file_rpc_ingress_proto_rawDescData = file_rpc_ingress_proto_rawDesc 208 ) 209 210 func file_rpc_ingress_proto_rawDescGZIP() []byte { 211 file_rpc_ingress_proto_rawDescOnce.Do(func() { 212 file_rpc_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_ingress_proto_rawDescData) 213 }) 214 return file_rpc_ingress_proto_rawDescData 215 } 216 217 var file_rpc_ingress_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 218 var file_rpc_ingress_proto_goTypes = []interface{}{ 219 (*ListActiveIngressRequest)(nil), // 0: rpc.ListActiveIngressRequest 220 (*ListActiveIngressResponse)(nil), // 1: rpc.ListActiveIngressResponse 221 (*DeleteWHIPResourceRequest)(nil), // 2: rpc.DeleteWHIPResourceRequest 222 (*livekit.UpdateIngressRequest)(nil), // 3: livekit.UpdateIngressRequest 223 (*livekit.DeleteIngressRequest)(nil), // 4: livekit.DeleteIngressRequest 224 (*livekit.IngressState)(nil), // 5: livekit.IngressState 225 (*emptypb.Empty)(nil), // 6: google.protobuf.Empty 226 } 227 var file_rpc_ingress_proto_depIdxs = []int32{ 228 0, // 0: rpc.IngressInternal.ListActiveIngress:input_type -> rpc.ListActiveIngressRequest 229 3, // 1: rpc.IngressHandler.UpdateIngress:input_type -> livekit.UpdateIngressRequest 230 4, // 2: rpc.IngressHandler.DeleteIngress:input_type -> livekit.DeleteIngressRequest 231 2, // 3: rpc.IngressHandler.DeleteWHIPResource:input_type -> rpc.DeleteWHIPResourceRequest 232 1, // 4: rpc.IngressInternal.ListActiveIngress:output_type -> rpc.ListActiveIngressResponse 233 5, // 5: rpc.IngressHandler.UpdateIngress:output_type -> livekit.IngressState 234 5, // 6: rpc.IngressHandler.DeleteIngress:output_type -> livekit.IngressState 235 6, // 7: rpc.IngressHandler.DeleteWHIPResource:output_type -> google.protobuf.Empty 236 4, // [4:8] is the sub-list for method output_type 237 0, // [0:4] is the sub-list for method input_type 238 0, // [0:0] is the sub-list for extension type_name 239 0, // [0:0] is the sub-list for extension extendee 240 0, // [0:0] is the sub-list for field type_name 241 } 242 243 func init() { file_rpc_ingress_proto_init() } 244 func file_rpc_ingress_proto_init() { 245 if File_rpc_ingress_proto != nil { 246 return 247 } 248 if !protoimpl.UnsafeEnabled { 249 file_rpc_ingress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 250 switch v := v.(*ListActiveIngressRequest); i { 251 case 0: 252 return &v.state 253 case 1: 254 return &v.sizeCache 255 case 2: 256 return &v.unknownFields 257 default: 258 return nil 259 } 260 } 261 file_rpc_ingress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 262 switch v := v.(*ListActiveIngressResponse); i { 263 case 0: 264 return &v.state 265 case 1: 266 return &v.sizeCache 267 case 2: 268 return &v.unknownFields 269 default: 270 return nil 271 } 272 } 273 file_rpc_ingress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 274 switch v := v.(*DeleteWHIPResourceRequest); i { 275 case 0: 276 return &v.state 277 case 1: 278 return &v.sizeCache 279 case 2: 280 return &v.unknownFields 281 default: 282 return nil 283 } 284 } 285 } 286 type x struct{} 287 out := protoimpl.TypeBuilder{ 288 File: protoimpl.DescBuilder{ 289 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 290 RawDescriptor: file_rpc_ingress_proto_rawDesc, 291 NumEnums: 0, 292 NumMessages: 3, 293 NumExtensions: 0, 294 NumServices: 2, 295 }, 296 GoTypes: file_rpc_ingress_proto_goTypes, 297 DependencyIndexes: file_rpc_ingress_proto_depIdxs, 298 MessageInfos: file_rpc_ingress_proto_msgTypes, 299 }.Build() 300 File_rpc_ingress_proto = out.File 301 file_rpc_ingress_proto_rawDesc = nil 302 file_rpc_ingress_proto_goTypes = nil 303 file_rpc_ingress_proto_depIdxs = nil 304 }