Module Expr Str Import alias If CompareLt SubscriptLoad AttributeLoad NameLoad attr Index Num Num body TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body ImportFrom alias identifier Import alias identifier Assign NameStore NameLoad orelse ImportFrom alias Import alias Assign NameStore NameLoad Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args NameParam defaults TupleLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str ListLoad Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BoolOpAnd AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr If Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Assign NameStore Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad NameLoad NameLoad decorator_list Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assert CompareNotIn NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr ListLoad body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Return NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Return NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num If BoolOpAnd CompareEq Call NameLoad AttributeLoad NameLoad attr Num CompareIs Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad NameLoad Raise Call NameLoad NameLoad NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body TryExcept body Return AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr CompareGt Call NameLoad NameLoad Num Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr TupleLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore ListComp Call NameLoad AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad Lambda arguments args NameParam defaults Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad orelse Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMod Str NameLoad FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad BinOpMod Str NameLoad decorator_list Assign NameStore BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMod Str NameLoad Assign NameStore BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list If AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list orelse Assign NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMod Str NameLoad Assign NameStore BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr IfExp CompareIsNot AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMod Str NameLoad FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad BinOpMod Str NameLoad decorator_list Assign NameStore BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If Call NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Assign AttributeStore NameLoad attr Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr body Return Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr body Return AttributeLoad SubscriptLoad NameLoad Index Num attr orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults AttributeLoad SubscriptLoad NameLoad Index Num attr Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore CompareEq AttributeLoad NameLoad attr Str Assign NameStore IfExp NameLoad NameLoad NameLoad Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Continue If BoolOpAnd NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Continue Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod NameLoad NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body TryExcept body Return Call NameLoad NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return BoolOpAnd CompareIsNot NameLoad NameLoad AttributeLoad NameLoad attr orelse Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Return handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad If CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr TupleLoad Assign AttributeStore NameLoad attr Dict Expr Call AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return BoolOpAnd CompareIsNot NameLoad NameLoad AttributeLoad NameLoad attr orelse Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad If CompareIs NameLoad NameLoad body Return NameLoad If UnaryOpNot CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return CompareEq NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr Str decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr Assign NameStore Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad TryExcept body If CompareNotEq Call AttributeLoad NameLoad attr NameLoad Num NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr Str handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr Str ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore CompareEq AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr While CompareNotEq NameLoad NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad If CompareEq NameLoad Num body Return NameLoad If UnaryOpNot NameLoad body If UnaryOpNot NameLoad body Assign NameStore AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad SubscriptLoad NameLoad Slice NameLoad NameLoad Assign NameStore NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str For NameStore NameLoad body If BoolOpOr CompareNotIn NameLoad AttributeLoad NameLoad attr BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr UnaryOpNot AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For NameStore NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad orelse If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AugAssignAdd NameStore ListComp BinOpAdd NameLoad NameLoad comprehension NameStore NameLoad orelse Assign NameStore BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AugAssignAdd NameStore ListComp BinOpAdd NameLoad NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad Call NameLoad NameLoad attr Assert CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Pass orelse Return AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListComp NameLoad comprehension NameStore NameLoad AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore NameLoad AttributeLoad NameLoad attr Return CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad If BoolOpOr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad decorator_list decorator_list
N/A N/A Contains a metaclass and helper functions used to create
protocol message classes from Descriptor objects at runtime.

Recall that a metaclass is the "type" of a class.
(A class is to a metaclass what an instance is to a class.)

In this case, we use the GeneratedProtocolMessageType metaclass
to inject all the useful functionality into the classes
output by the protocol compiler at compile-time.

