Sha256: d7ac6567e955cdba1bcb9b581f3ae1736f7e870c207625baec49772e22b5c594

Contents?: true

Size: 1.19 KB

Versions: 4

Compression:

Stored size: 1.19 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: transaction.proto

require 'google/protobuf'

require 'lint_pb'
require 'shared_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("transaction.proto", :syntax => :proto3) do
    add_message "gitaly.VoteTransactionRequest" do
      optional :repository, :message, 1, "gitaly.Repository"
      optional :transaction_id, :uint64, 2
      optional :node, :string, 3
      optional :reference_updates_hash, :bytes, 4
    end
    add_message "gitaly.VoteTransactionResponse" do
      optional :state, :enum, 1, "gitaly.VoteTransactionResponse.TransactionState"
    end
    add_enum "gitaly.VoteTransactionResponse.TransactionState" do
      value :COMMIT, 0
      value :ABORT, 1
    end
  end
end

module Gitaly
  VoteTransactionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionRequest").msgclass
  VoteTransactionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionResponse").msgclass
  VoteTransactionResponse::TransactionState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionResponse.TransactionState").enummodule
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gitaly-13.5.0.pre.rc1 ruby/proto/gitaly/transaction_pb.rb
gitaly-13.4.0.pre.rc1 ruby/proto/gitaly/transaction_pb.rb
gitaly-13.3.0.pre.rc5 ruby/proto/gitaly/transaction_pb.rb
gitaly-13.3.0.pre.rc4 ruby/proto/gitaly/transaction_pb.rb