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

require 'google/protobuf'

require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "code.justin.tv.safety.dmca.AddUserRequest" do
    optional :UserID, :string, 1
    optional :CompanyName, :string, 2
    optional :PhoneNumber, :string, 3
    optional :Address, :string, 4
    optional :Email, :string, 5
  end
  add_message "code.justin.tv.safety.dmca.AddUserResponse" do
    optional :Success, :bool, 1
  end
  add_message "code.justin.tv.safety.dmca.RemoveUserRequest" do
    optional :UserID, :string, 1
  end
  add_message "code.justin.tv.safety.dmca.RemoveUserResponse" do
    optional :Success, :bool, 1
  end
  add_message "code.justin.tv.safety.dmca.GetUserRequest" do
    optional :UserID, :string, 1
  end
  add_message "code.justin.tv.safety.dmca.GetUserResponse" do
    optional :UserID, :string, 1
    optional :CompanyName, :string, 2
    optional :PhoneNumber, :string, 3
    optional :Address, :string, 4
    optional :Email, :string, 5
  end
  add_message "code.justin.tv.safety.dmca.TakedownContentRequest" do
    optional :IssuerID, :string, 1
    map :Content, :string, :enum, 2, "code.justin.tv.safety.dmca.MediaType"
    optional :CompanyName, :string, 3
    optional :PhoneNumber, :string, 4
    optional :Address, :string, 5
    optional :Email, :string, 6
    optional :Claimant, :string, 7
  end
  add_message "code.justin.tv.safety.dmca.TakedownContentResponse" do
    map :Content, :string, :enum, 1, "code.justin.tv.safety.dmca.MediaType"
  end
  add_message "code.justin.tv.safety.dmca.CounterNoticeRequest" do
    optional :IssuerID, :string, 1
  end
  add_message "code.justin.tv.safety.dmca.CounterNoticeResponse" do
    map :ReactivatedContent, :string, :enum, 1, "code.justin.tv.safety.dmca.MediaType"
  end
  add_message "code.justin.tv.safety.dmca.StruckContentRequest" do
    optional :OwnerID, :string, 1
    optional :WindowStart, :message, 2, "google.protobuf.Timestamp"
    optional :WindowEnd, :message, 3, "google.protobuf.Timestamp"
  end
  add_message "code.justin.tv.safety.dmca.RightsHolderContent" do
    map :StruckContent, :string, :enum, 1, "code.justin.tv.safety.dmca.MediaType"
  end
  add_message "code.justin.tv.safety.dmca.StruckContentResponse" do
    repeated :StruckContent, :message, 1, "code.justin.tv.safety.dmca.Content"
  end
  add_message "code.justin.tv.safety.dmca.StruckByRequest" do
    optional :IssuerID, :string, 1
    optional :WindowStart, :message, 2, "google.protobuf.Timestamp"
    optional :WindowEnd, :message, 3, "google.protobuf.Timestamp"
  end
  add_message "code.justin.tv.safety.dmca.Content" do
    optional :NoticeID, :string, 1
    optional :ContentID, :string, 2
    optional :IssuerID, :string, 3
    optional :URL, :string, 4
    optional :IssueTime, :message, 5, "google.protobuf.Timestamp"
    optional :ContentType, :enum, 6, "code.justin.tv.safety.dmca.MediaType"
    optional :Title, :string, 7
  end
  add_message "code.justin.tv.safety.dmca.StruckByResponse" do
    repeated :StruckContent, :message, 1, "code.justin.tv.safety.dmca.Content"
  end
  add_message "code.justin.tv.safety.dmca.IsUserAuthorizedRequest" do
    optional :UserID, :string, 1
  end
  add_message "code.justin.tv.safety.dmca.IsUserAuthorizedResponse" do
    optional :OK, :bool, 1
    optional :Has2FA, :bool, 2
    optional :HasVerifiedEmail, :bool, 3
    optional :IsWhitelisted, :bool, 4
  end
  add_enum "code.justin.tv.safety.dmca.MediaType" do
    value :CLIP, 0
    value :VOD, 1
    value :STREAM, 2
  end
end

module Code
  module Justin
    module Tv
      module Safety
        module Dmca
          AddUserRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.AddUserRequest").msgclass
          AddUserResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.AddUserResponse").msgclass
          RemoveUserRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.RemoveUserRequest").msgclass
          RemoveUserResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.RemoveUserResponse").msgclass
          GetUserRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.GetUserRequest").msgclass
          GetUserResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.GetUserResponse").msgclass
          TakedownContentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.TakedownContentRequest").msgclass
          TakedownContentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.TakedownContentResponse").msgclass
          CounterNoticeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.CounterNoticeRequest").msgclass
          CounterNoticeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.CounterNoticeResponse").msgclass
          StruckContentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.StruckContentRequest").msgclass
          RightsHolderContent = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.RightsHolderContent").msgclass
          StruckContentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.StruckContentResponse").msgclass
          StruckByRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.StruckByRequest").msgclass
          Content = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.Content").msgclass
          StruckByResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.StruckByResponse").msgclass
          IsUserAuthorizedRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.IsUserAuthorizedRequest").msgclass
          IsUserAuthorizedResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.IsUserAuthorizedResponse").msgclass
          MediaType = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.safety.dmca.MediaType").enummodule
        end
      end
    end
  end
end
