Member values
Member name | Data type | Description |
---|---|---|
bridge_id | BridgeIdentifier | ID of the bridge on which operation was performed |
status | uint32 | Result code of operation. |
Member functions
Function name | Return type | Input type | Description |
---|---|---|---|
has_bridge_id() const | bool | void | Returns true if bridge_id is set. |
bridge_id() | const BridgeIdentifier& | void | Returns the current value of bridge_id. If bridge_id is not set, returns a BridgeIdentifier with none of its fields set (possibly bridge_id::default_instance()). |
mutable_bridge_id() | BridgeIdentifier * | void | Returns a pointer to the mutable BridgeIdentifier object that stores the field's value. If the field was not set prior to the call, then the returned BridgeIdentifier will have none of its fields set (i.e. it will be identical to a newly-allocated BridgeIdentifier). After calling this, has_bridge_id() will return true and bridge_id() will return a reference to the same instance of BridgeIdentifier. |
clear_bridge_id() | void | void | Clears the value of the field. After calling this, has_bridge_id() will return false and bridge_id() will return the default value. |
set_allocated_bridge_id() | void | BridgeIdentifier * | Sets the BridgeIdentifier object to the field and frees the previous field value if it exists. If the BridgeIdentifier pointer is not NULL, the message takes ownership of the allocated BridgeIdentifier object and has_ BridgeIdentifier() will return true. Otherwise, if the bridge_id is NULL, the behavior is the same as calling clear_bridge_id(). |
release_bridge_id() | BridgeIdentifier * | void | Releases the ownership of the field and returns the pointer of the BridgeIdentifier object. After calling this, caller takes the ownership of the allocated BridgeIdentifier object, has_bridge_id() will return false, and bridge_id() will return the default value. |
status() const | uint32 | void | Returns the current value of status. If the status is not set, returns 0. |
set_status() | void | uint32 | Sets the value of status. After calling this, status() will return value. |
clear_status() | void | void | Clears the value of status. After calling this, status() will return the empty string/empty bytes. |
Parent topic: Base (C++)