diff --git a/common/v1/id.pb.go b/common/v1/id.pb.go index fa2634e2..721a92e3 100644 --- a/common/v1/id.pb.go +++ b/common/v1/id.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: common/v1/id.proto @@ -30,11 +30,9 @@ type UUID struct { func (x *UUID) Reset() { *x = UUID{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_id_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_id_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UUID) String() string { @@ -45,7 +43,7 @@ func (*UUID) ProtoMessage() {} func (x *UUID) ProtoReflect() protoreflect.Message { mi := &file_common_v1_id_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) @@ -99,7 +97,7 @@ func file_common_v1_id_proto_rawDescGZIP() []byte { } var file_common_v1_id_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_common_v1_id_proto_goTypes = []interface{}{ +var file_common_v1_id_proto_goTypes = []any{ (*UUID)(nil), // 0: common.v1.UUID } var file_common_v1_id_proto_depIdxs = []int32{ @@ -115,20 +113,6 @@ func file_common_v1_id_proto_init() { if File_common_v1_id_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_common_v1_id_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UUID); 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{ diff --git a/dfs/storj/uplink/uplink.go b/dfs/storj/uplink/uplink.go index d8448f8b..7b4a93ec 100644 --- a/dfs/storj/uplink/uplink.go +++ b/dfs/storj/uplink/uplink.go @@ -83,10 +83,6 @@ func (u *storjUplink) UploadPart( ctx, cancel := context.WithTimeout(ctx, time.Minute*20) defer cancel() - if partNumber > config.MaxS3UploadParts { - return s3types.CompletedPart{}, errors.New("ERR_TOO_MANY_PARTS") - } - //nolint:gosec resp, err := u.client.UploadPart(ctx, u.bucket, key, uploadId, uint32(partNumber)) if err != nil { diff --git a/protos/buf.yaml b/protos/buf.yaml index b0c0f11f..e6b4e5c4 100644 --- a/protos/buf.yaml +++ b/protos/buf.yaml @@ -2,7 +2,7 @@ version: v1 name: buf.build/containerish/openregistry lint: use: - - DEFAULT + - STANDARD deps: - buf.build/googleapis/googleapis - buf.build/envoyproxy/protoc-gen-validate diff --git a/protos/common/v1/id.proto b/protos/common/v1/id.proto index 1187b975..970668b2 100644 --- a/protos/common/v1/id.proto +++ b/protos/common/v1/id.proto @@ -1,8 +1,9 @@ syntax = "proto3"; package common.v1; + option go_package = "github.com/containerish/OpenRegistry/common/v1;common_v1"; message UUID { - string value = 1; -} + string value = 1; +} diff --git a/protos/services/kon/github_actions/v1/build_job.proto b/protos/services/kon/github_actions/v1/build_job.proto index 700cd980..28cd3ce0 100644 --- a/protos/services/kon/github_actions/v1/build_job.proto +++ b/protos/services/kon/github_actions/v1/build_job.proto @@ -1,10 +1,12 @@ syntax = "proto3"; package services.kon.github_actions.v1; -option go_package = "github.com/containerish/OpenRegistry/services/kon/github_actions/v1;github_actions_v1"; + +import "common/v1/id.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -import "common/v1/id.proto"; + +option go_package = "github.com/containerish/OpenRegistry/services/kon/github_actions/v1;github_actions_v1"; service GithubActionsBuildService { rpc StoreJob(StoreJobRequest) returns (StoreJobResponse) {} @@ -17,91 +19,89 @@ service GithubActionsBuildService { } message BulkDeleteBuildJobsRequest { - common.v1.UUID repository_id = 1; - repeated common.v1.UUID job_ids = 2; - string repo = 3; + common.v1.UUID repository_id = 1; + repeated common.v1.UUID job_ids = 2; + string repo = 3; } message BulkDeleteBuildJobsResponse { - string message = 1; + string message = 1; } message TriggerBuildRequest { - common.v1.UUID run_id = 1; - google.protobuf.Timestamp triggered_at = 2; - common.v1.UUID repository_id = 3; - string repo = 4; + common.v1.UUID run_id = 1; + google.protobuf.Timestamp triggered_at = 2; + common.v1.UUID repository_id = 3; + string repo = 4; } message TriggerBuildResponse { - string message = 1; + string message = 1; } - message CancelBuildRequest { - common.v1.UUID job_id = 1; - int64 run_id = 2; - google.protobuf.Timestamp cancelled_at = 3; - common.v1.UUID repository_id = 4; - string repo = 5; + common.v1.UUID job_id = 1; + int64 run_id = 2; + google.protobuf.Timestamp cancelled_at = 3; + common.v1.UUID repository_id = 4; + string repo = 5; } message CancelBuildResponse { - string message = 1; + string message = 1; } message GetBuildJobRequest { - common.v1.UUID job_id = 1; - common.v1.UUID repository_id = 2; - string repo = 3; + common.v1.UUID job_id = 1; + common.v1.UUID repository_id = 2; + string repo = 3; } message GetBuildJobResponse { - common.v1.UUID id = 1; - string logs_url = 2; - string status = 3; - string triggered_by = 4; - google.protobuf.Duration duration = 5; - string branch = 6; - string commit_hash = 7; - google.protobuf.Timestamp triggered_at = 8; - common.v1.UUID repository_id = 9; + common.v1.UUID id = 1; + string logs_url = 2; + string status = 3; + string triggered_by = 4; + google.protobuf.Duration duration = 5; + string branch = 6; + string commit_hash = 7; + google.protobuf.Timestamp triggered_at = 8; + common.v1.UUID repository_id = 9; } message DeleteJobRequest { - int64 run_id = 1; - common.v1.UUID repository_id = 2; - string repo = 3; + int64 run_id = 1; + common.v1.UUID repository_id = 2; + string repo = 3; } message DeleteJobResponse { - string message = 1; + string message = 1; } message StoreJobResponse { - string message = 1; - common.v1.UUID id = 2; + string message = 1; + common.v1.UUID id = 2; } message StoreJobRequest { - string id = 1; - string logs_url = 2; - string status = 3; - string triggered_by = 4; - google.protobuf.Duration duration = 5; - string branch = 6; - string commit_hash = 7; - google.protobuf.Timestamp triggered_at = 8; - common.v1.UUID repository_id = 9; + string id = 1; + string logs_url = 2; + string status = 3; + string triggered_by = 4; + google.protobuf.Duration duration = 5; + string branch = 6; + string commit_hash = 7; + google.protobuf.Timestamp triggered_at = 8; + common.v1.UUID repository_id = 9; } message ListBuildJobsRequest { - string id = 1; - common.v1.UUID repository_id = 2; - string repo = 3; + string id = 1; + common.v1.UUID repository_id = 2; + string repo = 3; } message ListBuildJobsResponse { - repeated GetBuildJobResponse jobs = 1; + repeated GetBuildJobResponse jobs = 1; } - diff --git a/protos/services/kon/github_actions/v1/build_logs.proto b/protos/services/kon/github_actions/v1/build_logs.proto index 4a160890..310e2405 100644 --- a/protos/services/kon/github_actions/v1/build_logs.proto +++ b/protos/services/kon/github_actions/v1/build_logs.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package services.kon.github_actions.v1; + option go_package = "github.com/containerish/OpenRegistry/services/kon/github_actions/v1;github_actions_v1"; service GitHubActionsLogsService { @@ -9,26 +10,26 @@ service GitHubActionsLogsService { } message DumpLogsRequest { - string repo_owner = 1; - string repo_name = 2; - int64 run_id = 3; - bool skip_to_previous_run = 4; + string repo_owner = 1; + string repo_name = 2; + int64 run_id = 3; + bool skip_to_previous_run = 4; } message DumpLogsResponse { - repeated string logs = 1; + repeated string logs = 1; } message StreamWorkflowRunLogsRequest { - string repo_owner = 1; - string repo_name = 2; - int64 run_id = 3; - bool skip_to_previous_run = 4; + string repo_owner = 1; + string repo_name = 2; + int64 run_id = 3; + bool skip_to_previous_run = 4; } message StreamWorkflowDispatchLogsRequest { - string repo_owner = 1; - string repo_name = 2; - int64 dispatch_id = 3; + string repo_owner = 1; + string repo_name = 2; + int64 dispatch_id = 3; } message StreamWorkflowRunLogsResponse { @@ -41,9 +42,9 @@ message StreamWorkflowDispatchLogsResponse { } enum StreamWorkflowRunMessageType { - STREAM_WORKFLOW_RUN_MESSAGE_TYPE_UNSPECIFIED = 0; - STREAM_WORKFLOW_RUN_MESSAGE_TYPE_WAIT = 1; - STREAM_WORKFLOW_RUN_MESSAGE_TYPE_LOG = 2; - STREAM_WORKFLOW_RUN_MESSAGE_TYPE_PROCESSING = 3; - STREAM_WORKFLOW_RUN_MESSAGE_TYPE_STEP = 4; + STREAM_WORKFLOW_RUN_MESSAGE_TYPE_UNSPECIFIED = 0; + STREAM_WORKFLOW_RUN_MESSAGE_TYPE_WAIT = 1; + STREAM_WORKFLOW_RUN_MESSAGE_TYPE_LOG = 2; + STREAM_WORKFLOW_RUN_MESSAGE_TYPE_PROCESSING = 3; + STREAM_WORKFLOW_RUN_MESSAGE_TYPE_STEP = 4; } diff --git a/protos/services/kon/github_actions/v1/build_project.proto b/protos/services/kon/github_actions/v1/build_project.proto index 77230790..e20e0e38 100644 --- a/protos/services/kon/github_actions/v1/build_project.proto +++ b/protos/services/kon/github_actions/v1/build_project.proto @@ -1,9 +1,11 @@ syntax = "proto3"; package services.kon.github_actions.v1; -option go_package = "github.com/containerish/OpenRegistry/services/kon/github_actions/v1;github_actions_v1"; -import "google/protobuf/timestamp.proto"; + import "common/v1/id.proto"; +import "google/protobuf/timestamp.proto"; + +option go_package = "github.com/containerish/OpenRegistry/services/kon/github_actions/v1;github_actions_v1"; service GitHubActionsProjectService { rpc CreateProject(CreateProjectRequest) returns (CreateProjectResponse) {} @@ -13,63 +15,62 @@ service GitHubActionsProjectService { } message ListProjectsRequest { - common.v1.UUID owner_id = 1; + common.v1.UUID owner_id = 1; } message ListProjectsResponse { - repeated GetProjectResponse projects = 1; + repeated GetProjectResponse projects = 1; } -message CreateProjectRequest { - common.v1.UUID id = 1; - common.v1.UUID owner_id = 2; - string project_name = 3; - string production_branch = 4; - ProjectBuildSettingsMessage build_settings = 5; - ProjectEnvironmentVariableListMessage environment_variables = 6; - google.protobuf.Timestamp created_at = 7; +message CreateProjectRequest { + common.v1.UUID id = 1; + common.v1.UUID owner_id = 2; + string project_name = 3; + string production_branch = 4; + ProjectBuildSettingsMessage build_settings = 5; + ProjectEnvironmentVariableListMessage environment_variables = 6; + google.protobuf.Timestamp created_at = 7; } message GetProjectRequest { - common.v1.UUID id = 1; + common.v1.UUID id = 1; } message DeleteProjectRequest { - common.v1.UUID id = 1; + common.v1.UUID id = 1; } message DeleteProjectResponse { - string message = 1; + string message = 1; } message GetProjectResponse { - common.v1.UUID id = 1; - string project_name = 2; - string production_branch = 3; - ProjectBuildSettingsMessage build_settings = 4; - ProjectEnvironmentVariableListMessage environment_variables = 5; - google.protobuf.Timestamp created_at = 6; - common.v1.UUID owner_id = 7; + common.v1.UUID id = 1; + string project_name = 2; + string production_branch = 3; + ProjectBuildSettingsMessage build_settings = 4; + ProjectEnvironmentVariableListMessage environment_variables = 5; + google.protobuf.Timestamp created_at = 6; + common.v1.UUID owner_id = 7; } message ProjectEnvironmentVariableListMessage { - repeated ProjectEnvironmentVariable environment_variables = 1; + repeated ProjectEnvironmentVariable environment_variables = 1; } message ProjectEnvironmentVariable { - string key = 1; - string value = 2; - bool encrypted = 3; + string key = 1; + string value = 2; + bool encrypted = 3; } message ProjectBuildSettingsMessage { - string build_tool = 1; - string exec_command = 2; - string worfklow_file = 3; + string build_tool = 1; + string exec_command = 2; + string worfklow_file = 3; } message CreateProjectResponse { - string message = 1; - common.v1.UUID id = 2; + string message = 1; + common.v1.UUID id = 2; } - diff --git a/services/kon/github_actions/v1/build_job.pb.go b/services/kon/github_actions/v1/build_job.pb.go index b31cbe4d..7a593fa1 100644 --- a/services/kon/github_actions/v1/build_job.pb.go +++ b/services/kon/github_actions/v1/build_job.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: services/kon/github_actions/v1/build_job.proto @@ -35,11 +35,9 @@ type BulkDeleteBuildJobsRequest struct { func (x *BulkDeleteBuildJobsRequest) Reset() { *x = BulkDeleteBuildJobsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BulkDeleteBuildJobsRequest) String() string { @@ -50,7 +48,7 @@ func (*BulkDeleteBuildJobsRequest) ProtoMessage() {} func (x *BulkDeleteBuildJobsRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_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) @@ -96,11 +94,9 @@ type BulkDeleteBuildJobsResponse struct { func (x *BulkDeleteBuildJobsResponse) Reset() { *x = BulkDeleteBuildJobsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BulkDeleteBuildJobsResponse) String() string { @@ -111,7 +107,7 @@ func (*BulkDeleteBuildJobsResponse) ProtoMessage() {} func (x *BulkDeleteBuildJobsResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_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) @@ -146,11 +142,9 @@ type TriggerBuildRequest struct { func (x *TriggerBuildRequest) Reset() { *x = TriggerBuildRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TriggerBuildRequest) String() string { @@ -161,7 +155,7 @@ func (*TriggerBuildRequest) ProtoMessage() {} func (x *TriggerBuildRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_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) @@ -214,11 +208,9 @@ type TriggerBuildResponse struct { func (x *TriggerBuildResponse) Reset() { *x = TriggerBuildResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TriggerBuildResponse) String() string { @@ -229,7 +221,7 @@ func (*TriggerBuildResponse) ProtoMessage() {} func (x *TriggerBuildResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_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) @@ -265,11 +257,9 @@ type CancelBuildRequest struct { func (x *CancelBuildRequest) Reset() { *x = CancelBuildRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CancelBuildRequest) String() string { @@ -280,7 +270,7 @@ func (*CancelBuildRequest) ProtoMessage() {} func (x *CancelBuildRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_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) @@ -340,11 +330,9 @@ type CancelBuildResponse struct { func (x *CancelBuildResponse) Reset() { *x = CancelBuildResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CancelBuildResponse) String() string { @@ -355,7 +343,7 @@ func (*CancelBuildResponse) ProtoMessage() {} func (x *CancelBuildResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_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) @@ -389,11 +377,9 @@ type GetBuildJobRequest struct { func (x *GetBuildJobRequest) Reset() { *x = GetBuildJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetBuildJobRequest) String() string { @@ -404,7 +390,7 @@ func (*GetBuildJobRequest) ProtoMessage() {} func (x *GetBuildJobRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_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) @@ -458,11 +444,9 @@ type GetBuildJobResponse struct { func (x *GetBuildJobResponse) Reset() { *x = GetBuildJobResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetBuildJobResponse) String() string { @@ -473,7 +457,7 @@ func (*GetBuildJobResponse) ProtoMessage() {} func (x *GetBuildJobResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_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) @@ -563,11 +547,9 @@ type DeleteJobRequest struct { func (x *DeleteJobRequest) Reset() { *x = DeleteJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteJobRequest) String() string { @@ -578,7 +560,7 @@ func (*DeleteJobRequest) ProtoMessage() {} func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -624,11 +606,9 @@ type DeleteJobResponse struct { func (x *DeleteJobResponse) Reset() { *x = DeleteJobResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteJobResponse) String() string { @@ -639,7 +619,7 @@ func (*DeleteJobResponse) ProtoMessage() {} func (x *DeleteJobResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -672,11 +652,9 @@ type StoreJobResponse struct { func (x *StoreJobResponse) Reset() { *x = StoreJobResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StoreJobResponse) String() string { @@ -687,7 +665,7 @@ func (*StoreJobResponse) ProtoMessage() {} func (x *StoreJobResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -734,11 +712,9 @@ type StoreJobRequest struct { func (x *StoreJobRequest) Reset() { *x = StoreJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StoreJobRequest) String() string { @@ -749,7 +725,7 @@ func (*StoreJobRequest) ProtoMessage() {} func (x *StoreJobRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -839,11 +815,9 @@ type ListBuildJobsRequest struct { func (x *ListBuildJobsRequest) Reset() { *x = ListBuildJobsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListBuildJobsRequest) String() string { @@ -854,7 +828,7 @@ func (*ListBuildJobsRequest) ProtoMessage() {} func (x *ListBuildJobsRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -900,11 +874,9 @@ type ListBuildJobsResponse struct { func (x *ListBuildJobsResponse) Reset() { *x = ListBuildJobsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListBuildJobsResponse) String() string { @@ -915,7 +887,7 @@ func (*ListBuildJobsResponse) ProtoMessage() {} func (x *ListBuildJobsResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_job_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1169,7 +1141,7 @@ func file_services_kon_github_actions_v1_build_job_proto_rawDescGZIP() []byte { } var file_services_kon_github_actions_v1_build_job_proto_msgTypes = make([]protoimpl.MessageInfo, 14) -var file_services_kon_github_actions_v1_build_job_proto_goTypes = []interface{}{ +var file_services_kon_github_actions_v1_build_job_proto_goTypes = []any{ (*BulkDeleteBuildJobsRequest)(nil), // 0: services.kon.github_actions.v1.BulkDeleteBuildJobsRequest (*BulkDeleteBuildJobsResponse)(nil), // 1: services.kon.github_actions.v1.BulkDeleteBuildJobsResponse (*TriggerBuildRequest)(nil), // 2: services.kon.github_actions.v1.TriggerBuildRequest @@ -1236,176 +1208,6 @@ func file_services_kon_github_actions_v1_build_job_proto_init() { if File_services_kon_github_actions_v1_build_job_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_services_kon_github_actions_v1_build_job_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BulkDeleteBuildJobsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_job_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BulkDeleteBuildJobsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_job_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TriggerBuildRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_job_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TriggerBuildResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_job_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelBuildRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_job_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelBuildResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_job_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBuildJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_job_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBuildJobResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_job_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_job_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteJobResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_job_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StoreJobResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_job_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StoreJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_job_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListBuildJobsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_job_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListBuildJobsResponse); 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{ diff --git a/services/kon/github_actions/v1/build_logs.pb.go b/services/kon/github_actions/v1/build_logs.pb.go index 3c00cb46..bc0ab998 100644 --- a/services/kon/github_actions/v1/build_logs.pb.go +++ b/services/kon/github_actions/v1/build_logs.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: services/kon/github_actions/v1/build_logs.proto @@ -88,11 +88,9 @@ type DumpLogsRequest struct { func (x *DumpLogsRequest) Reset() { *x = DumpLogsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_logs_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_logs_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DumpLogsRequest) String() string { @@ -103,7 +101,7 @@ func (*DumpLogsRequest) ProtoMessage() {} func (x *DumpLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_logs_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) @@ -156,11 +154,9 @@ type DumpLogsResponse struct { func (x *DumpLogsResponse) Reset() { *x = DumpLogsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_logs_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_logs_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DumpLogsResponse) String() string { @@ -171,7 +167,7 @@ func (*DumpLogsResponse) ProtoMessage() {} func (x *DumpLogsResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_logs_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) @@ -206,11 +202,9 @@ type StreamWorkflowRunLogsRequest struct { func (x *StreamWorkflowRunLogsRequest) Reset() { *x = StreamWorkflowRunLogsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_logs_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_logs_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamWorkflowRunLogsRequest) String() string { @@ -221,7 +215,7 @@ func (*StreamWorkflowRunLogsRequest) ProtoMessage() {} func (x *StreamWorkflowRunLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_logs_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) @@ -276,11 +270,9 @@ type StreamWorkflowDispatchLogsRequest struct { func (x *StreamWorkflowDispatchLogsRequest) Reset() { *x = StreamWorkflowDispatchLogsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_logs_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_logs_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamWorkflowDispatchLogsRequest) String() string { @@ -291,7 +283,7 @@ func (*StreamWorkflowDispatchLogsRequest) ProtoMessage() {} func (x *StreamWorkflowDispatchLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_logs_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) @@ -338,11 +330,9 @@ type StreamWorkflowRunLogsResponse struct { func (x *StreamWorkflowRunLogsResponse) Reset() { *x = StreamWorkflowRunLogsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_logs_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_logs_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamWorkflowRunLogsResponse) String() string { @@ -353,7 +343,7 @@ func (*StreamWorkflowRunLogsResponse) ProtoMessage() {} func (x *StreamWorkflowRunLogsResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_logs_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) @@ -392,11 +382,9 @@ type StreamWorkflowDispatchLogsResponse struct { func (x *StreamWorkflowDispatchLogsResponse) Reset() { *x = StreamWorkflowDispatchLogsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_logs_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_logs_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamWorkflowDispatchLogsResponse) String() string { @@ -407,7 +395,7 @@ func (*StreamWorkflowDispatchLogsResponse) ProtoMessage() {} func (x *StreamWorkflowDispatchLogsResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_logs_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) @@ -552,7 +540,7 @@ func file_services_kon_github_actions_v1_build_logs_proto_rawDescGZIP() []byte { var file_services_kon_github_actions_v1_build_logs_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_services_kon_github_actions_v1_build_logs_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_services_kon_github_actions_v1_build_logs_proto_goTypes = []interface{}{ +var file_services_kon_github_actions_v1_build_logs_proto_goTypes = []any{ (StreamWorkflowRunMessageType)(0), // 0: services.kon.github_actions.v1.StreamWorkflowRunMessageType (*DumpLogsRequest)(nil), // 1: services.kon.github_actions.v1.DumpLogsRequest (*DumpLogsResponse)(nil), // 2: services.kon.github_actions.v1.DumpLogsResponse @@ -579,80 +567,6 @@ func file_services_kon_github_actions_v1_build_logs_proto_init() { if File_services_kon_github_actions_v1_build_logs_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_services_kon_github_actions_v1_build_logs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DumpLogsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_logs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DumpLogsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_logs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamWorkflowRunLogsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_logs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamWorkflowDispatchLogsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_logs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamWorkflowRunLogsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_logs_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamWorkflowDispatchLogsResponse); 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{ diff --git a/services/kon/github_actions/v1/build_project.pb.go b/services/kon/github_actions/v1/build_project.pb.go index 09fe0802..b24e236d 100644 --- a/services/kon/github_actions/v1/build_project.pb.go +++ b/services/kon/github_actions/v1/build_project.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: services/kon/github_actions/v1/build_project.proto @@ -32,11 +32,9 @@ type ListProjectsRequest struct { func (x *ListProjectsRequest) Reset() { *x = ListProjectsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListProjectsRequest) String() string { @@ -47,7 +45,7 @@ func (*ListProjectsRequest) ProtoMessage() {} func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_project_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) @@ -79,11 +77,9 @@ type ListProjectsResponse struct { func (x *ListProjectsResponse) Reset() { *x = ListProjectsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListProjectsResponse) String() string { @@ -94,7 +90,7 @@ func (*ListProjectsResponse) ProtoMessage() {} func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_project_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) @@ -132,11 +128,9 @@ type CreateProjectRequest struct { func (x *CreateProjectRequest) Reset() { *x = CreateProjectRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateProjectRequest) String() string { @@ -147,7 +141,7 @@ func (*CreateProjectRequest) ProtoMessage() {} func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_project_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) @@ -221,11 +215,9 @@ type GetProjectRequest struct { func (x *GetProjectRequest) Reset() { *x = GetProjectRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProjectRequest) String() string { @@ -236,7 +228,7 @@ func (*GetProjectRequest) ProtoMessage() {} func (x *GetProjectRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_project_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) @@ -268,11 +260,9 @@ type DeleteProjectRequest struct { func (x *DeleteProjectRequest) Reset() { *x = DeleteProjectRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteProjectRequest) String() string { @@ -283,7 +273,7 @@ func (*DeleteProjectRequest) ProtoMessage() {} func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_project_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) @@ -315,11 +305,9 @@ type DeleteProjectResponse struct { func (x *DeleteProjectResponse) Reset() { *x = DeleteProjectResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteProjectResponse) String() string { @@ -330,7 +318,7 @@ func (*DeleteProjectResponse) ProtoMessage() {} func (x *DeleteProjectResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_project_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) @@ -368,11 +356,9 @@ type GetProjectResponse struct { func (x *GetProjectResponse) Reset() { *x = GetProjectResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProjectResponse) String() string { @@ -383,7 +369,7 @@ func (*GetProjectResponse) ProtoMessage() {} func (x *GetProjectResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_project_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) @@ -457,11 +443,9 @@ type ProjectEnvironmentVariableListMessage struct { func (x *ProjectEnvironmentVariableListMessage) Reset() { *x = ProjectEnvironmentVariableListMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProjectEnvironmentVariableListMessage) String() string { @@ -472,7 +456,7 @@ func (*ProjectEnvironmentVariableListMessage) ProtoMessage() {} func (x *ProjectEnvironmentVariableListMessage) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_project_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) @@ -506,11 +490,9 @@ type ProjectEnvironmentVariable struct { func (x *ProjectEnvironmentVariable) Reset() { *x = ProjectEnvironmentVariable{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProjectEnvironmentVariable) String() string { @@ -521,7 +503,7 @@ func (*ProjectEnvironmentVariable) ProtoMessage() {} func (x *ProjectEnvironmentVariable) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -569,11 +551,9 @@ type ProjectBuildSettingsMessage struct { func (x *ProjectBuildSettingsMessage) Reset() { *x = ProjectBuildSettingsMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProjectBuildSettingsMessage) String() string { @@ -584,7 +564,7 @@ func (*ProjectBuildSettingsMessage) ProtoMessage() {} func (x *ProjectBuildSettingsMessage) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -631,11 +611,9 @@ type CreateProjectResponse struct { func (x *CreateProjectResponse) Reset() { *x = CreateProjectResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateProjectResponse) String() string { @@ -646,7 +624,7 @@ func (*CreateProjectResponse) ProtoMessage() {} func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message { mi := &file_services_kon_github_actions_v1_build_project_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -863,7 +841,7 @@ func file_services_kon_github_actions_v1_build_project_proto_rawDescGZIP() []byt } var file_services_kon_github_actions_v1_build_project_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_services_kon_github_actions_v1_build_project_proto_goTypes = []interface{}{ +var file_services_kon_github_actions_v1_build_project_proto_goTypes = []any{ (*ListProjectsRequest)(nil), // 0: services.kon.github_actions.v1.ListProjectsRequest (*ListProjectsResponse)(nil), // 1: services.kon.github_actions.v1.ListProjectsResponse (*CreateProjectRequest)(nil), // 2: services.kon.github_actions.v1.CreateProjectRequest @@ -915,140 +893,6 @@ func file_services_kon_github_actions_v1_build_project_proto_init() { if File_services_kon_github_actions_v1_build_project_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_services_kon_github_actions_v1_build_project_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListProjectsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_project_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListProjectsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_project_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateProjectRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_project_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProjectRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_project_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteProjectRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_project_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteProjectResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_project_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProjectResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_project_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProjectEnvironmentVariableListMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_project_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProjectEnvironmentVariable); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_project_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProjectBuildSettingsMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_services_kon_github_actions_v1_build_project_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateProjectResponse); 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{