# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/chat/v1/reaction.proto

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/field_info_pb'
require 'google/api/resource_pb'
require 'google/chat/v1/user_pb'


descriptor_data = "\n\x1dgoogle/chat/v1/reaction.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x19google/chat/v1/user.proto\"\xcc\x01\n\x08Reaction\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\'\n\x04user\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x03\x12)\n\x05\x65moji\x18\x03 \x01(\x0b\x32\x15.google.chat.v1.EmojiB\x03\xe0\x41\x02:Y\xea\x41V\n\x1c\x63hat.googleapis.com/Reaction\x12\x36spaces/{space}/messages/{message}/reactions/{reaction}\"_\n\x05\x45moji\x12\x16\n\x07unicode\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x33\n\x0c\x63ustom_emoji\x18\x02 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmojiH\x00\x42\t\n\x07\x63ontent\"\xed\x02\n\x0b\x43ustomEmoji\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x03uid\x18\x01 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\nemoji_name\x18\x03 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12 \n\x13temporary_image_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12G\n\x07payload\x18\x05 \x01(\x0b\x32..google.chat.v1.CustomEmoji.CustomEmojiPayloadB\x06\xe0\x41\x04\xe0\x41\x01\x1aL\n\x12\x43ustomEmojiPayload\x12\x1c\n\x0c\x66ile_content\x18\x01 \x01(\x0c\x42\x06\xe0\x41\x04\xe0\x41\x02\x12\x18\n\x08\x66ilename\x18\x02 \x01(\tB\x06\xe0\x41\x04\xe0\x41\x02:\\\xea\x41Y\n\x1f\x63hat.googleapis.com/CustomEmoji\x12\x1b\x63ustomEmojis/{custom_emoji}*\x0c\x63ustomEmojis2\x0b\x63ustomEmoji\"v\n\x14\x45mojiReactionSummary\x12)\n\x05\x65moji\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.EmojiB\x03\xe0\x41\x03\x12 \n\x0ereaction_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x42\x11\n\x0f_reaction_count\"~\n\x15\x43reateReactionRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\x12/\n\x08reaction\x18\x02 \x01(\x0b\x32\x18.google.chat.v1.ReactionB\x03\xe0\x41\x02\"\x92\x01\n\x14ListReactionsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"]\n\x15ListReactionsResponse\x12+\n\treactions\x18\x01 \x03(\x0b\x32\x18.google.chat.v1.Reaction\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"K\n\x15\x44\x65leteReactionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x63hat.googleapis.com/Reaction\"R\n\x18\x43reateCustomEmojiRequest\x12\x36\n\x0c\x63ustom_emoji\x18\x01 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmojiB\x03\xe0\x41\x02\"N\n\x15GetCustomEmojiRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63hat.googleapis.com/CustomEmoji\"_\n\x17ListCustomEmojisRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"l\n\x18ListCustomEmojisResponse\x12\x37\n\rcustom_emojis\x18\x01 \x03(\x0b\x32\x1b.google.chat.v1.CustomEmojiB\x03\xe0\x41\x06\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x18\x44\x65leteCustomEmojiRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63hat.googleapis.com/CustomEmojiB\xa6\x01\n\x12\x63om.google.chat.v1B\rReactionProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # 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 = [
    ["google.chat.v1.User", "google/chat/v1/user.proto"],
  ]
  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 Google
  module Apps
    module Chat
      module V1
        Reaction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Reaction").msgclass
        Emoji = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Emoji").msgclass
        CustomEmoji = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CustomEmoji").msgclass
        CustomEmoji::CustomEmojiPayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CustomEmoji.CustomEmojiPayload").msgclass
        EmojiReactionSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.EmojiReactionSummary").msgclass
        CreateReactionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CreateReactionRequest").msgclass
        ListReactionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ListReactionsRequest").msgclass
        ListReactionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ListReactionsResponse").msgclass
        DeleteReactionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.DeleteReactionRequest").msgclass
        CreateCustomEmojiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CreateCustomEmojiRequest").msgclass
        GetCustomEmojiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.GetCustomEmojiRequest").msgclass
        ListCustomEmojisRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ListCustomEmojisRequest").msgclass
        ListCustomEmojisResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ListCustomEmojisResponse").msgclass
        DeleteCustomEmojiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.DeleteCustomEmojiRequest").msgclass
      end
    end
  end
end
