Classes | |
class | _FieldProperty |
class | _Listener |
class | _OneofListener |
class | GeneratedProtocolMessageType |
|
private |
Helper for _AddMessageMethods().
Definition at line 1043 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 360 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Helper for _AddMessageMethods().
Definition at line 905 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Helper for _AddMessageMethods().
Definition at line 867 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
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.
Definition at line 367 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Helper for _AddMessageMethods().
Definition at line 971 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Helper for _AddMessageMethods().
Definition at line 917 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Helper for _AddMessageMethods().
Definition at line 825 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Adds an __init__ method to cls.
Definition at line 473 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Adds the IsInitialized and FindInitializationError methods to the protocol message class.
Definition at line 1199 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Helper for _AddMessageMethods().
Definition at line 811 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1294 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Helper for _AddMessageMethods().
Definition at line 1115 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Adds implementations of all Message methods to cls.
Definition at line 1409 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Adds implementation of private helper methods to cls.
Definition at line 1436 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Adds properties for all fields in this protocol message type.
Definition at line 767 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
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.
Definition at line 587 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Adds properties for all fields in this protocol message type.
Definition at line 576 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
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.
Definition at line 723 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
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.
Definition at line 664 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
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.
Definition at line 620 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1360 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Helper for _AddMessageMethods().
Definition at line 1008 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Helper for _AddMessageMethods().
Definition at line 1083 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Helper for _AddMessageMethods().
Definition at line 1070 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
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.
Definition at line 241 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 782 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Helper for _AddMessageMethods().
Definition at line 1001 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Helper for _AddMessageMethods().
Definition at line 1015 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1342 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 287 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
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.
Definition at line 1023 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1366 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
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.
Definition at line 404 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1386 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1297 of file protobuf/python/google/protobuf/internal/python_message.py.
|
private |
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.
Definition at line 560 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 382 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Unpacks Any message and returns the unpacked message. This internal method is different from public Any Unpack method which takes the target message as argument. _InternalUnpackAny method does not have target message type and need to find the message type in descriptor pool. Args: msg: An Any message to be unpacked. Returns: The unpacked message.
Definition at line 931 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 269 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 275 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 261 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Given a (FieldDescriptor, value) tuple from _fields, return true if the value should be included in the list returned by ListFields().
Definition at line 799 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 280 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
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.
Definition at line 212 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Re-raise the currently-handled TypeError with the field name added.
Definition at line 462 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1402 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1379 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 51 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 998 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 557 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1363 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1012 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1005 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1020 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 77 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 492 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 493 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 78 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 780 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 779 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 76 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 494 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1196 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1112 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 505 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 506 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 507 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1465 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 497 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 823 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 821 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1433 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 504 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 501 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
|
private |
Definition at line 1467 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.ByteSize |
Definition at line 1067 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.Clear |
Definition at line 1430 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.ClearExtension |
Definition at line 914 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.ClearField |
Definition at line 902 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.DiscardUnknownFields |
Definition at line 1432 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.Extensions |
Definition at line 584 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.FindInitializationErrors |
Definition at line 1291 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.FromString |
Definition at line 796 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.HasExtension |
Definition at line 929 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.HasField |
Definition at line 864 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.IsInitialized |
Definition at line 1245 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.ListFields |
Definition at line 819 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.MergeFrom |
Definition at line 1339 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.MergeFromString |
Definition at line 1137 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.RegisterExtension |
Definition at line 790 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.SerializePartialToString |
Definition at line 1090 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.SerializeToString |
Definition at line 1080 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.SetInParent |
Definition at line 1466 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.UnknownFields |
Definition at line 1431 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.
google.protobuf.internal.python_message.WhichOneof |
Definition at line 1357 of file bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py.