abpytools.core.formats package¶
Submodules¶
abpytools.core.formats.chain_pb2 module¶
-
class
abpytools.core.formats.chain_pb2.
Chain
(**kwargs)¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
CHAIN_TYPE_FIELD_NUMBER
= 5¶
-
CHOTHIA
= 1¶
-
CHOTHIA_EXT
= 2¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
DiscardUnknownFields
()¶
-
FindInitializationErrors
()¶ 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”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ 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.
-
KABAT
= 0¶
-
ListFields
()¶
-
MW
¶ Magic attribute generated for “MW” proto field.
-
MW_FIELD_NUMBER
= 6¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
NAME_FIELD_NUMBER
= 1¶
-
NUMBERING_FIELD_NUMBER
= 4¶
-
NUMBERING_SCHEME_FIELD_NUMBER
= 3¶
-
NumberingScheme
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
PI_FIELD_NUMBER
= 8¶
-
REGION_FIELD_NUMBER
= 7¶
-
class
Region
(**kwargs)¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
DiscardUnknownFields
()¶
-
FindInitializationErrors
()¶ 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”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ 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.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REGION_NAME_FIELD_NUMBER
= 1¶
-
REGION_POSITIONS_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
(**kwargs)¶
-
SerializeToString
(**kwargs)¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
region_name
¶ Magic attribute generated for “region_name” proto field.
-
region_positions
¶ Magic attribute generated for “region_positions” proto field.
-
-
static
RegisterExtension
(extension_handle)¶
-
SEQUENCE_FIELD_NUMBER
= 2¶
-
SerializePartialToString
(**kwargs)¶
-
SerializeToString
(**kwargs)¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
chain_type
¶ Magic attribute generated for “chain_type” proto field.
-
name
¶ Magic attribute generated for “name” proto field.
-
numbering
¶ Magic attribute generated for “numbering” proto field.
-
numbering_scheme
¶ Magic attribute generated for “numbering_scheme” proto field.
-
pI
¶ Magic attribute generated for “pI” proto field.
-
region
¶ Magic attribute generated for “region” proto field.
-
sequence
¶ Magic attribute generated for “sequence” proto field.
-
-
class
abpytools.core.formats.chain_pb2.
ChainCollection
(**kwargs)¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
CHAINS_FIELD_NUMBER
= 1¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
DiscardUnknownFields
()¶
-
FindInitializationErrors
()¶ 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”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ 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.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
(**kwargs)¶
-
SerializeToString
(**kwargs)¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
chains
¶ Magic attribute generated for “chains” proto field.
-
abpytools.core.formats.fab_pb2 module¶
-
class
abpytools.core.formats.fab_pb2.
Fab
(**kwargs)¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
DiscardUnknownFields
()¶
-
FindInitializationErrors
()¶ 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”.
-
static
FromString
(s)¶
-
HEAVY_CHAIN_FIELD_NUMBER
= 3¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ 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.
-
LIGHT_CHAIN_FIELD_NUMBER
= 2¶
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
NAME_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
(**kwargs)¶
-
SerializeToString
(**kwargs)¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
heavy_chain
¶ Magic attribute generated for “heavy_chain” proto field.
-
light_chain
¶ Magic attribute generated for “light_chain” proto field.
-
name
¶ Magic attribute generated for “name” proto field.
-
-
class
abpytools.core.formats.fab_pb2.
FabCollection
(**kwargs)¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
DiscardUnknownFields
()¶
-
FABS_FIELD_NUMBER
= 1¶
-
FindInitializationErrors
()¶ 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”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ 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.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
(**kwargs)¶
-
SerializeToString
(**kwargs)¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
fabs
¶ Magic attribute generated for “fabs” proto field.
-