# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: twirp/code.justin.tv.foundation.history/service.proto

require 'google/protobuf'

require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "code.justin.tv.foundation.history.RequestReportInput" do
    optional :user_id, :string, 1
    optional :requester, :string, 2
  end
  add_message "code.justin.tv.foundation.history.RequestReportOutput" do
    optional :user_id, :string, 1
    optional :status, :enum, 2, "code.justin.tv.foundation.history.Status"
  end
  add_message "code.justin.tv.foundation.history.ListReportsInput" do
    optional :requester, :string, 1
  end
  add_message "code.justin.tv.foundation.history.ListReportsOutput" do
    repeated :items, :message, 1, "code.justin.tv.foundation.history.ReportInfo"
  end
  add_message "code.justin.tv.foundation.history.ReportInfo" do
    optional :user_id, :string, 1
    optional :requester, :string, 2
    optional :status, :enum, 3, "code.justin.tv.foundation.history.Status"
    optional :request_time, :message, 4, "google.protobuf.Timestamp"
    optional :location, :string, 5
  end
  add_message "code.justin.tv.foundation.history.DeleteAuditsInput" do
    optional :user_id, :string, 1
    optional :requester, :string, 2
    optional :deletion_time, :message, 3, "google.protobuf.Timestamp"
  end
  add_message "code.justin.tv.foundation.history.DeleteAuditsOutput" do
  end
  add_message "code.justin.tv.foundation.history.ListScheduledDeletesInput" do
    optional :requester, :string, 1
  end
  add_message "code.justin.tv.foundation.history.ListScheduledDeletesOutput" do
    repeated :items, :message, 1, "code.justin.tv.foundation.history.SechduledDelete"
  end
  add_message "code.justin.tv.foundation.history.SechduledDelete" do
    optional :user_id, :string, 1
    optional :requester, :string, 2
    optional :deletion_time, :message, 3, "google.protobuf.Timestamp"
  end
  add_message "code.justin.tv.foundation.history.GetUserStatsInput" do
    optional :user_id, :string, 1
  end
  add_message "code.justin.tv.foundation.history.GetUserStatsOutput" do
    optional :recordCount, :int64, 1
  end
  add_enum "code.justin.tv.foundation.history.Status" do
    value :Unknown, 0
    value :Requested, 1
    value :Pending, 2
    value :Available, 3
  end
end

module Code
  module Justin
    module Tv
      module Foundation
        module History
          RequestReportInput = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.foundation.history.RequestReportInput").msgclass
          RequestReportOutput = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.foundation.history.RequestReportOutput").msgclass
          ListReportsInput = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.foundation.history.ListReportsInput").msgclass
          ListReportsOutput = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.foundation.history.ListReportsOutput").msgclass
          ReportInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.foundation.history.ReportInfo").msgclass
          DeleteAuditsInput = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.foundation.history.DeleteAuditsInput").msgclass
          DeleteAuditsOutput = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.foundation.history.DeleteAuditsOutput").msgclass
          ListScheduledDeletesInput = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.foundation.history.ListScheduledDeletesInput").msgclass
          ListScheduledDeletesOutput = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.foundation.history.ListScheduledDeletesOutput").msgclass
          SechduledDelete = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.foundation.history.SechduledDelete").msgclass
          GetUserStatsInput = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.foundation.history.GetUserStatsInput").msgclass
          GetUserStatsOutput = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.foundation.history.GetUserStatsOutput").msgclass
          Status = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.foundation.history.Status").enummodule
        end
      end
    end
  end
end
