class FullIPv4Configuration

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
handleNetworkHandleNetwork handle
ipv4_configurationIPv4ConfigurationIPv4 configuration

Member functions

Function nameReturn typeInput typeDescription
has_handle() constboolvoidReturns true if handle is set.
handle()const NetworkHandle&voidReturns the current value of handle. If handle is not set, returns a NetworkHandle with none of its fields set (possibly handle::default_instance()).
mutable_handle()NetworkHandle *voidReturns a pointer to the mutable NetworkHandle object that stores the field's value. If the field was not set prior to the call, then the returned NetworkHandle will have none of its fields set (i.e. it will be identical to a newly-allocated NetworkHandle). After calling this, has_handle() will return true and handle() will return a reference to the same instance of NetworkHandle.
clear_handle()voidvoidClears the value of the field. After calling this, has_handle() will return false and handle() will return the default value.
set_allocated_handle()voidNetworkHandle *Sets the NetworkHandle object to the field and frees the previous field value if it exists. If the NetworkHandle pointer is not NULL, the message takes ownership of the allocated NetworkHandle object and has_ NetworkHandle() will return true. Otherwise, if the handle is NULL, the behavior is the same as calling clear_handle().
release_handle()NetworkHandle *voidReleases the ownership of the field and returns the pointer of the NetworkHandle object. After calling this, caller takes the ownership of the allocated NetworkHandle object, has_handle() will return false, and handle() will return the default value.
has_ipv4_configuration() constboolvoidReturns true if ipv4_configuration is set.
ipv4_configuration()const IPv4Configuration&voidReturns the current value of ipv4_configuration. If ipv4_configuration is not set, returns a IPv4Configuration with none of its fields set (possibly ipv4_configuration::default_instance()).
mutable_ipv4_configuration()IPv4Configuration *voidReturns a pointer to the mutable IPv4Configuration object that stores the field's value. If the field was not set prior to the call, then the returned IPv4Configuration will have none of its fields set (i.e. it will be identical to a newly-allocated IPv4Configuration). After calling this, has_ipv4_configuration() will return true and ipv4_configuration() will return a reference to the same instance of IPv4Configuration.
clear_ipv4_configuration()voidvoidClears the value of the field. After calling this, has_ipv4_configuration() will return false and ipv4_configuration() will return the default value.
set_allocated_ipv4_configuration()voidIPv4Configuration *Sets the IPv4Configuration object to the field and frees the previous field value if it exists. If the IPv4Configuration pointer is not NULL, the message takes ownership of the allocated IPv4Configuration object and has_ IPv4Configuration() will return true. Otherwise, if the ipv4_configuration is NULL, the behavior is the same as calling clear_ipv4_configuration().
release_ipv4_configuration()IPv4Configuration *voidReleases the ownership of the field and returns the pointer of the IPv4Configuration object. After calling this, caller takes the ownership of the allocated IPv4Configuration object, has_ipv4_configuration() will return false, and ipv4_configuration() will return the default value.

Parent topic: Base (C++)