# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: log.proto require 'google/protobuf' descriptor_data = "\n\tlog.proto\x12\x06gitaly\"\xef\t\n\x08LogEntry\x12\x15\n\rrelative_path\x18\x01 \x01(\t\x12\x45\n\x16reference_transactions\x18\x02 \x03(\x0b\x32%.gitaly.LogEntry.ReferenceTransaction\x12@\n\x13repository_deletion\x18\x06 \x01(\x0b\x32#.gitaly.LogEntry.RepositoryDeletion\x12\x33\n\x0chousekeeping\x18\t \x01(\x0b\x32\x1d.gitaly.LogEntry.Housekeeping\x12.\n\noperations\x18\n \x03(\x0b\x32\x1a.gitaly.LogEntry.Operation\x12+\n\x08metadata\x18\x0b \x01(\x0b\x32\x19.gitaly.LogEntry.Metadata\x1a\x9c\x01\n\x14ReferenceTransaction\x12=\n\x07\x63hanges\x18\x01 \x03(\x0b\x32,.gitaly.LogEntry.ReferenceTransaction.Change\x1a\x45\n\x06\x43hange\x12\x16\n\x0ereference_name\x18\x01 \x01(\x0c\x12\x0f\n\x07new_oid\x18\x02 \x01(\x0c\x12\x12\n\nnew_target\x18\x03 \x01(\x0c\x1a\x14\n\x12RepositoryDeletion\x1aj\n\x0cHousekeeping\x12\x39\n\tpack_refs\x18\x01 \x01(\x0b\x32&.gitaly.LogEntry.Housekeeping.PackRefs\x1a\x1f\n\x08PackRefs\x12\x13\n\x0bpruned_refs\x18\x01 \x03(\x0c\x1a\xdd\x04\n\tOperation\x12\x45\n\x10\x63reate_hard_link\x18\x01 \x01(\x0b\x32).gitaly.LogEntry.Operation.CreateHardLinkH\x00\x12Q\n\x16remove_directory_entry\x18\x02 \x01(\x0b\x32/.gitaly.LogEntry.Operation.RemoveDirectoryEntryH\x00\x12\x46\n\x10\x63reate_directory\x18\x03 \x01(\x0b\x32*.gitaly.LogEntry.Operation.CreateDirectoryH\x00\x12\x34\n\x07set_key\x18\x04 \x01(\x0b\x32!.gitaly.LogEntry.Operation.SetKeyH\x00\x12:\n\ndelete_key\x18\x05 \x01(\x0b\x32$.gitaly.LogEntry.Operation.DeleteKeyH\x00\x1aZ\n\x0e\x43reateHardLink\x12\x13\n\x0bsource_path\x18\x01 \x01(\x0c\x12\x19\n\x11source_in_storage\x18\x02 \x01(\x08\x12\x18\n\x10\x64\x65stination_path\x18\x03 \x01(\x0c\x1a$\n\x14RemoveDirectoryEntry\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x1a-\n\x0f\x43reateDirectory\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x0c\n\x04mode\x18\x02 \x01(\r\x1a$\n\x06SetKey\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x1a\x18\n\tDeleteKey\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x42\x0b\n\toperation\x1a\x30\n\x08Metadata\x12\x11\n\traft_term\x18\x01 \x01(\x04\x12\x11\n\traft_type\x18\x02 \x01(\x04\"\x14\n\x03LSN\x12\r\n\x05value\x18\x01 \x01(\x04\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 = [ ] 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 LogEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry").msgclass LogEntry::ReferenceTransaction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.ReferenceTransaction").msgclass LogEntry::ReferenceTransaction::Change = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.ReferenceTransaction.Change").msgclass LogEntry::RepositoryDeletion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.RepositoryDeletion").msgclass LogEntry::Housekeeping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.Housekeeping").msgclass LogEntry::Housekeeping::PackRefs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.Housekeeping.PackRefs").msgclass LogEntry::Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.Operation").msgclass LogEntry::Operation::CreateHardLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.Operation.CreateHardLink").msgclass LogEntry::Operation::RemoveDirectoryEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.Operation.RemoveDirectoryEntry").msgclass LogEntry::Operation::CreateDirectory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.Operation.CreateDirectory").msgclass LogEntry::Operation::SetKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.Operation.SetKey").msgclass LogEntry::Operation::DeleteKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.Operation.DeleteKey").msgclass LogEntry::Metadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.Metadata").msgclass LSN = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LSN").msgclass end