# 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\"\xd4\x03\n\x08LogEntry\x12;\n\x11reference_updates\x18\x01 \x03(\x0b\x32 .gitaly.LogEntry.ReferenceUpdate\x12\x43\n\x15\x64\x65\x66\x61ult_branch_update\x18\x02 \x01(\x0b\x32$.gitaly.LogEntry.DefaultBranchUpdate\x12?\n\x13\x63ustom_hooks_update\x18\x03 \x01(\x0b\x32\".gitaly.LogEntry.CustomHooksUpdate\x12\x13\n\x0bpack_prefix\x18\x04 \x01(\t\x12@\n\x13repository_deletion\x18\x05 \x01(\x0b\x32#.gitaly.LogEntry.RepositoryDeletion\x1a:\n\x0fReferenceUpdate\x12\x16\n\x0ereference_name\x18\x01 \x01(\x0c\x12\x0f\n\x07new_oid\x18\x02 \x01(\x0c\x1a-\n\x13\x44\x65\x66\x61ultBranchUpdate\x12\x16\n\x0ereference_name\x18\x01 \x01(\x0c\x1a-\n\x11\x43ustomHooksUpdate\x12\x18\n\x10\x63ustom_hooks_tar\x18\x01 \x01(\x0c\x1a\x14\n\x12RepositoryDeletion\"\x1d\n\x08LogIndex\x12\x11\n\tlog_index\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::ReferenceUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.ReferenceUpdate").msgclass LogEntry::DefaultBranchUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.DefaultBranchUpdate").msgclass LogEntry::CustomHooksUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.CustomHooksUpdate").msgclass LogEntry::RepositoryDeletion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogEntry.RepositoryDeletion").msgclass LogIndex = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LogIndex").msgclass end