The upshot of all this is that the real implementation
details for ALL pure-Python protocol buffers are *here in
this file*.
 N/A sys N/A N/A N/A N/A sys version_info N/A 0 3 N/A N/A N/A cStringIO StringIO BytesIO N/A N/A N/A ImportError N/A StringIO StringIO BytesIO N/A copy_reg copyreg N/A _basestring basestring N/A io BytesIO N/A copyreg N/A _basestring str N/A struct N/A weakref google.net.proto2.python.internal containers google.net.proto2.python.internal decoder google.net.proto2.python.internal encoder google.net.proto2.python.internal enum_type_wrapper google.net.proto2.python.internal message_listener message_listener_mod google.net.proto2.python.internal type_checkers google.net.proto2.python.internal wire_format google.net.proto2.python.public descriptor descriptor_mod google.net.proto2.python.public message message_mod google.net.proto2.python.public text_format N/A _FieldDescriptor N/A descriptor_mod FieldDescriptor NewMessage N/A N/A bases descriptor dictionary N/A N/A N/A N/A _AddClassAttributesForNestedExtensions descriptor dictionary N/A N/A _AddSlots descriptor dictionary N/A bases N/A InitMessage N/A N/A descriptor cls N/A N/A N/A N/A cls _decoders_by_tag N/A N/A N/A cls _extensions_by_name N/A N/A N/A cls _extensions_by_number N/A N/A N/A N/A descriptor has_options N/A N/A N/A descriptor GetOptions message_set_wire_format N/A N/A N/A N/A cls _decoders_by_tag N/A N/A decoder MESSAGE_SET_ITEM_TAG N/A N/A N/A decoder MessageSetItemDecoder N/A cls _extensions_by_number None N/A field N/A descriptor fields N/A N/A N/A _AttachFieldHelpers cls field N/A N/A _AddEnumValues descriptor cls N/A N/A _AddInitMethod descriptor cls N/A N/A _AddPropertiesForFields descriptor cls N/A N/A _AddPropertiesForExtensions descriptor cls N/A N/A _AddStaticMethods cls N/A N/A _AddMessageMethods descriptor cls N/A N/A _AddPrivateHelperMethods descriptor cls N/A N/A N/A copyreg pickle cls N/A N/A N/A obj N/A N/A cls N/A N/A N/A obj __getstate__ N/A _PropertyName N/A N/A proto_field_name N/A N/A N/A Returns the name of the public property attribute which
  clients can use to get and (in some cases) set the value
  of a protocol message field.

  Args:
    proto_field_name: The protocol message field name, exactly
      as it appears (or would appear) in a .proto file.
   N/A proto_field_name N/A _VerifyExtensionHandle N/A N/A message extension_handle N/A N/A N/A Verify that the given extension handle is valid. N/A N/A N/A isinstance extension_handle _FieldDescriptor N/A N/A N/A KeyError N/A HasExtension() expects an extension handle, got: %s extension_handle N/A N/A N/A extension_handle is_extension N/A N/A N/A KeyError N/A "%s" is not an extension. N/A extension_handle full_name N/A N/A N/A extension_handle containing_type N/A N/A N/A KeyError N/A "%s" is missing a containing_type. N/A extension_handle full_name N/A N/A N/A extension_handle containing_type N/A message DESCRIPTOR N/A N/A N/A KeyError N/A Extension "%s" extends message type "%s", but this message is of type "%s". N/A N/A extension_handle full_name N/A N/A extension_handle containing_type full_name N/A N/A message DESCRIPTOR full_name N/A _AddSlots N/A N/A message_descriptor dictionary N/A N/A N/A Adds a __slots__ entry to dictionary, containing the names of all valid
  attributes for this message type.

  Args:
    message_descriptor: A Descriptor instance describing this message type.
    dictionary: Class dictionary to which we'll add a '__slots__' entry.
   N/A N/A dictionary N/A __slots__ N/A _cached_byte_size _cached_byte_size_dirty _fields _unknown_fields _is_present_in_parent _listener _listener_for_children __weakref__ _oneofs N/A _IsMessageSetExtension N/A N/A field N/A N/A N/A N/A N/A field is_extension N/A N/A field containing_type has_options N/A N/A N/A N/A field containing_type GetOptions message_set_wire_format N/A N/A field type N/A _FieldDescriptor TYPE_MESSAGE N/A N/A field message_type N/A field extension_scope N/A N/A field label N/A _FieldDescriptor LABEL_OPTIONAL N/A _AttachFieldHelpers N/A N/A cls field_descriptor N/A N/A N/A is_repeated N/A N/A field_descriptor label N/A _FieldDescriptor LABEL_REPEATED N/A is_packed N/A N/A field_descriptor has_options N/A N/A N/A field_descriptor GetOptions packed N/A N/A _IsMessageSetExtension field_descriptor N/A N/A field_encoder N/A N/A encoder MessageSetItemEncoder N/A field_descriptor number N/A sizer N/A N/A encoder MessageSetItemSizer N/A field_descriptor number N/A N/A field_encoder N/A N/A N/A type_checkers TYPE_TO_ENCODER N/A N/A field_descriptor type N/A field_descriptor number is_repeated is_packed N/A sizer N/A N/A N/A type_checkers TYPE_TO_SIZER N/A N/A field_descriptor type N/A field_descriptor number is_repeated is_packed N/A N/A field_descriptor _encoder field_encoder N/A N/A field_descriptor _sizer sizer N/A N/A field_descriptor _default_constructor N/A _DefaultValueConstructorForField field_descriptor AddDecoder N/A N/A wiretype is_packed N/A N/A N/A tag_bytes N/A N/A encoder TagBytes N/A field_descriptor number wiretype N/A decode_type N/A field_descriptor type N/A N/A N/A decode_type N/A _FieldDescriptor TYPE_ENUM N/A N/A type_checkers SupportsOpenEnums field_descriptor N/A N/A decode_type N/A _FieldDescriptor TYPE_INT32 N/A oneof_descriptor None N/A N/A N/A field_descriptor containing_oneof None N/A N/A oneof_descriptor field_descriptor N/A field_decoder N/A N/A N/A type_checkers TYPE_TO_DECODER N/A decode_type N/A field_descriptor number is_repeated is_packed field_descriptor N/A field_descriptor _default_constructor N/A N/A N/A cls _decoders_by_tag N/A tag_bytes N/A field_decoder oneof_descriptor N/A N/A N/A AddDecoder N/A N/A type_checkers FIELD_TYPE_TO_WIRE_TYPE N/A N/A field_descriptor type False N/A N/A is_repeated N/A N/A wire_format IsTypePackable N/A field_descriptor type N/A N/A N/A AddDecoder N/A wire_format WIRETYPE_LENGTH_DELIMITED True N/A _AddClassAttributesForNestedExtensions N/A N/A descriptor dictionary N/A N/A N/A extension_dict N/A descriptor extensions_by_name N/A N/A extension_name extension_field N/A N/A extension_dict iteritems N/A N/A N/A extension_name dictionary N/A N/A dictionary N/A extension_name extension_field N/A _AddEnumValues N/A N/A descriptor cls N/A N/A N/A Sets class-level attributes for all enum fields defined in this message.

  Also exporting a class-level object that can name enum values.

  Args:
    descriptor: Descriptor object for this message type.
    cls: Class we're constructing for this message type.
   N/A enum_type N/A descriptor enum_types N/A N/A N/A setattr cls N/A enum_type name N/A N/A enum_type_wrapper EnumTypeWrapper enum_type N/A enum_value N/A enum_type values N/A N/A N/A setattr cls N/A enum_value name N/A enum_value number N/A _DefaultValueConstructorForField N/A N/A field N/A N/A N/A Returns a function which returns a default value for a field.

  Args:
    field: FieldDescriptor object for this field.

  The returned function has one argument:
    message: Message instance containing this field, or a weakref proxy
      of same.

  That function in turn returns a default value for this field.  The default
    value may refer back to |message| via a weak reference.
   N/A N/A N/A field label N/A _FieldDescriptor LABEL_REPEATED N/A N/A N/A N/A field has_default_value N/A N/A field default_value N/A N/A N/A N/A ValueError N/A Repeated field default value not empty list: %s N/A field default_value N/A N/A N/A field cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A message_type N/A field message_type MakeRepeatedMessageDefault N/A N/A message N/A N/A N/A N/A N/A containers RepeatedCompositeFieldContainer N/A message _listener_for_children N/A field message_type N/A N/A MakeRepeatedMessageDefault N/A N/A type_checker N/A N/A type_checkers GetTypeChecker field MakeRepeatedScalarDefault N/A N/A message N/A N/A N/A N/A N/A containers RepeatedScalarFieldContainer N/A message _listener_for_children type_checker N/A N/A MakeRepeatedScalarDefault N/A N/A N/A field cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A message_type N/A field message_type MakeSubMessageDefault N/A N/A message N/A N/A N/A result N/A N/A message_type _concrete_class N/A N/A N/A result _SetListener N/A message _listener_for_children N/A N/A field containing_oneof N/A N/A N/A N/A message _UpdateOneofState field N/A result N/A N/A MakeSubMessageDefault MakeScalarDefault N/A N/A message N/A N/A N/A N/A field default_value N/A N/A MakeScalarDefault N/A _ReraiseTypeErrorWithFieldName N/A N/A message_name field_name N/A N/A N/A Re-raise the currently-handled TypeError with the field name added. N/A exc N/A N/A N/A sys exc_info N/A 1 N/A N/A N/A N/A len N/A exc args 1 N/A N/A type exc TypeError N/A N/A exc N/A TypeError N/A %s for field %s.%s N/A N/A str exc message_name field_name N/A N/A type exc exc N/A N/A N/A sys exc_info N/A 2 N/A _AddInitMethod N/A N/A message_descriptor cls N/A N/A N/A Adds an __init__ method to cls. _GetIntegerEnumValue N/A N/A enum_type value N/A N/A N/A Convert a string or integer enum value to an integer.

    If the value is a string, it is converted to the enum value in
    enum_type with the same name.  If the value is not a string, it's
    returned as-is.  (No conversion or bounds-checking is done.)
     N/A N/A isinstance value _basestring N/A N/A N/A N/A N/A N/A N/A enum_type values_by_name N/A value number N/A N/A N/A KeyError N/A N/A N/A ValueError N/A Enum type %s: unknown label "%s" N/A N/A enum_type full_name value N/A value N/A init N/A N/A self N/A kwargs N/A N/A N/A self _cached_byte_size 0 N/A N/A self _cached_byte_size_dirty N/A N/A len kwargs 0 N/A N/A self _fields N/A N/A N/A self _oneofs N/A N/A N/A self _unknown_fields N/A N/A N/A self _is_present_in_parent False N/A N/A self _listener N/A N/A message_listener_mod NullMessageListener N/A N/A self _listener_for_children N/A _Listener self N/A N/A field_name field_value N/A N/A kwargs iteritems N/A N/A field N/A _GetFieldByName message_descriptor field_name N/A N/A field None N/A N/A N/A TypeError N/A %s() got an unexpected keyword argument '%s' N/A N/A message_descriptor name field_name N/A N/A N/A field label N/A _FieldDescriptor LABEL_REPEATED N/A N/A copy N/A N/A field _default_constructor self N/A N/A N/A field cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A val field_value N/A N/A N/A isinstance val dict N/A N/A N/A N/A copy add val N/A N/A N/A N/A N/A N/A copy add MergeFrom val N/A N/A N/A N/A field cpp_type N/A _FieldDescriptor CPPTYPE_ENUM N/A N/A field_value N/A N/A _GetIntegerEnumValue N/A field enum_type val N/A val field_value N/A N/A N/A copy extend field_value N/A N/A N/A self _fields N/A field copy N/A N/A N/A N/A field cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A copy N/A N/A field _default_constructor self N/A new_val field_value N/A N/A isinstance field_value dict N/A N/A new_val N/A N/A N/A field message_type _concrete_class field_value N/A N/A N/A N/A N/A copy MergeFrom new_val N/A N/A N/A TypeError N/A N/A N/A _ReraiseTypeErrorWithFieldName N/A message_descriptor name field_name N/A N/A N/A self _fields N/A field copy N/A N/A N/A N/A field cpp_type N/A _FieldDescriptor CPPTYPE_ENUM N/A N/A field_value N/A _GetIntegerEnumValue N/A field enum_type field_value N/A N/A N/A N/A setattr self field_name field_value N/A N/A N/A TypeError N/A N/A N/A _ReraiseTypeErrorWithFieldName N/A message_descriptor name field_name N/A N/A N/A init __module__ None N/A N/A init __doc__ None N/A N/A cls __init__ init N/A _GetFieldByName N/A N/A message_descriptor field_name N/A N/A N/A Returns a field descriptor by field name.

  Args:
    message_descriptor: A Descriptor describing all fields in message.
    field_name: The name of the field to retrieve.
  Returns:
    The field descriptor associated with the field name.
   N/A N/A N/A N/A N/A message_descriptor fields_by_name N/A field_name N/A N/A N/A KeyError N/A N/A N/A ValueError N/A Protocol message has no "%s" field. field_name N/A _AddPropertiesForFields N/A N/A descriptor cls N/A N/A N/A Adds properties for all fields in this protocol message type. N/A field N/A descriptor fields N/A N/A N/A _AddPropertiesForField field cls N/A N/A descriptor is_extendable N/A N/A N/A cls Extensions N/A property N/A N/A N/A self N/A N/A _ExtensionDict self N/A _AddPropertiesForField N/A N/A field cls N/A N/A N/A Adds a public property for a protocol message field.
  Clients can use this property to get and (in the case
  of non-repeated scalar fields) directly set the value
  of a protocol message field.

  Args:
    field: A FieldDescriptor for this field.
    cls: The class we're constructing.
   N/A N/A N/A _FieldDescriptor MAX_CPPTYPE 10 N/A constant_name N/A N/A N/A N/A field name upper _FIELD_NUMBER N/A N/A setattr cls constant_name N/A field number N/A N/A N/A field label N/A _FieldDescriptor LABEL_REPEATED N/A N/A N/A _AddPropertiesForRepeatedField field cls N/A N/A N/A N/A field cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A N/A _AddPropertiesForNonRepeatedCompositeField field cls N/A N/A N/A _AddPropertiesForNonRepeatedScalarField field cls N/A _AddPropertiesForRepeatedField N/A N/A field cls N/A N/A N/A Adds a public property for a "repeated" protocol message field.  Clients
  can use this property to get the value of the field, which will be either a
  _RepeatedScalarFieldContainer or _RepeatedCompositeFieldContainer (see
  below).

  Note that when clients add values to these containers, we perform
  type-checking in the case of repeated scalar fields, and we also set any
  necessary "has" bits as a side-effect.

  Args:
    field: A FieldDescriptor for this field.
    cls: The class we're constructing.
   N/A proto_field_name N/A field name N/A property_name N/A _PropertyName proto_field_name getter N/A N/A self N/A N/A N/A field_value N/A N/A N/A self _fields get field N/A N/A field_value None N/A N/A field_value N/A N/A field _default_constructor self N/A field_value N/A N/A N/A self _fields setdefault field field_value N/A field_value N/A N/A N/A getter __module__ None N/A N/A getter __doc__ N/A Getter for %s. proto_field_name setter N/A N/A self new_value N/A N/A N/A N/A AttributeError N/A Assignment not allowed to repeated field "%s" in protocol message object. proto_field_name N/A N/A doc N/A Magic attribute generated for "%s" proto field. proto_field_name N/A N/A setattr cls property_name N/A property getter setter doc doc N/A _AddPropertiesForNonRepeatedScalarField N/A N/A field cls N/A N/A N/A Adds a public property for a nonrepeated, scalar protocol message field.
  Clients can use this property to get and directly set the value of the field.
  Note that when the client sets the value of a field by using this property,
  all necessary "has" bits are set as a side-effect, and we also perform
  type-checking.

  Args:
    field: A FieldDescriptor for this field.
    cls: The class we're constructing.
   N/A proto_field_name N/A field name N/A property_name N/A _PropertyName proto_field_name N/A type_checker N/A N/A type_checkers GetTypeChecker field N/A default_value N/A field default_value N/A valid_values N/A set N/A is_proto3 N/A N/A N/A field containing_type syntax proto3 getter N/A N/A self N/A N/A N/A N/A N/A N/A self _fields get field default_value N/A N/A N/A getter __module__ None N/A N/A getter __doc__ N/A Getter for %s. proto_field_name N/A clear_when_set_to_default N/A is_proto3 N/A N/A field containing_oneof field_setter N/A N/A self new_value N/A N/A N/A new_value N/A N/A type_checker CheckValue new_value N/A N/A clear_when_set_to_default N/A new_value N/A N/A N/A N/A N/A self _fields pop field None N/A N/A N/A N/A self _fields N/A field new_value N/A N/A N/A self _cached_byte_size_dirty N/A N/A N/A N/A self _Modified N/A N/A N/A field containing_oneof N/A setter N/A N/A self new_value N/A N/A N/A N/A field_setter self new_value N/A N/A N/A self _UpdateOneofState field N/A N/A N/A setter field_setter N/A N/A setter __module__ None N/A N/A setter __doc__ N/A Setter for %s. proto_field_name N/A doc N/A Magic attribute generated for "%s" proto field. proto_field_name N/A N/A setattr cls property_name N/A property getter setter doc doc N/A _AddPropertiesForNonRepeatedCompositeField N/A N/A field cls N/A N/A N/A Adds a public property for a nonrepeated, composite protocol message field.
  A composite field is a "group" or "message" field.

  Clients can use this property to get the value of the field, but cannot
  assign to the property directly.

  Args:
    field: A FieldDescriptor for this field.
    cls: The class we're constructing.
   N/A proto_field_name N/A field name N/A property_name N/A _PropertyName proto_field_name N/A message_type N/A field message_type getter N/A N/A self N/A N/A N/A field_value N/A N/A N/A self _fields get field N/A N/A field_value None N/A N/A field_value N/A N/A message_type _concrete_class N/A N/A N/A field_value _SetListener N/A N/A N/A field containing_oneof None N/A _OneofListener self field N/A self _listener_for_children N/A field_value N/A N/A N/A self _fields setdefault field field_value N/A field_value N/A N/A N/A getter __module__ None N/A N/A getter __doc__ N/A Getter for %s. proto_field_name setter N/A N/A self new_value N/A N/A N/A N/A AttributeError N/A Assignment not allowed to composite field "%s" in protocol message object. proto_field_name N/A N/A doc N/A Magic attribute generated for "%s" proto field. proto_field_name N/A N/A setattr cls property_name N/A property getter setter doc doc N/A _AddPropertiesForExtensions N/A N/A descriptor cls N/A N/A N/A Adds properties for all fields in this protocol message type. N/A extension_dict N/A descriptor extensions_by_name N/A N/A extension_name extension_field N/A N/A extension_dict iteritems N/A N/A constant_name N/A N/A N/A extension_name upper _FIELD_NUMBER N/A N/A setattr cls constant_name N/A extension_field number N/A _AddStaticMethods N/A N/A cls N/A N/A RegisterExtension N/A N/A extension_handle N/A N/A N/A N/A extension_handle containing_type N/A cls DESCRIPTOR N/A N/A _AttachFieldHelpers cls extension_handle N/A actual_handle N/A N/A N/A cls _extensions_by_number setdefault N/A extension_handle number extension_handle N/A N/A actual_handle extension_handle N/A N/A N/A AssertionError N/A Extensions "%s" and "%s" both try to extend message type "%s" with field number %d. N/A N/A extension_handle full_name N/A actual_handle full_name N/A N/A cls DESCRIPTOR full_name N/A extension_handle number N/A N/A N/A cls _extensions_by_name N/A N/A extension_handle full_name extension_handle N/A handle extension_handle N/A N/A _IsMessageSetExtension handle N/A N/A N/A N/A cls _extensions_by_name N/A N/A N/A extension_handle message_type full_name extension_handle N/A N/A N/A cls RegisterExtension N/A staticmethod RegisterExtension FromString N/A N/A s N/A N/A N/A message N/A cls N/A N/A N/A message MergeFromString s N/A message N/A N/A N/A cls FromString N/A staticmethod FromString N/A _IsPresent N/A N/A item N/A N/A N/A Given a (FieldDescriptor, value) tuple from _fields, return true if the
  value should be included in the list returned by ListFields(). N/A N/A N/A N/A item N/A 0 label N/A _FieldDescriptor LABEL_REPEATED N/A N/A N/A bool N/A item N/A 1 N/A N/A N/A N/A N/A item N/A 0 cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A N/A N/A item N/A 1 _is_present_in_parent N/A N/A True N/A _AddListFieldsMethod N/A N/A message_descriptor cls N/A N/A N/A Helper for _AddMessageMethods(). ListFields N/A N/A self N/A N/A N/A all_fields N/A item N/A item N/A N/A N/A self _fields iteritems N/A _IsPresent item N/A N/A N/A all_fields sort key N/A N/A N/A item N/A N/A N/A item N/A 0 number N/A all_fields N/A N/A N/A cls ListFields ListFields N/A N/A _Proto3HasError Protocol message has no non-repeated submessage field "%s" N/A _Proto2HasError Protocol message has no non-repeated field "%s" _AddHasFieldMethod N/A N/A message_descriptor cls N/A N/A N/A Helper for _AddMessageMethods(). N/A is_proto3 N/A N/A message_descriptor syntax proto3 N/A error_msg N/A is_proto3 _Proto3HasError _Proto2HasError N/A hassable_fields N/A N/A field N/A message_descriptor fields N/A N/A N/A N/A field label N/A _FieldDescriptor LABEL_REPEATED N/A N/A N/A N/A is_proto3 N/A N/A field cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A field containing_oneof N/A N/A N/A N/A hassable_fields N/A N/A field name field N/A N/A is_proto3 N/A N/A oneof N/A message_descriptor oneofs N/A N/A N/A hassable_fields N/A N/A oneof name oneof HasField N/A N/A self field_name N/A N/A N/A N/A N/A field N/A hassable_fields N/A field_name N/A N/A N/A KeyError N/A N/A N/A ValueError N/A error_msg field_name N/A N/A isinstance field N/A descriptor_mod OneofDescriptor N/A N/A N/A N/A N/A HasField self N/A N/A N/A self _oneofs N/A field name N/A N/A N/A KeyError N/A N/A False N/A N/A N/A N/A field cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A value N/A N/A N/A self _fields get field N/A N/A N/A value None N/A value _is_present_in_parent N/A N/A N/A field N/A self _fields N/A N/A N/A cls HasField HasField N/A _AddClearFieldMethod N/A N/A message_descriptor cls N/A N/A N/A Helper for _AddMessageMethods(). ClearField N/A N/A self field_name N/A N/A N/A N/A N/A field N/A N/A message_descriptor fields_by_name N/A field_name N/A N/A N/A KeyError N/A N/A N/A N/A field N/A N/A message_descriptor oneofs_by_name N/A field_name N/A N/A field N/A self _oneofs N/A N/A field N/A N/A self _oneofs N/A field N/A N/A N/A N/A N/A KeyError N/A N/A N/A ValueError N/A Protocol message has no "%s" field. field_name N/A N/A field N/A self _fields N/A N/A N/A N/A self _fields N/A field N/A N/A N/A N/A N/A self _oneofs get N/A field containing_oneof None field N/A N/A N/A N/A self _oneofs N/A N/A field containing_oneof N/A N/A N/A self _Modified N/A N/A N/A cls ClearField ClearField N/A _AddClearExtensionMethod N/A N/A cls N/A N/A N/A Helper for _AddMessageMethods(). ClearExtension N/A N/A self extension_handle N/A N/A N/A N/A _VerifyExtensionHandle self extension_handle N/A N/A extension_handle N/A self _fields N/A N/A N/A N/A self _fields N/A extension_handle N/A N/A N/A self _Modified N/A N/A N/A cls ClearExtension ClearExtension N/A _AddClearMethod N/A N/A message_descriptor cls N/A N/A N/A Helper for _AddMessageMethods(). Clear N/A N/A self N/A N/A N/A N/A self _fields N/A N/A N/A self _unknown_fields N/A N/A N/A self _oneofs N/A N/A N/A N/A self _Modified N/A N/A N/A cls Clear Clear N/A _AddHasExtensionMethod N/A N/A cls N/A N/A N/A Helper for _AddMessageMethods(). HasExtension N/A N/A self extension_handle N/A N/A N/A N/A _VerifyExtensionHandle self extension_handle N/A N/A N/A extension_handle label N/A _FieldDescriptor LABEL_REPEATED N/A N/A N/A KeyError N/A "%s" is repeated. N/A extension_handle full_name N/A N/A N/A extension_handle cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A value N/A N/A N/A self _fields get extension_handle N/A N/A N/A value None N/A value _is_present_in_parent N/A N/A N/A extension_handle N/A self _fields N/A N/A N/A cls HasExtension HasExtension N/A _AddEqualsMethod N/A N/A message_descriptor cls N/A N/A N/A Helper for _AddMessageMethods(). __eq__ N/A N/A self other N/A N/A N/A N/A N/A N/A isinstance other N/A message_mod Message N/A N/A other DESCRIPTOR N/A self DESCRIPTOR N/A N/A False N/A N/A self other N/A N/A True N/A N/A N/A N/A N/A self ListFields N/A N/A other ListFields N/A N/A False N/A unknown_fields N/A list N/A self _unknown_fields N/A N/A N/A unknown_fields sort N/A other_unknown_fields N/A list N/A other _unknown_fields N/A N/A N/A other_unknown_fields sort N/A N/A unknown_fields other_unknown_fields N/A N/A N/A cls __eq__ __eq__ N/A _AddStrMethod N/A N/A message_descriptor cls N/A N/A N/A Helper for _AddMessageMethods(). __str__ N/A N/A self N/A N/A N/A N/A N/A text_format MessageToString self N/A N/A N/A cls __str__ __str__ N/A _AddUnicodeMethod N/A N/A unused_message_descriptor cls N/A N/A N/A Helper for _AddMessageMethods(). __unicode__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A text_format MessageToString self as_utf8 True decode utf-8 N/A N/A N/A cls __unicode__ __unicode__ N/A _AddSetListenerMethod N/A N/A cls N/A N/A N/A Helper for _AddMessageMethods(). SetListener N/A N/A self listener N/A N/A N/A N/A listener None N/A N/A N/A self _listener N/A N/A message_listener_mod NullMessageListener N/A N/A N/A self _listener listener N/A N/A N/A cls _SetListener SetListener N/A _BytesForNonRepeatedElement N/A N/A value field_number field_type N/A N/A N/A Returns the number of bytes needed to serialize a non-repeated element.
  The returned byte count includes space for tag information and any
  other additional space associated with serializing value.

  Args:
    value: Value we're serializing.
    field_number: Field number of this value.  (Since the field number
      is stored as part of a varint-encoded tag, this has an impact
      on the total bytes required to serialize the value).
    field_type: The type of the field.  One of the TYPE_* constants
      within FieldDescriptor.
   N/A N/A N/A fn N/A N/A type_checkers TYPE_TO_BYTE_SIZE_FN N/A field_type N/A N/A fn field_number value N/A N/A N/A KeyError N/A N/A N/A N/A message_mod EncodeError N/A Unrecognized field type: %d field_type N/A _AddByteSizeMethod N/A N/A message_descriptor cls N/A N/A N/A Helper for _AddMessageMethods(). ByteSize N/A N/A self N/A N/A N/A N/A N/A self _cached_byte_size_dirty N/A N/A N/A self _cached_byte_size N/A size 0 N/A N/A field_descriptor field_value N/A N/A self ListFields N/A N/A size N/A N/A field_descriptor _sizer field_value N/A N/A tag_bytes value_bytes N/A self _unknown_fields N/A N/A size N/A N/A len tag_bytes N/A len value_bytes N/A N/A self _cached_byte_size size N/A N/A self _cached_byte_size_dirty False N/A N/A N/A self _listener_for_children dirty False N/A size N/A N/A N/A cls ByteSize ByteSize N/A _AddSerializeToStringMethod N/A N/A message_descriptor cls N/A N/A N/A Helper for _AddMessageMethods(). SerializeToString N/A N/A self N/A N/A N/A errors N/A N/A N/A N/A N/A self IsInitialized N/A N/A N/A N/A message_mod EncodeError N/A Message %s is missing required fields: %s N/A N/A N/A self DESCRIPTOR full_name N/A N/A , join N/A N/A self FindInitializationErrors N/A N/A N/A self SerializePartialToString N/A N/A N/A cls SerializeToString SerializeToString N/A _AddSerializePartialToStringMethod N/A N/A message_descriptor cls N/A N/A N/A Helper for _AddMessageMethods(). SerializePartialToString N/A N/A self N/A N/A N/A out N/A BytesIO N/A N/A N/A self _InternalSerialize N/A out write N/A N/A N/A out getvalue N/A N/A N/A cls SerializePartialToString SerializePartialToString InternalSerialize N/A N/A self write_bytes N/A N/A N/A N/A field_descriptor field_value N/A N/A self ListFields N/A N/A N/A N/A field_descriptor _encoder write_bytes field_value N/A N/A tag_bytes value_bytes N/A self _unknown_fields N/A N/A N/A write_bytes tag_bytes N/A N/A write_bytes value_bytes N/A N/A N/A cls _InternalSerialize InternalSerialize N/A _AddMergeFromStringMethod N/A N/A message_descriptor cls N/A N/A N/A Helper for _AddMessageMethods(). MergeFromString N/A N/A self serialized N/A N/A N/A length N/A len serialized N/A N/A N/A N/A N/A N/A self _InternalParse serialized 0 length length N/A N/A N/A N/A message_mod DecodeError Unexpected end-group tag. N/A N/A N/A N/A IndexError TypeError N/A N/A N/A N/A message_mod DecodeError Truncated message. N/A N/A N/A struct error N/A e N/A N/A N/A N/A message_mod DecodeError e N/A length N/A N/A N/A cls MergeFromString MergeFromString N/A local_ReadTag N/A decoder ReadTag N/A local_SkipField N/A decoder SkipField N/A decoders_by_tag N/A cls _decoders_by_tag N/A is_proto3 N/A N/A message_descriptor syntax proto3 InternalParse N/A N/A self buffer pos end N/A N/A N/A N/A N/A self _Modified N/A field_dict N/A self _fields N/A unknown_field_list N/A self _unknown_fields N/A N/A pos end N/A N/A N/A tag_bytes new_pos N/A local_ReadTag buffer pos N/A N/A field_decoder field_desc N/A N/A decoders_by_tag get tag_bytes N/A None None N/A N/A field_decoder None N/A N/A value_start_pos new_pos N/A new_pos N/A local_SkipField buffer new_pos end tag_bytes N/A N/A new_pos -1 N/A N/A pos N/A N/A is_proto3 N/A N/A N/A unknown_field_list N/A N/A unknown_field_list N/A self _unknown_fields N/A N/A N/A N/A unknown_field_list append N/A tag_bytes N/A buffer N/A value_start_pos new_pos N/A pos new_pos N/A N/A pos N/A field_decoder buffer new_pos end self field_dict N/A field_desc N/A N/A N/A N/A self _UpdateOneofState field_desc N/A pos N/A N/A N/A cls _InternalParse InternalParse N/A _AddIsInitializedMethod N/A N/A message_descriptor cls N/A N/A N/A Adds the IsInitialized and FindInitializationError methods to the
  protocol message class. N/A required_fields N/A field N/A field N/A message_descriptor fields N/A N/A field label N/A _FieldDescriptor LABEL_REQUIRED IsInitialized N/A N/A self errors N/A None N/A N/A Checks if all required fields of a message are set.

    Args:
      errors:  A list which, if provided, will be populated with the field
               paths of all missing required fields.

    Returns:
      True iff the specified message has all required fields set.
     N/A field required_fields N/A N/A N/A N/A field N/A self _fields N/A N/A N/A field cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A N/A N/A self _fields N/A field _is_present_in_parent N/A N/A N/A errors None N/A N/A N/A N/A errors extend N/A N/A self FindInitializationErrors N/A False N/A N/A field value N/A list N/A N/A N/A self _fields items N/A N/A N/A N/A field cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A N/A N/A field label N/A _FieldDescriptor LABEL_REPEATED N/A N/A element value N/A N/A N/A N/A N/A element IsInitialized N/A N/A N/A errors None N/A N/A N/A N/A errors extend N/A N/A self FindInitializationErrors N/A False N/A N/A N/A N/A value _is_present_in_parent N/A N/A N/A value IsInitialized N/A N/A N/A errors None N/A N/A N/A N/A errors extend N/A N/A self FindInitializationErrors N/A False N/A True N/A N/A N/A cls IsInitialized IsInitialized FindInitializationErrors N/A N/A self N/A N/A N/A Finds required fields which are not initialized.

    Returns:
      A list of strings.  Each string is a path to an uninitialized field from
      the top-level message, e.g. "foo.bar[5].baz".
     N/A errors N/A N/A field required_fields N/A N/A N/A N/A N/A self HasField N/A field name N/A N/A N/A N/A errors append N/A field name N/A N/A field value N/A N/A self ListFields N/A N/A N/A N/A field cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A N/A field is_extension N/A N/A name N/A (%s) N/A field full_name N/A N/A name N/A field name N/A N/A N/A field label N/A _FieldDescriptor LABEL_REPEATED N/A N/A i N/A xrange N/A len value N/A N/A element N/A value N/A i N/A prefix N/A %s[%d]. N/A name i N/A sub_errors N/A N/A element FindInitializationErrors N/A errors N/A N/A prefix error N/A error sub_errors N/A N/A prefix N/A name . N/A sub_errors N/A N/A value FindInitializationErrors N/A errors N/A N/A prefix error N/A error sub_errors N/A errors N/A N/A N/A cls FindInitializationErrors FindInitializationErrors N/A _AddMergeFromMethod N/A N/A cls N/A N/A N/A LABEL_REPEATED N/A _FieldDescriptor LABEL_REPEATED N/A CPPTYPE_MESSAGE N/A _FieldDescriptor CPPTYPE_MESSAGE MergeFrom N/A N/A self msg N/A N/A N/A N/A N/A isinstance msg cls N/A N/A N/A TypeError N/A Parameter to MergeFrom() must be instance of same class: expected %s got %s. N/A N/A cls __name__ N/A N/A type msg __name__ N/A N/A msg self N/A N/A N/A self _Modified N/A fields N/A self _fields N/A N/A field value N/A N/A N/A msg _fields iteritems N/A N/A N/A N/A field label LABEL_REPEATED N/A N/A field_value N/A N/A fields get field N/A N/A field_value None N/A N/A field_value N/A N/A field _default_constructor self N/A N/A fields N/A field field_value N/A N/A N/A field_value MergeFrom value N/A N/A N/A N/A field cpp_type CPPTYPE_MESSAGE N/A N/A N/A value _is_present_in_parent N/A N/A field_value N/A N/A fields get field N/A N/A field_value None N/A N/A field_value N/A N/A field _default_constructor self N/A N/A fields N/A field field_value N/A N/A field containing_oneof N/A N/A N/A N/A self _UpdateOneofState field N/A N/A N/A field_value MergeFrom value N/A N/A N/A N/A self _fields N/A field value N/A N/A field containing_oneof N/A N/A N/A N/A self _UpdateOneofState field N/A N/A msg _unknown_fields N/A N/A N/A N/A self _unknown_fields N/A N/A N/A self _unknown_fields N/A N/A N/A N/A N/A self _unknown_fields extend N/A msg _unknown_fields N/A N/A N/A cls MergeFrom MergeFrom N/A _AddWhichOneofMethod N/A N/A message_descriptor cls N/A N/A WhichOneof N/A N/A self oneof_name N/A N/A N/A Returns the name of the currently set field inside a oneof, or None. N/A N/A N/A field N/A N/A message_descriptor oneofs_by_name N/A oneof_name N/A N/A N/A KeyError N/A N/A N/A ValueError N/A Protocol message has no oneof "%s" field. oneof_name N/A nested_field N/A N/A N/A self _oneofs get field None N/A N/A N/A nested_field None N/A N/A self HasField N/A nested_field name N/A N/A N/A nested_field name N/A N/A None N/A N/A N/A cls WhichOneof WhichOneof N/A _AddMessageMethods N/A N/A message_descriptor cls N/A N/A N/A Adds implementations of all Message methods to cls. N/A N/A _AddListFieldsMethod message_descriptor cls N/A N/A _AddHasFieldMethod message_descriptor cls N/A N/A _AddClearFieldMethod message_descriptor cls N/A N/A message_descriptor is_extendable N/A N/A N/A _AddClearExtensionMethod cls N/A N/A _AddHasExtensionMethod cls N/A N/A _AddClearMethod message_descriptor cls N/A N/A _AddEqualsMethod message_descriptor cls N/A N/A _AddStrMethod message_descriptor cls N/A N/A _AddUnicodeMethod message_descriptor cls N/A N/A _AddSetListenerMethod cls N/A N/A _AddByteSizeMethod message_descriptor cls N/A N/A _AddSerializeToStringMethod message_descriptor cls N/A N/A _AddSerializePartialToStringMethod message_descriptor cls N/A N/A _AddMergeFromStringMethod message_descriptor cls N/A N/A _AddIsInitializedMethod message_descriptor cls N/A N/A _AddMergeFromMethod cls N/A N/A _AddWhichOneofMethod message_descriptor cls N/A _AddPrivateHelperMethods N/A N/A message_descriptor cls N/A N/A N/A Adds implementation of private helper methods to cls. Modified N/A N/A self N/A N/A N/A Sets the _cached_byte_size_dirty bit to true,
    and propagates this to our listener iff this was a state change.
     N/A N/A N/A self _cached_byte_size_dirty N/A N/A N/A self _cached_byte_size_dirty True N/A N/A N/A self _listener_for_children dirty True N/A N/A self _is_present_in_parent True N/A N/A N/A N/A self _listener Modified N/A _UpdateOneofState N/A N/A self field N/A N/A N/A Sets field as the active field in its containing oneof.

    Will also delete currently active field in the oneof, if it is different
    from the argument. Does not mark the message as modified.
     N/A other_field N/A N/A N/A self _oneofs setdefault N/A field containing_oneof field N/A N/A other_field field N/A N/A N/A N/A self _fields N/A other_field N/A N/A N/A self _oneofs N/A N/A field containing_oneof field N/A N/A N/A cls _Modified Modified N/A N/A cls SetInParent Modified N/A N/A cls _UpdateOneofState _UpdateOneofState N/A _Listener N/A object N/A N/A MessageListener implementation that a parent message registers with its
  child message.

  In order to support semantics like:

    foo.bar.baz.qux = 23
    assert foo.HasField('bar')

  ...child objects must have back references to their parents.
  This helper class is at the heart of this support.
   __init__ N/A N/A self parent_message N/A N/A N/A Args:
      parent_message: The message whose _Modified() method we should call when
        we receive Modified() messages.
     N/A N/A isinstance parent_message N/A weakref ProxyType N/A N/A N/A self _parent_message_weakref parent_message N/A N/A N/A self _parent_message_weakref N/A N/A weakref proxy parent_message N/A N/A self dirty False N/A Modified N/A N/A self N/A N/A N/A N/A self dirty N/A N/A N/A N/A N/A N/A N/A N/A self _parent_message_weakref _Modified N/A N/A N/A ReferenceError N/A N/A N/A N/A _OneofListener N/A _Listener N/A N/A Special listener implementation for setting composite oneof fields. __init__ N/A N/A self parent_message field N/A N/A N/A Args:
      parent_message: The message whose _Modified() method we should call when
        we receive Modified() messages.
      field: The descriptor of the field being set in the parent message.
     N/A N/A N/A N/A super _OneofListener self __init__ parent_message N/A N/A self _field field N/A Modified N/A N/A self N/A N/A N/A Also updates the state of the containing oneof in the parent message. N/A N/A N/A N/A N/A N/A self _parent_message_weakref _UpdateOneofState N/A self _field N/A N/A N/A N/A super _OneofListener self Modified N/A N/A N/A ReferenceError N/A N/A N/A N/A _ExtensionDict N/A object N/A N/A Dict-like container for supporting an indexable "Extensions"
  field on proto instances.

  Note that in all cases we expect extension handles to be
  FieldDescriptors.
   __init__ N/A N/A self extended_message N/A N/A N/A extended_message: Message instance for which we are the Extensions dict.
     N/A N/A self _extended_message extended_message N/A __getitem__ N/A N/A self extension_handle N/A N/A N/A Returns the current value of the given extension handle. N/A N/A _VerifyExtensionHandle N/A self _extended_message extension_handle N/A result N/A N/A N/A N/A self _extended_message _fields get extension_handle N/A N/A result None N/A N/A result N/A N/A N/A extension_handle label N/A _FieldDescriptor LABEL_REPEATED N/A N/A result N/A N/A extension_handle _default_constructor N/A self _extended_message N/A N/A N/A N/A extension_handle cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A result N/A N/A N/A extension_handle message_type _concrete_class N/A N/A N/A N/A N/A result _SetListener N/A N/A self _extended_message _listener_for_children N/A N/A N/A ReferenceError N/A N/A N/A N/A N/A extension_handle default_value N/A result N/A N/A N/A N/A self _extended_message _fields setdefault extension_handle result N/A result N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other N/A self __class__ N/A N/A False N/A my_fields N/A N/A N/A self _extended_message ListFields N/A other_fields N/A N/A N/A other _extended_message ListFields N/A my_fields N/A field N/A field my_fields N/A field is_extension N/A other_fields N/A field N/A field other_fields N/A field is_extension N/A N/A my_fields other_fields N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A self other N/A __hash__ N/A N/A self N/A N/A N/A N/A TypeError unhashable object N/A __setitem__ N/A N/A self extension_handle value N/A N/A N/A If extension_handle specifies a non-repeated, scalar extension
    field, sets the value of that field.
     N/A N/A _VerifyExtensionHandle N/A self _extended_message extension_handle N/A N/A N/A N/A extension_handle label N/A _FieldDescriptor LABEL_REPEATED N/A N/A extension_handle cpp_type N/A _FieldDescriptor CPPTYPE_MESSAGE N/A N/A N/A TypeError N/A Cannot assign to extension "%s" because it is a repeated or composite type. N/A extension_handle full_name N/A type_checker N/A N/A type_checkers GetTypeChecker extension_handle N/A N/A N/A N/A self _extended_message _fields N/A extension_handle N/A N/A type_checker CheckValue value N/A N/A N/A N/A self _extended_message _Modified N/A _FindExtensionByName N/A N/A self name N/A N/A N/A Tries to find a known extension with the specified name.

    Args:
      name: Extension full name.

    Returns:
      Extension field descriptor.
     N/A N/A N/A N/A N/A self _extended_message _extensions_by_name get name None N/A N/A