class BridgeResult

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
bridge_idBridgeIdentifierID of the bridge on which operation was performed
statusuint32Result code of operation.

Member functions

Function nameReturn typeInput typeDescription
has_bridge_id() constboolvoidReturns true if bridge_id is set.
bridge_id()const BridgeIdentifier&voidReturns 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 *voidReturns 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()voidvoidClears 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()voidBridgeIdentifier *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 *voidReleases 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() constuint32voidReturns the current value of status. If the status is not set, returns 0.
set_status()voiduint32Sets the value of status. After calling this, status() will return value.
clear_status()voidvoidClears the value of status. After calling this, status() will return the empty string/empty bytes.

Parent topic: Base (C++)