From cd85e855dd5e95f65de1c9012924c5bb72ddf50c Mon Sep 17 00:00:00 2001 From: Denys Smirnov Date: Mon, 9 Dec 2024 19:58:55 +0200 Subject: [PATCH] Regenerate replay protos. --- replay/cloud_replay.pb.go | 182 +++++++------------------------------- 1 file changed, 34 insertions(+), 148 deletions(-) diff --git a/replay/cloud_replay.pb.go b/replay/cloud_replay.pb.go index 7ff9a4b5..158ba986 100644 --- a/replay/cloud_replay.pb.go +++ b/replay/cloud_replay.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.0 +// protoc-gen-go v1.35.2 +// protoc v4.23.4 // source: cloud_replay.proto package replay @@ -29,11 +29,9 @@ type ListReplaysRequest struct { func (x *ListReplaysRequest) Reset() { *x = ListReplaysRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListReplaysRequest) String() string { @@ -44,7 +42,7 @@ func (*ListReplaysRequest) ProtoMessage() {} func (x *ListReplaysRequest) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,11 +67,9 @@ type ListReplaysResponse struct { func (x *ListReplaysResponse) Reset() { *x = ListReplaysResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListReplaysResponse) String() string { @@ -84,7 +80,7 @@ func (*ListReplaysResponse) ProtoMessage() {} func (x *ListReplaysResponse) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -116,11 +112,9 @@ type ReplayInfo struct { func (x *ReplayInfo) Reset() { *x = ReplayInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReplayInfo) String() string { @@ -131,7 +125,7 @@ func (*ReplayInfo) ProtoMessage() {} func (x *ReplayInfo) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -165,11 +159,9 @@ type LoadReplayRequest struct { func (x *LoadReplayRequest) Reset() { *x = LoadReplayRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LoadReplayRequest) String() string { @@ -180,7 +172,7 @@ func (*LoadReplayRequest) ProtoMessage() {} func (x *LoadReplayRequest) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -226,11 +218,9 @@ type LoadReplayResponse struct { func (x *LoadReplayResponse) Reset() { *x = LoadReplayResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LoadReplayResponse) String() string { @@ -241,7 +231,7 @@ func (*LoadReplayResponse) ProtoMessage() {} func (x *LoadReplayResponse) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -274,11 +264,9 @@ type RoomSeekRequest struct { func (x *RoomSeekRequest) Reset() { *x = RoomSeekRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomSeekRequest) String() string { @@ -289,7 +277,7 @@ func (*RoomSeekRequest) ProtoMessage() {} func (x *RoomSeekRequest) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -328,11 +316,9 @@ type CloseReplayRequest struct { func (x *CloseReplayRequest) Reset() { *x = CloseReplayRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CloseReplayRequest) String() string { @@ -343,7 +329,7 @@ func (*CloseReplayRequest) ProtoMessage() {} func (x *CloseReplayRequest) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -375,11 +361,9 @@ type DeleteReplayRequest struct { func (x *DeleteReplayRequest) Reset() { *x = DeleteReplayRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteReplayRequest) String() string { @@ -390,7 +374,7 @@ func (*DeleteReplayRequest) ProtoMessage() {} func (x *DeleteReplayRequest) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -526,104 +510,6 @@ func file_cloud_replay_proto_init() { if File_cloud_replay_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_cloud_replay_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ListReplaysRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ListReplaysResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*ReplayInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*LoadReplayRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*LoadReplayResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*RoomSeekRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*CloseReplayRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*DeleteReplayRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{