snapchat.research.gbml.UserDefined#
- class snapchat.research.gbml.subgraph_sampling_strategy_pb2.UserDefined#
Bases:
CMessage
,Message
Methods
Returns the size of the message in bytes.
Clears the message.
Clears a message field.
Clears a message field.
Copies a protocol message into the current message.
Discards the unknown fields.
Finds unset required fields.
Creates new method instance from given serialized data.
Checks if a message field is set.
Checks if a message field is set.
Checks if all required fields of a protocol message are set.
Lists all set fields of a message.
Merges a protocol message into the current message.
Merges a serialized message into the current message.
Parses a serialized message into the current message.
Registers an extension with the current message.
Serializes the message to a string, even if it isn't initialized.
Serializes the message to a string, only for initialized messages.
Sets the has bit of the given field in its parent message.
Parse unknown field set
Returns the name of the field set inside a oneof, or None if no field is set.
- ByteSize()#
Returns the size of the message in bytes.
- Clear()#
Clears the message.
- ClearExtension()#
Clears a message field.
- ClearField()#
Clears a message field.
- CopyFrom()#
Copies a protocol message into the current message.
- DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>#
The
google.protobuf.descriptor.Descriptor
for this message type.
- DiscardUnknownFields()#
Discards the unknown fields.
- Extensions#
Extension dict
- FindInitializationErrors()#
Finds unset required fields.
- FromString()#
Creates new method instance from given serialized data.
- HasExtension()#
Checks if a message field is set.
- HasField()#
Checks if a message field is set.
- IsInitialized()#
Checks if all required fields of a protocol message are set.
- ListFields()#
Lists all set fields of a message.
- MergeFrom()#
Merges a protocol message into the current message.
- MergeFromString()#
Merges a serialized message into the current message.
- class ParamsEntry#
Bases:
CMessage
,Message
- ByteSize()#
Returns the size of the message in bytes.
- Clear()#
Clears the message.
- ClearExtension()#
Clears a message field.
- ClearField()#
Clears a message field.
- CopyFrom()#
Copies a protocol message into the current message.
- DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>#
The
google.protobuf.descriptor.Descriptor
for this message type.
- DiscardUnknownFields()#
Discards the unknown fields.
- Extensions#
Extension dict
- FindInitializationErrors()#
Finds unset required fields.
- FromString()#
Creates new method instance from given serialized data.
- HasExtension()#
Checks if a message field is set.
- HasField()#
Checks if a message field is set.
- IsInitialized()#
Checks if all required fields of a protocol message are set.
- ListFields()#
Lists all set fields of a message.
- MergeFrom()#
Merges a protocol message into the current message.
- MergeFromString()#
Merges a serialized message into the current message.
- ParseFromString()#
Parses a serialized message into the current message.
- RegisterExtension()#
Registers an extension with the current message.
- SerializePartialToString()#
Serializes the message to a string, even if it isn’t initialized.
- SerializeToString()#
Serializes the message to a string, only for initialized messages.
- SetInParent()#
Sets the has bit of the given field in its parent message.
- UnknownFields()#
Parse unknown field set
- WhichOneof()#
Returns the name of the field set inside a oneof, or None if no field is set.
- __deepcopy__()#
Makes a deep copy of the class.
- __eq__(value, /)#
Return self==value.
- __ge__(value, /)#
Return self>=value.
- __getattribute__(name, /)#
Return getattr(self, name).
- __getstate__()#
Support the pickle protocol.
- __gt__(value, /)#
Return self>value.
- __hash__ = None#
- __init__(*args, **kwargs)#
- __le__(value, /)#
Return self<=value.
- __lt__(value, /)#
Return self<value.
- __ne__(value, /)#
Return self!=value.
- __new__(**kwargs)#
- __reduce__()#
Helper for pickle.
- __repr__()#
Return repr(self).
- __setstate__(state)#
Support the pickle protocol.
- __str__()#
Return str(self).
- __unicode__()#
Outputs a unicode representation of the message.
- key#
Field snapchat.research.gbml.UserDefined.ParamsEntry.key
- value#
Field snapchat.research.gbml.UserDefined.ParamsEntry.value
- ParseFromString()#
Parses a serialized message into the current message.
- RegisterExtension()#
Registers an extension with the current message.
- SerializePartialToString()#
Serializes the message to a string, even if it isn’t initialized.
- SerializeToString()#
Serializes the message to a string, only for initialized messages.
- SetInParent()#
Sets the has bit of the given field in its parent message.
- UnknownFields()#
Parse unknown field set
- WhichOneof()#
Returns the name of the field set inside a oneof, or None if no field is set.
- __deepcopy__()#
Makes a deep copy of the class.
- __eq__(value, /)#
Return self==value.
- __ge__(value, /)#
Return self>=value.
- __getattribute__(name, /)#
Return getattr(self, name).
- __getstate__()#
Support the pickle protocol.
- __gt__(value, /)#
Return self>value.
- __hash__ = None#
- __init__(*args, **kwargs)#
- __le__(value, /)#
Return self<=value.
- __lt__(value, /)#
Return self<value.
- __ne__(value, /)#
Return self!=value.
- __new__(**kwargs)#
- __reduce__()#
Helper for pickle.
- __repr__()#
Return repr(self).
- __setstate__(state)#
Support the pickle protocol.
- __str__()#
Return str(self).
- __unicode__()#
Outputs a unicode representation of the message.
- params#
Field snapchat.research.gbml.UserDefined.params
- path_to_udf#
Field snapchat.research.gbml.UserDefined.path_to_udf