# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: user/v1/user.proto

require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("user/v1/user.proto", :syntax => :proto3) do
    add_message "user.v1.User" do
      optional :uuid, :string, 1, json_name: "uuid"
      optional :full_name, :string, 2, json_name: "fullName"
      optional :birth_year, :int64, 3, json_name: "birthYear"
      optional :salary, :uint32, 4, json_name: "salary"
      repeated :addresses, :message, 5, "user.v1.Address", json_name: "addresses"
      optional :marital_status, :enum, 6, "user.v1.MaritalStatus", json_name: "maritalStatus"
    end
    add_message "user.v1.Address" do
      optional :street, :string, 1, json_name: "street"
      optional :city, :string, 2, json_name: "city"
    end
    add_enum "user.v1.MaritalStatus" do
      value :MARITAL_STATUS_UNSPECIFIED, 0
      value :MARITAL_STATUS_SINGLE, 1
      value :MARITAL_STATUS_MARRIED, 2
    end
  end
end

module User
  module V1
    User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("user.v1.User").msgclass
    Address = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("user.v1.Address").msgclass
    MaritalStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("user.v1.MaritalStatus").enummodule
  end
end
