Skip to content

Commit

Permalink
Update proto to receive configuration bit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tdryer committed Nov 13, 2016
1 parent bcb9d76 commit 12f6eae
Show file tree
Hide file tree
Showing 3 changed files with 408 additions and 249 deletions.
84 changes: 43 additions & 41 deletions docs/proto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,7 @@ SetNotificationSettingNotification
============================= ====== ====================== ======== ===========
Field Number Type Label Description
============================= ====== ====================== ======== ===========
:code:`configuration_bit` 1 `ConfigurationBit`_ repeated
:code:`desktop_sound_setting` 2 `DesktopSoundSetting`_ optional
============================= ====== ====================== ======== ===========

Expand Down Expand Up @@ -2084,47 +2085,48 @@ ConfigurationBitType

A type of binary configuration option.

========================================= ====== ===========
Name Number Description
========================================= ====== ===========
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN` 0
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_1` 1
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_2` 2
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_3` 3
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_4` 4
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_5` 5
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_6` 6
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_7` 7
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_8` 8
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_9` 9
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_10` 10
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_11` 11
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_12` 12
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_13` 13
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_14` 14
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_15` 15
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_16` 16
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_17` 17
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_18` 18
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_19` 19
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_20` 20
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_21` 21
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_22` 22
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_23` 23
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_24` 24
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_25` 25
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_26` 26
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_27` 27
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_28` 28
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_29` 29
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_30` 30
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_31` 31
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_32` 32
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_33` 33
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_34` 34
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_35` 35
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_36` 36
========================================= ====== ===========
==================================================================== ====== ===========
Name Number Description
==================================================================== ====== ===========
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN` 0
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_1` 1
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_2` 2
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_3` 3
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_4` 4
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_5` 5
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_6` 6
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_7` 7
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_8` 8
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_9` 9
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_10` 10
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_11` 11
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_12` 12
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_13` 13
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_14` 14
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_15` 15
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_16` 16
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_17` 17
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_18` 18
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_19` 19
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_20` 20
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_21` 21
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_22` 22
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_23` 23
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_24` 24
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_25` 25
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_26` 26
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_27` 27
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_28` 28
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_29` 29
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_30` 30
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_31` 31
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_32` 32
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_33` 33
:code:`CONFIGURATION_BIT_TYPE_DESKTOP_AUTO_EMOJI_CONVERSION_ENABLED` 34
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_35` 35
:code:`CONFIGURATION_BIT_TYPE_UNKNOWN_36` 36
:code:`CONFIGURATION_BIT_TYPE_DESKTOP_COMPACT_MODE_ENABLED` 38
==================================================================== ====== ===========

RichPresenceType
----------------
Expand Down
7 changes: 3 additions & 4 deletions hangups/hangouts.proto
Original file line number Diff line number Diff line change
Expand Up @@ -803,9 +803,10 @@ enum ConfigurationBitType {
CONFIGURATION_BIT_TYPE_UNKNOWN_31 = 31;
CONFIGURATION_BIT_TYPE_UNKNOWN_32 = 32;
CONFIGURATION_BIT_TYPE_UNKNOWN_33 = 33;
CONFIGURATION_BIT_TYPE_UNKNOWN_34 = 34;
CONFIGURATION_BIT_TYPE_DESKTOP_AUTO_EMOJI_CONVERSION_ENABLED = 34;
CONFIGURATION_BIT_TYPE_UNKNOWN_35 = 35;
CONFIGURATION_BIT_TYPE_UNKNOWN_36 = 36;
CONFIGURATION_BIT_TYPE_DESKTOP_COMPACT_MODE_ENABLED = 38;
}

message ConfigurationBit {
Expand Down Expand Up @@ -1159,10 +1160,8 @@ message BlockNotification {
}

message SetNotificationSettingNotification {
repeated ConfigurationBit configuration_bit = 1;
optional DesktopSoundSetting desktop_sound_setting = 2;

// TODO
// convert text to emoji setting
}

message RichPresenceEnabledStateNotification {
Expand Down
566 changes: 362 additions & 204 deletions hangups/hangouts_pb2.py

Large diffs are not rendered by default.

0 comments on commit 12f6eae

Please sign in to comment.