diff options
Diffstat (limited to 'tvix/build-go')
-rw-r--r-- | tvix/build-go/build.pb.go | 136 | ||||
-rw-r--r-- | tvix/build-go/rpc_build.pb.go | 2 |
2 files changed, 26 insertions, 112 deletions
diff --git a/tvix/build-go/build.pb.go b/tvix/build-go/build.pb.go index ef9caf2ea6ab..b7adc024cc75 100644 --- a/tvix/build-go/build.pb.go +++ b/tvix/build-go/build.pb.go @@ -3,7 +3,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: tvix/build/protos/build.proto @@ -124,11 +124,9 @@ type BuildRequest struct { func (x *BuildRequest) Reset() { *x = BuildRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_tvix_build_protos_build_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tvix_build_protos_build_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BuildRequest) String() string { @@ -139,7 +137,7 @@ func (*BuildRequest) ProtoMessage() {} func (x *BuildRequest) ProtoReflect() protoreflect.Message { mi := &file_tvix_build_protos_build_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) @@ -241,11 +239,9 @@ type Build struct { func (x *Build) Reset() { *x = Build{} - if protoimpl.UnsafeEnabled { - mi := &file_tvix_build_protos_build_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tvix_build_protos_build_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Build) String() string { @@ -256,7 +252,7 @@ func (*Build) ProtoMessage() {} func (x *Build) ProtoReflect() protoreflect.Message { mi := &file_tvix_build_protos_build_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) @@ -304,11 +300,9 @@ type BuildRequest_EnvVar struct { func (x *BuildRequest_EnvVar) Reset() { *x = BuildRequest_EnvVar{} - if protoimpl.UnsafeEnabled { - mi := &file_tvix_build_protos_build_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tvix_build_protos_build_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BuildRequest_EnvVar) String() string { @@ -319,7 +313,7 @@ func (*BuildRequest_EnvVar) ProtoMessage() {} func (x *BuildRequest_EnvVar) ProtoReflect() protoreflect.Message { mi := &file_tvix_build_protos_build_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) @@ -378,11 +372,9 @@ type BuildRequest_BuildConstraints struct { func (x *BuildRequest_BuildConstraints) Reset() { *x = BuildRequest_BuildConstraints{} - if protoimpl.UnsafeEnabled { - mi := &file_tvix_build_protos_build_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tvix_build_protos_build_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BuildRequest_BuildConstraints) String() string { @@ -393,7 +385,7 @@ func (*BuildRequest_BuildConstraints) ProtoMessage() {} func (x *BuildRequest_BuildConstraints) ProtoReflect() protoreflect.Message { mi := &file_tvix_build_protos_build_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) @@ -454,11 +446,9 @@ type BuildRequest_AdditionalFile struct { func (x *BuildRequest_AdditionalFile) Reset() { *x = BuildRequest_AdditionalFile{} - if protoimpl.UnsafeEnabled { - mi := &file_tvix_build_protos_build_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tvix_build_protos_build_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BuildRequest_AdditionalFile) String() string { @@ -469,7 +459,7 @@ func (*BuildRequest_AdditionalFile) ProtoMessage() {} func (x *BuildRequest_AdditionalFile) ProtoReflect() protoreflect.Message { mi := &file_tvix_build_protos_build_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) @@ -509,11 +499,9 @@ type Build_OutputNeedles struct { func (x *Build_OutputNeedles) Reset() { *x = Build_OutputNeedles{} - if protoimpl.UnsafeEnabled { - mi := &file_tvix_build_protos_build_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tvix_build_protos_build_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Build_OutputNeedles) String() string { @@ -524,7 +512,7 @@ func (*Build_OutputNeedles) ProtoMessage() {} func (x *Build_OutputNeedles) ProtoReflect() protoreflect.Message { mi := &file_tvix_build_protos_build_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) @@ -668,80 +656,6 @@ func file_tvix_build_protos_build_proto_init() { if File_tvix_build_protos_build_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_tvix_build_protos_build_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*BuildRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tvix_build_protos_build_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Build); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tvix_build_protos_build_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*BuildRequest_EnvVar); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tvix_build_protos_build_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*BuildRequest_BuildConstraints); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tvix_build_protos_build_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*BuildRequest_AdditionalFile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tvix_build_protos_build_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*Build_OutputNeedles); 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/tvix/build-go/rpc_build.pb.go b/tvix/build-go/rpc_build.pb.go index b2f947362508..e6cdb84f1669 100644 --- a/tvix/build-go/rpc_build.pb.go +++ b/tvix/build-go/rpc_build.pb.go @@ -3,7 +3,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: tvix/build/protos/rpc_build.proto |