Trees | Indices | Help |
---|
|
object --+ | google.protobuf.message.Message --+ | ProMCHeader
|
|||
__metaclass__ Metaclass for protocol message classes created at runtime from Descriptors. |
|||
ParticleData | |||
MetaInt | |||
MetaFloat |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
|
|||
|
|
|||
DESCRIPTOR = _descriptor.Descriptor(name= 'ProMCHeader', full_
|
|||
CODE_FIELD_NUMBER = 13
|
|||
CROSS_SECTION_ERROR_FIELD_NUMBER = 15
|
|||
CROSS_SECTION_FIELD_NUMBER = 14
|
|||
ECM_FIELD_NUMBER = 10
|
|||
ID1_FIELD_NUMBER = 1
|
|||
ID2_FIELD_NUMBER = 2
|
|||
LENGTHUNIT_FIELD_NUMBER = 17
|
|||
METAFLOAT_FIELD_NUMBER = 32
|
|||
METAINT_FIELD_NUMBER = 31
|
|||
MOMENTUMUNIT_FIELD_NUMBER = 16
|
|||
NAMELENGTHUNIT_FIELD_NUMBER = 19
|
|||
NAMEMOMENTUMUNIT_FIELD_NUMBER = 18
|
|||
NAME_FIELD_NUMBER = 12
|
|||
PARTICLEDATA_FIELD_NUMBER = 30
|
|||
PDF1_FIELD_NUMBER = 8
|
|||
PDF2_FIELD_NUMBER = 9
|
|||
PDF_ID1_FIELD_NUMBER = 3
|
|||
PDF_ID2_FIELD_NUMBER = 4
|
|||
REQUESTED_EVENTS_FIELD_NUMBER = 21
|
|||
SCALEPDF_FIELD_NUMBER = 7
|
|||
S_FIELD_NUMBER = 11
|
|||
WEIGHT_FIELD_NUMBER = 20
|
|||
X1_FIELD_NUMBER = 5
|
|||
X2_FIELD_NUMBER = 6
|
|||
_decoders_by_tag =
|
|||
_extensions_by_name =
|
|||
_extensions_by_number =
|
|
|||
LengthUnit Magic attribute generated for "LengthUnit" proto field. |
|||
MomentumUnit Magic attribute generated for "MomentumUnit" proto field. |
|||
NameLengthUnit Magic attribute generated for "NameLengthUnit" proto field. |
|||
NameMomentumUnit Magic attribute generated for "NameMomentumUnit" proto field. |
|||
_cached_byte_size | |||
_cached_byte_size_dirty | |||
_fields | |||
_is_present_in_parent | |||
_listener | |||
_listener_for_children | |||
_unknown_fields | |||
code Magic attribute generated for "code" proto field. |
|||
cross_section Magic attribute generated for "cross_section" proto field. |
|||
cross_section_error Magic attribute generated for "cross_section_error" proto field. |
|||
eCM Magic attribute generated for "eCM" proto field. |
|||
id1 Magic attribute generated for "id1" proto field. |
|||
id2 Magic attribute generated for "id2" proto field. |
|||
metaFloat Magic attribute generated for "metaFloat" proto field. |
|||
metaInt Magic attribute generated for "metaInt" proto field. |
|||
name Magic attribute generated for "name" proto field. |
|||
particleData Magic attribute generated for "particleData" proto field. |
|||
pdf1 Magic attribute generated for "pdf1" proto field. |
|||
pdf2 Magic attribute generated for "pdf2" proto field. |
|||
pdf_id1 Magic attribute generated for "pdf_id1" proto field. |
|||
pdf_id2 Magic attribute generated for "pdf_id2" proto field. |
|||
requested_events Magic attribute generated for "requested_events" proto field. |
|||
s Magic attribute generated for "s" proto field. |
|||
scalepdf Magic attribute generated for "scalepdf" proto field. |
|||
weight Magic attribute generated for "weight" proto field. |
|||
x1 Magic attribute generated for "x1" proto field. |
|||
x2 Magic attribute generated for "x2" proto field. |
|||
Inherited from |
|
Returns the serialized size of this message. Recursively calls ByteSize() on all contained messages.
|
Clears all data that was set in the message.
|
|
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". |
Checks if a certain field is set for the message. Note if the field_name is not defined in the message descriptor, ValueError will be raised.
|
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.
|
Returns a list of (FieldDescriptor, value) tuples for all fields in the message which are not empty. A singular field is non-empty if HasField() would return true, and a repeated field is non-empty if it contains at least one element. The fields are ordered by field number
|
Merges the contents of the specified message into current message. This method merges the contents of the specified message into the current message. Singular fields that are set in the specified message overwrite the corresponding fields in the current message. Repeated fields are appended. Singular sub-messages and groups are recursively merged. Args: other_msg: Message to merge into the current message.
|
Merges serialized protocol buffer data into this message. When we find a field in |serialized| that is already present in this message: - If it's a "repeated" field, we append to the end of our list. - Else, if it's a scalar, we overwrite our field. - Else, (it's a nonrepeated composite), we recursively merge into the existing composite. TODO(robinson): Document handling of unknown fields. Args: serialized: Any object that allows us to call buffer(serialized) to access a string of bytes using the buffer interface. TODO(robinson): When we switch to a helper, this will return None. Returns: The number of bytes read from |serialized|. For non-group messages, this will always be len(serialized), but for messages which are actually groups, this will generally be less than len(serialized), since we must stop when we reach an END_GROUP tag. Note that if we *do* stop because of an END_GROUP tag, the number of bytes returned does not include the bytes for the END_GROUP tag information.
|
Serializes the protocol message to a binary string. This method is similar to SerializeToString but doesn't check if the message is initialized. Returns: A string representation of the partial message.
|
Serializes the protocol message to a binary string. Returns: A binary string representation of the message if all of the required fields in the message are set (i.e. the message is initialized). Raises: message.EncodeError if the message isn't initialized.
|
Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
|
Internal method used by the protocol message implementation. Clients should not call this directly. Sets a listener that this message will call on certain state transitions. The purpose of this method is to register back-edges from children to parents at runtime, for the purpose of setting "has" bits and byte-size-dirty bits in the parent and ancestor objects whenever a child or descendant object is modified. If the client wants to disconnect this Message from the object tree, she explicitly sets callback to None. If message_listener is None, unregisters any existing listener. Otherwise, message_listener must implement the MessageListener interface in internal/message_listener.py, and we discard any listener registered via a previous _SetListener() call.
|
Recursively compares two messages by value and structure.
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Outputs a human-readable representation of the message.
|
Outputs a human-readable representation of the message.
|
|
DESCRIPTOR
|
_decoders_by_tag
|
|
LengthUnitMagic attribute generated for "LengthUnit" proto field.
|
MomentumUnitMagic attribute generated for "MomentumUnit" proto field.
|
NameLengthUnitMagic attribute generated for "NameLengthUnit" proto field.
|
NameMomentumUnitMagic attribute generated for "NameMomentumUnit" proto field.
|
codeMagic attribute generated for "code" proto field.
|
cross_sectionMagic attribute generated for "cross_section" proto field.
|
cross_section_errorMagic attribute generated for "cross_section_error" proto field.
|
eCMMagic attribute generated for "eCM" proto field.
|
id1Magic attribute generated for "id1" proto field.
|
id2Magic attribute generated for "id2" proto field.
|
metaFloatMagic attribute generated for "metaFloat" proto field.
|
metaIntMagic attribute generated for "metaInt" proto field.
|
nameMagic attribute generated for "name" proto field.
|
particleDataMagic attribute generated for "particleData" proto field.
|
pdf1Magic attribute generated for "pdf1" proto field.
|
pdf2Magic attribute generated for "pdf2" proto field.
|
pdf_id1Magic attribute generated for "pdf_id1" proto field.
|
pdf_id2Magic attribute generated for "pdf_id2" proto field.
|
requested_eventsMagic attribute generated for "requested_events" proto field.
|
sMagic attribute generated for "s" proto field.
|
scalepdfMagic attribute generated for "scalepdf" proto field.
|
weightMagic attribute generated for "weight" proto field.
|
x1Magic attribute generated for "x1" proto field.
|
x2Magic attribute generated for "x2" proto field.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Nov 15 12:00:38 2016 | http://epydoc.sourceforge.net |