# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cleanup.proto require 'google/protobuf' require 'lint_pb' require 'shared_pb' descriptor_data = "\n\rcleanup.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0cshared.proto\"b\n\x1e\x41pplyBfgObjectMapStreamRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x12\n\nobject_map\x18\x02 \x01(\x0c\"\xae\x01\n\x1f\x41pplyBfgObjectMapStreamResponse\x12>\n\x07\x65ntries\x18\x01 \x03(\x0b\x32-.gitaly.ApplyBfgObjectMapStreamResponse.Entry\x1aK\n\x05\x45ntry\x12 \n\x04type\x18\x01 \x01(\x0e\x32\x12.gitaly.ObjectType\x12\x0f\n\x07old_oid\x18\x02 \x01(\t\x12\x0f\n\x07new_oid\x18\x03 \x01(\t\"h\n\x15RewriteHistoryRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\r\n\x05\x62lobs\x18\x02 \x03(\t\x12\x12\n\nredactions\x18\x03 \x03(\x0c\"\x18\n\x16RewriteHistoryResponse2\xe3\x01\n\x0e\x43leanupService\x12v\n\x17\x41pplyBfgObjectMapStream\x12&.gitaly.ApplyBfgObjectMapStreamRequest\x1a\'.gitaly.ApplyBfgObjectMapStreamResponse\"\x06\xfa\x97(\x02\x08\x01(\x01\x30\x01\x12Y\n\x0eRewriteHistory\x12\x1d.gitaly.RewriteHistoryRequest\x1a\x1e.gitaly.RewriteHistoryResponse\"\x06\xfa\x97(\x02\x08\x01(\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError => e # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["gitaly.Repository", "shared.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Gitaly ApplyBfgObjectMapStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyBfgObjectMapStreamRequest").msgclass ApplyBfgObjectMapStreamResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyBfgObjectMapStreamResponse").msgclass ApplyBfgObjectMapStreamResponse::Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyBfgObjectMapStreamResponse.Entry").msgclass RewriteHistoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RewriteHistoryRequest").msgclass RewriteHistoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RewriteHistoryResponse").msgclass end