Iot/src/V1/MqttConfig.php
public function setMqttEnabledState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Iot\V1\MqttState::class);
        $this->mqtt_enabled_state = $var;

        return $this;
    }
public function setMqttEnabledState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Iot\V1\MqttState::class);
        $this->mqtt_enabled_state = $var;

        return $this;
    }
public function setMqttEnabledState ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Iot \ V1 \ MqttState :: class ) ; $ this -> mqtt_enabled_state = $ var ; return $ this ; }
If enabled, allows connections using the MQTT protocol. Otherwise, MQTT
connections to this registry will fail.

Generated from protobuf field <code>.google.cloud.iot.v1.MqttState mqtt_enabled_state = 1;</code>
@param int $var
@return $this
If enabled allows connections using the MQTT protocol . Otherwise MQTT connections to this registry will fail .