lib/app_info/protobuf/models/Configuration_pb.rb in app-info-3.0.0 vs lib/app_info/protobuf/models/Configuration_pb.rb in app-info-3.1.0

- old
+ new

@@ -1,126 +1,17 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: Configuration.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("Configuration.proto", :syntax => :proto3) do - add_message "aapt.pb.Configuration" do - optional :mcc, :uint32, 1 - optional :mnc, :uint32, 2 - optional :locale, :string, 3 - optional :layout_direction, :enum, 4, "aapt.pb.Configuration.LayoutDirection" - optional :screen_width, :uint32, 5 - optional :screen_height, :uint32, 6 - optional :screen_width_dp, :uint32, 7 - optional :screen_height_dp, :uint32, 8 - optional :smallest_screen_width_dp, :uint32, 9 - optional :screen_layout_size, :enum, 10, "aapt.pb.Configuration.ScreenLayoutSize" - optional :screen_layout_long, :enum, 11, "aapt.pb.Configuration.ScreenLayoutLong" - optional :screen_round, :enum, 12, "aapt.pb.Configuration.ScreenRound" - optional :wide_color_gamut, :enum, 13, "aapt.pb.Configuration.WideColorGamut" - optional :hdr, :enum, 14, "aapt.pb.Configuration.Hdr" - optional :orientation, :enum, 15, "aapt.pb.Configuration.Orientation" - optional :ui_mode_type, :enum, 16, "aapt.pb.Configuration.UiModeType" - optional :ui_mode_night, :enum, 17, "aapt.pb.Configuration.UiModeNight" - optional :density, :uint32, 18 - optional :touchscreen, :enum, 19, "aapt.pb.Configuration.Touchscreen" - optional :keys_hidden, :enum, 20, "aapt.pb.Configuration.KeysHidden" - optional :keyboard, :enum, 21, "aapt.pb.Configuration.Keyboard" - optional :nav_hidden, :enum, 22, "aapt.pb.Configuration.NavHidden" - optional :navigation, :enum, 23, "aapt.pb.Configuration.Navigation" - optional :sdk_version, :uint32, 24 - optional :product, :string, 25 - end - add_enum "aapt.pb.Configuration.LayoutDirection" do - value :LAYOUT_DIRECTION_UNSET, 0 - value :LAYOUT_DIRECTION_LTR, 1 - value :LAYOUT_DIRECTION_RTL, 2 - end - add_enum "aapt.pb.Configuration.ScreenLayoutSize" do - value :SCREEN_LAYOUT_SIZE_UNSET, 0 - value :SCREEN_LAYOUT_SIZE_SMALL, 1 - value :SCREEN_LAYOUT_SIZE_NORMAL, 2 - value :SCREEN_LAYOUT_SIZE_LARGE, 3 - value :SCREEN_LAYOUT_SIZE_XLARGE, 4 - end - add_enum "aapt.pb.Configuration.ScreenLayoutLong" do - value :SCREEN_LAYOUT_LONG_UNSET, 0 - value :SCREEN_LAYOUT_LONG_LONG, 1 - value :SCREEN_LAYOUT_LONG_NOTLONG, 2 - end - add_enum "aapt.pb.Configuration.ScreenRound" do - value :SCREEN_ROUND_UNSET, 0 - value :SCREEN_ROUND_ROUND, 1 - value :SCREEN_ROUND_NOTROUND, 2 - end - add_enum "aapt.pb.Configuration.WideColorGamut" do - value :WIDE_COLOR_GAMUT_UNSET, 0 - value :WIDE_COLOR_GAMUT_WIDECG, 1 - value :WIDE_COLOR_GAMUT_NOWIDECG, 2 - end - add_enum "aapt.pb.Configuration.Hdr" do - value :HDR_UNSET, 0 - value :HDR_HIGHDR, 1 - value :HDR_LOWDR, 2 - end - add_enum "aapt.pb.Configuration.Orientation" do - value :ORIENTATION_UNSET, 0 - value :ORIENTATION_PORT, 1 - value :ORIENTATION_LAND, 2 - value :ORIENTATION_SQUARE, 3 - end - add_enum "aapt.pb.Configuration.UiModeType" do - value :UI_MODE_TYPE_UNSET, 0 - value :UI_MODE_TYPE_NORMAL, 1 - value :UI_MODE_TYPE_DESK, 2 - value :UI_MODE_TYPE_CAR, 3 - value :UI_MODE_TYPE_TELEVISION, 4 - value :UI_MODE_TYPE_APPLIANCE, 5 - value :UI_MODE_TYPE_WATCH, 6 - value :UI_MODE_TYPE_VRHEADSET, 7 - end - add_enum "aapt.pb.Configuration.UiModeNight" do - value :UI_MODE_NIGHT_UNSET, 0 - value :UI_MODE_NIGHT_NIGHT, 1 - value :UI_MODE_NIGHT_NOTNIGHT, 2 - end - add_enum "aapt.pb.Configuration.Touchscreen" do - value :TOUCHSCREEN_UNSET, 0 - value :TOUCHSCREEN_NOTOUCH, 1 - value :TOUCHSCREEN_STYLUS, 2 - value :TOUCHSCREEN_FINGER, 3 - end - add_enum "aapt.pb.Configuration.KeysHidden" do - value :KEYS_HIDDEN_UNSET, 0 - value :KEYS_HIDDEN_KEYSEXPOSED, 1 - value :KEYS_HIDDEN_KEYSHIDDEN, 2 - value :KEYS_HIDDEN_KEYSSOFT, 3 - end - add_enum "aapt.pb.Configuration.Keyboard" do - value :KEYBOARD_UNSET, 0 - value :KEYBOARD_NOKEYS, 1 - value :KEYBOARD_QWERTY, 2 - value :KEYBOARD_TWELVEKEY, 3 - end - add_enum "aapt.pb.Configuration.NavHidden" do - value :NAV_HIDDEN_UNSET, 0 - value :NAV_HIDDEN_NAVEXPOSED, 1 - value :NAV_HIDDEN_NAVHIDDEN, 2 - end - add_enum "aapt.pb.Configuration.Navigation" do - value :NAVIGATION_UNSET, 0 - value :NAVIGATION_NONAV, 1 - value :NAVIGATION_DPAD, 2 - value :NAVIGATION_TRACKBALL, 3 - value :NAVIGATION_WHEEL, 4 - end - end -end -# @!visibility private +descriptor_data = "\n\x13\x43onfiguration.proto\x12\x07\x61\x61pt.pb\"\x97\x16\n\rConfiguration\x12\x0b\n\x03mcc\x18\x01 \x01(\r\x12\x0b\n\x03mnc\x18\x02 \x01(\r\x12\x0e\n\x06locale\x18\x03 \x01(\t\x12@\n\x10layout_direction\x18\x04 \x01(\x0e\x32&.aapt.pb.Configuration.LayoutDirection\x12\x14\n\x0cscreen_width\x18\x05 \x01(\r\x12\x15\n\rscreen_height\x18\x06 \x01(\r\x12\x17\n\x0fscreen_width_dp\x18\x07 \x01(\r\x12\x18\n\x10screen_height_dp\x18\x08 \x01(\r\x12 \n\x18smallest_screen_width_dp\x18\t \x01(\r\x12\x43\n\x12screen_layout_size\x18\n \x01(\x0e\x32\'.aapt.pb.Configuration.ScreenLayoutSize\x12\x43\n\x12screen_layout_long\x18\x0b \x01(\x0e\x32\'.aapt.pb.Configuration.ScreenLayoutLong\x12\x38\n\x0cscreen_round\x18\x0c \x01(\x0e\x32\".aapt.pb.Configuration.ScreenRound\x12?\n\x10wide_color_gamut\x18\r \x01(\x0e\x32%.aapt.pb.Configuration.WideColorGamut\x12\'\n\x03hdr\x18\x0e \x01(\x0e\x32\x1a.aapt.pb.Configuration.Hdr\x12\x37\n\x0borientation\x18\x0f \x01(\x0e\x32\".aapt.pb.Configuration.Orientation\x12\x37\n\x0cui_mode_type\x18\x10 \x01(\x0e\x32!.aapt.pb.Configuration.UiModeType\x12\x39\n\rui_mode_night\x18\x11 \x01(\x0e\x32\".aapt.pb.Configuration.UiModeNight\x12\x0f\n\x07\x64\x65nsity\x18\x12 \x01(\r\x12\x37\n\x0btouchscreen\x18\x13 \x01(\x0e\x32\".aapt.pb.Configuration.Touchscreen\x12\x36\n\x0bkeys_hidden\x18\x14 \x01(\x0e\x32!.aapt.pb.Configuration.KeysHidden\x12\x31\n\x08keyboard\x18\x15 \x01(\x0e\x32\x1f.aapt.pb.Configuration.Keyboard\x12\x34\n\nnav_hidden\x18\x16 \x01(\x0e\x32 .aapt.pb.Configuration.NavHidden\x12\x35\n\nnavigation\x18\x17 \x01(\x0e\x32!.aapt.pb.Configuration.Navigation\x12\x13\n\x0bsdk_version\x18\x18 \x01(\r\x12\x44\n\x12grammatical_gender\x18\x1a \x01(\x0e\x32(.aapt.pb.Configuration.GrammaticalGender\x12\x0f\n\x07product\x18\x19 \x01(\t\"a\n\x0fLayoutDirection\x12\x1a\n\x16LAYOUT_DIRECTION_UNSET\x10\x00\x12\x18\n\x14LAYOUT_DIRECTION_LTR\x10\x01\x12\x18\n\x14LAYOUT_DIRECTION_RTL\x10\x02\"\xaa\x01\n\x10ScreenLayoutSize\x12\x1c\n\x18SCREEN_LAYOUT_SIZE_UNSET\x10\x00\x12\x1c\n\x18SCREEN_LAYOUT_SIZE_SMALL\x10\x01\x12\x1d\n\x19SCREEN_LAYOUT_SIZE_NORMAL\x10\x02\x12\x1c\n\x18SCREEN_LAYOUT_SIZE_LARGE\x10\x03\x12\x1d\n\x19SCREEN_LAYOUT_SIZE_XLARGE\x10\x04\"m\n\x10ScreenLayoutLong\x12\x1c\n\x18SCREEN_LAYOUT_LONG_UNSET\x10\x00\x12\x1b\n\x17SCREEN_LAYOUT_LONG_LONG\x10\x01\x12\x1e\n\x1aSCREEN_LAYOUT_LONG_NOTLONG\x10\x02\"X\n\x0bScreenRound\x12\x16\n\x12SCREEN_ROUND_UNSET\x10\x00\x12\x16\n\x12SCREEN_ROUND_ROUND\x10\x01\x12\x19\n\x15SCREEN_ROUND_NOTROUND\x10\x02\"h\n\x0eWideColorGamut\x12\x1a\n\x16WIDE_COLOR_GAMUT_UNSET\x10\x00\x12\x1b\n\x17WIDE_COLOR_GAMUT_WIDECG\x10\x01\x12\x1d\n\x19WIDE_COLOR_GAMUT_NOWIDECG\x10\x02\"3\n\x03Hdr\x12\r\n\tHDR_UNSET\x10\x00\x12\x0e\n\nHDR_HIGHDR\x10\x01\x12\r\n\tHDR_LOWDR\x10\x02\"h\n\x0bOrientation\x12\x15\n\x11ORIENTATION_UNSET\x10\x00\x12\x14\n\x10ORIENTATION_PORT\x10\x01\x12\x14\n\x10ORIENTATION_LAND\x10\x02\x12\x16\n\x12ORIENTATION_SQUARE\x10\x03\"\xd7\x01\n\nUiModeType\x12\x16\n\x12UI_MODE_TYPE_UNSET\x10\x00\x12\x17\n\x13UI_MODE_TYPE_NORMAL\x10\x01\x12\x15\n\x11UI_MODE_TYPE_DESK\x10\x02\x12\x14\n\x10UI_MODE_TYPE_CAR\x10\x03\x12\x1b\n\x17UI_MODE_TYPE_TELEVISION\x10\x04\x12\x1a\n\x16UI_MODE_TYPE_APPLIANCE\x10\x05\x12\x16\n\x12UI_MODE_TYPE_WATCH\x10\x06\x12\x1a\n\x16UI_MODE_TYPE_VRHEADSET\x10\x07\"[\n\x0bUiModeNight\x12\x17\n\x13UI_MODE_NIGHT_UNSET\x10\x00\x12\x17\n\x13UI_MODE_NIGHT_NIGHT\x10\x01\x12\x1a\n\x16UI_MODE_NIGHT_NOTNIGHT\x10\x02\"m\n\x0bTouchscreen\x12\x15\n\x11TOUCHSCREEN_UNSET\x10\x00\x12\x17\n\x13TOUCHSCREEN_NOTOUCH\x10\x01\x12\x16\n\x12TOUCHSCREEN_STYLUS\x10\x02\x12\x16\n\x12TOUCHSCREEN_FINGER\x10\x03\"v\n\nKeysHidden\x12\x15\n\x11KEYS_HIDDEN_UNSET\x10\x00\x12\x1b\n\x17KEYS_HIDDEN_KEYSEXPOSED\x10\x01\x12\x1a\n\x16KEYS_HIDDEN_KEYSHIDDEN\x10\x02\x12\x18\n\x14KEYS_HIDDEN_KEYSSOFT\x10\x03\"`\n\x08Keyboard\x12\x12\n\x0eKEYBOARD_UNSET\x10\x00\x12\x13\n\x0fKEYBOARD_NOKEYS\x10\x01\x12\x13\n\x0fKEYBOARD_QWERTY\x10\x02\x12\x16\n\x12KEYBOARD_TWELVEKEY\x10\x03\"V\n\tNavHidden\x12\x14\n\x10NAV_HIDDEN_UNSET\x10\x00\x12\x19\n\x15NAV_HIDDEN_NAVEXPOSED\x10\x01\x12\x18\n\x14NAV_HIDDEN_NAVHIDDEN\x10\x02\"}\n\nNavigation\x12\x14\n\x10NAVIGATION_UNSET\x10\x00\x12\x14\n\x10NAVIGATION_NONAV\x10\x01\x12\x13\n\x0fNAVIGATION_DPAD\x10\x02\x12\x18\n\x14NAVIGATION_TRACKBALL\x10\x03\x12\x14\n\x10NAVIGATION_WHEEL\x10\x04\"v\n\x11GrammaticalGender\x12\x14\n\x10GRAM_GENDER_USET\x10\x00\x12\x16\n\x12GRAM_GENDER_NEUTER\x10\x01\x12\x18\n\x14GRAM_GENDER_FEMININE\x10\x02\x12\x19\n\x15GRAM_GENDER_MASCULINE\x10\x03\x42\x12\n\x10\x63om.android.aaptb\x06proto3" + +pool = Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + module Aapt module Pb Configuration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aapt.pb.Configuration").msgclass Configuration::LayoutDirection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aapt.pb.Configuration.LayoutDirection").enummodule Configuration::ScreenLayoutSize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aapt.pb.Configuration.ScreenLayoutSize").enummodule @@ -134,7 +25,8 @@ Configuration::Touchscreen = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aapt.pb.Configuration.Touchscreen").enummodule Configuration::KeysHidden = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aapt.pb.Configuration.KeysHidden").enummodule Configuration::Keyboard = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aapt.pb.Configuration.Keyboard").enummodule Configuration::NavHidden = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aapt.pb.Configuration.NavHidden").enummodule Configuration::Navigation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aapt.pb.Configuration.Navigation").enummodule + Configuration::GrammaticalGender = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aapt.pb.Configuration.GrammaticalGender").enummodule end end